add zh_TW
This commit is contained in:
parent
2b5ce5a44e
commit
947a5db82e
|
@ -3,6 +3,7 @@ import VueI18n from "vue-i18n";
|
|||
import axios from "axios";
|
||||
import enLocale from "element-ui/lib/locale/lang/en";
|
||||
import zh_CNLocale from "element-ui/lib/locale/lang/zh-CN";
|
||||
import zh_TWLocale from "element-ui/lib/locale/lang/zh-TW";
|
||||
import zh_CN from "./zh_CN";
|
||||
|
||||
Vue.use(VueI18n);
|
||||
|
@ -14,6 +15,9 @@ const messages = {
|
|||
'zh_CN': {
|
||||
...zh_CN,
|
||||
...zh_CNLocale
|
||||
},
|
||||
'zh_TW': {
|
||||
...zh_TWLocale
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
@ -0,0 +1,29 @@
|
|||
const zh_TW = {
|
||||
commons: {
|
||||
'workspace': '工作空间',
|
||||
'name': '名称',
|
||||
'description': '描述',
|
||||
'save': '保存',
|
||||
'save_success': '保存成功',
|
||||
'delete_success': '删除成功',
|
||||
'confirm': '确定',
|
||||
'cancel': '取消',
|
||||
'prompt': '提示',
|
||||
},
|
||||
workspace: {
|
||||
'create': '创建工作空间',
|
||||
'delete_confirm': '这个工作空间确定要删除吗?',
|
||||
'add': '添加工作空间',
|
||||
'input_name': '请输入工作空间名称',
|
||||
'input_name_2_50': '长度在 2 到 50 个字符',
|
||||
'search_by_name': '根据名称搜索',
|
||||
},
|
||||
project: {
|
||||
'recent': '最近的项目'
|
||||
},
|
||||
i18n: {
|
||||
'home': '首页',
|
||||
}
|
||||
};
|
||||
|
||||
export default zh_TW
|
Loading…
Reference in New Issue