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.
This commit is contained in:
alexsparkes
2026-02-04 19:11:19 +00:00
parent 26a1da89b5
commit 6044b02749
34 changed files with 397 additions and 397 deletions

View File

@@ -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')}`}
/>
<Action>
<Button onClick={onGoToPhotoPacks} icon={<MdExplore />} label={variables.getMessage('modals.main.settings.sections.background.source.get_more')} />
<Button type="settings" onClick={onGoToPhotoPacks} icon={<MdExplore />} label={variables.getMessage('modals.main.settings.sections.background.source.get_more')} />
</Action>
</Row>
<Items