mirror of
https://github.com/vform666/variant-form3-vite.git
synced 2025-06-21 17:39:57 +08:00
Vue 3版本初次提交,继续测试中。
This commit is contained in:
321
src/lang/en-US.js
Normal file
321
src/lang/en-US.js
Normal file
@ -0,0 +1,321 @@
|
||||
export default {
|
||||
application: {
|
||||
'zh-CN': '简体中文',
|
||||
'en-US': 'English',
|
||||
productTitle: 'Online Form Designer',
|
||||
github: 'GitHub',
|
||||
document: 'Docs',
|
||||
qqGroup: 'WeChat Group',
|
||||
deployment: 'Deployment',
|
||||
subscription: 'Subscription',
|
||||
},
|
||||
|
||||
designer: {
|
||||
componentLib: 'Components',
|
||||
formLib: 'Templates',
|
||||
containerTitle: 'Container',
|
||||
dragHandlerHint: 'drag container or field to layout center',
|
||||
dragAction: 'drag',
|
||||
basicFieldTitle: 'Basic Field',
|
||||
advancedFieldTitle: 'Advanced Field',
|
||||
customFieldTitle: 'Customized Field',
|
||||
|
||||
noWidgetHint: 'Please select a widget from the left list, drag and drop to this container.',
|
||||
|
||||
widgetLabel: {
|
||||
grid: 'Grid',
|
||||
table: 'Table',
|
||||
tab: 'Tab',
|
||||
section: 'Section',
|
||||
'sub-form': 'SubForm',
|
||||
'grid-col': 'GridCol',
|
||||
'table-cell': 'TableCell',
|
||||
'tab-pane': 'TabPane',
|
||||
'data-table': 'DataTable',
|
||||
|
||||
input: 'Input',
|
||||
textarea: 'Textarea',
|
||||
number: 'InputNumber',
|
||||
radio: 'Radio',
|
||||
checkbox: 'Checkbox',
|
||||
select: 'Select',
|
||||
time: 'Time',
|
||||
'time-range': 'Time range',
|
||||
date: 'Date',
|
||||
'date-range': 'Date range',
|
||||
switch: 'Switch',
|
||||
rate: 'Rate',
|
||||
color: 'ColorPicker',
|
||||
slider: 'Slider',
|
||||
'static-text': 'Text',
|
||||
'html-text': 'HTML',
|
||||
button: 'Button',
|
||||
divider: 'Divider',
|
||||
|
||||
'picture-upload': 'Picture',
|
||||
'file-upload': 'File',
|
||||
'rich-editor': 'Rich Editor',
|
||||
cascader: 'Cascader',
|
||||
slot: 'Slot',
|
||||
|
||||
custom: 'Custom Component',
|
||||
},
|
||||
|
||||
hint: {
|
||||
selectParentWidget: 'Select parent of this widget',
|
||||
moveUpWidget: 'Move up this widget',
|
||||
moveDownWidget: 'Move down this widget',
|
||||
cloneWidget: 'Clone this widget',
|
||||
insertRow: 'Insert new row',
|
||||
insertColumn: 'Insert new column',
|
||||
remove: 'Remove this widget',
|
||||
cellSetting: 'Cell setting',
|
||||
dragHandler: 'Drag handler',
|
||||
copyField: 'Copy field widget',
|
||||
onlyFieldWidgetAcceptable: 'Only field widget can be dragged into sub-form',
|
||||
moveUpFirstChildHint: 'First child can not be move up',
|
||||
moveDownLastChildHint: 'Last child can not be move down',
|
||||
|
||||
closePreview: 'Close',
|
||||
copyJson: 'Copy',
|
||||
saveFormJson: 'Save As File',
|
||||
copyVueCode: 'Copy Vue Code',
|
||||
copyHtmlCode: 'Copy HTML Code',
|
||||
copyJsonSuccess: 'Copy succeed',
|
||||
importJsonSuccess: 'Import succeed',
|
||||
copyJsonFail: 'Copy failed',
|
||||
copyVueCodeSuccess: 'Copy succeed',
|
||||
copyVueCodeFail: 'Copy failed',
|
||||
copyHtmlCodeSuccess: 'Copy succeed',
|
||||
copyHtmlCodeFail: 'Copy failed',
|
||||
saveVueCode: 'Save Vue File',
|
||||
saveHtmlCode: 'Save Html File',
|
||||
getFormData: 'Get Data',
|
||||
resetForm: 'Reset',
|
||||
disableForm: 'Disable',
|
||||
enableForm: 'Enable',
|
||||
exportFormData: 'Form Data',
|
||||
copyFormData: 'Copy',
|
||||
saveFormData: 'Save As File',
|
||||
copyVue2SFC: 'Copy Vue2',
|
||||
copyVue3SFC: 'Copy Vue3',
|
||||
copySFCFail: 'Copy failed',
|
||||
copySFCSuccess: 'Copy succeed',
|
||||
saveVue2SFC: 'Save As Vue2',
|
||||
saveVue3SFC: 'Save As Vue3',
|
||||
fileNameForSave: 'File name:',
|
||||
saveFileTitle: 'Save as File',
|
||||
fileNameInputPlaceholder: 'Enter the file name',
|
||||
sampleLoadedSuccess: 'Example loaded successfully',
|
||||
sampleLoadedFail: 'Sample load failed',
|
||||
loadFormTemplate: 'Load This',
|
||||
loadFormTemplateHint: 'Are you sure to load this template?',
|
||||
loadFormTemplateSuccess: 'Load form template success!',
|
||||
loadFormTemplateFailed: 'Load form template failed.',
|
||||
currentNodeCannotBeSelected: 'The current node cannot be selected.',
|
||||
|
||||
widgetSetting: 'Widget Config',
|
||||
formSetting: 'Form Config',
|
||||
|
||||
prompt: 'Prompt',
|
||||
confirm: 'OK',
|
||||
cancel: 'Cancel',
|
||||
import: 'Import',
|
||||
importJsonHint: 'The code to be imported should have the following JSON format.',
|
||||
invalidOptionsData: 'Invalid data of options:',
|
||||
lastPaneCannotBeDeleted: 'The last pane cannot be deleted.',
|
||||
duplicateName: 'Duplicate name: ',
|
||||
nameRequired: 'Name required.',
|
||||
|
||||
numberValidator: 'Number',
|
||||
letterValidator: 'Letter',
|
||||
letterAndNumberValidator: 'LetterAndNumber',
|
||||
mobilePhoneValidator: 'MobilePhone',
|
||||
emailValidator: 'Email',
|
||||
urlValidator: 'URL',
|
||||
noChineseValidator: 'Non-Chinese',
|
||||
chineseValidator: 'Chinese',
|
||||
|
||||
rowspanNotConsistentForMergeEntireRow: 'Cells in this row don\'t have the same rowspan, operation failed.',
|
||||
colspanNotConsistentForMergeEntireColumn: 'Cells in this column don\'t have the same colspan, operation failed.',
|
||||
rowspanNotConsistentForDeleteEntireRow: 'Cells in this row don\'t have the same rowspan, operation failed.',
|
||||
colspanNotConsistentForDeleteEntireColumn: 'Cells in this column don\'t have the same colspan, operation failed.',
|
||||
lastColCannotBeDeleted: 'The last col cannot be deleted.',
|
||||
lastRowCannotBeDeleted: 'The last row cannot be deleted.',
|
||||
},
|
||||
|
||||
toolbar: {
|
||||
undoHint: 'Undo',
|
||||
redoHint: 'Redo',
|
||||
pcLayout: 'PC',
|
||||
padLayout: 'Pad',
|
||||
mobileLayout: 'H5',
|
||||
nodeTreeHint: 'Tree View Of Component Hierarchy',
|
||||
nodeTreeTitle: 'Tree View Of Component Hierarchy',
|
||||
clear: 'Clear',
|
||||
preview: 'Preview',
|
||||
importJson: 'Import JSON',
|
||||
exportJson: 'Export JSON',
|
||||
exportCode: 'Export Code',
|
||||
generateCode: 'Generate Code',
|
||||
generateSFC: 'Generate SFC',
|
||||
},
|
||||
|
||||
setting: {
|
||||
basicSetting: 'Basic Setting',
|
||||
attributeSetting: 'Attribute Setting',
|
||||
commonSetting: 'Common Setting',
|
||||
advancedSetting: 'Advanced Setting',
|
||||
eventSetting: 'Event Setting',
|
||||
uniqueName: 'Unique Name',
|
||||
editNameHelp: 'Press enter to confirm the modification',
|
||||
label: 'Label',
|
||||
displayType: 'Type',
|
||||
defaultValue: 'Default Value',
|
||||
placeholder: 'Placeholder',
|
||||
startPlaceholder: 'Start Placeholder',
|
||||
endPlaceholder: 'End Placeholder',
|
||||
widgetColumnWidth: 'Width',
|
||||
widgetSize: 'Size',
|
||||
showStops: 'Show Stops',
|
||||
displayStyle: 'Display Style',
|
||||
inlineLayout: 'inline',
|
||||
blockLayout: 'block',
|
||||
buttonStyle: 'Show As Button',
|
||||
border: 'Show Border',
|
||||
labelWidth: 'Width Of Label',
|
||||
rows: 'Rows',
|
||||
labelHidden: 'Hide Label',
|
||||
required: 'Required',
|
||||
validation: 'Validation',
|
||||
validationHelp: 'Regular expressions supported',
|
||||
validationHint: 'Validation Hint',
|
||||
readonly: 'Readonly',
|
||||
disabled: 'Disabled',
|
||||
hidden: 'Hidden',
|
||||
textContent: 'Text',
|
||||
htmlContent: 'HTML',
|
||||
clearable: 'Clearable',
|
||||
editable: 'Editable',
|
||||
format: 'Format',
|
||||
valueFormat: 'Value Format',
|
||||
showPassword: 'Show Reveal',
|
||||
filterable: 'Filterable',
|
||||
allowCreate: 'Allow Create',
|
||||
remote: 'Remote Query',
|
||||
automaticDropdown: 'Automatic Dropdown',
|
||||
multiple: 'Multiple',
|
||||
multipleLimit: 'Multiple Limit',
|
||||
contentPosition: 'Content Position',
|
||||
plain: 'Plain',
|
||||
round: 'Round',
|
||||
circle: 'Circle',
|
||||
icon: 'Icon',
|
||||
optionsSetting: 'Options Setting',
|
||||
addOption: 'Add Option',
|
||||
importOptions: 'Import Options',
|
||||
resetDefault: 'Reset Default',
|
||||
uploadSetting: 'Upload Setting',
|
||||
uploadURL: 'Upload URL',
|
||||
uploadTip: 'Tip Content',
|
||||
withCredentials: 'Send Cookie',
|
||||
multipleSelect: 'File Multi-select',
|
||||
showFileList: 'Show File List',
|
||||
limit: 'Max Upload Number',
|
||||
fileMaxSize: 'Max Size(MB)',
|
||||
fileTypes: 'Upload File Types',
|
||||
fileTypesHelp: 'Allows to add more file types',
|
||||
headers: 'Request Headers',
|
||||
|
||||
cellWidth: 'Width',
|
||||
cellHeight: 'Height',
|
||||
gridColHeight: 'Height Of Col(px)',
|
||||
gutter: 'Gutter(px)',
|
||||
columnSetting: 'Cols Setting',
|
||||
colsOfGrid: 'Cols Of Grid:',
|
||||
colSpanTitle: 'Spans Of Col',
|
||||
colOffsetTitle: 'Offset Of Col',
|
||||
colPushTitle: 'Push Of Col',
|
||||
colPullTitle: 'Pull Of Col',
|
||||
addColumn: 'Add Column',
|
||||
responsive: 'Responsive',
|
||||
|
||||
tabPaneSetting: 'Tab Panes',
|
||||
addTabPane: 'Add Tab Pane',
|
||||
paneActive: 'Active',
|
||||
|
||||
customLabelIcon: 'Custom Label',
|
||||
labelIconClass: 'Label Icon Class',
|
||||
labelIconPosition: 'Label Icon Position',
|
||||
labelTooltip: 'Label Tooltip',
|
||||
minValue: 'Min Value',
|
||||
maxValue: 'Max Value',
|
||||
precision: 'Precision',
|
||||
step: 'Step',
|
||||
controlsPosition: 'Controls Position',
|
||||
minLength: 'Min Length',
|
||||
maxLength: 'Max Length',
|
||||
showWordLimit: 'Show Word Limit',
|
||||
prefixIcon: 'Prefix Icon',
|
||||
suffixIcon: 'Suffix Icon',
|
||||
inputButton: 'Input Button Setting',
|
||||
appendButton: 'Append Button',
|
||||
appendButtonDisabled: 'Button Disabled',
|
||||
appendButtonIcon: 'Append Button Icon',
|
||||
buttonIcon: 'Button Icon',
|
||||
switchWidth: 'Width of Switch(px)',
|
||||
activeText: 'Active Text',
|
||||
inactiveText: 'Inactive Text',
|
||||
activeColor: 'Active Color',
|
||||
inactiveColor: 'Inactive Color',
|
||||
maxStars: 'Stars Max Number',
|
||||
lowThreshold: 'Low Threshold',
|
||||
highThreshold: 'High Threshold',
|
||||
allowHalf: 'Allow Half',
|
||||
showText: 'Show Text',
|
||||
showScore: 'Show Score',
|
||||
range: 'Range',
|
||||
vertical: 'Vertical',
|
||||
showBlankRow: 'Show Blank Row',
|
||||
showRowNumber: 'Show Row Number',
|
||||
|
||||
insertColumnToLeft: 'insert column to left',
|
||||
insertColumnToRight: 'insert column to right',
|
||||
insertRowAbove: 'insert row above',
|
||||
insertRowBelow: 'insert row below',
|
||||
mergeLeftColumn: 'merge left cell',
|
||||
mergeRightColumn: 'merge right cell',
|
||||
mergeEntireRow: 'merge entire row',
|
||||
mergeRowAbove: 'merge cell above',
|
||||
mergeRowBelow: 'merge cell below',
|
||||
mergeEntireColumn: 'merge entire column',
|
||||
undoMergeCol: 'undo merge column',
|
||||
undoMergeRow: 'undo merge row',
|
||||
deleteEntireCol: 'delete entire column',
|
||||
deleteEntireRow: 'delete entire row',
|
||||
|
||||
widgetName: 'Unique Name',
|
||||
formSize: 'Size',
|
||||
labelPosition: 'Position Of Label',
|
||||
topPosition: 'Top',
|
||||
leftPosition: 'Left',
|
||||
labelAlign: 'Label Align',
|
||||
leftAlign: 'Left',
|
||||
centerAlign: 'Center',
|
||||
rightAlign: 'Right',
|
||||
formCss: 'Form CSS',
|
||||
addCss: 'Edit',
|
||||
customClass: 'Custom Class',
|
||||
globalFunctions: 'Global Functions',
|
||||
addEventHandler: 'Edit',
|
||||
editWidgetEventHandler: 'Edit Widget Event Handler',
|
||||
editFormEventHandler: 'Edit Form Event Handler',
|
||||
formSFCSetting: 'SFC Setting',
|
||||
formModelName: 'Model Name',
|
||||
formRefName: 'Ref Name',
|
||||
formRulesName: 'Rules Name',
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
26
src/lang/en-US_extension.js
Normal file
26
src/lang/en-US_extension.js
Normal file
@ -0,0 +1,26 @@
|
||||
export default {
|
||||
extension: {
|
||||
widgetLabel: {
|
||||
card: 'Card',
|
||||
alert: 'Alert',
|
||||
},
|
||||
|
||||
setting: {
|
||||
cardFolded: 'Folded',
|
||||
cardShowFold: 'Show Fold',
|
||||
cardWidth: 'Width Of Card',
|
||||
cardShadow: 'Shadow',
|
||||
|
||||
alertTitle: 'Title',
|
||||
alertType: 'Type',
|
||||
description: 'Description',
|
||||
closable: 'Closable',
|
||||
closeText: 'Text On Close Btn',
|
||||
center: 'Center',
|
||||
showIcon: 'Show Icon',
|
||||
effect: 'Effect',
|
||||
|
||||
},
|
||||
|
||||
}
|
||||
}
|
38
src/lang/en-US_render.js
Normal file
38
src/lang/en-US_render.js
Normal file
@ -0,0 +1,38 @@
|
||||
export default {
|
||||
render: {
|
||||
|
||||
hint: {
|
||||
prompt: 'Prompt',
|
||||
confirm: 'OK',
|
||||
cancel: 'Cancel',
|
||||
|
||||
selectPlaceholder: 'Pick some item',
|
||||
timePlaceholder: 'Select time',
|
||||
startTimePlaceholder: 'Start time',
|
||||
endTimePlaceholder: 'End time',
|
||||
datePlaceholder: 'Select date',
|
||||
startDatePlaceholder: 'Start date',
|
||||
endDatePlaceholder: 'End date',
|
||||
blankCellContent: '--',
|
||||
|
||||
uploadError: 'Upload error: ',
|
||||
uploadExceed: 'The maximum number(${uploadLimit}) of file uploads has been exceeded.',
|
||||
unsupportedFileType: 'Unsupported format: ',
|
||||
fileSizeExceed: 'File size out of limit: ',
|
||||
refNotFound: 'Ref not found: ',
|
||||
fieldRequired: 'Input value should be not null.',
|
||||
invalidNumber: 'Invalid number format',
|
||||
selectFile: ' File...',
|
||||
downloadFile: 'Download',
|
||||
removeFile: 'Remove',
|
||||
validationFailed: 'Form validation failed',
|
||||
|
||||
subFormAction: 'Action',
|
||||
subFormAddAction: 'Add',
|
||||
subFormAddActionHint: 'add new row',
|
||||
insertSubFormRow: 'insert new row',
|
||||
deleteSubFormRow: 'delete this row',
|
||||
nonSubFormType: 'The type of widget don\'t match sub-form',
|
||||
}
|
||||
}
|
||||
}
|
321
src/lang/zh-CN.js
Normal file
321
src/lang/zh-CN.js
Normal file
@ -0,0 +1,321 @@
|
||||
export default {
|
||||
application: {
|
||||
'zh-CN': '简体中文',
|
||||
'en-US': 'English',
|
||||
productTitle: '表单设计器',
|
||||
github: 'GitHub',
|
||||
document: '文档',
|
||||
qqGroup: '技术WX群',
|
||||
deployment: '私有部署',
|
||||
subscription: '订阅Pro',
|
||||
},
|
||||
|
||||
designer: {
|
||||
componentLib: '组件库',
|
||||
formLib: '表单模板',
|
||||
containerTitle: '容器',
|
||||
dragHandlerHint: '鼠标拖拽容器组件或字段组件并放置于表单中',
|
||||
dragAction: '拖动',
|
||||
basicFieldTitle: '基础字段',
|
||||
advancedFieldTitle: '高级字段',
|
||||
customFieldTitle: '自定义扩展字段',
|
||||
|
||||
noWidgetHint: '请从左侧列表中选择一个组件, 然后用鼠标拖动组件放置于此处.',
|
||||
|
||||
widgetLabel: {
|
||||
grid: '栅格',
|
||||
table: '表格',
|
||||
tab: '标签页',
|
||||
section: '区块',
|
||||
'sub-form': '子表单',
|
||||
'grid-col': '栅格列',
|
||||
'table-cell': '单元格',
|
||||
'tab-pane': '选项卡页',
|
||||
'data-table': '数据表格',
|
||||
|
||||
input: '单行输入',
|
||||
textarea: '多行输入',
|
||||
number: '计数器',
|
||||
radio: '单选项',
|
||||
checkbox: '多选项',
|
||||
select: '下拉选项',
|
||||
time: '时间',
|
||||
'time-range': '时间范围',
|
||||
date: '日期',
|
||||
'date-range': '日期范围',
|
||||
switch: '开关',
|
||||
rate: '评分',
|
||||
color: '颜色选择器',
|
||||
slider: '滑块',
|
||||
'static-text': '静态文字',
|
||||
'html-text': 'HTML',
|
||||
button: '按钮',
|
||||
divider: '分隔线',
|
||||
|
||||
'picture-upload': '图片',
|
||||
'file-upload': '文件',
|
||||
'rich-editor': '富文本',
|
||||
cascader: '级联选择',
|
||||
slot: '插槽',
|
||||
|
||||
custom: 'Custom Component',
|
||||
},
|
||||
|
||||
hint: {
|
||||
selectParentWidget: '选中父组件',
|
||||
moveUpWidget: '上移组件',
|
||||
moveDownWidget: '下移组件',
|
||||
cloneWidget: '复制组件',
|
||||
insertRow: '插入新行',
|
||||
insertColumn: '插入新列',
|
||||
remove: '移除组件',
|
||||
cellSetting: '单元格操作',
|
||||
dragHandler: '拖拽手柄',
|
||||
copyField: '复制字段组件',
|
||||
onlyFieldWidgetAcceptable: '子表单只能接收字段组件',
|
||||
moveUpFirstChildHint: '已经移动到最上面',
|
||||
moveDownLastChildHint: '已经移动到最下面',
|
||||
|
||||
closePreview: '关闭',
|
||||
copyJson: '复制JSON',
|
||||
saveFormJson: '保存为文件',
|
||||
copyVueCode: '复制Vue代码',
|
||||
copyHtmlCode: '复制HTML代码',
|
||||
copyJsonSuccess: '复制JSON成功',
|
||||
importJsonSuccess: '导入JSON成功',
|
||||
copyJsonFail: '复制JSON失败',
|
||||
copyVueCodeSuccess: '复制Vue代码成功',
|
||||
copyVueCodeFail: '复制Vue代码失败',
|
||||
copyHtmlCodeSuccess: '复制HTML代码成功',
|
||||
copyHtmlCodeFail: '复制HTML代码失败',
|
||||
saveVueCode: '保存Vue文件',
|
||||
saveHtmlCode: '保存Html文件',
|
||||
getFormData: '获取数据',
|
||||
resetForm: '重置表单',
|
||||
disableForm: '禁用编辑',
|
||||
enableForm: '恢复编辑',
|
||||
exportFormData: '表单数据',
|
||||
copyFormData: '复制JSON',
|
||||
saveFormData: '保存为文件',
|
||||
copyVue2SFC: '复制Vue2代码',
|
||||
copyVue3SFC: '复制Vue3代码',
|
||||
copySFCFail: '复制SFC代码失败',
|
||||
copySFCSuccess: '复制SFC代码成功',
|
||||
saveVue2SFC: '保存为Vue2组件',
|
||||
saveVue3SFC: '保存为Vue3组件',
|
||||
fileNameForSave: '文件名:',
|
||||
saveFileTitle: '保存为文件',
|
||||
fileNameInputPlaceholder: '请输入文件名',
|
||||
sampleLoadedSuccess: '表单示例加载成功',
|
||||
sampleLoadedFail: '表单示例加载失败',
|
||||
loadFormTemplate: '加载此模板',
|
||||
loadFormTemplateHint: '是否加载这个模板?加载后会覆盖设计器当前表单,你可以使用“撤销”功能恢复。',
|
||||
loadFormTemplateSuccess: '表单模板加载成功',
|
||||
loadFormTemplateFailed: '表单模板加载失败',
|
||||
currentNodeCannotBeSelected: '当前组件节点不可选择',
|
||||
|
||||
widgetSetting: '组件设置',
|
||||
formSetting: '表单设置',
|
||||
|
||||
prompt: '提示',
|
||||
confirm: '确定',
|
||||
cancel: '取消',
|
||||
import: '导入',
|
||||
importJsonHint: '导入的JSON内容须符合下述格式,以保证顺利导入.',
|
||||
invalidOptionsData: '无效的选项数据:',
|
||||
lastPaneCannotBeDeleted: '仅剩一个选项卡页不可删除.',
|
||||
duplicateName: '组件名称已存在: ',
|
||||
nameRequired: '组件名称不可为空',
|
||||
|
||||
numberValidator: '数字',
|
||||
letterValidator: '字母',
|
||||
letterAndNumberValidator: '数字字母',
|
||||
mobilePhoneValidator: '手机号码',
|
||||
emailValidator: '邮箱',
|
||||
urlValidator: '网址',
|
||||
noChineseValidator: '非中文字符',
|
||||
chineseValidator: '仅中文字符',
|
||||
|
||||
rowspanNotConsistentForMergeEntireRow: '存在行高不一致的单元格, 无法合并整行.',
|
||||
colspanNotConsistentForMergeEntireColumn: '存在列宽不一致的单元格, 无法合并整列.',
|
||||
rowspanNotConsistentForDeleteEntireRow: '存在行高不一致的单元格, 不可删除整行.',
|
||||
colspanNotConsistentForDeleteEntireColumn: '存在列宽不一致的单元格, 不可删除整列.',
|
||||
lastColCannotBeDeleted: '最后一列不可删除.',
|
||||
lastRowCannotBeDeleted: '最后一行不可删除.',
|
||||
},
|
||||
|
||||
toolbar: {
|
||||
undoHint: '撤销',
|
||||
redoHint: '重做',
|
||||
pcLayout: 'PC',
|
||||
padLayout: 'Pad',
|
||||
mobileLayout: 'H5',
|
||||
nodeTreeHint: '组件层次结构树',
|
||||
nodeTreeTitle: '组件层次结构树',
|
||||
clear: '清空',
|
||||
preview: '预览',
|
||||
importJson: '导入JSON',
|
||||
exportJson: '导出JSON',
|
||||
exportCode: '导出代码',
|
||||
generateCode: '生成代码',
|
||||
generateSFC: '生成SFC',
|
||||
},
|
||||
|
||||
setting: {
|
||||
basicSetting: '基本属性',
|
||||
attributeSetting: '属性设置',
|
||||
commonSetting: '常见属性',
|
||||
advancedSetting: '高级属性',
|
||||
eventSetting: '事件属性',
|
||||
uniqueName: '唯一名称',
|
||||
editNameHelp: '修改名称后需按回车确认',
|
||||
label: '字段标签',
|
||||
displayType: '显示类型',
|
||||
defaultValue: '默认值',
|
||||
placeholder: '占位内容',
|
||||
startPlaceholder: '起始占位内容',
|
||||
endPlaceholder: '截止占位内容',
|
||||
widgetColumnWidth: '组件列宽',
|
||||
widgetSize: '组件大小',
|
||||
showStops: '显示间断点',
|
||||
displayStyle: '显示样式',
|
||||
inlineLayout: '行内',
|
||||
blockLayout: '块',
|
||||
buttonStyle: '显示为按钮',
|
||||
border: '带有边框',
|
||||
labelWidth: '标签宽度',
|
||||
rows: '行数',
|
||||
labelHidden: '隐藏字段标签',
|
||||
required: '必填字段',
|
||||
validation: '字段校验',
|
||||
validationHelp: '支持输入正则表达式',
|
||||
validationHint: '校验失败提示',
|
||||
readonly: '只读',
|
||||
disabled: '禁用',
|
||||
hidden: '隐藏',
|
||||
textContent: '静态文字',
|
||||
htmlContent: 'HTML',
|
||||
clearable: '可清除',
|
||||
editable: '可输入',
|
||||
format: '显示格式',
|
||||
valueFormat: '绑定值格式',
|
||||
showPassword: '可显示密码',
|
||||
filterable: '可搜索选项',
|
||||
allowCreate: '允许创建选项',
|
||||
remote: '可远程搜索',
|
||||
automaticDropdown: '自动弹出选项',
|
||||
multiple: '选项可多选',
|
||||
multipleLimit: '多选数量限制',
|
||||
contentPosition: '文字位置',
|
||||
plain: '朴素按钮',
|
||||
round: '圆角按钮',
|
||||
circle: '圆形按钮',
|
||||
icon: '图标',
|
||||
optionsSetting: '选项设置',
|
||||
addOption: '增加选项',
|
||||
importOptions: '导入选项',
|
||||
resetDefault: '重设选中项',
|
||||
uploadSetting: '上传参数设置',
|
||||
uploadURL: '上传地址',
|
||||
uploadTip: '上传提示内容',
|
||||
withCredentials: '发送cookie凭证',
|
||||
multipleSelect: '文件可多选',
|
||||
showFileList: '显示文件列表',
|
||||
limit: '最大上传数量',
|
||||
fileMaxSize: '文件大小限制(MB)',
|
||||
fileTypes: '上传文件类型',
|
||||
fileTypesHelp: '支持添加其他文件类型',
|
||||
headers: '上传请求头',
|
||||
|
||||
cellWidth: '宽度',
|
||||
cellHeight: '高度',
|
||||
gridColHeight: '栅格列统一高度(px)',
|
||||
gutter: '栅格间隔(px)',
|
||||
columnSetting: '栅格属性设置',
|
||||
colsOfGrid: '当前栅格列:',
|
||||
colSpanTitle: '栅格宽度',
|
||||
colOffsetTitle: '左侧间隔格数',
|
||||
colPushTitle: '右移栅格数',
|
||||
colPullTitle: '左移栅格数',
|
||||
addColumn: '增加栅格',
|
||||
responsive: '响应式布局',
|
||||
|
||||
tabPaneSetting: '选项卡设置',
|
||||
addTabPane: '增加选项卡页',
|
||||
paneActive: '激活',
|
||||
|
||||
customLabelIcon: '定制字段标签',
|
||||
labelIconClass: '标签Icon样式',
|
||||
labelIconPosition: '标签Icon位置',
|
||||
labelTooltip: '标签文字提示',
|
||||
minValue: '最小值',
|
||||
maxValue: '最大值',
|
||||
precision: '精度',
|
||||
step: '增减步长',
|
||||
controlsPosition: '控制按钮位置',
|
||||
minLength: '最小长度',
|
||||
maxLength: '最大长度',
|
||||
showWordLimit: '显示字数统计',
|
||||
prefixIcon: '头部Icon',
|
||||
suffixIcon: '尾部Icon',
|
||||
inputButton: '输入框按钮设置',
|
||||
appendButton: '添加后置按钮',
|
||||
appendButtonDisabled: '后置按钮禁用',
|
||||
appendButtonIcon: '后置按钮Icon',
|
||||
buttonIcon: '按钮Icon',
|
||||
switchWidth: '开关宽度(像素)',
|
||||
activeText: '开启时文字描述',
|
||||
inactiveText: '关闭时文字描述',
|
||||
activeColor: '开启时背景色',
|
||||
inactiveColor: '关闭时背景色',
|
||||
maxStars: '最大评分值',
|
||||
lowThreshold: '低分界限值',
|
||||
highThreshold: '高分界限值',
|
||||
allowHalf: '允许半选',
|
||||
showText: '显示辅助文字',
|
||||
showScore: '显示当前分数',
|
||||
range: '是否为范围选择',
|
||||
vertical: '是否竖向显示',
|
||||
showBlankRow: '默认显示新行',
|
||||
showRowNumber: '显示行号',
|
||||
|
||||
insertColumnToLeft: '插入左侧列',
|
||||
insertColumnToRight: '插入右侧列',
|
||||
insertRowAbove: '插入上方行',
|
||||
insertRowBelow: '插入下方行',
|
||||
mergeLeftColumn: '合并左侧单元格',
|
||||
mergeRightColumn: '合并右侧单元格',
|
||||
mergeEntireRow: '合并整行',
|
||||
mergeRowAbove: '合并上方单元格',
|
||||
mergeRowBelow: '合并下方单元格',
|
||||
mergeEntireColumn: '合并整列',
|
||||
undoMergeCol: '撤销列合并',
|
||||
undoMergeRow: '撤销行合并',
|
||||
deleteEntireCol: '删除整列',
|
||||
deleteEntireRow: '删除整行',
|
||||
|
||||
widgetName: '组件唯一名称',
|
||||
formSize: '全局组件大小',
|
||||
labelPosition: '字段标签位置',
|
||||
topPosition: '顶部',
|
||||
leftPosition: '左边',
|
||||
labelAlign: '字段标签对齐',
|
||||
leftAlign: '居左',
|
||||
centerAlign: '居中',
|
||||
rightAlign: '居右',
|
||||
formCss: '表单全局CSS',
|
||||
addCss: '编写CSS',
|
||||
customClass: '自定义CSS样式',
|
||||
globalFunctions: '表单全局函数',
|
||||
addEventHandler: '编写代码',
|
||||
editWidgetEventHandler: '组件事件处理',
|
||||
editFormEventHandler: '表单事件处理',
|
||||
formSFCSetting: '生成SFC设置',
|
||||
formModelName: '数据对象名称',
|
||||
formRefName: '引用名称',
|
||||
formRulesName: '验证规则名称',
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
26
src/lang/zh-CN_extension.js
Normal file
26
src/lang/zh-CN_extension.js
Normal file
@ -0,0 +1,26 @@
|
||||
export default {
|
||||
extension: {
|
||||
widgetLabel: {
|
||||
card: '卡片',
|
||||
alert: '提示',
|
||||
},
|
||||
|
||||
setting: {
|
||||
cardFolded: '是否收起',
|
||||
cardShowFold: '显示折叠按钮',
|
||||
cardWidth: '卡片宽度',
|
||||
cardShadow: '显示阴影',
|
||||
|
||||
alertTitle: '标题',
|
||||
alertType: '类型',
|
||||
description: '辅助性文字',
|
||||
closable: '是否可关闭',
|
||||
closeText: '关闭按钮文字',
|
||||
center: '文字居中',
|
||||
showIcon: '显示图标',
|
||||
effect: '显示效果',
|
||||
|
||||
},
|
||||
|
||||
}
|
||||
}
|
38
src/lang/zh-CN_render.js
Normal file
38
src/lang/zh-CN_render.js
Normal file
@ -0,0 +1,38 @@
|
||||
export default {
|
||||
render: {
|
||||
|
||||
hint: {
|
||||
prompt: '提示',
|
||||
confirm: '确定',
|
||||
cancel: '取消',
|
||||
|
||||
selectPlaceholder: '请选择',
|
||||
timePlaceholder: '选择时间',
|
||||
startTimePlaceholder: '起始时间',
|
||||
endTimePlaceholder: '截止时间',
|
||||
datePlaceholder: '选择日期',
|
||||
startDatePlaceholder: '起始日期',
|
||||
endDatePlaceholder: '截止日期',
|
||||
blankCellContent: '--',
|
||||
|
||||
uploadError: '上传错误: ',
|
||||
uploadExceed: '最大上传数量(${uploadLimit})已超出.',
|
||||
unsupportedFileType: '不支持格式: ',
|
||||
fileSizeExceed: '文件大小已超出: ',
|
||||
refNotFound: '组件未找到: ',
|
||||
fieldRequired: '字段值不可为空',
|
||||
invalidNumber: '数据格式错误',
|
||||
selectFile: ' 选择文件',
|
||||
downloadFile: '下载',
|
||||
removeFile: '移除',
|
||||
validationFailed: '表单数据校验失败',
|
||||
|
||||
subFormAction: '操作',
|
||||
subFormAddAction: '新增',
|
||||
subFormAddActionHint: '新增行',
|
||||
insertSubFormRow: '插入行',
|
||||
deleteSubFormRow: '删除行',
|
||||
nonSubFormType: '组件类型不是子表单',
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user