mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-12-06 00:16:49 +00:00
Wrap intl in span identifying translation
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import CodeEditor from "@uiw/react-textarea-code-editor";
|
||||
import { Field } from "formik";
|
||||
import { intl } from "src/locale";
|
||||
import { intl, T } from "src/locale";
|
||||
|
||||
interface Props {
|
||||
id?: string;
|
||||
@@ -17,7 +17,7 @@ export function NginxConfigField({
|
||||
{({ field }: any) => (
|
||||
<div className="mt-3">
|
||||
<label htmlFor={id} className="form-label">
|
||||
{intl.formatMessage({ id: label })}
|
||||
<T id={label} />
|
||||
</label>
|
||||
<CodeEditor
|
||||
language="nginx"
|
||||
|
||||
Reference in New Issue
Block a user