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:
@@ -108,6 +108,7 @@ export const pl: Record<string, string> = {
|
||||
commit: 'Commit',
|
||||
commitError: 'Commit nie powiódł się',
|
||||
branch: 'Gałąź',
|
||||
worktree: 'Drzewo robocze',
|
||||
checkoutError: 'Przełączenie gałęzi nie powiodło się',
|
||||
history: 'Historia',
|
||||
changes: 'Zmiany',
|
||||
|
||||
Reference in New Issue
Block a user