Commit f529c73
feat(i18n): Vietnamese language support — vi locale + README.vi.md (#193)
* feat(i18n): update Vietnamese UI strings + layout header
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* i18n(vi): add 2 missing openclaw VI keys (994/999 → 999/999)
- openclaw.workspace.title → 'Không gian làm việc OpenClaw'
- openclaw.configs.hint → 'Chọn cấu hình đã lưu, hoặc mở editor để chỉnh sửa JSON5 đầy đủ.'
Vietnamese now has complete coverage matching EN (999 keys).
* docs(i18n): add README.vi.md — Vietnamese translation
* docs: add Vietnamese README link in header
* fix: address CodeRabbit review comments on PR #193
- README.vi.md: add alt="Contributors" to contributor image (accessibility)
- layout-shell.css: add transform: translateY(0) to vi active state to
match the established zh/en animation pattern
* fix: restore upstream release.yml lost in merge — release-changelog test now passes
The 45a5c92 upstream sync resolved .github/workflows/release.yml the wrong
way: it kept the fork's old version, dropping the 'Generate release notes
from actual commit range' step and generate_release_notes: false that
upstream added together with release-changelog.test.mjs.
Verified locally on Node 22: ci:lint 218 files pass, ci:test exit 0 (fail 0).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* fix(css): complete vi lang-switch rule — mutual exclusion with en/zh
Addresses CodeRabbit review: when vi is active, en/zh labels are hidden;
vi label is hidden when en/zh are active — same pattern as the existing
en/zh exclusion rules.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* fix(i18n): add 4 missing vi keys — full parity with en.mjs (1200/1200)
Review feedback from @ymkiux on #193: vi.mjs was missing keys present
in en.mjs. After syncing upstream/main (which brought claude.model.*
translations), the remaining 4 are now translated:
- side.plugins.templatesCount
- diff.title.claudeSettings
- sessions.preview.copyPath
- openclaw.action.applyAria
Verified: en 1200 / vi 1200, 0 missing, 0 extra, 0 duplicates.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* fix(i18n): add 4 missing zh-only keys to vi.mjs (settings.backup.title/meta, settings.trashConfig.title/meta)
* fix(i18n): drop obsolete claudeMd keys from vi.mjs after merging upstream's claudeProject rename
PR #195 (merged upstream) renamed modal.agents.{title,hint,contentLabel,placeholder}.claudeMd to .claudeProject / added .claudeProjectGlobal, to support per-project and global CLAUDE.md editing. vi.mjs still had the old 4 keys, which CI's merge-base test (i18n-locales.test.mjs, fallback=zh) flagged as unknown once merged against current upstream main -- the keys are gone from en.mjs/zh.mjs too.
Merged upstream/main into this branch first (clean, no conflicts) to pick up the new claudeProject* keys -- vi.mjs already had correct Vietnamese translations for those via the same merge. Then removed the 4 leftover old keys, confirmed unreferenced by any app code outside the locale files. Full unit suite: 664/664 passed. Lint: 220 files passed.
Fixes the only failing CI check on PR #193 (ci (20) -- partial locale overrides only known keys and preserves placeholders).
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent b8ca791 commit f529c73
4 files changed
Lines changed: 1034 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
0 commit comments