fix(i18n): add worktree translation to all 19 third-language dicts (#285)
PR #285 added the zh/en 'worktree' key but the 19 third-language dicts (de/fr/pt/ko/ar/hi/id/tr/vi/th/ru/it/nl/sv/pl/zhHK/zhTW/zhMO) were missing it — only ja was patched in the prior commit. The dicts are typed Record<keyof typeof zh, string> via an unchecked 'as' cast, so tsc did not catch the gap. This commit: - adds the worktree translation to all 19 dicts - strengthens tests/locales.spec.ts to assert key-set equality for EVERY shipped dictionary (not just zh/en/ja), preventing future regressions
This commit is contained in:
1 parent
0a21629fa3
commit
9410e5bb2a
19 files changed
+31
-1
No files matched your search
@@ -121,6 +121,7 @@ export const zhTW: Record<string, string> = {
|
||||
commit: '提交',
|
||||
commitError: '提交失敗',
|
||||
branch: '分支',
|
||||
worktree: '工作樹',
|
||||
checkoutError: '切換分支失敗',
|
||||
history: '歷史',
|
||||
changes: '變更',
|
||||
|
||||
Reference in new issue
Block a user