update Chinese and English translation

This commit is contained in:
MaysWind 2019-08-03 01:44:59 +08:00
parent 17ee338696
commit 8e9ecce36b
12 changed files with 83 additions and 83 deletions

View file

@ -143,7 +143,7 @@
</li> </li>
<li> <li>
<a class="pointer-cursor" ng-click="changeDisplayOrder('remain:asc')"> <a class="pointer-cursor" ng-click="changeDisplayOrder('remain:asc')">
<span translate>By Remain Time</span> <span translate>By Remaining</span>
<i class="fa" ng-class="{'fa-check': isSetDisplayOrder('remain')}"></i> <i class="fa" ng-class="{'fa-check': isSetDisplayOrder('remain')}"></i>
</a> </a>
</li> </li>
@ -265,15 +265,15 @@
</li> </li>
<li class="divider"></li> <li class="divider"></li>
<li class="dropup"> <li class="dropup">
<a class="dropdown-toggle" data-toggle="dropdown" role="button" title="{{'Quick Setting' | translate}}"> <a class="dropdown-toggle" data-toggle="dropdown" role="button" title="{{'Shortcut' | translate}}">
<i class="fa fa-wrench"></i> <i class="fa fa-wrench"></i>
<span translate>Quick Setting</span> <span translate>Shortcut</span>
<i class="fa fa-caret-right fa-right-bottom fa-rotate-45 fa-half" aria-hidden="true"></i> <i class="fa fa-caret-right fa-right-bottom fa-rotate-45 fa-half" aria-hidden="true"></i>
</a> </a>
<ul class="dropdown-menu" role="menu"> <ul class="dropdown-menu" role="menu">
<li> <li>
<a class="pointer-cursor" ng-click="showQuickSettingDialog('globalSpeedLimit', 'Global Speed Limit')"> <a class="pointer-cursor" ng-click="showQuickSettingDialog('globalSpeedLimit', 'Global Rate Limit')">
<span translate>Global Speed Limit</span> <span translate>Global Rate Limit</span>
</a> </a>
</li> </li>
</ul> </ul>

View file

