feedback5 WI: docs/I18N.md counts the phase-2 literals after the lang.js cleanup (1 033 in 56 files, 964 translated)
This commit is contained in:
1 parent
e50497b1ce
commit
941a0cc31e
1 file changed
+2
-2
+2
-2
@@ -136,8 +136,8 @@ this.m.toast(this, 'warn', msg('{names}只能部署在召唤者攻击范围内
|
||||
Phase 1 converted the title screen, the lobby, the room, the settings panel (with the language switch), the app shell
|
||||
(main.js: toasts, close reasons, the crash screen), `ui/toasts.js`, `DifficultyTag` and the server messages. Phase 2:
|
||||
|
||||
1. `node tools/i18n.mjs extract` lists the rest (2026-10-05: 1 036 literals in 57 files — briefing, band draft, game
|
||||
screen and its HUD / panels / overlays, loadout, result, guide, connection banner, components …; 966 of them already
|
||||
1. `node tools/i18n.mjs extract` lists the rest (2026-10-05: 1 033 literals in 56 files — briefing, band draft, game
|
||||
screen and its HUD / panels / overlays, loadout, result, guide, connection banner, components …; 964 of them already
|
||||
have a translation seeded from PR #70).
|
||||
2. Per file (one stream per file group to avoid conflicts): `node tools/i18n.mjs codemod <file> --write`, review the
|
||||
diff (module-level tables: `t()` at the use site; join split sentences; `tc()` where one Chinese text needs two
|
||||
|
||||
Reference in new issue
Block a user