diff --git a/src/bundle/Resources/public/js/scripts/fieldType/ezgmaplocation.js b/src/bundle/Resources/public/js/scripts/fieldType/ezgmaplocation.js index e8fc2fb27b..cb3bd3d6c7 100644 --- a/src/bundle/Resources/public/js/scripts/fieldType/ezgmaplocation.js +++ b/src/bundle/Resources/public/js/scripts/fieldType/ezgmaplocation.js @@ -6,7 +6,7 @@ const SELECTOR_LAT_INPUT = '.ez-data-source__field--latitude .ez-data-source__input'; const SELECTOR_LON_INPUT = '.ez-data-source__field--longitude .ez-data-source__input'; const SELECTOR_LABEL_WRAPPER = '.ez-field-edit__label-wrapper'; - const SELECTOR_ADDRESS_ERROR_NODE = '.ez-data-source__field--address' + const SELECTOR_ADDRESS_ERROR_NODE = '.ez-data-source__field--address'; const SELECTOR_LAT_ERROR_NODE = '.ez-data-source__field--latitude'; const SELECTOR_LON_ERROR_NODE = '.ez-data-source__field--longitude'; const EVENT_BLUR = 'blur'; @@ -305,10 +305,10 @@ if (validationResult.isError) { const errorMessage = Translator.trans( - /* @Desc("Area below need correction") */ 'ezmaplocation.create.message.error', + /* @Desc("Area below needs correction") */ 'ezmaplocation.create.message.error', {}, 'fieldtypes_edit' - ) + ); const allFieldsResult = { isError: true, errorMessage: errorMessage }; config.errorNodeSelectors = [SELECTOR_LABEL_WRAPPER]; diff --git a/src/bundle/Resources/translations/fieldtypes_edit.en.xliff b/src/bundle/Resources/translations/fieldtypes_edit.en.xliff index c54f15943a..5becc600d6 100644 --- a/src/bundle/Resources/translations/fieldtypes_edit.en.xliff +++ b/src/bundle/Resources/translations/fieldtypes_edit.en.xliff @@ -17,8 +17,8 @@ key: ezimageasset.create.message.success - Area below need correction - Area below need correction + Area below needs correction + Area below needs correction key: ezmaplocation.create.message.error