@ -45,7 +45,7 @@ By File Name=按文件名
By File Size=按文件大小 By File Size=按文件大小
By Progress=按进度 By Progress=按进度
By Selected Status=按选中状态 By Selected Status=按选中状态
By Remain Time=按剩余时间 By Remaining=按剩余时间
By Download Speed=按下载速度 By Download Speed=按下载速度
By Upload Speed=按上传速度 By Upload Speed=按上传速度
By Peer Address=按节点地址 By Peer Address=按节点地址
@ -82,7 +82,7 @@ File Name=文件名
File Size=大小 File Size=大小
Progress=进度 Progress=进度
Share Ratio=分享率 Share Ratio=分享率
Remain Time=剩余时间 Remaining=剩余时间
Download Speed=下载速度 Download Speed=下载速度
Upload Speed=上传速度 Upload Speed=上传速度
Links=链接 Links=链接
@ -91,7 +91,7 @@ Metalink File=Metalink 文件
File Name:=文件名: File Name:=文件名:
Options=选项 Options=选项
Overview=总览 Overview=总览
Blocks=区块信息 Pieces=区块信息
Files=文件列表 Files=文件列表
Peers=连接状态 Peers=连接状态
Task Name=任务名称 Task Name=任务名称
@ -135,8 +135,8 @@ Failed to remove some task(s).=删除一些任务时失败.
Confirm Clear=确认清除 Confirm Clear=确认清除
Are you sure you want to clear stopped tasks?=您是否要清除已结束的任务? Are you sure you want to clear stopped tasks?=您是否要清除已结束的任务?
Download Links:=下载链接: Download Links:=下载链接:
Start Download=立即下载 Download Now=立即下载
Manual Download=手动下载 Download Later=手动下载
Open Torrent File=打开种子文件 Open Torrent File=打开种子文件
Open Metalink File=打开 Metalink 文件 Open Metalink File=打开 Metalink 文件
Support multiple URLs, one URL per line.=支持多个 URL 地址, 每个地址占一行. Support multiple URLs, one URL per line.=支持多个 URL 地址, 每个地址占一行.
@ -150,9 +150,9 @@ Language=语言
Debug Mode=调试模式 Debug Mode=调试模式
Page Title=页面标题 Page Title=页面标题
Preview=预览 Preview=预览
Tips: You can use the "noprefix" tag to ignore the prefix, "nosuffix" tag ignore the suffix, and "scale\=n" tag to set the decimal precision.=小提示: 您可以使用 "noprefix" 标签忽略前缀, "nosuffix" 标签忽略后缀, 以及 "scale\=n" 标签设置小数的精度. Tips: You can use the "noprefix" tag to ignore the prefix, "nosuffix" tag to ignore the suffix, and "scale\=n" tag to set the decimal precision.=小提示: 您可以使用 "noprefix" 标签忽略前缀, "nosuffix" 标签忽略后缀, 以及 "scale\=n" 标签设置小数的精度.
Example: ${downspeed:noprefix:nosuffix:scale\=1}=示例: ${downspeed:noprefix:nosuffix:scale\=1} Example: ${downspeed:noprefix:nosuffix:scale\=1}=示例: ${downspeed:noprefix:nosuffix:scale\=1}
Page Title Refresh Interval=页面标题刷新间隔 Updating Page Title Interval=页面标题更新间隔
Enable Browser Notification=启用浏览器通知 Enable Browser Notification=启用浏览器通知
Aria2 RPC Alias=Aria2 RPC 别名 Aria2 RPC Alias=Aria2 RPC 别名
Aria2 RPC Address=Aria2 RPC 地址 Aria2 RPC Address=Aria2 RPC 地址
@ -169,15 +169,15 @@ Are you sure you want to clear all settings history?=您是否要清除所有设
Delete RPC Setting=删除 RPC 设置 Delete RPC Setting=删除 RPC 设置
Add New RPC Setting=添加新 RPC 设置 Add New RPC Setting=添加新 RPC 设置
Are you sure you want to remove rpc setting "{{rpcName}}"?=您是否要删除 RPC 设置 "{{rpcName}}"? Are you sure you want to remove rpc setting "{{rpcName}}"?=您是否要删除 RPC 设置 "{{rpcName}}"?
Global Stat Refresh Interval=全局状态刷新间隔 Updating Global Stat Interval=全局状态更新间隔
Download Task Refresh Interval=下载任务刷新间隔 Updating Task Information Interval=任务信息更新间隔
Action After Creating New Tasks=创建新任务后执行操作 Action After Creating New Tasks=创建新任务后执行操作
Removing Old Task After Retrying=重试任务后删除原任务
Navigate to Task List Page=转到任务列表页面 Navigate to Task List Page=转到任务列表页面
Navigate to Task Detail Page=转到任务详情页面 Navigate to Task Detail Page=转到任务详情页面
Action After Retrying Task=重试任务后执行操作 Action After Retrying Task=重试任务后执行操作
Navigate to Downloading Task List Page=转到正在下载任务列表页面 Navigate to Downloading Tasks Page=转到正在下载列表页面
Stay on Current Page=留在当前页面 Stay on Current Page=留在当前页面
Remove Old Tasks After Retrying=重试任务后删除原任务
RPC List Display Order=RPC 列表显示顺序 RPC List Display Order=RPC 列表显示顺序
Recently Used=最近使用 Recently Used=最近使用
RPC Alias=RPC 别名 RPC Alias=RPC 别名
@ -202,7 +202,7 @@ Show Secret=显示密钥
Hide Secret=隐藏密钥 Hide Secret=隐藏密钥
Aria2 Version=Aria2 版本 Aria2 Version=Aria2 版本
Enabled Features=已启用的功能 Enabled Features=已启用的功能
Functions=方法 Operations=操作
Save Session=保存会话 Save Session=保存会话
Shutdown Aria2=关闭 Aria2 Shutdown Aria2=关闭 Aria2
Confirm Shutdown=确认关闭 Confirm Shutdown=确认关闭
@ -210,8 +210,8 @@ Are you sure you want to shutdown aria2?=您是否要关闭 aria2?
Session has been saved successfully.=会话已经成功保存. Session has been saved successfully.=会话已经成功保存.
Aria2 has been shutdown successfully.=Aria2 已经成功关闭. Aria2 has been shutdown successfully.=Aria2 已经成功关闭.
Toggle Navigation=切换导航 Toggle Navigation=切换导航
Quick Setting=快捷设置 Shortcut=快捷方式
Global Speed Limit=全局速度限制 Global Rate Limit=全局速度限制
Loading=正在加载... Loading=正在加载...
More Than One Day=超过1天 More Than One Day=超过1天
Unknown=未知 Unknown=未知
@ -221,10 +221,10 @@ Minutes=分
Seconds=秒 Seconds=秒
Milliseconds=毫秒 Milliseconds=毫秒
Http=Http Http=Http
Http (Disabled)=Http (禁用) Http (Disabled)=Http (禁用)
Https=Https Https=Https
WebSocket=WebSocket WebSocket=WebSocket
WebSocket (Disabled)=WebSocket (禁用) WebSocket (Disabled)=WebSocket (禁用)
WebSocket (Security)=WebSocket (安全) WebSocket (Security)=WebSocket (安全)
Http and WebSocket would be disabled when accessing AriaNg via Https.=使用 Https 访问 AriaNg 时Http 和 WebSocket 将被禁用. Http and WebSocket would be disabled when accessing AriaNg via Https.=使用 Https 访问 AriaNg 时Http 和 WebSocket 将被禁用.
POST=POST POST=POST
@ -248,7 +248,7 @@ URL is not base64 encoded!=指定 URL 不是 Base64 编码后的字符串!
Tap to configure and get started with AriaNg.=您还没有进行过设置, 点击这里进行设置. Tap to configure and get started with AriaNg.=您还没有进行过设置, 点击这里进行设置.
Cannot initialize WebSocket!=无法初始化 WebSocket! Cannot initialize WebSocket!=无法初始化 WebSocket!
Access Denied!=拒绝访问! Access Denied!=拒绝访问!
You cannot use AriaNg because this browser does not support data storage.=您无法使用 AriaNg, 您的浏览器不支持数据存储. You cannot use AriaNg because this browser does not meet the minimum requirements for data storage.=您无法使用 AriaNg, 因为这个浏览器不满足数据存储的最低要求.
[error] [error]
unknown=未知错误. unknown=未知错误.

View file

