mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-06 11:24:00 +00:00
feat(i18n): ship Spanish
Register es next to ru (selector shows EN | ES | RU) and complete the catalog against the current English: the 13 messages added since #602, the "many" plural form Intl.PluralRules('es') selects for exact millions, and fixes where the English had changed (e.g. "hace hace" in LIVE · updated, minutes written as metres). Terminology made consistent (buque, aeronave, incendio activo); key names stay in English. Meir's wording is kept everywhere else. Adds docs/translations/es.md. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
47cfdb823e
commit
70936b58b9
9 files changed
+180
-51
No files matched your search
+2
-1
@@ -15,9 +15,10 @@ import {
|
||||
normalizeLocale,
|
||||
writeStoredLocale,
|
||||
} from './locale.js';
|
||||
import es from './locales/es.json' with { type: 'json' };
|
||||
import ru from './locales/ru.json' with { type: 'json' };
|
||||
|
||||
const CATALOGS = Object.freeze({ ru });
|
||||
const CATALOGS = Object.freeze({ es, ru });
|
||||
|
||||
let currentLocale = DEFAULT_LOCALE;
|
||||
|
||||
|
||||
Reference in new issue
Block a user