From 9f46d7211f93b7be62e618d020bcc003eeb20c54 Mon Sep 17 00:00:00 2001 From: Artem Tarasov Date: Fri, 6 Nov 2020 16:32:47 +0300 Subject: [PATCH] Web: Files: Settings: fixed key fot translations --- .../src/components/pages/Settings/Section/Header/index.js | 2 +- .../components/pages/Settings/locales/en/translation.json | 6 +++--- .../components/pages/Settings/locales/ru/translation.json | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/products/ASC.Files/Client/src/components/pages/Settings/Section/Header/index.js b/products/ASC.Files/Client/src/components/pages/Settings/Section/Header/index.js index 69ce1eeaed..28183d7536 100644 --- a/products/ASC.Files/Client/src/components/pages/Settings/Section/Header/index.js +++ b/products/ASC.Files/Client/src/components/pages/Settings/Section/Header/index.js @@ -5,7 +5,7 @@ const SectionHeaderContent = ({ setting, t }) => { const title = setting[0].toUpperCase() + setting.slice(1); return ( - {t(`${title}`)} + {t(`${title}Settings`)} ); }; diff --git a/products/ASC.Files/Client/src/components/pages/Settings/locales/en/translation.json b/products/ASC.Files/Client/src/components/pages/Settings/locales/en/translation.json index c69ae44141..910c71b2df 100644 --- a/products/ASC.Files/Client/src/components/pages/Settings/locales/en/translation.json +++ b/products/ASC.Files/Client/src/components/pages/Settings/locales/en/translation.json @@ -3,9 +3,9 @@ "TreeSettingsCommonSettings": "Common settings", "TreeSettingsAdminSettings": "Admin settings", "TreeSettingsConnectedCloud": "Connected clouds", - "Common": "Common settings", - "Admin": "Admin settings", - "ThirdParty": "Connected clouds", + "CommonSettings": "Common settings", + "AdminSettings": "Admin settings", + "ThirdPartySettings": "Connected clouds", "IntermediateVersion": "Keep all saved intermediate versions", "ThirdPartyBtn": "Allow users to connect third-party storages", "OriginalCopy": "Save the file copy in the original format as well", diff --git a/products/ASC.Files/Client/src/components/pages/Settings/locales/ru/translation.json b/products/ASC.Files/Client/src/components/pages/Settings/locales/ru/translation.json index f12759cea4..806bb2eb5e 100644 --- a/products/ASC.Files/Client/src/components/pages/Settings/locales/ru/translation.json +++ b/products/ASC.Files/Client/src/components/pages/Settings/locales/ru/translation.json @@ -3,9 +3,9 @@ "TreeSettingsCommonSettings": "Общие настройки", "TreeSettingsAdminSettings": "Настройки администратора", "TreeSettingsConnectedCloud": "Подключенные облака", - "Common": "Общие настройки", - "Admin": "Настройки администратора", - "ThirdParty": "Подключенные облака", + "CommonSettings": "Общие настройки", + "AdminSettings": "Настройки администратора", + "ThirdPartySettings": "Подключенные облака", "IntermediateVersion": "Хранить все сохраненные промежуточные версии", "ThirdPartyBtn": "Разрешить пользователям подключать сторонние хранилища", "OriginalCopy": "Сохранять также копию файла в исходном формате",