[update 系统] i18n抽离单独js文件
This commit is contained in:
@@ -208,6 +208,15 @@ module.exports = {
|
||||
support: 'You can upload files in ',
|
||||
formatUpload: ' formats. ',
|
||||
theSizeIs: 'The size is ',
|
||||
loginExpired: 'Login has expired',
|
||||
loginExpiredMessage: 'Sorry, the login has expired. Please log in again',
|
||||
logInAgain: 'Log in again',
|
||||
loggingBackIn: 'Login has expired, logging in again',
|
||||
prompted: 'prompted',
|
||||
noAccess: 'no access',
|
||||
resourceNotFound: 'Sorry, the resource was not found!',
|
||||
networkTimeout: 'Network Timeout',
|
||||
unauthorized: 'Unauthorized, please log in again',
|
||||
// 树右键
|
||||
treeRight: {
|
||||
addFolder: 'Create New Folder',
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
import VueI18n from 'vue-i18n'
|
||||
import LangENUS from '@/common/lang/en-us'
|
||||
import LangZHCN from '@/common/lang/zh-cn'
|
||||
import Vue from 'vue'
|
||||
|
||||
Vue.use(VueI18n)
|
||||
|
||||
const i18n = new VueI18n({
|
||||
locale: 'zh-cn',
|
||||
messages: {
|
||||
'en-us': LangENUS,
|
||||
'zh-cn': LangZHCN
|
||||
}
|
||||
})
|
||||
|
||||
export default i18n
|
||||
@@ -225,6 +225,15 @@ module.exports = {
|
||||
support: '支持',
|
||||
formatUpload: '格式上传,',
|
||||
theSizeIs: '大小为',
|
||||
loginExpired: '登录已过期',
|
||||
loginExpiredMessage: '很抱歉,登录已过期,请重新登录',
|
||||
logInAgain: '重新登录',
|
||||
loggingBackIn: '登录已过期,正在重新登陆',
|
||||
prompted: '系统提示',
|
||||
noAccess: '拒绝访问',
|
||||
resourceNotFound: '很抱歉,资源未找到!',
|
||||
networkTimeout: '网络超时',
|
||||
unauthorized: '未授权,请重新登录',
|
||||
// 标准字段
|
||||
standardField: {
|
||||
standardEnglishName: '标准英文名称',
|
||||
|
||||
Reference in New Issue
Block a user