@ -45,7 +45,7 @@ By File Name=依檔名
By File Size=依檔案大小 By File Size=依檔案大小
By Progress=依進度 By Progress=依進度
By Selected Status=依選中狀態 By Selected Status=依選中狀態
By Remain Time=依剩餘時間 By Remaining=依剩餘時間
By Download Speed=依下載速度 By Download Speed=依下載速度
By Upload Speed=依上傳速度 By Upload Speed=依上傳速度
By Peer Address=依節點位址 By Peer Address=依節點位址
@ -82,7 +82,7 @@ File Name=檔名
File Size=大小 File Size=大小
Progress=進度 Progress=進度
Share Ratio=分享率 Share Ratio=分享率
Remain Time=剩餘時間 Remaining=剩餘時間
Download Speed=下載速度 Download Speed=下載速度
Upload Speed=上傳速度 Upload Speed=上傳速度
Links=連結 Links=連結
@ -91,7 +91,7 @@ Metalink File=Metalink 檔案
File Name:=檔名: File Name:=檔名:
Options=選項 Options=選項
Overview=總覽 Overview=總覽
Blocks=區塊資訊 Pieces=區塊資訊
Files=檔案清單 Files=檔案清單
Peers=連線狀態 Peers=連線狀態
Task Name=工作名稱 Task Name=工作名稱
@ -135,8 +135,8 @@ Failed to remove some task(s).=刪除一些工作時失敗.
Confirm Clear=確認清除 Confirm Clear=確認清除
Are you sure you want to clear stopped tasks?=您是否要清除已結束的工作? Are you sure you want to clear stopped tasks?=您是否要清除已結束的工作?
Download Links:=下載連結: Download Links:=下載連結:
Start Download=立即下載 Download Now=立即下載
Manual Download=手動下載 Download Later=手動下載
Open Torrent File=打開種子檔案 Open Torrent File=打開種子檔案
Open Metalink File=打開 Metalink 檔案 Open Metalink File=打開 Metalink 檔案
Support multiple URLs, one URL per line.=支援多個 URL 位址, 每個位址佔一行. Support multiple URLs, one URL per line.=支援多個 URL 位址, 每個位址佔一行.
@ -150,9 +150,9 @@ Language=語言
Debug Mode=偵錯模式 Debug Mode=偵錯模式
Page Title=頁面標題 Page Title=頁面標題
Preview=預覽 Preview=預覽
Tips: You can use the "noprefix" tag to ignore the prefix, "nosuffix" tag ignore the suffix, and "scale\=n" tag to set the decimal precision.=小提示: 您可以使用 "noprefix" 標籤忽略前綴, "nosuffix" 標籤忽略副檔名, 以及 "scale\=n" 標籤設定小數的精度. Tips: You can use the "noprefix" tag to ignore the prefix, "nosuffix" tag to ignore the suffix, and "scale\=n" tag to set the decimal precision.=小提示: 您可以使用 "noprefix" 標籤忽略前綴, "nosuffix" 標籤忽略副檔名, 以及 "scale\=n" 標籤設定小數的精度.
Example: ${downspeed:noprefix:nosuffix:scale\=1}=示例: ${downspeed:noprefix:nosuffix:scale\=1} Example: ${downspeed:noprefix:nosuffix:scale\=1}=示例: ${downspeed:noprefix:nosuffix:scale\=1}
Page Title Refresh Interval=頁面標題重新整理間隔 Updating Page Title Interval=頁面標題更新間隔
Enable Browser Notification=啟用瀏覽器通知 Enable Browser Notification=啟用瀏覽器通知
Aria2 RPC Alias=Aria2 RPC 別名 Aria2 RPC Alias=Aria2 RPC 別名
Aria2 RPC Address=Aria2 RPC 位址 Aria2 RPC Address=Aria2 RPC 位址
@ -169,15 +169,15 @@ Are you sure you want to clear all settings history?=您是否要清除所有設
Delete RPC Setting=刪除 RPC 設定 Delete RPC Setting=刪除 RPC 設定
Add New RPC Setting=加入新 RPC 設定 Add New RPC Setting=加入新 RPC 設定
Are you sure you want to remove rpc setting "{{rpcName}}"?=您是否要刪除 RPC 設定 "{{rpcName}}"? Are you sure you want to remove rpc setting "{{rpcName}}"?=您是否要刪除 RPC 設定 "{{rpcName}}"?
Global Stat Refresh Interval=全域狀態重新整理間隔 Updating Global Stat Interval=全域狀態更新間隔
Download Task Refresh Interval=下載工作重新整理間隔 Updating Task Information Interval=工作資訊更新間隔
Action After Creating New Tasks=建立新工作後執行操作 Action After Creating New Tasks=建立新工作後執行操作
Removing Old Task After Retrying=重試工作後刪除原工作
Navigate to Task List Page=轉到工作清單頁面 Navigate to Task List Page=轉到工作清單頁面
Navigate to Task Detail Page=轉到工作詳情頁面 Navigate to Task Detail Page=轉到工作詳情頁面
Action After Retrying Task=重試工作後執行操作 Action After Retrying Task=重試工作後執行操作
Navigate to Downloading Task List Page=轉到正在下載工作清單頁面 Navigate to Downloading Tasks Page=轉到正在下載工作頁面
Stay on Current Page=留在目前頁面 Stay on Current Page=留在目前頁面
Remove Old Tasks After Retrying=重試工作後刪除原工作
RPC List Display Order=RPC 清單顯示順序 RPC List Display Order=RPC 清單顯示順序
Recently Used=最近使用 Recently Used=最近使用
RPC Alias=RPC 別名 RPC Alias=RPC 別名
@ -202,7 +202,7 @@ Show Secret=顯示金鑰
Hide Secret=隱藏金鑰 Hide Secret=隱藏金鑰
Aria2 Version=Aria2 版本 Aria2 Version=Aria2 版本
Enabled Features=已啟用的功能 Enabled Features=已啟用的功能
Functions=方法 Operations=操作
Save Session=儲存會話 Save Session=儲存會話
Shutdown Aria2=關閉 Aria2 Shutdown Aria2=關閉 Aria2
Confirm Shutdown=確認關閉 Confirm Shutdown=確認關閉
@ -210,8 +210,8 @@ Are you sure you want to shutdown aria2?=您是否要關閉 aria2?
Session has been saved successfully.=會話已經成功儲存. Session has been saved successfully.=會話已經成功儲存.
Aria2 has been shutdown successfully.=Aria2 已經成功關閉. Aria2 has been shutdown successfully.=Aria2 已經成功關閉.
Toggle Navigation=切換導航 Toggle Navigation=切換導航
Quick Setting=設定捷徑 Shortcut=捷徑
Global Speed Limit=全域速度限制 Global Rate Limit=全域速度限制
Loading=正在載入... Loading=正在載入...
More Than One Day=超過1天 More Than One Day=超過1天
Unknown=不詳 Unknown=不詳
@ -221,10 +221,10 @@ Minutes=分
Seconds=秒 Seconds=秒
Milliseconds=毫秒 Milliseconds=毫秒
Http=Http Http=Http
Http (Disabled)=Http (停用) Http (Disabled)=Http (停用)
Https=Https Https=Https
WebSocket=WebSocket WebSocket=WebSocket
WebSocket (Disabled)=WebSocket (停用) WebSocket (Disabled)=WebSocket (停用)
WebSocket (Security)=WebSocket (安全) WebSocket (Security)=WebSocket (安全)
Http and WebSocket would be disabled when accessing AriaNg via Https.=使用 Https 訪問 AriaNg 時Http 和 WebSocket 將被停用. Http and WebSocket would be disabled when accessing AriaNg via Https.=使用 Https 訪問 AriaNg 時Http 和 WebSocket 將被停用.
POST=POST POST=POST
@ -248,7 +248,7 @@ URL is not base64 encoded!=指定 URL 不是 Base64 編碼後的字串!
Tap to configure and get started with AriaNg.=您還沒有進行過設定, 點選這裡進行設定. Tap to configure and get started with AriaNg.=您還沒有進行過設定, 點選這裡進行設定.
Cannot initialize WebSocket!=無法初始化 WebSocket! Cannot initialize WebSocket!=無法初始化 WebSocket!
Access Denied!=拒絕訪問! Access Denied!=拒絕訪問!
You cannot use AriaNg because this browser does not support data storage.=您無法使用 AriaNg, 您的瀏覽器不支援資料儲存. You cannot use AriaNg because this browser does not meet the minimum requirements for data storage.=您無法使用 AriaNg, 因為此瀏覽器不滿足資料儲存的最低要求.
[error] [error]
unknown=不詳錯誤. unknown=不詳錯誤.

