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:
@@ -102,6 +102,7 @@ export const ru: Record<string, string> = {
|
||||
commit: 'Закоммитить',
|
||||
commitError: 'Сбой коммита',
|
||||
branch: 'Ветка',
|
||||
worktree: 'Рабочее дерево',
|
||||
checkoutError: 'Сбой переключения ветки',
|
||||
history: 'История',
|
||||
changes: 'Изменения',
|
||||
|
||||
Reference in New Issue
Block a user