update Chinese and English translation

master
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>
<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>
</a>
</li>
@ -265,15 +265,15 @@
</li>
<li class="divider"></li>
<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>
<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>
</a>
<ul class="dropdown-menu" role="menu">
<li>
<a class="pointer-cursor" ng-click="showQuickSettingDialog('globalSpeedLimit', 'Global Speed Limit')">
<span translate>Global Speed Limit</span>
<a class="pointer-cursor" ng-click="showQuickSettingDialog('globalSpeedLimit', 'Global Rate Limit')">
<span translate>Global Rate Limit</span>
</a>
</li>
</ul>

View File

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

View File

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

View File

@ -49,7 +49,7 @@
'By File Size': 'By File Size',
'By Progress': 'By Progress',
'By Selected Status': 'By Selected Status',
'By Remain Time': 'By Remain Time',
'By Remaining': 'By Remaining',
'By Download Speed': 'By Download Speed',
'By Upload Speed': 'By Upload Speed',
'By Peer Address': 'By Peer Address',
@ -86,7 +86,7 @@
'File Size': 'File Size',
'Progress': 'Progress',
'Share Ratio': 'Share Ratio',
'Remain Time': 'Remain',
'Remaining': 'Remaining',
'Download Speed': 'Download Speed',
'Upload Speed': 'Upload Speed',
'Links': 'Links',
@ -95,7 +95,7 @@
'File Name:': 'File Name:',
'Options': 'Options',
'Overview': 'Overview',
'Blocks': 'Blocks',
'Pieces': 'Pieces',
'Files': 'Files',
'Peers': 'Peers',
'Task Name': 'Task Name',
@ -141,8 +141,8 @@
'Download Links:': 'Download Links:',
'Open Torrent File': 'Open Torrent File',
'Open Metalink File': 'Open Metalink File',
'Start Download': 'Start Download',
'Manual Download': 'Manual Download',
'Download Now': 'Download Now',
'Download Later': 'Download Later',
'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!',
'The selected file type is invalid!': 'The selected file type is invalid!',
@ -154,9 +154,9 @@
'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.': '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}',
'Page Title Refresh Interval': 'Page Title Refresh Interval',
'Updating Page Title Interval': 'Updating Page Title Interval',
'Enable Browser Notification': 'Enable Browser Notification',
'Aria2 RPC Alias': 'Aria2 RPC Alias',
'Aria2 RPC Address': 'Aria2 RPC Address',
@ -173,15 +173,15 @@
'Delete RPC Setting': 'Delete 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}}"?',
'Global Stat Refresh Interval': 'Global Stat Refresh Interval',
'Download Task Refresh Interval': 'Download Task Refresh Interval',
'Updating Global Stat Interval': 'Updating Global Stat Interval',
'Updating Task Information Interval': 'Updating Task Information Interval',
'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 Detail Page': 'Navigate to Task Detail Page',
'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',
'Remove Old Tasks After Retrying': 'Remove Old Tasks After Retrying',
'RPC List Display Order': 'RPC List Display Order',
'Recently Used': 'Recently Used',
'RPC Alias': 'RPC Alias',
@ -206,7 +206,7 @@
'Hide Secret': 'Hide Secret',
'Aria2 Version': 'Aria2 Version',
'Enabled Features': 'Enabled Features',
'Functions': 'Functions',
'Operations': 'Operations',
'Save Session': 'Save Session',
'Shutdown Aria2': 'Shutdown Aria2',
'Confirm Shutdown': 'Confirm Shutdown',
@ -214,8 +214,8 @@
'Session has been saved successfully.': 'Session has been saved successfully.',
'Aria2 has been shutdown successfully.': 'Aria2 has been shutdown successfully.',
'Toggle Navigation': 'Toggle Navigation',
'Quick Setting': 'Quick Setting',
'Global Speed Limit': 'Global Speed Limit',
'Shortcut': 'Shortcut',
'Global Rate Limit': 'Global Rate Limit',
'Loading': 'Loading...',
'More Than One Day': 'More than 1 day',
'Unknown': 'Unknown',
@ -253,7 +253,7 @@
'Tap to configure and get started with AriaNg.': 'Tap to configure and get started with AriaNg.',
'Cannot initialize WebSocket!': 'Cannot initialize WebSocket!',
'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': {
'unknown': 'Unknown error occurred.',
'operation.timeout': 'Operation timed out.',

View File

@ -2,7 +2,7 @@
'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) {
var tabOrders = ['overview', 'blocks', 'filelist', 'btpeers'];
var tabOrders = ['overview', 'pieces', 'filelist', 'btpeers'];
var downloadTaskRefreshPromise = null;
var pauseDownloadTaskRefresh = false;
var currentRowTriggeredMenu = null;

View File

@ -38,12 +38,12 @@
angular.element('.main-sidebar').addClass('blur');
angular.element('.navbar').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',
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>
</div>
<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>
</div>
</div>
@ -140,7 +140,7 @@
</li>
<li>
<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>
</a>
</li>

View File

@ -22,7 +22,7 @@
<div class="btn-group">
<button type="submit" class="btn btn-sm"
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 type="button" class="btn btn-sm dropdown-toggle"
ng-class="{'btn-default': !context.uploadFile && newTaskForm.$invalid, 'btn-success': context.uploadFile || !newTaskForm.$invalid}"
@ -30,7 +30,7 @@
<span class="caret"></span>
</button>
<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>
</div>
</li>

View File

@ -3,7 +3,7 @@
<div class="modal-content">
<div class="modal-header">
<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 class="modal-body overlay-wrapper no-padding">
<div class="settings-table striped hoverable">

View File

@ -62,7 +62,7 @@
('Stopped Count' | translate) + ': ${stopped}<br/>' +
('Download Speed' | translate) + ': ${downspeed}<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>
</div>
<div class="setting-value col-sm-8">
@ -85,7 +85,7 @@
</div>
<div class="row">
<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>
</div>
<div class="setting-value col-sm-8">
@ -98,7 +98,7 @@
</div>
<div class="row">
<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>
</div>
<div class="setting-value col-sm-8">
@ -111,7 +111,7 @@
</div>
<div class="row">
<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>
</div>
<div class="setting-value col-sm-8">
@ -147,17 +147,6 @@
</select>
</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="setting-key setting-key-without-desc col-sm-4">
<span translate>Action After Retrying Task</span>
@ -165,12 +154,23 @@
<div class="setting-value col-sm-8">
<select class="form-control" style="width: 100%;" ng-model="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="stay-on-current" translate>Stay on Current Page</option>
</select>
</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="setting-key setting-key-without-desc col-sm-4">
<span translate>Import / Export AriaNg Settings</span>

View File

@ -40,7 +40,7 @@
</div>
<div class="row ng-cloak" ng-if="context.serverStatus">
<div class="setting-key setting-key-without-desc col-sm-4">
<span translate>Functions</span>
<span translate>Operations</span>
</div>
<div class="setting-value col-sm-8">
<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'}">
<a class="pointer-cursor" ng-click="changeTab('overview')" translate>Overview</a>
</li>
<li ng-class="{'active': context.currentTab === 'blocks'}">
<a class="pointer-cursor" ng-click="changeTab('blocks')" translate>Blocks</a>
<li ng-class="{'active': context.currentTab === 'pieces'}">
<a class="pointer-cursor" ng-click="changeTab('pieces')" translate>Pieces</a>
</li>
<li ng-class="{'active': context.currentTab === 'filelist'}">
<a class="pointer-cursor" ng-click="changeTab('filelist')" translate>Files</a>
@ -95,7 +95,7 @@
</div>
<div class="row" ng-if="task && task.status === 'active' && task.completedLength < task.totalLength">
<div class="setting-key col-sm-4">
<span translate>Remain Time</span>
<span translate>Remaining</span>
</div>
<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>
@ -166,7 +166,7 @@
</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-legend" title="{{('format.task.pieceinfo' | translate: {completed: task.completedPieces, total: task.numPieces})}}">
<div class="piece piece-completed"></div><span translate>Completed</span>