From 09ab7e9a09ca0526985efe00c10fd0f969a00968 Mon Sep 17 00:00:00 2001 From: Konrad <11725227+mKoonrad@users.noreply.github.com> Date: Mon, 15 Dec 2025 01:50:06 +0100 Subject: [PATCH] fix(i18n): mark "(Optional)" strings for translation (#2310) --- .../dialogs/envelope-distribute-dialog.tsx | 18 ++++++++++++------ .../envelope-editor-settings-dialog.tsx | 11 +++++++---- .../primitives/document-flow/add-subject.tsx | 16 ++++++++++------ .../template-flow/add-template-settings.tsx | 11 +++++++---- 4 files changed, 36 insertions(+), 20 deletions(-) diff --git a/apps/remix/app/components/dialogs/envelope-distribute-dialog.tsx b/apps/remix/app/components/dialogs/envelope-distribute-dialog.tsx index 4d57652f3..57454a7ab 100644 --- a/apps/remix/app/components/dialogs/envelope-distribute-dialog.tsx +++ b/apps/remix/app/components/dialogs/envelope-distribute-dialog.tsx @@ -353,8 +353,10 @@ export const EnvelopeDistributeDialog = ({ render={({ field }) => ( - Reply To Email{' '} - (Optional) + + Reply To Email{' '} + (Optional) + @@ -372,8 +374,10 @@ export const EnvelopeDistributeDialog = ({ render={({ field }) => ( - Subject{' '} - (Optional) + + Subject{' '} + (Optional) + @@ -390,8 +394,10 @@ export const EnvelopeDistributeDialog = ({ render={({ field }) => ( - Message{' '} - (Optional) + + Message{' '} + (Optional) + diff --git a/apps/remix/app/components/general/envelope-editor/envelope-editor-settings-dialog.tsx b/apps/remix/app/components/general/envelope-editor/envelope-editor-settings-dialog.tsx index 49166b44a..5ee92f661 100644 --- a/apps/remix/app/components/general/envelope-editor/envelope-editor-settings-dialog.tsx +++ b/apps/remix/app/components/general/envelope-editor/envelope-editor-settings-dialog.tsx @@ -687,8 +687,10 @@ export const EnvelopeEditorSettingsDialog = ({ render={({ field }) => ( - Reply To Email{' '} - (Optional) + + Reply To Email{' '} + (Optional) + @@ -726,8 +728,9 @@ export const EnvelopeEditorSettingsDialog = ({ render={({ field }) => ( - Message{' '} - (Optional) + + Message (Optional) + diff --git a/packages/ui/primitives/document-flow/add-subject.tsx b/packages/ui/primitives/document-flow/add-subject.tsx index c687dcfa1..25951179c 100644 --- a/packages/ui/primitives/document-flow/add-subject.tsx +++ b/packages/ui/primitives/document-flow/add-subject.tsx @@ -257,8 +257,10 @@ export const AddSubjectFormPartial = ({ render={({ field }) => ( - Reply To Email{' '} - (Optional) + + Reply To Email{' '} + (Optional) + @@ -295,8 +297,9 @@ export const AddSubjectFormPartial = ({ render={({ field }) => ( - Subject{' '} - (Optional) + + Subject (Optional) + @@ -313,8 +316,9 @@ export const AddSubjectFormPartial = ({ render={({ field }) => ( - Message{' '} - (Optional) + + Message (Optional) + diff --git a/packages/ui/primitives/template-flow/add-template-settings.tsx b/packages/ui/primitives/template-flow/add-template-settings.tsx index e378827a7..1294d8812 100644 --- a/packages/ui/primitives/template-flow/add-template-settings.tsx +++ b/packages/ui/primitives/template-flow/add-template-settings.tsx @@ -518,8 +518,10 @@ export const AddTemplateSettingsFormPartial = ({ render={({ field }) => ( - Reply To Email{' '} - (Optional) + + Reply To Email{' '} + (Optional) + @@ -557,8 +559,9 @@ export const AddTemplateSettingsFormPartial = ({ render={({ field }) => ( - Message{' '} - (Optional) + + Message (Optional) +