Commit 426f564a authored by Medicean's avatar Medicean

v2.0::enhancement encoder manager

* new user encoder
* edit encoder
* rename, change type
* delete encoder

enhancement #94
parent aa3d7702
......@@ -465,11 +465,39 @@ module.exports = {
},
encoders:{
title: 'Encoder Manager',
form:{
shelltype: 'Shell Type',
encoderslist: 'Encoder Lists'
toolbar: {
new: "New",
edit: "Edit",
delete: "Delete",
help: "Help",
save: "Save",
},
grid: {
ename: "Name",
etype: "Type"
},
edit_win_title: "Edit Encoder",
delete_title: "Delete Encoder",
message: {
ename_duplicate: "The encoder name cannot be duplicated",
rename_success: "Rename success",
etype_error: "Encoder type error",
retype_success: "Modify type success",
create_success: "Create encoder success",
edit_not_select: "Please select the row you want to edit first",
edit_only_single: "You can only edit one",
edit_null_value: "Encoder content can not be empty",
edit_save_success: "Save success",
delete_not_select: "Please select the row you want to delete first",
delete_success: "Delete success",
ename_invalid: "Name can only contain numbers, letters, and underlines",
},
prompt: {
create_encoder: "Create Encoder",
},
success: 'Loaded Encoder Successfully'
confirm: {
delete: (num) => antSword.noxss(`Are you sure to delete ${typeof(num) === 'number' ? num + ' encoders' : num}?`),
}
},
aproxy: {
title: 'Proxy setting',
......
......@@ -466,11 +466,39 @@ module.exports = {
},
encoders:{
title: '编码管理',
form:{
shelltype: '脚本类型',
encoderslist: '编码器列表'
toolbar: {
new: "新建",
edit: "编辑",
delete: "删除",
help: "帮助",
save: "保存",
},
grid: {
ename: "名称",
etype: "类型"
},
edit_win_title: "编辑编码器",
delete_title: "删除编码器",
message: {
ename_duplicate: "编码器名称不能重复",
rename_success: "重命名成功",
etype_error: "编码器类型错误",
retype_success: "类型修改成功",
create_success: "新增编码器成功",
edit_not_select: "请先选中要编辑的行",
edit_only_single: "只能编辑一个",
edit_null_value: "编码器内容不能为空",
edit_save_success: "保存成功",
delete_not_select: "请先选中要删除的行",
delete_success: "删除成功",
ename_invalid: "名称只能包含数字、字母、下划线",
},
prompt: {
create_encoder: "创建编码器",
},
success: '编码器加载成功'
confirm: {
delete: (num) => antSword.noxss(`你确定要删除 ${typeof(num) === 'number' ? num + ' 个编码器' : num+" "}吗?`),
}
},
aproxy: {
title: '代理设置',
......
This diff is collapsed.
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