Add i18n variable hints

Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
Émile Ré
2026-04-23 20:39:00 +04:00
parent e24813202b
commit 4246d4fae9
3 changed files with 3 additions and 3 deletions

View File

@@ -61,10 +61,8 @@ export function BannerTranslationSection({
render={({ field }) => (
<Field
label={__(TRANSLATION_LABELS.banner_description)}
// description={__(
// "Use {{privacy_policy_link}} to insert the privacy policy link.",
// )}
>
<p className="text-xs text-txt-secondary mb-2">{"Use {{privacy_policy_link}} to insert the privacy policy link."}</p>
<Textarea {...field} rows={3} />
</Field>
)}

View File

@@ -75,6 +75,7 @@ export function PanelTranslationSection({
<Field
label={__(TRANSLATION_LABELS.panel_description)}
>
<p className="text-xs text-txt-secondary mb-2">{"Use {{necessary_category}} to refer to the required cookies category name."}</p>
<Textarea {...field} rows={3} />
</Field>
)}

View File

@@ -51,6 +51,7 @@ export function PlaceholderTranslationSection({
<Field
label={__(TRANSLATION_LABELS.placeholder_text)}
>
<p className="text-xs text-txt-secondary mb-2">{"Use {{category}} to refer to the content category."}</p>
<Input {...field} />
</Field>
)}