修改英文标题
This commit is contained in:
parent
db6699084d
commit
cff87831ac
|
@ -179,7 +179,7 @@ Navigate to Downloading Tasks Page=转到正在下载列表页面
|
|||
Stay on Current Page=留在当前页面
|
||||
Remove Old Tasks After Retrying=重试任务后删除原任务
|
||||
Confirm Task Removal=任务删除前确认
|
||||
Task Detail Copy With Perfix=任务详情页复制时包括前缀
|
||||
Include Prefix When Copying From Task Details=任务详情页复制时包括前缀
|
||||
RPC List Display Order=RPC 列表显示顺序
|
||||
Recently Used=最近使用
|
||||
RPC Alias=RPC 别名
|
||||
|
|
|
@ -179,7 +179,7 @@ Navigate to Downloading Tasks Page=轉到正在下載工作頁面
|
|||
Stay on Current Page=留在目前頁面
|
||||
Remove Old Tasks After Retrying=重試工作後刪除原工作
|
||||
Confirm Task Removal=工作刪除前確認
|
||||
Task Detail Copy With Perfix=任務詳情頁複製時包括前綴
|
||||
Include Prefix When Copying From Task Details=任務詳情頁複製時包括前綴
|
||||
RPC List Display Order=RPC 清單顯示順序
|
||||
Recently Used=最近使用
|
||||
RPC Alias=RPC 別名
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
afterCreatingNewTask: 'task-list',
|
||||
removeOldTaskAfterRetrying: false,
|
||||
confirmTaskRemoval: true,
|
||||
taskDetailCopyWithPerfix: true,
|
||||
includePrefixWhenCopyingFromTaskDetails: true,
|
||||
afterRetryingTask: 'task-list-downloading',
|
||||
displayOrder: 'default:asc',
|
||||
fileListDisplayOrder: 'default:asc',
|
||||
|
|
|
@ -183,7 +183,7 @@
|
|||
'Stay on Current Page': 'Stay on Current Page',
|
||||
'Remove Old Tasks After Retrying': 'Remove Old Tasks After Retrying',
|
||||
'Confirm Task Removal': 'Confirm Task Removal',
|
||||
'Task Detail Copy With Perfix': 'Task Detail Copy With Perfix',
|
||||
'Include Prefix When Copying From Task Details': 'Include Prefix When Copying From Task Details',
|
||||
'RPC List Display Order': 'RPC List Display Order',
|
||||
'Recently Used': 'Recently Used',
|
||||
'RPC Alias': 'RPC Alias',
|
||||
|
|
|
@ -191,8 +191,8 @@
|
|||
ariaNgSettingService.setConfirmTaskRemoval(value);
|
||||
};
|
||||
|
||||
$scope.setTaskDetailCopyWithPerfix = function (value) {
|
||||
ariaNgSettingService.setTaskDetailCopyWithPerfix(value);
|
||||
$scope.setIncludePrefixWhenCopyingFromTaskDetails = function (value) {
|
||||
ariaNgSettingService.setIncludePrefixWhenCopyingFromTaskDetails(value);
|
||||
};
|
||||
|
||||
$scope.setAfterRetryingTask = function (value) {
|
||||
|
|
|
@ -637,12 +637,8 @@
|
|||
return;
|
||||
}
|
||||
|
||||
var value = '';
|
||||
|
||||
if (ariaNgSettingService.getTaskDetailCopyWithPerfix()) {
|
||||
var name = currentRowTriggeredMenu.find('.setting-key > span').text().trim();
|
||||
value = name + ': ';
|
||||
};
|
||||
var value = "";
|
||||
|
||||
currentRowTriggeredMenu.find('.setting-value > span').each(function (i, element) {
|
||||
if (i > 0) {
|
||||
|
@ -652,8 +648,13 @@
|
|||
value += angular.element(element).text().trim();
|
||||
});
|
||||
|
||||
if (ariaNgSettingService.getIncludePrefixWhenCopyingFromTaskDetails()) {
|
||||
var info = name + ': ' + value;
|
||||
clipboard.copyText(info);
|
||||
} else {
|
||||
clipboard.copyText(value);
|
||||
};
|
||||
};
|
||||
|
||||
if (ariaNgSettingService.getDownloadTaskRefreshInterval() > 0) {
|
||||
downloadTaskRefreshPromise = $interval(function () {
|
||||
|
|
|
@ -387,11 +387,11 @@
|
|||
setConfirmTaskRemoval: function (value) {
|
||||
setOption('confirmTaskRemoval', value);
|
||||
},
|
||||
getTaskDetailCopyWithPerfix: function () {
|
||||
return getOption('taskDetailCopyWithPerfix');
|
||||
getIncludePrefixWhenCopyingFromTaskDetails: function () {
|
||||
return getOption('includePrefixWhenCopyingFromTaskDetails');
|
||||
},
|
||||
setTaskDetailCopyWithPerfix: function (value) {
|
||||
setOption('taskDetailCopyWithPerfix', value);
|
||||
setIncludePrefixWhenCopyingFromTaskDetails: function (value) {
|
||||
setOption('includePrefixWhenCopyingFromTaskDetails', value);
|
||||
},
|
||||
getAfterRetryingTask: function () {
|
||||
return getOption('afterRetryingTask');
|
||||
|
|
|
@ -184,11 +184,11 @@
|
|||
</div>
|
||||
<div class="row">
|
||||
<div class="setting-key setting-key-without-desc col-sm-4">
|
||||
<span translate>Task Detail Copy With Perfix</span>
|
||||
<span translate>Include Prefix When Copying From Task Details</span>
|
||||
</div>
|
||||
<div class="setting-value col-sm-8">
|
||||
<select class="form-control" style="width: 100%;" ng-model="context.settings.taskDetailCopyWithPerfix"
|
||||
ng-change="setTaskDetailCopyWithPerfix(context.settings.taskDetailCopyWithPerfix)"
|
||||
<select class="form-control" style="width: 100%;" ng-model="context.settings.includePrefixWhenCopyingFromTaskDetails"
|
||||
ng-change="setIncludePrefixWhenCopyingFromTaskDetails(context.settings.includePrefixWhenCopyingFromTaskDetails)"
|
||||
ng-options="option.value as (option.name | translate) for option in context.trueFalseOptions">
|
||||
</select>
|
||||
</div>
|
||||
|
|
Reference in a new issue