View file

@ -49,7 +49,7 @@
'By File Size': 'By File Size', 'By File Size': 'By File Size',
'By Progress': 'By Progress', 'By Progress': 'By Progress',
'By Selected Status': 'By Selected Status', 'By Selected Status': 'By Selected Status',
'By Remain Time': 'By Remain Time', 'By Remaining': 'By Remaining',
'By Download Speed': 'By Download Speed', 'By Download Speed': 'By Download Speed',
'By Upload Speed': 'By Upload Speed', 'By Upload Speed': 'By Upload Speed',
'By Peer Address': 'By Peer Address', 'By Peer Address': 'By Peer Address',
@ -86,7 +86,7 @@
'File Size': 'File Size', 'File Size': 'File Size',
'Progress': 'Progress', 'Progress': 'Progress',
'Share Ratio': 'Share Ratio', 'Share Ratio': 'Share Ratio',
'Remain Time': 'Remain', 'Remaining': 'Remaining',
'Download Speed': 'Download Speed', 'Download Speed': 'Download Speed',
'Upload Speed': 'Upload Speed', 'Upload Speed': 'Upload Speed',
'Links': 'Links', 'Links': 'Links',
@ -95,7 +95,7 @@
'File Name:': 'File Name:', 'File Name:': 'File Name:',
'Options': 'Options', 'Options': 'Options',
'Overview': 'Overview', 'Overview': 'Overview',
'Blocks': 'Blocks', 'Pieces': 'Pieces',
'Files': 'Files', 'Files': 'Files',
'Peers': 'Peers', 'Peers': 'Peers',
'Task Name': 'Task Name', 'Task Name': 'Task Name',
@ -141,8 +141,8 @@
'Download Links:': 'Download Links:', 'Download Links:': 'Download Links:',
'Open Torrent File': 'Open Torrent File', 'Open Torrent File': 'Open Torrent File',
'Open Metalink File': 'Open Metalink File', 'Open Metalink File': 'Open Metalink File',
'Start Download': 'Start Download', 'Download Now': 'Download Now',
'Manual Download': 'Manual Download', 'Download Later': 'Download Later',
'Support multiple URLs, one URL per line.': 'Support multiple URLs, one URL per line.', 'Support multiple URLs, one URL per line.': 'Support multiple URLs, one URL per line.',
'Your browser does not support loading file!': 'Your browser does not support loading file!', 'Your browser does not support loading file!': 'Your browser does not support loading file!',
'The selected file type is invalid!': 'The selected file type is invalid!', 'The selected file type is invalid!': 'The selected file type is invalid!',
@ -154,9 +154,9 @@
'Debug Mode': 'Debug Mode', 'Debug Mode': 'Debug Mode',
'Page Title': 'Page Title', 'Page Title': 'Page Title',
'Preview': 'Preview', 'Preview': 'Preview',
'Tips: You can use the "noprefix" tag to ignore the prefix, "nosuffix" tag ignore the suffix, and "scale=n" tag to set the decimal precision.': 'Tips: You can use the "noprefix" tag to ignore the prefix, "nosuffix" tag ignore the suffix, and "scale=n" tag to set the decimal precision.', 'Tips: You can use the "noprefix" tag to ignore the prefix, "nosuffix" tag to ignore the suffix, and "scale=n" tag to set the decimal precision.': 'Tips: You can use the "noprefix" tag to ignore the prefix, "nosuffix" tag to ignore the suffix, and "scale=n" tag to set the decimal precision.',
'Example: ${downspeed:noprefix:nosuffix:scale=1}': 'Example: ${downspeed:noprefix:nosuffix:scale=1}', 'Example: ${downspeed:noprefix:nosuffix:scale=1}': 'Example: ${downspeed:noprefix:nosuffix:scale=1}',
'Page Title Refresh Interval': 'Page Title Refresh Interval', 'Updating Page Title Interval': 'Updating Page Title Interval',
'Enable Browser Notification': 'Enable Browser Notification', 'Enable Browser Notification': 'Enable Browser Notification',
'Aria2 RPC Alias': 'Aria2 RPC Alias', 'Aria2 RPC Alias': 'Aria2 RPC Alias',
'Aria2 RPC Address': 'Aria2 RPC Address', 'Aria2 RPC Address': 'Aria2 RPC Address',
@ -173,15 +173,15 @@
'Delete RPC Setting': 'Delete RPC Setting', 'Delete RPC Setting': 'Delete RPC Setting',
'Add New RPC Setting': 'Add New RPC Setting', 'Add New RPC Setting': 'Add New RPC Setting',
'Are you sure you want to remove rpc setting "{{rpcName}}"?': 'Are you sure you want to remove rpc setting "{{rpcName}}"?', 'Are you sure you want to remove rpc setting "{{rpcName}}"?': 'Are you sure you want to remove rpc setting "{{rpcName}}"?',
'Global Stat Refresh Interval': 'Global Stat Refresh Interval', 'Updating Global Stat Interval': 'Updating Global Stat Interval',
'Download Task Refresh Interval': 'Download Task Refresh Interval', 'Updating Task Information Interval': 'Updating Task Information Interval',
'Action After Creating New Tasks': 'Action After Creating New Tasks', 'Action After Creating New Tasks': 'Action After Creating New Tasks',
'Removing Old Task After Retrying': 'Removing Old Task After Retrying',
'Navigate to Task List Page': 'Navigate to Task List Page', 'Navigate to Task List Page': 'Navigate to Task List Page',
'Navigate to Task Detail Page': 'Navigate to Task Detail Page', 'Navigate to Task Detail Page': 'Navigate to Task Detail Page',
'Action After Retrying Task': 'Action After Retrying Task', 'Action After Retrying Task': 'Action After Retrying Task',
'Navigate to Downloading Task List Page': 'Navigate to Downloading Task List Page', 'Navigate to Downloading Tasks Page': 'Navigate to Downloading Tasks Page',
'Stay on Current Page': 'Stay on Current Page', 'Stay on Current Page': 'Stay on Current Page',
'Remove Old Tasks After Retrying': 'Remove Old Tasks After Retrying',
'RPC List Display Order': 'RPC List Display Order', 'RPC List Display Order': 'RPC List Display Order',
'Recently Used': 'Recently Used', 'Recently Used': 'Recently Used',
'RPC Alias': 'RPC Alias', 'RPC Alias': 'RPC Alias',
@ -206,7 +206,7 @@
'Hide Secret': 'Hide Secret', 'Hide Secret': 'Hide Secret',
'Aria2 Version': 'Aria2 Version', 'Aria2 Version': 'Aria2 Version',
'Enabled Features': 'Enabled Features', 'Enabled Features': 'Enabled Features',
'Functions': 'Functions', 'Operations': 'Operations',
'Save Session': 'Save Session', 'Save Session': 'Save Session',
'Shutdown Aria2': 'Shutdown Aria2', 'Shutdown Aria2': 'Shutdown Aria2',
'Confirm Shutdown': 'Confirm Shutdown', 'Confirm Shutdown': 'Confirm Shutdown',
@ -214,8 +214,8 @@
'Session has been saved successfully.': 'Session has been saved successfully.', 'Session has been saved successfully.': 'Session has been saved successfully.',
'Aria2 has been shutdown successfully.': 'Aria2 has been shutdown successfully.', 'Aria2 has been shutdown successfully.': 'Aria2 has been shutdown successfully.',
'Toggle Navigation': 'Toggle Navigation', 'Toggle Navigation': 'Toggle Navigation',
'Quick Setting': 'Quick Setting', 'Shortcut': 'Shortcut',
'Global Speed Limit': 'Global Speed Limit', 'Global Rate Limit': 'Global Rate Limit',
'Loading': 'Loading...', 'Loading': 'Loading...',
'More Than One Day': 'More than 1 day', 'More Than One Day': 'More than 1 day',
'Unknown': 'Unknown', 'Unknown': 'Unknown',
@ -253,7 +253,7 @@
'Tap to configure and get started with AriaNg.': 'Tap to configure and get started with AriaNg.', 'Tap to configure and get started with AriaNg.': 'Tap to configure and get started with AriaNg.',
'Cannot initialize WebSocket!': 'Cannot initialize WebSocket!', 'Cannot initialize WebSocket!': 'Cannot initialize WebSocket!',
'Access Denied!': 'Access Denied!', 'Access Denied!': 'Access Denied!',
'You cannot use AriaNg because this browser does not support data storage.': 'You cannot use AriaNg because this browser does not support data storage.', 'You cannot use AriaNg because this browser does not meet the minimum requirements for data storage.': 'You cannot use AriaNg because this browser does not meet the minimum requirements for data storage.',
'error': { 'error': {
'unknown': 'Unknown error occurred.', 'unknown': 'Unknown error occurred.',
'operation.timeout': 'Operation timed out.', 'operation.timeout': 'Operation timed out.',

View file

@ -2,7 +2,7 @@
'use strict'; 'use strict';
angular.module('ariaNg').controller('TaskDetailController', ['$rootScope', '$scope', '$routeParams', '$interval', 'clipboard', 'aria2RpcErrors', 'ariaNgFileTypes', 'ariaNgCommonService', 'ariaNgSettingService', 'ariaNgMonitorService', 'aria2TaskService', 'aria2SettingService', function ($rootScope, $scope, $routeParams, $interval, clipboard, aria2RpcErrors, ariaNgFileTypes, ariaNgCommonService, ariaNgSettingService, ariaNgMonitorService, aria2TaskService, aria2SettingService) { angular.module('ariaNg').controller('TaskDetailController', ['$rootScope', '$scope', '$routeParams', '$interval', 'clipboard', 'aria2RpcErrors', 'ariaNgFileTypes', 'ariaNgCommonService', 'ariaNgSettingService', 'ariaNgMonitorService', 'aria2TaskService', 'aria2SettingService', function ($rootScope, $scope, $routeParams, $interval, clipboard, aria2RpcErrors, ariaNgFileTypes, ariaNgCommonService, ariaNgSettingService, ariaNgMonitorService, aria2TaskService, aria2SettingService) {
var tabOrders = ['overview', 'blocks', 'filelist', 'btpeers']; var tabOrders = ['overview', 'pieces', 'filelist', 'btpeers'];
var downloadTaskRefreshPromise = null; var downloadTaskRefreshPromise = null;
var pauseDownloadTaskRefresh = false; var pauseDownloadTaskRefresh = false;
var currentRowTriggeredMenu = null; var currentRowTriggeredMenu = null;

View file

@ -38,12 +38,12 @@
angular.element('.main-sidebar').addClass('blur'); angular.element('.main-sidebar').addClass('blur');
angular.element('.navbar').addClass('blur'); angular.element('.navbar').addClass('blur');
angular.element('.content-body').addClass('blur'); angular.element('.content-body').addClass('blur');
ariaNgLocalizationService.notifyInPage('', 'You cannot use AriaNg because this browser does not support data storage.', { ariaNgLocalizationService.notifyInPage('', 'You cannot use AriaNg because this browser does not meet the minimum requirements for data storage.', {
type: 'error', type: 'error',
delay: false delay: false
}); });
throw new Error('You cannot use AriaNg because this browser does not support data storage.'); throw new Error('You cannot use AriaNg because this browser does not meet the minimum requirements for data storage.');
} }
}; };

View file

@ -21,7 +21,7 @@
<i class="fa" ng-class="{'fa-sort-asc fa-order-asc': isSetDisplayOrder('percent:asc'), 'fa-sort-desc fa-order-desc': isSetDisplayOrder('percent:desc')}"></i> <i class="fa" ng-class="{'fa-sort-asc fa-order-asc': isSetDisplayOrder('percent:asc'), 'fa-sort-desc fa-order-desc': isSetDisplayOrder('percent:desc')}"></i>
</div> </div>
<div class="col-sm-6"> <div class="col-sm-6">
<a ng-click="changeDisplayOrder('remain:asc', true)" translate>Remain Time</a> <a ng-click="changeDisplayOrder('remain:asc', true)" translate>Remaining</a>
<i class="fa" ng-class="{'fa-sort-asc fa-order-asc': isSetDisplayOrder('remain:asc'), 'fa-sort-desc fa-order-desc': isSetDisplayOrder('remain:desc')}"></i> <i class="fa" ng-class="{'fa-sort-asc fa-order-asc': isSetDisplayOrder('remain:asc'), 'fa-sort-desc fa-order-desc': isSetDisplayOrder('remain:desc')}"></i>
</div> </div>
</div> </div>
@ -140,7 +140,7 @@
</li> </li>
<li> <li>
<a class="pointer-cursor" ng-click="changeDisplayOrder('remain:asc')"> <a class="pointer-cursor" ng-click="changeDisplayOrder('remain:asc')">
<span translate>By Remain Time</span> <span translate>By Remaining</span>
<i class="fa fa-fw" ng-class="{'fa-check': isSetDisplayOrder('remain')}"></i> <i class="fa fa-fw" ng-class="{'fa-check': isSetDisplayOrder('remain')}"></i>
</a> </a>
</li> </li>

View file

@ -22,7 +22,7 @@
<div class="btn-group"> <div class="btn-group">
<button type="submit" class="btn btn-sm" <button type="submit" class="btn btn-sm"
ng-class="{'btn-default': !context.uploadFile && newTaskForm.$invalid, 'btn-success': context.uploadFile || !newTaskForm.$invalid}" ng-class="{'btn-default': !context.uploadFile && newTaskForm.$invalid, 'btn-success': context.uploadFile || !newTaskForm.$invalid}"
ng-disabled="!context.uploadFile && newTaskForm.$invalid" translate>Start Download ng-disabled="!context.uploadFile && newTaskForm.$invalid" translate>Download Now
</button>&nbsp; </button>&nbsp;
<button type="button" class="btn btn-sm dropdown-toggle" <button type="button" class="btn btn-sm dropdown-toggle"
ng-class="{'btn-default': !context.uploadFile && newTaskForm.$invalid, 'btn-success': context.uploadFile || !newTaskForm.$invalid}" ng-class="{'btn-default': !context.uploadFile && newTaskForm.$invalid, 'btn-success': context.uploadFile || !newTaskForm.$invalid}"
@ -30,7 +30,7 @@
<span class="caret"></span> <span class="caret"></span>
</button> </button>
<ul class="dropdown-menu right-align"> <ul class="dropdown-menu right-align">
<li><a class="pointer-cursor" ng-click="startDownload(true)" translate>Manual Download</a></li> <li><a class="pointer-cursor" ng-click="startDownload(true)" translate>Download Later</a></li>
</ul> </ul>
</div> </div>
</li> </li>

View file

@ -3,7 +3,7 @@
<div class="modal-content"> <div class="modal-content">
<div class="modal-header"> <div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
<h4 class="modal-title" ng-bind="(setting ? (setting.title) : 'Quick Settings') | translate">Quick Setting</h4> <h4 class="modal-title" ng-bind="(setting ? (setting.title) : 'Shortcut') | translate">Shortcut</h4>
</div> </div>
<div class="modal-body overlay-wrapper no-padding"> <div class="modal-body overlay-wrapper no-padding">
<div class="settings-table striped hoverable"> <div class="settings-table striped hoverable">

View file

@ -62,7 +62,7 @@
('Stopped Count' | translate) + ': ${stopped}<br/>' + ('Stopped Count' | translate) + ': ${stopped}<br/>' +
('Download Speed' | translate) + ': ${downspeed}<br/>' + ('Download Speed' | translate) + ': ${downspeed}<br/>' +
('Upload Speed' | translate) + ': ${upspeed}<br/><br/>' + ('Upload Speed' | translate) + ': ${upspeed}<br/><br/>' +
('Tips: You can use the &quot;noprefix&quot; tag to ignore the prefix, &quot;nosuffix&quot; tag ignore the suffix, and &quot;scale=n&quot; tag to set the decimal precision.' | translate) + '<br/>' + ('Tips: You can use the &quot;noprefix&quot; tag to ignore the prefix, &quot;nosuffix&quot; tag to ignore the suffix, and &quot;scale=n&quot; tag to set the decimal precision.' | translate) + '<br/>' +
('Example: ${downspeed:noprefix:nosuffix:scale=1}' | translate)}}"></i> ('Example: ${downspeed:noprefix:nosuffix:scale=1}' | translate)}}"></i>
</div> </div>
<div class="setting-value col-sm-8"> <div class="setting-value col-sm-8">
@ -85,7 +85,7 @@
</div> </div>
<div class="row"> <div class="row">
<div class="setting-key setting-key-without-desc col-sm-4"> <div class="setting-key setting-key-without-desc col-sm-4">
<span translate>Page Title Refresh Interval</span> <span translate>Updating Page Title Interval</span>
<span class="asterisk">*</span> <span class="asterisk">*</span>
</div> </div>
<div class="setting-value col-sm-8"> <div class="setting-value col-sm-8">
@ -98,7 +98,7 @@
</div> </div>
<div class="row"> <div class="row">
<div class="setting-key setting-key-without-desc col-sm-4"> <div class="setting-key setting-key-without-desc col-sm-4">
<span translate>Global Stat Refresh Interval</span> <span translate>Updating Global Stat Interval</span>
<span class="asterisk">*</span> <span class="asterisk">*</span>
</div> </div>
<div class="setting-value col-sm-8"> <div class="setting-value col-sm-8">
@ -111,7 +111,7 @@
</div> </div>
<div class="row"> <div class="row">
<div class="setting-key setting-key-without-desc col-sm-4"> <div class="setting-key setting-key-without-desc col-sm-4">
<span translate>Download Task Refresh Interval</span> <span translate>Updating Task Information Interval</span>
<span class="asterisk">*</span> <span class="asterisk">*</span>
</div> </div>
<div class="setting-value col-sm-8"> <div class="setting-value col-sm-8">
@ -147,17 +147,6 @@
</select> </select>
</div> </div>
</div> </div>
<div class="row">
<div class="setting-key setting-key-without-desc col-sm-4">
<span translate>Removing Old Task After Retrying</span>
</div>
<div class="setting-value col-sm-8">
<select class="form-control" style="width: 100%;" ng-model="context.settings.removeOldTaskAfterRetrying"
ng-change="setRemoveOldTaskAfterRetrying(context.settings.removeOldTaskAfterRetrying)"
ng-options="option.value as (option.name | translate) for option in context.trueFalseOptions">
</select>
</div>
</div>
<div class="row"> <div class="row">
<div class="setting-key setting-key-without-desc col-sm-4"> <div class="setting-key setting-key-without-desc col-sm-4">
<span translate>Action After Retrying Task</span> <span translate>Action After Retrying Task</span>
@ -165,12 +154,23 @@
<div class="setting-value col-sm-8"> <div class="setting-value col-sm-8">
<select class="form-control" style="width: 100%;" ng-model="context.settings.afterRetryingTask" <select class="form-control" style="width: 100%;" ng-model="context.settings.afterRetryingTask"
ng-change="setAfterRetryingTask(context.settings.afterRetryingTask)"> ng-change="setAfterRetryingTask(context.settings.afterRetryingTask)">
<option value="task-list-downloading" translate>Navigate to Downloading Task List Page</option> <option value="task-list-downloading" translate>Navigate to Downloading Tasks Page</option>
<option value="task-detail" translate>Navigate to Task Detail Page</option> <option value="task-detail" translate>Navigate to Task Detail Page</option>
<option value="stay-on-current" translate>Stay on Current Page</option> <option value="stay-on-current" translate>Stay on Current Page</option>
</select> </select>
</div> </div>
</div> </div>
<div class="row">
<div class="setting-key setting-key-without-desc col-sm-4">
<span translate>Remove Old Tasks After Retrying</span>
</div>
<div class="setting-value col-sm-8">
<select class="form-control" style="width: 100%;" ng-model="context.settings.removeOldTaskAfterRetrying"
ng-change="setRemoveOldTaskAfterRetrying(context.settings.removeOldTaskAfterRetrying)"
ng-options="option.value as (option.name | translate) for option in context.trueFalseOptions">
</select>
</div>
</div>
<div class="row"> <div class="row">
<div class="setting-key setting-key-without-desc col-sm-4"> <div class="setting-key setting-key-without-desc col-sm-4">
<span translate>Import / Export AriaNg Settings</span> <span translate>Import / Export AriaNg Settings</span>

View file

@ -40,7 +40,7 @@
</div> </div>
<div class="row ng-cloak" ng-if="context.serverStatus"> <div class="row ng-cloak" ng-if="context.serverStatus">
<div class="setting-key setting-key-without-desc col-sm-4"> <div class="setting-key setting-key-without-desc col-sm-4">
<span translate>Functions</span> <span translate>Operations</span>
</div> </div>
<div class="setting-value col-sm-8"> <div class="setting-value col-sm-8">
<button class="btn btn-sm btn-primary" ng-click="saveSession()" promise-btn> <button class="btn btn-sm btn-primary" ng-click="saveSession()" promise-btn>

View file

@ -4,8 +4,8 @@
<li ng-class="{'active': context.currentTab === 'overview'}"> <li ng-class="{'active': context.currentTab === 'overview'}">
<a class="pointer-cursor" ng-click="changeTab('overview')" translate>Overview</a> <a class="pointer-cursor" ng-click="changeTab('overview')" translate>Overview</a>
</li> </li>
<li ng-class="{'active': context.currentTab === 'blocks'}"> <li ng-class="{'active': context.currentTab === 'pieces'}">
<a class="pointer-cursor" ng-click="changeTab('blocks')" translate>Blocks</a> <a class="pointer-cursor" ng-click="changeTab('pieces')" translate>Pieces</a>
</li> </li>
<li ng-class="{'active': context.currentTab === 'filelist'}"> <li ng-class="{'active': context.currentTab === 'filelist'}">
<a class="pointer-cursor" ng-click="changeTab('filelist')" translate>Files</a> <a class="pointer-cursor" ng-click="changeTab('filelist')" translate>Files</a>
@ -95,7 +95,7 @@
</div> </div>
<div class="row" ng-if="task && task.status === 'active' && task.completedLength < task.totalLength"> <div class="row" ng-if="task && task.status === 'active' && task.completedLength < task.totalLength">
<div class="setting-key col-sm-4"> <div class="setting-key col-sm-4">
<span translate>Remain Time</span> <span translate>Remaining</span>
</div> </div>
<div class="setting-value col-sm-8"> <div class="setting-value col-sm-8">
<span ng-bind="0 <= task.remainTime && task.remainTime < 86400? (task.remainTime | dateDuration: 'second': 'HH:mm:ss') : ('More Than One Day' | translate)"></span> <span ng-bind="0 <= task.remainTime && task.remainTime < 86400? (task.remainTime | dateDuration: 'second': 'HH:mm:ss') : ('More Than One Day' | translate)"></span>
@ -166,7 +166,7 @@
</div> </div>
</div> </div>
</div> </div>
<div class="tab-pane" ng-class="{'active': context.currentTab === 'blocks'}"> <div class="tab-pane" ng-class="{'active': context.currentTab === 'pieces'}">
<div class="piece-legends"> <div class="piece-legends">
<div class="piece-legend" title="{{('format.task.pieceinfo' | translate: {completed: task.completedPieces, total: task.numPieces})}}"> <div class="piece-legend" title="{{('format.task.pieceinfo' | translate: {completed: task.completedPieces, total: task.numPieces})}}">
<div class="piece piece-completed"></div><span translate>Completed</span> <div class="piece piece-completed"></div><span translate>Completed</span>