project init
This commit is contained in:
114
src/lang/en.js
Normal file
114
src/lang/en.js
Normal file
@@ -0,0 +1,114 @@
|
||||
export default {
|
||||
title: 'Avue is a framework',
|
||||
tip: 'tip',
|
||||
logoutTip: 'Exit the system, do you want to continue?',
|
||||
submitText: 'submit',
|
||||
cancelText: 'cancel',
|
||||
search: 'Please input search content',
|
||||
menuTip: 'none menu list',
|
||||
wel: {
|
||||
info: 'Good morning, Smallwei, Avuex is a framework',
|
||||
dept: 'a certain technology department',
|
||||
team: 'Team ranking',
|
||||
project: 'Project access',
|
||||
count: 'Item number',
|
||||
data: {
|
||||
subtitle: 'real time',
|
||||
column1: 'Classified statistics',
|
||||
column2: 'Annex statistics',
|
||||
column3: 'Article statistics',
|
||||
key1: 'C',
|
||||
key2: 'A',
|
||||
key3: 'A',
|
||||
text1: 'Total Record Number of Classifications',
|
||||
text2: 'Number of attachments Uploaded',
|
||||
text3: 'Comment frequency'
|
||||
},
|
||||
data2: {
|
||||
column1: 'Registration today',
|
||||
column2: 'Login today',
|
||||
column3: 'Subscription today',
|
||||
column4: 'Todays review'
|
||||
},
|
||||
data3: {
|
||||
column1: 'Conversion rate(Day 28%)',
|
||||
column2: 'Attendance rate(Day 11%)',
|
||||
column3: 'Attendance rate(Day 33%)'
|
||||
},
|
||||
data4: {
|
||||
column1: 'Error log',
|
||||
column2: 'Data display',
|
||||
column3: 'Privilege management',
|
||||
column4: 'user management'
|
||||
},
|
||||
table: {
|
||||
rw: 'Work Tasks',
|
||||
nr: 'Work content',
|
||||
sj: 'Working hours',
|
||||
}
|
||||
},
|
||||
route: {
|
||||
info: 'info',
|
||||
website: 'website',
|
||||
avuexwebsite: 'avuex',
|
||||
dashboard: 'dashboard',
|
||||
more: 'more',
|
||||
tags: 'tags',
|
||||
store: 'store',
|
||||
permission: 'permission',
|
||||
api: 'api',
|
||||
logs: 'logs',
|
||||
table: 'table',
|
||||
form: 'form',
|
||||
top: 'backtop',
|
||||
data: 'data',
|
||||
error: 'error',
|
||||
test: 'test',
|
||||
accountsafe: "accountsafe",
|
||||
set: 'set',
|
||||
companyindex: 'companyindex'
|
||||
},
|
||||
login: {
|
||||
title: 'Login ',
|
||||
info: 'Enterprise Development Platform',
|
||||
tenantId: 'Please input tenantId',
|
||||
username: 'Please input username',
|
||||
wechat: 'Wechat',
|
||||
qq: 'QQ',
|
||||
phone: 'Please input a phone',
|
||||
password: 'Please input a password',
|
||||
code: 'Please input a code',
|
||||
submit: 'Login',
|
||||
userLogin: 'userLogin',
|
||||
phoneLogin: 'phoneLogin',
|
||||
thirdLogin: 'thirdLogin',
|
||||
msgText: 'send code',
|
||||
msgSuccess: 'reissued code',
|
||||
},
|
||||
navbar: {
|
||||
experienceEntrance: 'experienceEntrance',
|
||||
info: 'info',
|
||||
logOut: 'logout',
|
||||
userinfo: 'userinfo',
|
||||
dashboard: 'dashboard',
|
||||
lock: 'lock',
|
||||
bug: 'none bug',
|
||||
bugs: 'bug',
|
||||
screenfullF: 'exit screenfull',
|
||||
screenfull: 'screenfull',
|
||||
language: 'language',
|
||||
notice: 'notice',
|
||||
theme: 'theme',
|
||||
color: 'color',
|
||||
accountsafe: "账户安全",
|
||||
set: '设置',
|
||||
companyindex: '公司主页'
|
||||
},
|
||||
tagsView: {
|
||||
search: 'Search',
|
||||
menu: 'menu',
|
||||
clearCache: 'Clear Cache',
|
||||
closeOthers: 'Close Others',
|
||||
closeAll: 'Close All'
|
||||
}
|
||||
}
|
||||
28
src/lang/index.js
Normal file
28
src/lang/index.js
Normal file
@@ -0,0 +1,28 @@
|
||||
import Vue from 'vue'
|
||||
import VueI18n from 'vue-i18n'
|
||||
import elementEnLocale from 'element-ui/lib/locale/lang/en' // element-ui lang
|
||||
import elementZhLocale from 'element-ui/lib/locale/lang/zh-CN'// element-ui lang
|
||||
import enLocale from './en'
|
||||
import zhLocale from './zh'
|
||||
import { getStore } from '@/util/store'
|
||||
import Avue from '@smallwei/avue';
|
||||
Vue.use(VueI18n)
|
||||
const messages = {
|
||||
en: {
|
||||
...enLocale,
|
||||
...elementEnLocale,
|
||||
...Avue.locale.en,
|
||||
},
|
||||
zh: {
|
||||
...zhLocale,
|
||||
...elementZhLocale,
|
||||
...Avue.locale.zh,
|
||||
}
|
||||
}
|
||||
|
||||
const i18n = new VueI18n({
|
||||
locale: getStore({ name: 'language' }) || 'zh',
|
||||
messages
|
||||
})
|
||||
|
||||
export default i18n
|
||||
116
src/lang/zh.js
Normal file
116
src/lang/zh.js
Normal file
@@ -0,0 +1,116 @@
|
||||
export default {
|
||||
tip: '提示',
|
||||
title: '企嘉云企业用工云系统',
|
||||
logoutTip: '退出系统, 是否继续?',
|
||||
submitText: '确定',
|
||||
cancelText: '取消',
|
||||
search: '请输入搜索内容',
|
||||
menuTip: '没有发现菜单',
|
||||
wel: {
|
||||
info: '早安,Smallwei,Avuex一款超乎你想象的框架!',
|
||||
dept: '我是avue团队下的一个部门-哈皮部门-哈皮职位',
|
||||
team: '团队内排名',
|
||||
project: '项目访问',
|
||||
count: '项目数',
|
||||
data: {
|
||||
subtitle: '实时',
|
||||
column1: '分类统计',
|
||||
column2: '附件统计',
|
||||
column3: '文章统计',
|
||||
key1: '分',
|
||||
key2: '附',
|
||||
key3: '评',
|
||||
text1: '当前分类总记录数',
|
||||
text2: '当前上传的附件数',
|
||||
text3: '评论次数'
|
||||
},
|
||||
data2: {
|
||||
column1: '今日注册',
|
||||
column2: '今日登录',
|
||||
column3: '今日订阅',
|
||||
column4: '今日评论'
|
||||
},
|
||||
data3: {
|
||||
column1: '转化率(日同比 28%)',
|
||||
column2: '签到率(日同比 11%)',
|
||||
column3: '签到率(日同比 11%)'
|
||||
},
|
||||
data4: {
|
||||
column1: '错误日志',
|
||||
column2: '数据展示',
|
||||
column3: '权限管理',
|
||||
column4: '用户管理'
|
||||
},
|
||||
table: {
|
||||
rw: '工作任务',
|
||||
nr: '工作内容',
|
||||
sj: '工作时间'
|
||||
}
|
||||
},
|
||||
route: {
|
||||
info: '个人信息',
|
||||
website: 'jobslinkX官网',
|
||||
avuexwebsite: 'avuex官网',
|
||||
dashboard: '首页',
|
||||
more: '更多',
|
||||
tags: '标签',
|
||||
store: '本地存储',
|
||||
api: '全局函数',
|
||||
logs: '日志监控',
|
||||
table: '表格',
|
||||
form: '表单',
|
||||
top: '返回顶部',
|
||||
data: '数据展示',
|
||||
permission: '权限',
|
||||
error: '异常页面',
|
||||
test: '测试页面',
|
||||
accountsafe: "账户安全",
|
||||
set: '设置',
|
||||
companyindex: '公司主页'
|
||||
},
|
||||
login: {
|
||||
title: '登录 ',
|
||||
info: '企业用工综合解决供应云平台',
|
||||
tenantId: '请输入租户ID',
|
||||
username: '请输入账号',
|
||||
password: '请输入您的密码',
|
||||
wechat: '微信',
|
||||
qq: 'QQ',
|
||||
phone: '请输入您的手机号',
|
||||
code: '请输入您的验证码',
|
||||
submit: '登录',
|
||||
userLogin: '账号密码',
|
||||
phoneLogin: '德阳市智慧就业服务平台',
|
||||
thirdLogin: '第三方登录',
|
||||
msgText: '获取验证码',
|
||||
msgSuccess: '秒后重发',
|
||||
userRegister:'企业注册',
|
||||
registerSubmit:'注册',
|
||||
directLogin:'返回登录'
|
||||
},
|
||||
navbar: {
|
||||
experienceEntrance: '企嘉云用工云体验账号入口',
|
||||
logOut: '退出登录',
|
||||
userinfo: '个人信息',
|
||||
dashboard: '首页',
|
||||
lock: '锁屏',
|
||||
bug: '没有错误日志',
|
||||
bugs: '条错误日志',
|
||||
screenfullF: '退出全屏',
|
||||
screenfull: '全屏',
|
||||
language: '中英文',
|
||||
notice: '消息通知',
|
||||
theme: '主题',
|
||||
color: '换色',
|
||||
accountsafe: "账户安全",
|
||||
set: '设置',
|
||||
companyindex: '公司主页'
|
||||
},
|
||||
tagsView: {
|
||||
search: '搜索',
|
||||
menu: '更多',
|
||||
clearCache: '清除缓存',
|
||||
closeOthers: '关闭其它',
|
||||
closeAll: '关闭所有'
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user