From 7b6cef6083ecd47b82c68c3ce07b62f679599b2a Mon Sep 17 00:00:00 2001 From: Andy Butland Date: Thu, 6 Mar 2025 12:40:42 +0100 Subject: [PATCH] Added missing translations for dictionary import. (#18551) --- src/Umbraco.Web.UI.Client/src/assets/lang/en-us.ts | 4 +++- src/Umbraco.Web.UI.Client/src/assets/lang/en.ts | 4 +++- .../entity-action/import/import-dictionary-modal.element.ts | 4 ++-- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/assets/lang/en-us.ts b/src/Umbraco.Web.UI.Client/src/assets/lang/en-us.ts index 43b4c99226..b22f92f872 100644 --- a/src/Umbraco.Web.UI.Client/src/assets/lang/en-us.ts +++ b/src/Umbraco.Web.UI.Client/src/assets/lang/en-us.ts @@ -623,13 +623,15 @@ export default { }, dictionary: { importDictionaryItemHelp: - '\n To import a dictionary item, find the ".udt" file on your computer by clicking the\n "Import" button (you\'ll be asked for confirmation on the next screen)\n ', + 'To import a dictionary item, find the ".udt" file on your computer by clicking the "Add" button (you\'ll be asked for confirmation on the next screen).', itemDoesNotExists: 'Dictionary item does not exist.', parentDoesNotExists: 'Parent item does not exist.', noItems: 'There are no dictionary items.', noItemsInFile: 'There are no dictionary items in this file.', noItemsFound: 'There were no dictionary items found.', createNew: 'Create dictionary item', + pickFile: 'Select file', + pickFileRequired: 'Please select a ".udt" file', }, dictionaryItem: { description: "Edit the different language versions for the dictionary item '%0%' below", diff --git a/src/Umbraco.Web.UI.Client/src/assets/lang/en.ts b/src/Umbraco.Web.UI.Client/src/assets/lang/en.ts index 93d8a67909..c423039d7a 100644 --- a/src/Umbraco.Web.UI.Client/src/assets/lang/en.ts +++ b/src/Umbraco.Web.UI.Client/src/assets/lang/en.ts @@ -625,13 +625,15 @@ export default { }, dictionary: { importDictionaryItemHelp: - '\n To import a dictionary item, find the ".udt" file on your computer by clicking the\n "Import" button (you\'ll be asked for confirmation on the next screen)\n ', + 'To import a dictionary item, find the ".udt" file on your computer by clicking the "Add" button (you\'ll be asked for confirmation on the next screen).', itemDoesNotExists: 'Dictionary item does not exist.', parentDoesNotExists: 'Parent item does not exist.', noItems: 'There are no dictionary items.', noItemsInFile: 'There are no dictionary items in this file.', noItemsFound: 'There were no dictionary items found.', createNew: 'Create dictionary item', + pickFile: 'Select file', + pickFileRequired: 'Please select a ".udt" file', }, dictionaryItem: { description: "Edit the different language versions for the dictionary item '%0%' below", diff --git a/src/Umbraco.Web.UI.Client/src/packages/dictionary/entity-action/import/import-dictionary-modal.element.ts b/src/Umbraco.Web.UI.Client/src/packages/dictionary/entity-action/import/import-dictionary-modal.element.ts index 9e4f850bb3..cb8b9f1186 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/dictionary/entity-action/import/import-dictionary-modal.element.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/dictionary/entity-action/import/import-dictionary-modal.element.ts @@ -175,14 +175,14 @@ export class UmbImportDictionaryModalLayout extends UmbModalBaseElement<
- ${this.localize.term('formFileUpload_pickFile')} + ${this.localize.term('dictionary_pickFile')} + required-message=${this.localize.term('dictionary_pickFileRequired')}>
`;