Skip to content

Commit

Permalink
fix: change placeholder of fuzzy match operands
Browse files Browse the repository at this point in the history
  • Loading branch information
ChibiBlasphem committed Jan 9, 2025
1 parent 8932d97 commit 4143494
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ export function LeftOperand({

return (
<Operand
placeholder={t('scenarios:edit_date.select_a_field')}
placeholder={t(
'scenarios:edit_operand.data_type.string.field_placeholder',
)}
onSave={onChange}
options={leftOptions}
coerceToConstant={coerceToConstant}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ export function RightOperand({

return (
<Operand
placeholder={t('scenarios:edit_date.select_a_field')}
placeholder={t(
'scenarios:edit_operand.data_type.string.field_placeholder',
)}
onSave={onChange}
options={rightOptions}
coerceToConstant={coerceToConstant}
Expand Down
3 changes: 2 additions & 1 deletion packages/app-builder/src/locales/ar/scenarios.json
Original file line number Diff line number Diff line change
Expand Up @@ -366,5 +366,6 @@
"edit_string_template.template_field.placeholder": "اكتب نصًا يحتوي على %variable% فيه",
"edit_string_template.title": "قالب السلسلة",
"edit_string_template.variables.label": "المتغيرات",
"edit_string_template.description": "قم بإنشاء نص بقيم الحقول (<DocLink>معرفة المزيد</DocLink>)"
"edit_string_template.description": "قم بإنشاء نص بقيم الحقول (<DocLink>معرفة المزيد</DocLink>)",
"edit_operand.data_type.string.field_placeholder": "حدد حقل سلسلة..."
}
1 change: 1 addition & 0 deletions packages/app-builder/src/locales/en/scenarios.json
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@
"edit_operand.data_type.number[]": "Number list",
"edit_operand.data_type.boolean": "Boolean",
"edit_operand.data_type.timestamp": "Timestamp",
"edit_operand.data_type.string.field_placeholder": "Select a string field...",
"edit_operand.operator_type.list_one": "List",
"edit_operand.operator_type.list_other": "Lists",
"edit_operand.operator_type.field_one": "Field",
Expand Down
3 changes: 2 additions & 1 deletion packages/app-builder/src/locales/fr/scenarios.json
Original file line number Diff line number Diff line change
Expand Up @@ -366,5 +366,6 @@
"edit_string_template.template_field.placeholder": "Tapez un texte contenant une %variable%",
"edit_string_template.title": "Modèle de texte",
"edit_string_template.variables.label": "Variables",
"edit_string_template.description": "Créer un texte avec des valeurs de champs (<DocLink>en savoir plus</DocLink>)"
"edit_string_template.description": "Créer un texte avec des valeurs de champs (<DocLink>en savoir plus</DocLink>)",
"edit_operand.data_type.string.field_placeholder": "Sélectionnez un champ texte..."
}

0 comments on commit 4143494

Please sign in to comment.