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