From 6044b027490529f7977250e07d62a31bddcd6bae Mon Sep 17 00:00:00 2001 From: alexsparkes Date: Wed, 4 Feb 2026 19:11:19 +0000 Subject: [PATCH] Add localization for pack and photo counts across multiple languages - Introduced new keys for "pack_count" and "photo_count" with singular and plural forms in various language JSON files. - Added "get_more" key for consistency in user interface across different languages. - Removed redundant definitions of "pack_count", "photo_count", and "get_more" from "photo_pack_settings" to streamline localization files. --- .../options/sections/SourceSection.jsx | 2 +- src/i18n/locales/ar.json | 24 +++++++++---------- src/i18n/locales/arz.json | 24 +++++++++---------- src/i18n/locales/az.json | 24 +++++++++---------- src/i18n/locales/azb.json | 24 +++++++++---------- src/i18n/locales/bn.json | 24 +++++++++---------- src/i18n/locales/de_DE.json | 24 +++++++++---------- src/i18n/locales/el.json | 24 +++++++++---------- src/i18n/locales/en_GB.json | 24 +++++++++---------- src/i18n/locales/en_US.json | 24 +++++++++---------- src/i18n/locales/es.json | 24 +++++++++---------- src/i18n/locales/es_419.json | 24 +++++++++---------- src/i18n/locales/et.json | 24 +++++++++---------- src/i18n/locales/fa.json | 24 +++++++++---------- src/i18n/locales/fr.json | 24 +++++++++---------- src/i18n/locales/hu.json | 24 +++++++++---------- src/i18n/locales/id_ID.json | 24 +++++++++---------- src/i18n/locales/ja.json | 24 +++++++++---------- src/i18n/locales/lt.json | 24 +++++++++---------- src/i18n/locales/lv.json | 24 +++++++++---------- src/i18n/locales/nl.json | 24 +++++++++---------- src/i18n/locales/no.json | 24 +++++++++---------- src/i18n/locales/peo.json | 24 +++++++++---------- src/i18n/locales/pt.json | 24 +++++++++---------- src/i18n/locales/pt_BR.json | 24 +++++++++---------- src/i18n/locales/ru.json | 24 +++++++++---------- src/i18n/locales/sl.json | 24 +++++++++---------- src/i18n/locales/sv.json | 24 +++++++++---------- src/i18n/locales/ta.json | 24 +++++++++---------- src/i18n/locales/tr_TR.json | 24 +++++++++---------- src/i18n/locales/uk.json | 24 +++++++++---------- src/i18n/locales/vi.json | 24 +++++++++---------- src/i18n/locales/zh_CN.json | 24 +++++++++---------- src/i18n/locales/zh_Hant.json | 24 +++++++++---------- 34 files changed, 397 insertions(+), 397 deletions(-) diff --git a/src/features/background/options/sections/SourceSection.jsx b/src/features/background/options/sections/SourceSection.jsx index 18ee8c5a..bb546710 100644 --- a/src/features/background/options/sections/SourceSection.jsx +++ b/src/features/background/options/sections/SourceSection.jsx @@ -54,7 +54,7 @@ const SourceSection = ({ subtitle={`${installedPhotoPacks.length} ${installedPhotoPacks.length === 1 ? variables.getMessage('modals.main.settings.sections.background.source.pack_count.singular') : variables.getMessage('modals.main.settings.sections.background.source.pack_count.plural')} • ${totalPhotoCount} ${totalPhotoCount === 1 ? variables.getMessage('modals.main.settings.sections.background.source.photo_count.singular') : variables.getMessage('modals.main.settings.sections.background.source.photo_count.plural')}`} /> -