mirror of
https://github.com/kilyabin/psysonic.git
synced 2026-07-22 22:45:41 +00:00
refactor(i18n): split locale files into per-namespace modules (Phase K) (#688)
Each src/locales/<lang>.ts (~1800 LOC) becomes a folder src/locales/<lang>/ with one module per i18n namespace (44 each) plus an index.ts barrel that reassembles <lang>Translation in the original key order. Mechanical, script-driven split with a JSON round-trip check: every locale object is byte-identical to its pre-split form. i18n.ts is unchanged — './locales/<lang>' now resolves to the folder index. The per-namespace settings.ts files land ~440-460 LOC; a single i18n namespace is the natural, non-arbitrary split unit for a flat string table, so they are intentionally left whole.
This commit is contained in:
committed by
GitHub
parent
ec112922a2
commit
2409a1fec8
@@ -0,0 +1,41 @@
|
||||
export const smartPlaylists = {
|
||||
sectionBasic: '1. Basis',
|
||||
sectionGenres: '2. Genres',
|
||||
sectionYearsAndFilters: '3. Jaren en filters',
|
||||
genreMode: 'Genre-modus',
|
||||
genreModeInclude: 'Genres opnemen',
|
||||
genreModeExclude: 'Genres uitsluiten',
|
||||
genreSearchPlaceholder: 'Genres filteren...',
|
||||
availableGenres: 'Beschikbaar',
|
||||
selectedGenres: 'Geselecteerd',
|
||||
yearMode: 'Jaarmodus',
|
||||
yearModeInclude: 'Bereik opnemen',
|
||||
yearModeExclude: 'Bereik uitsluiten',
|
||||
name: 'Naam (zonder prefix)',
|
||||
limit: 'Limiet',
|
||||
limitHint: 'Hoeveel nummers in de playlist moeten komen (1-{{max}}, meestal 50).',
|
||||
artistContains: 'Artiest bevat…',
|
||||
albumContains: 'Album bevat…',
|
||||
titleContains: 'Titel bevat…',
|
||||
minRating: 'Minimale beoordeling',
|
||||
minRatingAria: 'Minimale beoordeling voor smart playlist',
|
||||
minRatingHint: '0 schakelt de minimumdrempel uit; 1-5 behoudt nummers met een beoordeling boven de gekozen waarde.',
|
||||
fromYear: 'Vanaf jaar',
|
||||
toYear: 'Tot jaar',
|
||||
excludeUnrated: 'Nummers zonder beoordeling uitsluiten',
|
||||
compilationOnly: 'Alleen compilaties',
|
||||
create: 'Nieuwe Smart Playlist',
|
||||
save: 'Smart Playlist opslaan',
|
||||
created: '{{name}} aangemaakt',
|
||||
updated: '{{name}} bijgewerkt',
|
||||
createFailed: 'Smart playlist kon niet worden aangemaakt.',
|
||||
updateFailed: 'Smart playlist kon niet worden bijgewerkt.',
|
||||
navidromeOnly: 'Smart playlists kunnen alleen op Navidrome-servers worden aangemaakt.',
|
||||
loadFailed: 'Smart playlists konden niet vanuit Navidrome worden geladen.',
|
||||
sortRandom: 'Sorteren: willekeurig',
|
||||
sortTitleAsc: 'Sorteren: titel A-Z',
|
||||
sortTitleDesc: 'Sorteren: titel Z-A',
|
||||
sortYearDesc: 'Sorteren: jaar aflopend',
|
||||
sortYearAsc: 'Sorteren: jaar oplopend',
|
||||
sortPlayCountDesc: 'Sorteren: afspeeltelling aflopend',
|
||||
};
|
||||
Reference in New Issue
Block a user