Skip to content

Commit

Permalink
feat: Exception Support
Browse files Browse the repository at this point in the history
Also change the options page's UI
  • Loading branch information
RossWang committed Jan 20, 2018
1 parent bd335a7 commit 01f8902
Show file tree
Hide file tree
Showing 16 changed files with 1,307 additions and 333 deletions.
125 changes: 125 additions & 0 deletions App/_locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,16 @@
"description": "Description of the extension."
},

"translator": {
"message": "Translator: Ross Wang",
"description": ""
},

"translatorMessage": {
"message": "English is not my native language, so there may have something wrong in the translation. Please help me correct the mistakes.",
"description": "you can leave it blank if you have nothing to say"
},

"direction": {
"message": "ltr",
"description": "Language direction"
Expand Down Expand Up @@ -340,6 +350,86 @@
"description": ""
},

"OP_fileSizeLimit": {
"message": "File Size Limit:",
"description": ""
},

"OPN_fileSizeLimit": {
"message": "Lower limit of the file size in bytes to trigger the download",
"description": ""
},

"OP_typeFilter": {
"message": "File Type Filter:",
"description": ""
},

"OPN_typeFilterA": {
"message": "Regular Expressions: included file type",
"description": ""
},

"OPN_typeFilterB": {
"message": "Regular Expressions: excluded file type",
"description": ""
},

"OP_urlFilter": {
"message": "URL Filter:",
"description": ""
},

"OPN_urlFilterA": {
"message": "Regular Expressions: included URL",
"description": ""
},

"OPN_urlFilterB": {
"message": "Regular Expressions: excluded URL",
"description": ""
},

"OP_title": {
"message": "Aria2 Download Manager Integration Options",
"description": ""
},

"OP_general": {
"message": "General",
"description": ""
},

"OP_rpcServer": {
"message": "RPC Servers",
"description": ""
},

"OP_rpcDefault": {
"message": "Default Server",
"description": ""
},

"OP_rpc2": {
"message": "RPC Server 2",
"description": ""
},

"OP_rpc3": {
"message": "RPC Server 3",
"description": ""
},

"OP_exception": {
"message": "Exceptions",
"description": ""
},

"OP_about": {
"message": "About",
"description": ""
},

"OP_save": {
"message": "Save",
"description": "save button"
Expand All @@ -353,5 +443,40 @@
"CM_title": {
"message": "Download with Aria2",
"description": "Context Menu"
},

"about_M1": {
"message": "What is Aria2?",
"description": ""
},

"about_M2": {
"message": "This add-on uses Mayswind's AriaNg.",
"description": ""
},

"about_L1": {
"message": "Add-on home page",
"description": ""
},

"about_L2": {
"message": "Aria2 Settings Samples",
"description": ""
},

"about_L3": {
"message": "Submit a Bug or Feedback",
"description": ""
},

"about_L4": {
"message": "Release Notes",
"description": ""
},

"about_L5": {
"message": "Help Translate",
"description": ""
}
}
125 changes: 125 additions & 0 deletions App/_locales/zh_CN/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,16 @@
"message": "取代内置的下载器。当开启时侦测下载连结,导引到本扩展并传送到Aria2",
"description": "扩展的简介"
},

"translator": {
"message": "",
"description": ""
},

"translatorMessage": {
"message": "",
"description": "you can leave it blank if you have nothing to say"
},

"direction": {
"message": "ltr",
Expand Down Expand Up @@ -339,6 +349,86 @@
"message": "微调下载窗口高度。",
"description": ""
},

"OP_fileSizeLimit": {
"message": "文件大小限制:",
"description": ""
},

"OPN_fileSizeLimit": {
"message": "可以触发下载的最小文件大小(bytes)",
"description": ""
},

"OP_typeFilter": {
"message": "文件格式过滤:",
"description": ""
},

"OPN_typeFilterA": {
"message": "正则表达式: 包含的文件格式",
"description": ""
},

"OPN_typeFilterB": {
"message": "正则表达式: 除外的文件格式",
"description": ""
},

"OP_urlFilter": {
"message": "第址过滤:",
"description": ""
},

"OPN_urlFilterA": {
"message": "正则表达式: 包含的 URL",
"description": ""
},

"OPN_urlFilterB": {
"message": "正则表达式: 除外的 URL",
"description": ""
},

"OP_title": {
"message": "Aria2 下载器整合元件 选项",
"description": ""
},

"OP_general": {
"message": "一般",
"description": ""
},

"OP_rpcServer": {
"message": "RPC 服务器",
"description": ""
},

"OP_rpcDefault": {
"message": "默认服务器",
"description": ""
},

"OP_rpc2": {
"message": "RPC 服务器 2",
"description": ""
},

"OP_rpc3": {
"message": "RPC 服务器 3",
"description": ""
},

"OP_exception": {
"message": "例外",
"description": ""
},

"OP_about": {
"message": "关于",
"description": ""
},

"OP_save": {
"message": "保存",
Expand All @@ -353,5 +443,40 @@
"CM_title": {
"message": "使用 Aria2 下载",
"description": "右键菜单"
},

"about_M1": {
"message": "什么是 Aria2?",
"description": ""
},

"about_M2": {
"message": "本扩展使用 Mayswind 的 AriaNg.",
"description": ""
},

"about_L1": {
"message": "扩展主页",
"description": ""
},

"about_L2": {
"message": "Aria2 设置范本",
"description": ""
},

"about_L3": {
"message": "提交错误或反馈",
"description": ""
},

"about_L4": {
"message": "发行说明",
"description": ""
},

"about_L5": {
"message": "帮忙翻译",
"description": ""
}
}

0 comments on commit 01f8902

Please sign in to comment.