From f50f4dad1550f6e35446e25ef68fe661513201be Mon Sep 17 00:00:00 2001 From: Ben Parizek Date: Thu, 7 Mar 2024 11:13:58 -0500 Subject: [PATCH] Fixes translation categories --- .../_components/fields/Phone/settings.twig | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/forms/templates/_components/fields/Phone/settings.twig b/src/forms/templates/_components/fields/Phone/settings.twig index 46edefe8..5f3ce5b2 100644 --- a/src/forms/templates/_components/fields/Phone/settings.twig +++ b/src/forms/templates/_components/fields/Phone/settings.twig @@ -4,31 +4,31 @@ {{ forms.selectField({ name: 'country', - instructions: "This country will display as selected when the field loads for the first time."|t('sprout-module-forms'), - label: 'Default Country'|t('sprout-module-forms'), + instructions: "This country will display as selected when the field loads for the first time."|t('sprout-module-fields'), + label: 'Default Country'|t('sprout-module-fields'), options: options, value: field.country }) }} {{ forms.lightswitchField({ - label: "Limit to single country"|t('sprout-module-forms'), - instructions: "Only accept numbers from your Default Country"|t('sprout-module-forms'), + label: "Limit to single country"|t('sprout-module-fields'), + instructions: "Only accept numbers from your Default Country"|t('sprout-module-fields'), name: 'limitToSingleCountry', on: field.limitToSingleCountry }) }} {{ forms.textField({ - label: "Placeholder Text"|t('sprout-module-forms'), - instructions: "The text that will be shown if the field doesn’t have a value."|t('sprout-module-forms'), + label: "Placeholder Text"|t('sprout-module-fields'), + instructions: "The text that will be shown if the field doesn’t have a value."|t('sprout-module-fields'), id: 'placeholder', name: 'placeholder', value: field.placeholder }) }} {{ forms.textField({ - label: 'Error Message'|t('sprout-module-forms'), - instructions: 'Display this error message when a phone number is invalid.'|t('sprout-module-forms'), + label: 'Error Message'|t('sprout-module-fields'), + instructions: 'Display this error message when a phone number is invalid.'|t('sprout-module-fields'), name: 'customPatternErrorMessage', - placeholder: 'Phone number must match the format: ##########'|t('sprout-module-forms'), + placeholder: 'Phone number must match the format: ##########'|t('sprout-module-fields'), value: field.customPatternErrorMessage }) }}