mirror of
https://github.com/Syngnat/GoNavi.git
synced 2026-08-22 08:53:46 +08:00
🌐 i18n: 统一显示隐藏字段列文案(6 语言)
- 将字段显示入口明确为显示/隐藏字段列 - 同步简中、繁中、英语、日语、德语和俄语文案 - 更新 DataGrid 布局与图标按钮断言
This commit is contained in:
@@ -209,7 +209,7 @@ describe('DataGrid layout', () => {
|
||||
expect(markup).toContain('data-grid-view-switcher="true"');
|
||||
expect(markup).toContain('data-grid-column-display-action="true"');
|
||||
expect(markup).toContain('data-grid-column-quick-find-action="true"');
|
||||
expect(markup).toContain('字段显示');
|
||||
expect(markup).toContain('显示/隐藏字段列');
|
||||
expect(markup).toContain('跳列');
|
||||
expect(markup).toContain('日志');
|
||||
expect(markup).toContain(zhObjectDesignLabel);
|
||||
@@ -808,7 +808,7 @@ describe('DataGrid layout', () => {
|
||||
'文本',
|
||||
'数据预览',
|
||||
'字段信息',
|
||||
'字段显示',
|
||||
'显示/隐藏字段列',
|
||||
'跳列',
|
||||
'未提交',
|
||||
'跳页',
|
||||
@@ -1426,7 +1426,7 @@ describe('DataGrid layout', () => {
|
||||
'查看 DDL',
|
||||
'ER 图',
|
||||
'日志',
|
||||
'字段显示',
|
||||
'显示/隐藏字段列',
|
||||
].forEach((label) => {
|
||||
expect(getButtonBody(label)).not.toContain(label);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user