Commit 28ec8a60 authored by Medicean's avatar Medicean

(Enhance:Settings) 「编码管理」新增「获取更多」按钮, 打开浏览器访问 AwesomeEncoder(自定义编码器分享), 如果你有比较好的 Encoder, 欢迎向这个仓库提PR

parent 06b92e04
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
* 新增第三方库 marked 0.6.2 用于 markdown 渲染 * 新增第三方库 marked 0.6.2 用于 markdown 渲染
* 更新提示窗口新增 ReleaseNote 显示(缩放显示,图片看不清可直接前往 github 查看详细更新日志), 新增 「更新日志」按钮(点击后直接打开 github release 页) * 更新提示窗口新增 ReleaseNote 显示(缩放显示,图片看不清可直接前往 github 查看详细更新日志), 新增 「更新日志」按钮(点击后直接打开 github release 页)
* 「编码管理」新增「获取更多」按钮, 打开浏览器访问 AwesomeEncoder(自定义编码器分享), 如果你有比较好的 Encoder, 欢迎向这个仓库提PR
## 2019/04/27 `v(2.1.1)` ## 2019/04/27 `v(2.1.1)`
......
{ {
"name": "antsword", "name": "antsword",
"version": "2.1.1.3", "version": "2.1.1.4",
"description": "中国蚁剑是一款跨平台的开源网站管理工具", "description": "中国蚁剑是一款跨平台的开源网站管理工具",
"main": "app.js", "main": "app.js",
"dependencies": { "dependencies": {
......
...@@ -660,6 +660,7 @@ Hot Keys: ...@@ -660,6 +660,7 @@ Hot Keys:
help: "Help", help: "Help",
save: "Save", save: "Save",
rsa: "RSA Config", rsa: "RSA Config",
more: "Get More",
generate: "Generate" generate: "Generate"
}, },
grid: { grid: {
......
...@@ -662,6 +662,7 @@ module.exports = { ...@@ -662,6 +662,7 @@ module.exports = {
help: "帮助", help: "帮助",
save: "保存", save: "保存",
rsa: "RSA配置", rsa: "RSA配置",
more: "获取更多",
generate: "生成" generate: "生成"
}, },
grid: { grid: {
......
...@@ -661,6 +661,7 @@ module.exports = { ...@@ -661,6 +661,7 @@ module.exports = {
help: "幫助", help: "幫助",
save: "保存", save: "保存",
rsa: "RSA配置", rsa: "RSA配置",
more: "獲取更多",
generate: "生成" generate: "生成"
}, },
grid: { grid: {
......
...@@ -661,6 +661,7 @@ module.exports = { ...@@ -661,6 +661,7 @@ module.exports = {
help: "幫助", help: "幫助",
save: "保存", save: "保存",
rsa: "RSA配置", rsa: "RSA配置",
more: "獲取更多",
generate: "生成" generate: "生成"
}, },
grid: { grid: {
......
...@@ -52,7 +52,9 @@ class Encoders { ...@@ -52,7 +52,9 @@ class Encoders {
{ type: 'button', text: LANG['toolbar']['edit'], icon: 'fa fa-edit', id: 'edit' }, { type: 'button', text: LANG['toolbar']['edit'], icon: 'fa fa-edit', id: 'edit' },
{ type: 'button', text: LANG['toolbar']['delete'], icon: 'fa fa-trash-o', id: 'delete' }, { type: 'button', text: LANG['toolbar']['delete'], icon: 'fa fa-trash-o', id: 'delete' },
{ type: 'separator' }, { type: 'separator' },
{ type: 'button', text: LANG['toolbar']['rsa'], icon: 'fa fa-key', id: 'rsa' } { type: 'button', text: LANG['toolbar']['rsa'], icon: 'fa fa-key', id: 'rsa' },
{ type: 'separator' },
{ type: 'button', text: LANG['toolbar']['more'], icon: 'fa fa-chrome', id: 'more' },
]); ]);
toolbar.attachEvent("onClick", (id) => { toolbar.attachEvent("onClick", (id) => {
...@@ -79,6 +81,9 @@ class Encoders { ...@@ -79,6 +81,9 @@ class Encoders {
case "rsa": case "rsa":
that.rsaConfig(); that.rsaConfig();
break; break;
case "more":
antSword.shell.openExternal("https://github.com/AntSwordProject/AwesomeEncoder");
break;
} }
}); });
......
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