mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-06 03:14:00 +00:00
i18n(pt): complete and ship Brazilian Portuguese
- Translate the remaining 1,868 strings (pt-BR, as in #909) and review the contributor entries: HUD codes BRG/SPD/RANGE stay as in the other languages, sentence-case layer and scene names, Space key named as on the keyboard, short PREV/NEXT/ON/OFF chips, and the CLDR many form (exact millions take «de») on every plural. - Register pt: any pt tag (pt-BR, pt-PT) maps to it; the picker shows «Português (Brasil)». - Codes, units and product names identical to English go to same-as-english.json. - docs/translations/pt.md: style, plurals, units and glossary. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
ce17d0cade
commit
8269f0e4e6
10 files changed
+2483
-86
No files matched your search
+8
-1
@@ -17,11 +17,18 @@ import {
|
||||
writeStoredLocale,
|
||||
} from './locale.js';
|
||||
import es from './locales/es.json' with { type: 'json' };
|
||||
import pt from './locales/pt.json' with { type: 'json' };
|
||||
import ru from './locales/ru.json' with { type: 'json' };
|
||||
import zhCN from './locales/zh-CN.json' with { type: 'json' };
|
||||
import zhHant from './locales/zh-Hant.json' with { type: 'json' };
|
||||
|
||||
const CATALOGS = Object.freeze({ es, ru, 'zh-CN': zhCN, 'zh-Hant': zhHant });
|
||||
const CATALOGS = Object.freeze({
|
||||
es,
|
||||
pt,
|
||||
ru,
|
||||
'zh-CN': zhCN,
|
||||
'zh-Hant': zhHant,
|
||||
});
|
||||
|
||||
let currentLocale = DEFAULT_LOCALE;
|
||||
|
||||
|
||||
Reference in new issue
Block a user