Skip to content

Commit

Permalink
feat(cli): improve online generate tool
Browse files Browse the repository at this point in the history
  • Loading branch information
cg33 committed May 22, 2020
1 parent 9f3dfa7 commit 8cb59e8
Show file tree
Hide file tree
Showing 10 changed files with 534 additions and 153 deletions.
24 changes: 23 additions & 1 deletion modules/language/cn.go
Original file line number Diff line number Diff line change
Expand Up @@ -298,8 +298,30 @@ var cn = LangSet{
"tool.field sortable": "可排序",
"tool.yes": "是",
"tool.no": "否",
"tool.hide": "隐藏",
"tool.show": "显示",
"tool.generate success": "生成成功",
"tool.hide filter area": "隐藏筛选框",
"tool.display": "显示",
"tool.use absolute path": "使用绝对路径",
"tool.basic info": "基本信息",
"tool.table info": "表格信息",
"tool.form info": "表单信息",
"tool.field editable": "允许编辑",
"tool.field can add": "允许新增",
"tool.filter area": "筛选框",
"tool.new button": "新建按钮",
"tool.export button": "导出按钮",
"tool.edit button": "编辑按钮",
"tool.delete button": "删除按钮",
"tool.detail button": "详情按钮",
"tool.filter button": "筛选按钮",
"tool.row selector": "列选择按钮",
"tool.pagination": "分页",
"tool.query info": "查询信息",
"tool.filter form layout": "筛选表单布局",

"tool.continue edit checkbox": "继续编辑按钮",
"tool.continue new checkbox": "继续新增按钮",
"tool.reset button": "重设按钮",
"tool.back button": "返回按钮",
}
62 changes: 43 additions & 19 deletions modules/language/en.go
Original file line number Diff line number Diff line change
Expand Up @@ -246,23 +246,47 @@ var en = LangSet{
"system.theme_name": "Theme",
"system.theme_version": "Theme Version",

"tool.tool": "Tool",
"tool.table": "Table",
"tool.connection": "Connection",
"tool.package": "Package",
"tool.output": "Output Path",
"tool.output path is empty": "Output path is empty",
"tool.field": "Field",
"tool.title": "Title",
"tool.field name": "Name",
"tool.db type": "Database Type",
"tool.form type": "Form Type",
"tool.generate table model": "Generate Table Model",
"tool.primarykey": "Primary Key",
"tool.field filterable": "Filterable",
"tool.field sortable": "Sortable",
"tool.yes": "Yes",
"tool.no": "No",
"tool.generate success": "Generate Success",
"tool.hide filter area": "Hide Filter Area",
"tool.tool": "Tool",
"tool.table": "Table",
"tool.connection": "Connection",
"tool.package": "Package",
"tool.output": "Output Path",
"tool.output path is empty": "Output path is empty",
"tool.field": "Field",
"tool.title": "Title",
"tool.field name": "Name",
"tool.db type": "Database Type",
"tool.form type": "Form Type",
"tool.generate table model": "Generate Table Model",
"tool.primarykey": "Primary Key",
"tool.field filterable": "Filterable",
"tool.field sortable": "Sortable",
"tool.yes": "Yes",
"tool.no": "No",
"tool.hide": "Hide",
"tool.show": "Show",
"tool.generate success": "Generate Success",
"tool.hide filter area": "Hide Filter Area",
"tool.use absolute path": "Use absolute path",
"tool.display": "Display",
"tool.basic info": "Basic",
"tool.table info": "Table",
"tool.form info": "Form",
"tool.field editable": "Editable",
"tool.field can add": "Can Add",
"tool.filter area": "Filter Area",
"tool.new button": "New Button",
"tool.export button": "Export Button",
"tool.edit button": "Edit Button",
"tool.delete button": "Delete Button",
"tool.detail button": "Detail Button",
"tool.filter button": "Filter Button",
"tool.row selector": "Row Selector",
"tool.pagination": "Pagination",
"tool.query info": "Query Info",
"tool.filter form layout": "Filter Form Layout",
"tool.continue edit checkbox": "Continue Edit Checkbox",
"tool.continue new checkbox": "Continue New Checkbox",
"tool.reset button": "Reset Button",
"tool.back button": "Back Button",
}
62 changes: 43 additions & 19 deletions modules/language/jp.go
Original file line number Diff line number Diff line change
Expand Up @@ -257,23 +257,47 @@ var jp = LangSet{
"system.theme_name": "Theme",
"system.theme_version": "Theme Version",

"tool.tool": "Tool",
"tool.table": "Table",
"tool.connection": "Connection",
"tool.package": "Package",
"tool.output": "Output Path",
"tool.output path is empty": "Output path is empty",
"tool.field": "Field",
"tool.title": "Title",
"tool.field name": "Name",
"tool.db type": "Database Type",
"tool.form type": "Form Type",
"tool.generate table model": "Generate Table Model",
"tool.primarykey": "Primary Key",
"tool.field filterable": "Filterable",
"tool.field sortable": "Sortable",
"tool.yes": "Yes",
"tool.no": "No",
"tool.generate success": "Generate Success",
"tool.hide filter area": "Hide Filter Area",
"tool.tool": "Tool",
"tool.table": "Table",
"tool.connection": "Connection",
"tool.package": "Package",
"tool.output": "Output Path",
"tool.output path is empty": "Output path is empty",
"tool.field": "Field",
"tool.title": "Title",
"tool.field name": "Name",
"tool.db type": "Database Type",
"tool.form type": "Form Type",
"tool.generate table model": "Generate Table Model",
"tool.primarykey": "Primary Key",
"tool.field filterable": "Filterable",
"tool.field sortable": "Sortable",
"tool.yes": "Yes",
"tool.no": "No",
"tool.hide": "Hide",
"tool.show": "Show",
"tool.generate success": "Generate Success",
"tool.hide filter area": "Hide Filter Area",
"tool.use absolute path": "Use absolute path",
"tool.display": "Display",
"tool.basic info": "Basic",
"tool.table info": "Table",
"tool.form info": "Form",
"tool.field editable": "Editable",
"tool.field can add": "Can Add",
"tool.filter area": "Filter Area",
"tool.new button": "New Button",
"tool.export button": "Export Button",
"tool.edit button": "Edit Button",
"tool.delete button": "Delete Button",
"tool.detail button": "Detail Button",
"tool.filter button": "Filter Button",
"tool.row selector": "Row Selector",
"tool.pagination": "Pagination",
"tool.query info": "Query Info",
"tool.filter form layout": "Filter Form Layout",
"tool.continue edit checkbox": "Continue Edit Checkbox",
"tool.continue new checkbox": "Continue New Checkbox",
"tool.reset button": "Reset Button",
"tool.back button": "Back Button",
}
63 changes: 43 additions & 20 deletions modules/language/tc.go
Original file line number Diff line number Diff line change
Expand Up @@ -275,24 +275,47 @@ var tc = LangSet{
"system.theme_name": "主題",
"system.theme_version": "主題版本",

"tool.tool": "工具",
"tool.table": "表格",
"tool.connection": "連接",
"tool.package": "包名",
"tool.output": "輸出路徑",
"tool.output path is empty": "輸出路徑為空",
"tool.field": "字段名",
"tool.title": "標題",
"tool.field name": "字段名",
"tool.db type": "數據類型",
"tool.form type": "表單類型",
"tool.generate table model": "生成CRUD模型",
"tool.primarykey": "主鍵",
"tool.field filterable": "可篩選",
"tool.field sortable": "可排序",
"tool.yes": "是",
"tool.no": "否",
"tool.generate success": "生成成功",
"tool.hide filter area": "隱藏篩選框",
"tool.use absolute path": "使用絕對路徑",
"tool.tool": "工具",
"tool.table": "表格",
"tool.connection": "連接",
"tool.package": "包名",
"tool.output": "輸出路徑",
"tool.output path is empty": "輸出路徑為空",
"tool.field": "字段名",
"tool.title": "標題",
"tool.field name": "字段名",
"tool.db type": "數據類型",
"tool.form type": "表單類型",
"tool.generate table model": "生成CRUD模型",
"tool.primarykey": "主鍵",
"tool.field filterable": "可篩選",
"tool.field sortable": "可排序",
"tool.yes": "是",
"tool.no": "否",
"tool.generate success": "生成成功",
"tool.hide filter area": "隱藏篩選框",
"tool.use absolute path": "使用絕對路徑",
"tool.hide": "隱藏",
"tool.show": "顯示",
"tool.display": "顯示",
"tool.basic info": "基本信息",
"tool.table info": "表格信息",
"tool.form info": "表單信息",
"tool.field editable": "允許編輯",
"tool.field can add": "允許新增",
"tool.filter area": "篩選框",
"tool.new button": "新建按鈕",
"tool.export button": "導出按鈕",
"tool.edit button": "編輯按鈕",
"tool.delete button": "刪除按鈕",
"tool.detail button": "詳情按鈕",
"tool.filter button": "篩選按鈕",
"tool.row selector": "列選擇按鈕",
"tool.pagination": "分頁",
"tool.query info": "查詢信息",
"tool.filter form layout": "篩選表單布局",
"tool.continue edit checkbox": "繼續編輯按鈕",
"tool.continue new checkbox": "繼續新增按鈕",
"tool.reset button": "重設按鈕",
"tool.back button": "返回按鈕",
}
Loading

0 comments on commit 8cb59e8

Please sign in to comment.