fix(admin): 优化管理后台英文菜单多语言文案杜绝截断并修复各业务页面与API错误
这个提交包含在:
@@ -23,8 +23,8 @@ test('1. routes.ts 必须包含 key card/list,供 layout glob 加载', () => {
|
||||
|
||||
test('2. locale 必须包含 menu.card / menu.card.list 中英文案', () => {
|
||||
const content = fs.readFileSync(localePath, 'utf-8');
|
||||
assert.ok(content.includes("'menu.card': 'Digital Cards'"), '英文 menu.card');
|
||||
assert.ok(content.includes("'menu.card.list': 'Card Library'"), '英文 menu.card.list');
|
||||
assert.ok(content.includes("'menu.card': 'Cards'"), '英文 menu.card');
|
||||
assert.ok(content.includes("'menu.card.list': 'All Cards'"), '英文 menu.card.list');
|
||||
assert.ok(content.includes("'menu.card': '数字名片'"), '中文 menu.card');
|
||||
assert.ok(content.includes("'menu.card.list': '名片资产库'"), '中文 menu.card.list');
|
||||
});
|
||||
|
||||
在新工单中引用
屏蔽一个用户