perf: add i18n

This commit is contained in:
xingyu4j 2022-11-30 12:38:15 +08:00
parent 2c8e2209e8
commit 38cc677515
5 changed files with 6 additions and 6 deletions

View File

@ -189,7 +189,6 @@ export default {
access: 'Project access', access: 'Project access',
toDo: 'To do', toDo: 'To do',
introduction: 'A serious introduction', introduction: 'A serious introduction',
more: 'More',
shortcutOperation: 'Quick entry', shortcutOperation: 'Quick entry',
operation: 'Operation', operation: 'Operation',
index: 'Index', index: 'Index',
@ -284,6 +283,7 @@ export default {
edit: 'Edit', edit: 'Edit',
update: 'Update', update: 'Update',
preview: 'Preview', preview: 'Preview',
more: 'More',
sync: 'Sync', sync: 'Sync',
save: 'Save', save: 'Save',
detail: 'Detail', detail: 'Detail',

View File

@ -189,7 +189,6 @@ export default {
access: '项目访问', access: '项目访问',
toDo: '待办', toDo: '待办',
introduction: '一个正经的简介', introduction: '一个正经的简介',
more: '更多',
shortcutOperation: '快捷入口', shortcutOperation: '快捷入口',
operation: '操作', operation: '操作',
index: '指数', index: '指数',
@ -284,6 +283,7 @@ export default {
edit: '编辑', edit: '编辑',
update: '编辑', update: '编辑',
preview: '预览', preview: '预览',
more: '更多',
sync: '同步', sync: '同步',
save: '保存', save: '保存',
detail: '详情', detail: '详情',

View File

@ -60,7 +60,7 @@
<template #header> <template #header>
<div class="flex justify-between h-3"> <div class="flex justify-between h-3">
<span>{{ t('workplace.project') }}</span> <span>{{ t('workplace.project') }}</span>
<el-link type="primary" :underline="false">{{ t('workplace.more') }}</el-link> <el-link type="primary" :underline="false">{{ t('action.more') }}</el-link>
</div> </div>
</template> </template>
<el-skeleton :loading="loading" animated> <el-skeleton :loading="loading" animated>
@ -135,7 +135,7 @@
<template #header> <template #header>
<div class="flex justify-between h-3"> <div class="flex justify-between h-3">
<span>{{ t('workplace.notice') }}</span> <span>{{ t('workplace.notice') }}</span>
<el-link type="primary" :underline="false">{{ t('workplace.more') }}</el-link> <el-link type="primary" :underline="false">{{ t('action.more') }}</el-link>
</div> </div>
</template> </template>
<el-skeleton :loading="loading" animated> <el-skeleton :loading="loading" animated>

View File

@ -49,7 +49,7 @@
@click="handleDelete(row.id)" @click="handleDelete(row.id)"
/> />
<el-dropdown class="p-0.5" v-hasPermi="['infra:job:trigger', 'infra:job:query']"> <el-dropdown class="p-0.5" v-hasPermi="['infra:job:trigger', 'infra:job:query']">
<XTextButton title="更多" postIcon="ep:arrow-down" /> <XTextButton :title="t('action.more')" postIcon="ep:arrow-down" />
<template #dropdown> <template #dropdown>
<el-dropdown-menu> <el-dropdown-menu>
<el-dropdown-item> <el-dropdown-item>

View File

@ -78,7 +78,7 @@
@click="handleDetail(row.id)" @click="handleDetail(row.id)"
/> />
<el-dropdown class="p-0.5" v-hasPermi="['infra:job:trigger', 'infra:job:query']"> <el-dropdown class="p-0.5" v-hasPermi="['infra:job:trigger', 'infra:job:query']">
<XTextButton title="更多" postIcon="ep:arrow-down" /> <XTextButton :title="t('action.more')" postIcon="ep:arrow-down" />
<template #dropdown> <template #dropdown>
<el-dropdown-menu> <el-dropdown-menu>
<el-dropdown-item> <el-dropdown-item>