mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-12-03 09:09:33 +01:00
fix(i18n): drop the duplicate zh-CN Attach key (#606 merge-time fix)
ZH_CN already had `Attach: '附加'` (the tile grid's and remote discovery's Attach buttons). #606 added a second `Attach: '添加附件'` later in the same object literal, which won and turned every Attach into "add attachment". The duplicate is removed; 附加 covers the phone toolbar button too. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
eaa9044520
commit
de06cb12d1
2 files changed
+5
-1
No files matched your search
@@ -357,6 +357,11 @@ describe('every tile grid string the code puts on screen translates to zh-CN', (
|
||||
expect(bad).toEqual([]);
|
||||
});
|
||||
|
||||
it("the tile's Attach button keeps its meaning (one ZH_CN key: a later duplicate would win)", () => {
|
||||
// The phone toolbar's Attach button shares the English word; 附加 fits both.
|
||||
expect(zh.api.t('Attach')).toBe('附加');
|
||||
});
|
||||
|
||||
it('the harness logo keeps harness and model names as they are and translates the rest', () => {
|
||||
// Not vacuous: every form the logo's tooltip takes was seen.
|
||||
expect([...harnessLabels.keys()]).toEqual(
|
||||
|
||||
Reference in new issue
Block a user