Commit a21f5a9a authored by liang.tang's avatar liang.tang
Browse files

mall4cloud

parents
Pipeline #244 canceled with stages
export default {
carouselImg: 'Carousel pictures',
recommImgSize: 'Carousel pictures',
carouselImgNoNull: 'Carousel picture cannot be empty',
sortNONull: 'Sort value cannot be empty',
weChatPay: 'WeChat Pay',
aliPay: 'Pay with Ali-Pay',
balancePay: 'Balance Pay',
add: 'Add',
remove: 'Remove',
dollar: ' dollar '
}
export default {
carouselImg: '轮播图片',
recommImgSize: '建议图片尺寸为',
carouselImgNoNull: '轮播图片不能为空',
sortNONull: '排序值不能为空',
weChatPay: '微信支付',
aliPay: '支付宝支付',
balancePay: '余额支付',
add: '添加',
remove: '移除',
dollar: ''
}
export default {
areaId: 'area id',
areaName: 'area name',
parentId: 'parent id',
level: 'level'
}
export default {
areaId: '',
areaName: '地址',
parentId: '上级地址',
level: '等级(从1开始)'
}
export default {
picManager: 'Picture Manager',
choosePic: 'Select Picture',
picName: 'Picture name',
query: 'query',
uploadPic: 'Upload pictures',
selectLocalPic: 'Please select a local image to upload:',
confirmUpload: 'Confirm upload',
revisePicName: 'Modify picture name',
oldName: 'Old name',
revName: 'Edit name',
inputNewName: 'Please enter a new picture name',
superiorLimit: 'The number of selectable photos has reached the upper limit',
onlyPictures: 'Only images can be uploaded, other files have been cleared',
onlySupported: 'Only supports',
pic: 'picture',
notExceed: 'Size cannot exceed',
alreadyExist: 'Already existing',
soonUpload: 'About to upload',
unit: 'picture',
upload: 'Upload',
remainder: 'There are also options',
maxSelect: 'At present, you can only select at most',
requestError: 'The server is dozing off^_^',
PicMaxQuantity: 'The maximum number of pictures is:'
}
export default {
picManager: '图片管理器',
choosePic: '选择图片',
picName: '图片名称',
query: '查询',
uploadPic: '上传图片',
selectLocalPic: '请选择本地图片上传:',
confirmUpload: '确定上传',
revisePicName: '修改图片名称与分组',
oldName: '原名称',
revName: '新名称',
inputNewName: '请输入新的图片名称',
superiorLimit: '可选择照片数量已达上限',
onlyPictures: '只能上传图片,其他文件已清除',
onlySupported: '仅支持',
pic: '图片',
notExceed: '大小不能超过',
alreadyExist: '已有',
soonUpload: '即将上传',
unit: '张图片',
upload: '上传',
remainder: '还可以选择',
maxSelect: '当前最多只能选择',
requestError: '服务器打了个盹^_^',
PicMaxQuantity: '图片最大数量为:'
}
export default {
categorySelector: 'Category selector',
chooseProdCateg: 'Select product category',
currCho: 'Your current choice is',
isItAComtionPro: 'Is it a combination product ',
generalMerchandise: 'General Product',
combinationGoods: 'Combined product',
haveReadFol: 'Confirm selection'
}
export default {
categorySelector: '分类选择器',
chooseProdCateg: '选择商品分类',
currCho: '你当前的选择是',
isItAComtionPro: '是否为组合商品',
generalMerchandise: '普通商品',
combinationGoods: '组合商品',
haveReadFol: '确认选择'
}
export default {
noNull: 'No null',
product: 'Product',
shop: 'Shop',
contactName: 'Contact person',
contactTel: 'Contact number',
consignee: 'consignee',
mobilePhone: 'Mobile phone',
deliveryAddr: ' delivery address',
name: 'Name',
dollar: ' Dollar ',
piece: 'Pieces',
normal: 'Normal'
}
export default {
noNull: '不能为空',
product: '商品',
shop: '店铺',
contactName: '联系人',
contactTel: '联系电话',
consignee: '收货人',
mobilePhone: '手机号码',
deliveryAddr: '收货地址',
name: '名称',
dollar: '',
piece: '',
normal: '正常'
}
import spu from './product/spu/en'
import attr from './product/attr/en'
import category from './product/category/en'
import notice from './multishop/notice/en'
import shopUser from './multishop/shop-user/en'
import hotSearch from './multishop/hot-search/en'
import imgbox from './biz/imgbox/en'
import role from './rbac/role/en'
import menu from './rbac/menu/en'
import menuPermission from './rbac/menu-permission/en'
import selector from './components/category-selector/en'
import shopUserAccount from './multishop/shop-user-account/en'
import order from './order/order/en'
import constant from './constant/en'
import admin from './admin/en'
import shop from './shop/en'
import address from './address/en'
import product from './product/en'
export default {
language: 'English',
route: {
dashboard: 'Dashboard'
},
navbar: {
logOut: 'Log Out'
},
tip: {
select: 'please select prod',
input: 'please input'
},
tagsView: {
refresh: 'Refresh',
close: 'Close',
closeOthers: 'Close Others',
closeAll: 'Close All'
},
date: {
start: 'Start date',
end: 'End date',
tip: 'to',
t: 'today',
y: 'yesterday',
n: 'nearly 7',
m: 'nearly 30',
a: 'whole'
},
login: {
title: 'Login Form',
logIn: 'Login',
username: 'Username',
password: 'Password',
any: 'any',
thirdparty: 'Or connect with',
thirdpartyTips: 'Can not be simulated on local, so please combine you own business simulation! ! !'
},
unit: {
dollar: 'yuan'
},
table: {
search: 'Search',
add: 'Add',
export: 'Export',
id: 'ID',
status: 'Status',
actions: 'Actions',
edit: 'Edit',
create: 'Create',
publish: 'Publish',
delete: 'Delete',
cancel: 'Cancel',
offline: 'Offline',
clear: 'Clear',
confirm: 'Confirm',
actionSuccess: 'Actions Success',
tips: 'Tips',
seq: 'Queue number',
sureToDelete: 'Be sure to delete?',
createTime: 'create time',
updateTime: 'update time'
},
action: {
putOnShelf: 'Put on the shelf',
offShelf: 'off the shelf'
},
rbac: {
role,
menu,
menuPermission
},
multishop: {
notice,
shopUser,
hotSearch,
shopUserAccount
},
product: {
...product,
attr,
category,
spu
},
biz: {
imgbox
},
order: {
order
},
constant: {
...constant
},
admin: {
...admin
},
shop: {
...shop
},
address: {
...address
},
components: {
selector
}
}
import Vue from 'vue'
import VueI18n from 'vue-i18n'
import Cookies from 'js-cookie'
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'
Vue.use(VueI18n)
const messages = {
en: {
...enLocale,
...elementEnLocale
},
zh: {
...zhLocale,
...elementZhLocale
}
}
export function getLanguage() {
const chooseLanguage = Cookies.get('language')
if (chooseLanguage) return chooseLanguage
// if has not choose language
const language = (navigator.language || navigator.browserLanguage).toLowerCase()
const locales = Object.keys(messages)
for (const locale of locales) {
if (language.indexOf(locale) > -1) {
return locale
}
}
return 'en'
}
const i18n = new VueI18n({
// set locale
// options: en | zh | es
locale: getLanguage(),
// set locale messages
messages
})
export default i18n
export default {
hotSearchId: 'hot search id',
shopId: 'shop id',
content: 'content',
createDate: 'create date',
seq: 'seq',
status: 'status',
title: 'title'
}
export default {
hotSearchId: '主键',
shopId: '店铺ID',
content: '热搜内容',
createDate: '创建时间',
seq: '顺序',
status: '状态',
title: '热搜标题'
}
export default {
id: 'id',
shopId: 'shop id',
title: 'title',
content: 'content',
type: 'type',
status: 'status',
isTop: 'is top',
publishTime: 'publish time'
}
export default {
id: '公告id',
shopId: '店铺id',
title: '公告标题',
content: '公告内容',
type: '类型',
status: '状态',
isTop: '是否置顶',
publishTime: '发布时间'
}
export default {
email: 'email',
phone: 'phone',
username: 'username',
password: 'password',
status: 'status'
}
export default {
email: '邮箱',
phone: '手机号',
username: '用户名',
password: '密码',
status: '状态'
}
export default {
shopUserId: 'shop user id',
shopId: 'shop id',
nickName: 'nick name',
avatar: 'avatar',
code: 'code',
phoneNum: 'phone num',
hasAccount: 'has account'
}
export default {
shopUserId: '商家用户id',
shopId: '关联店铺id',
nickName: '昵称',
avatar: '头像',
code: '员工编号',
phoneNum: '联系方式',
hasAccount: '是否已经设置账号'
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment