vue-form10
Version:
A Vue.js project
53 lines (51 loc) • 1.57 kB
JavaScript
export default {
// `i18n` option
locale: 'zh',
silentTranslationWarn: true,
messages: {
en: {
deleteConfirm: 'Delete it?',
editAreaTip: 'Only one item is allowed in the root path',
noItems: 'No "items" defined in the schema'
},
zh: {
placeholder: '占位内容',
// type
string: "字符串",
array: "数组",
object: "对象",
number: "数字",
boolean: "布尔值",
// format
timestamp: '时间戳',
select: '下拉框',
section: '分块',
textarea: '多行输入框',
delete: '删除',
'move up': '上移',
'move down': '下移',
deleteConfirm: '是否确认删除',
Warning: '警告',
OK: '确认',
Cancel: '取消',
null: '空值',
splitter: "分割线",
title: '标题',
edit: '编辑',
readonly: '只读',
value: '值',
name: '名字',
titleMap: '选项',
'Preview Area': '预览区',
'Edit Area': "编辑区",
editAreaTip: '根路径仅限一个模块',
decoration: '装饰',
checkbox: '复选框',
noItems: 'schema中未定义“items”字段',
Draggable: "可以拖动",
'invalid format': '非法格式',
"Auto Remove": '自动删除'
}
}
}
;