Commit 28ec8a60 authored by Medicean's avatar Medicean

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

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