perf(i18n): merge common lang

This commit is contained in:
vben
2021-01-12 21:10:27 +08:00
parent fb57cf734d
commit efbde0d57e
47 changed files with 175 additions and 102 deletions

View File

@@ -7,7 +7,7 @@
<a-button color="warning" block @click="handleResetSetting" class="my-3">
<RedoOutlined class="mr-2" />
{{ t('layout.setting.resetBtn') }}
{{ t('common.resetText') }}
</a-button>
<a-button color="error" block @click="handleClearAndRedo">

View File

@@ -1,5 +1,5 @@
<template>
<Tooltip :title="t('layout.multipleTab.tooltipRedo')" placement="bottom" :mouseEnterDelay="0.5">
<Tooltip :title="t('common.redo')" placement="bottom" :mouseEnterDelay="0.5">
<span :class="`${prefixCls}__extra-redo`" @click="handleRedo">
<RedoOutlined :spin="loading" />
</span>

View File

@@ -51,7 +51,7 @@ export function useTabDropdown(tabContentProps: TabContentProps) {
{
icon: 'ion:reload-sharp',
event: MenuEventEnum.REFRESH_PAGE,
text: t('layout.multipleTab.redo'),
text: t('layout.multipleTab.reload'),
disabled: refreshDisabled,
},
{