From c744231141147b05e4eedd939e1688d51050e782 Mon Sep 17 00:00:00 2001 From: Bogdan Date: Wed, 7 Feb 2024 00:06:22 +0200 Subject: [PATCH] Translations for settings index --- .../Components/Page/Sidebar/PageSidebar.js | 2 +- frontend/src/Settings/Settings.js | 48 +++++++++---------- frontend/src/Settings/UI/UISettings.js | 8 ++-- src/NzbDrone.Core/Localization/Core/ar.json | 10 ++-- src/NzbDrone.Core/Localization/Core/bg.json | 10 ++-- src/NzbDrone.Core/Localization/Core/ca.json | 10 ++-- src/NzbDrone.Core/Localization/Core/cs.json | 10 ++-- src/NzbDrone.Core/Localization/Core/da.json | 10 ++-- src/NzbDrone.Core/Localization/Core/de.json | 10 ++-- src/NzbDrone.Core/Localization/Core/el.json | 10 ++-- src/NzbDrone.Core/Localization/Core/en.json | 23 +++++++-- src/NzbDrone.Core/Localization/Core/es.json | 10 ++-- src/NzbDrone.Core/Localization/Core/fi.json | 10 ++-- src/NzbDrone.Core/Localization/Core/fr.json | 10 ++-- src/NzbDrone.Core/Localization/Core/he.json | 10 ++-- src/NzbDrone.Core/Localization/Core/hi.json | 10 ++-- src/NzbDrone.Core/Localization/Core/hr.json | 2 +- src/NzbDrone.Core/Localization/Core/hu.json | 10 ++-- src/NzbDrone.Core/Localization/Core/id.json | 2 +- src/NzbDrone.Core/Localization/Core/is.json | 10 ++-- src/NzbDrone.Core/Localization/Core/it.json | 10 ++-- src/NzbDrone.Core/Localization/Core/ja.json | 10 ++-- src/NzbDrone.Core/Localization/Core/ko.json | 10 ++-- .../Localization/Core/nb_NO.json | 2 +- src/NzbDrone.Core/Localization/Core/nl.json | 10 ++-- src/NzbDrone.Core/Localization/Core/pl.json | 10 ++-- src/NzbDrone.Core/Localization/Core/pt.json | 10 ++-- .../Localization/Core/pt_BR.json | 10 ++-- src/NzbDrone.Core/Localization/Core/ro.json | 10 ++-- src/NzbDrone.Core/Localization/Core/ru.json | 10 ++-- src/NzbDrone.Core/Localization/Core/sk.json | 2 +- src/NzbDrone.Core/Localization/Core/sv.json | 10 ++-- src/NzbDrone.Core/Localization/Core/th.json | 10 ++-- src/NzbDrone.Core/Localization/Core/tr.json | 10 ++-- src/NzbDrone.Core/Localization/Core/uk.json | 8 ++-- src/NzbDrone.Core/Localization/Core/vi.json | 10 ++-- .../Localization/Core/zh_CN.json | 10 ++-- 37 files changed, 195 insertions(+), 182 deletions(-) diff --git a/frontend/src/Components/Page/Sidebar/PageSidebar.js b/frontend/src/Components/Page/Sidebar/PageSidebar.js index 09a69b459..d6db8d612 100644 --- a/frontend/src/Components/Page/Sidebar/PageSidebar.js +++ b/frontend/src/Components/Page/Sidebar/PageSidebar.js @@ -129,7 +129,7 @@ const links = [ to: '/settings/general' }, { - title: () => translate('UI'), + title: () => translate('Ui'), to: '/settings/ui' } ] diff --git a/frontend/src/Settings/Settings.js b/frontend/src/Settings/Settings.js index 36f47d82e..d2a86adc6 100644 --- a/frontend/src/Settings/Settings.js +++ b/frontend/src/Settings/Settings.js @@ -18,132 +18,132 @@ function Settings() { className={styles.link} to="/settings/mediamanagement" > - Media Management + {translate('MediaManagement')}
- Naming, file management settings and root folders + {translate('MediaManagementSettingsSummary')}
- Profiles + {translate('Profiles')}
- Quality, Metadata, Delay, and Release profiles + {translate('ProfilesSettingsArtistSummary')}
- Quality + {translate('Quality')}
- Quality sizes and naming + {translate('QualitySettingsSummary')}
- Custom Formats + {translate('CustomFormats')}
- Custom Formats and Settings + {translate('CustomFormatsSettingsSummary')}
- Indexers + {translate('Indexers')}
- Indexers and indexer options + {translate('IndexersSettingsSummary')}
- Download Clients + {translate('DownloadClients')}
- Download clients, download handling and remote path mappings + {translate('DownloadClientsSettingsSummary')}
- Import Lists + {translate('ImportLists')}
- Import Lists + {translate('ImportListsSettingsSummary')}
- Connect + {translate('Connect')}
- Notifications, connections to media servers/players and custom scripts + {translate('ConnectSettingsSummary')}
- Metadata + {translate('Metadata')}
- Create metadata files when tracks are imported or artist are refreshed + {translate('MetadataSettingsArtistSummary')}
- Tags + {translate('Tags')}
- Manage artist, profile, restriction, and notification tags + {translate('TagsSettingsSummary')}
- General + {translate('General')}
- Port, SSL, username/password, proxy, analytics and updates + {translate('GeneralSettingsSummary')}
- UI + {translate('Ui')}
- Calendar, date and color impaired options + {translate('UiSettingsSummary')}
diff --git a/frontend/src/Settings/UI/UISettings.js b/frontend/src/Settings/UI/UISettings.js index 902b922f9..c8135e17f 100644 --- a/frontend/src/Settings/UI/UISettings.js +++ b/frontend/src/Settings/UI/UISettings.js @@ -69,7 +69,7 @@ class UISettings extends Component { .map((theme) => ({ key: theme, value: titleCase(theme) })); return ( - +
- {translate('UILanguage')} + {translate('UiLanguage')}