refactor(lang):语言包整理

This commit is contained in:
妙码生花 2022-11-19 19:49:18 +08:00
parent 181a5560ac
commit cdc32f8361
5 changed files with 5 additions and 5 deletions

View File

@ -44,4 +44,5 @@ export default {
unknown: 'Unknown', unknown: 'Unknown',
weigh: 'weigh', weigh: 'weigh',
'No route found to jump~': 'Failed to find a jump route.', 'No route found to jump~': 'Failed to find a jump route.',
'This is a deliberate error thrown to prevent a hot update of Vite': 'This is a deliberate error thrown to prevent a hot update of Vite',
} }

View File

@ -44,4 +44,5 @@ export default {
unknown: '未知', unknown: '未知',
weigh: '权重', weigh: '权重',
'No route found to jump~': '没有找到可以跳转的路由~', 'No route found to jump~': '没有找到可以跳转的路由~',
'This is a deliberate error thrown to prevent a hot update of Vite': '这是为了防止Vite的热更新而有意抛出的错误',
} }

View File

@ -6,7 +6,6 @@ export default {
'env require-dev': 'Composer-dev', 'env require-dev': 'Composer-dev',
'env dependencies': 'NPM', 'env dependencies': 'NPM',
'env devDependencies': 'NPM-dev', 'env devDependencies': 'NPM-dev',
'This is a deliberate error thrown to prevent a hot update of Vite': 'This is a deliberate error thrown to prevent a hot update of Vite',
// user // user
'Member information': 'Member information', 'Member information': 'Member information',
'My module': 'My module', 'My module': 'My module',

View File

@ -6,7 +6,6 @@ export default {
'env require-dev': '后端开发环境依赖composer', 'env require-dev': '后端开发环境依赖composer',
'env dependencies': '前端依赖NPM', 'env dependencies': '前端依赖NPM',
'env devDependencies': '前端开发环境依赖NPM', 'env devDependencies': '前端开发环境依赖NPM',
'This is a deliberate error thrown to prevent a hot update of Vite': '这是为了防止Vite的热更新而有意抛出的错误',
// user // user
'Member information': '会员信息', 'Member information': '会员信息',
'My module': '我的模块', 'My module': '我的模块',

View File

@ -25,13 +25,13 @@ onMounted(() => {
loadData() loadData()
if (import.meta.hot) { if (import.meta.hot) {
import.meta.hot.on('vite:beforeFullReload', () => { import.meta.hot.on('vite:beforeFullReload', () => {
if (state.common.disableHmr) throw t('module.This is a deliberate error thrown to prevent a hot update of Vite') if (state.common.disableHmr) throw t('This is a deliberate error thrown to prevent a hot update of Vite')
}) })
import.meta.hot.on('vite:beforeUpdate', () => { import.meta.hot.on('vite:beforeUpdate', () => {
if (state.common.disableHmr) throw t('module.This is a deliberate error thrown to prevent a hot update of Vite') if (state.common.disableHmr) throw t('This is a deliberate error thrown to prevent a hot update of Vite')
}) })
import.meta.hot.on('vite:beforePrune', () => { import.meta.hot.on('vite:beforePrune', () => {
if (state.common.disableHmr) throw t('module.This is a deliberate error thrown to prevent a hot update of Vite') if (state.common.disableHmr) throw t('This is a deliberate error thrown to prevent a hot update of Vite')
}) })
} }
}) })