Commit 38cc67751565bd21388524176bca7ab1ab2ab9ce

Authored by xingyu4j
1 parent 2c8e2209

perf: add i18n

yudao-ui-admin-vue3/src/locales/en.ts
@@ -189,7 +189,6 @@ export default { @@ -189,7 +189,6 @@ export default {
189 access: 'Project access', 189 access: 'Project access',
190 toDo: 'To do', 190 toDo: 'To do',
191 introduction: 'A serious introduction', 191 introduction: 'A serious introduction',
192 - more: 'More',  
193 shortcutOperation: 'Quick entry', 192 shortcutOperation: 'Quick entry',
194 operation: 'Operation', 193 operation: 'Operation',
195 index: 'Index', 194 index: 'Index',
@@ -284,6 +283,7 @@ export default { @@ -284,6 +283,7 @@ export default {
284 edit: 'Edit', 283 edit: 'Edit',
285 update: 'Update', 284 update: 'Update',
286 preview: 'Preview', 285 preview: 'Preview',
  286 + more: 'More',
287 sync: 'Sync', 287 sync: 'Sync',
288 save: 'Save', 288 save: 'Save',
289 detail: 'Detail', 289 detail: 'Detail',
yudao-ui-admin-vue3/src/locales/zh-CN.ts
@@ -189,7 +189,6 @@ export default { @@ -189,7 +189,6 @@ export default {
189 access: '项目访问', 189 access: '项目访问',
190 toDo: '待办', 190 toDo: '待办',
191 introduction: '一个正经的简介', 191 introduction: '一个正经的简介',
192 - more: '更多',  
193 shortcutOperation: '快捷入口', 192 shortcutOperation: '快捷入口',
194 operation: '操作', 193 operation: '操作',
195 index: '指数', 194 index: '指数',
@@ -284,6 +283,7 @@ export default { @@ -284,6 +283,7 @@ export default {
284 edit: '编辑', 283 edit: '编辑',
285 update: '编辑', 284 update: '编辑',
286 preview: '预览', 285 preview: '预览',
  286 + more: '更多',
287 sync: '同步', 287 sync: '同步',
288 save: '保存', 288 save: '保存',
289 detail: '详情', 289 detail: '详情',
yudao-ui-admin-vue3/src/views/Home/Index.vue
@@ -60,7 +60,7 @@ @@ -60,7 +60,7 @@
60 <template #header> 60 <template #header>
61 <div class="flex justify-between h-3"> 61 <div class="flex justify-between h-3">
62 <span>{{ t('workplace.project') }}</span> 62 <span>{{ t('workplace.project') }}</span>
63 - <el-link type="primary" :underline="false">{{ t('workplace.more') }}</el-link> 63 + <el-link type="primary" :underline="false">{{ t('action.more') }}</el-link>
64 </div> 64 </div>
65 </template> 65 </template>
66 <el-skeleton :loading="loading" animated> 66 <el-skeleton :loading="loading" animated>
@@ -135,7 +135,7 @@ @@ -135,7 +135,7 @@
135 <template #header> 135 <template #header>
136 <div class="flex justify-between h-3"> 136 <div class="flex justify-between h-3">
137 <span>{{ t('workplace.notice') }}</span> 137 <span>{{ t('workplace.notice') }}</span>
138 - <el-link type="primary" :underline="false">{{ t('workplace.more') }}</el-link> 138 + <el-link type="primary" :underline="false">{{ t('action.more') }}</el-link>
139 </div> 139 </div>
140 </template> 140 </template>
141 <el-skeleton :loading="loading" animated> 141 <el-skeleton :loading="loading" animated>
yudao-ui-admin-vue3/src/views/infra/job/index.vue
@@ -49,7 +49,7 @@ @@ -49,7 +49,7 @@
49 @click="handleDelete(row.id)" 49 @click="handleDelete(row.id)"
50 /> 50 />
51 <el-dropdown class="p-0.5" v-hasPermi="['infra:job:trigger', 'infra:job:query']"> 51 <el-dropdown class="p-0.5" v-hasPermi="['infra:job:trigger', 'infra:job:query']">
52 - <XTextButton title="更多" postIcon="ep:arrow-down" /> 52 + <XTextButton :title="t('action.more')" postIcon="ep:arrow-down" />
53 <template #dropdown> 53 <template #dropdown>
54 <el-dropdown-menu> 54 <el-dropdown-menu>
55 <el-dropdown-item> 55 <el-dropdown-item>
yudao-ui-admin-vue3/src/views/system/user/index.vue
@@ -78,7 +78,7 @@ @@ -78,7 +78,7 @@
78 @click="handleDetail(row.id)" 78 @click="handleDetail(row.id)"
79 /> 79 />
80 <el-dropdown class="p-0.5" v-hasPermi="['infra:job:trigger', 'infra:job:query']"> 80 <el-dropdown class="p-0.5" v-hasPermi="['infra:job:trigger', 'infra:job:query']">
81 - <XTextButton title="更多" postIcon="ep:arrow-down" /> 81 + <XTextButton :title="t('action.more')" postIcon="ep:arrow-down" />
82 <template #dropdown> 82 <template #dropdown>
83 <el-dropdown-menu> 83 <el-dropdown-menu>
84 <el-dropdown-item> 84 <el-dropdown-item>