mirror of
https://github.com/mue/mue.git
synced 2026-07-15 13:03:55 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user