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