modify text
This commit is contained in:
parent
13ce847335
commit
8c89d4630f
|
@ -4,7 +4,6 @@
|
|||
"Error": "错误",
|
||||
"OK": "确定",
|
||||
"Cancel": "取消",
|
||||
"Options": "选项",
|
||||
"New": "新建",
|
||||
"Start": "开始下载任务",
|
||||
"Pause": "暂停下载任务",
|
||||
|
@ -51,6 +50,8 @@
|
|||
"Remain Time": "剩余时间",
|
||||
"Download Speed": "下载速度",
|
||||
"Upload Speed": "上传速度",
|
||||
"Links": "链接",
|
||||
"Options": "选项",
|
||||
"Overview": "总览",
|
||||
"Blocks": "区块信息",
|
||||
"Files": "文件列表",
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
'Error': 'Error',
|
||||
'OK': 'OK',
|
||||
'Cancel': 'Cancel',
|
||||
'Options': 'Options',
|
||||
'New': 'New',
|
||||
'Start': 'Start',
|
||||
'Pause': 'Pause',
|
||||
|
@ -55,6 +54,8 @@
|
|||
'Remain Time': 'Remain Time',
|
||||
'Download Speed': 'Download Speed',
|
||||
'Upload Speed': 'Upload Speed',
|
||||
'Links': 'Links',
|
||||
'Options': 'Options',
|
||||
'Overview': 'Overview',
|
||||
'Blocks': 'Blocks',
|
||||
'Files': 'Files',
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('ariaNg').controller('NewTaskController', ['$rootScope', '$scope', '$location', '$timeout', 'aria2SettingService', 'aria2TaskService', function ($rootScope, $scope, $location, $timeout, aria2SettingService, aria2TaskService) {
|
||||
var tabOrders = ['download', 'options'];
|
||||
var tabOrders = ['links', 'options'];
|
||||
|
||||
$scope.context = {
|
||||
currentTab: 'download',
|
||||
currentTab: 'links',
|
||||
urls: '',
|
||||
availableOptions: (function () {
|
||||
var keys = aria2SettingService.getNewTaskOptionKeys();
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
<section class="content no-padding">
|
||||
<div class="nav-tabs-custom">
|
||||
<ul class="nav nav-tabs">
|
||||
<li ng-class="{'active': context.currentTab == 'download'}">
|
||||
<a class="pointer-cursor" ng-click="changeTab('download')" translate>Download</a>
|
||||
<li ng-class="{'active': context.currentTab == 'links'}">
|
||||
<a class="pointer-cursor" ng-click="changeTab('links')" translate>Links</a>
|
||||
</li>
|
||||
<li ng-class="{'active': context.currentTab == 'options'}">
|
||||
<a class="pointer-cursor" ng-click="changeTab('options')" translate>Options</a>
|
||||
|
@ -10,7 +10,7 @@
|
|||
</ul>
|
||||
|
||||
<div class="tab-content no-padding">
|
||||
<div class="tab-pane" ng-class="{'active': context.currentTab == 'download'}">
|
||||
<div class="tab-pane" ng-class="{'active': context.currentTab == 'links'}">
|
||||
<form name="newTaskForm" ng-submit="startDownload()" novalidate>
|
||||
<div class="new-task-table">
|
||||
<div class="row">
|
||||
|
|
Reference in a new issue