modify text

This commit is contained in:
MaysWind 2016-06-22 23:12:53 +08:00
parent 13ce847335
commit 8c89d4630f
4 changed files with 9 additions and 7 deletions

View file

@ -4,7 +4,6 @@
"Error": "错误", "Error": "错误",
"OK": "确定", "OK": "确定",
"Cancel": "取消", "Cancel": "取消",
"Options": "选项",
"New": "新建", "New": "新建",
"Start": "开始下载任务", "Start": "开始下载任务",
"Pause": "暂停下载任务", "Pause": "暂停下载任务",
@ -51,6 +50,8 @@
"Remain Time": "剩余时间", "Remain Time": "剩余时间",
"Download Speed": "下载速度", "Download Speed": "下载速度",
"Upload Speed": "上传速度", "Upload Speed": "上传速度",
"Links": "链接",
"Options": "选项",
"Overview": "总览", "Overview": "总览",
"Blocks": "区块信息", "Blocks": "区块信息",
"Files": "文件列表", "Files": "文件列表",

View file

@ -8,7 +8,6 @@
'Error': 'Error', 'Error': 'Error',
'OK': 'OK', 'OK': 'OK',
'Cancel': 'Cancel', 'Cancel': 'Cancel',
'Options': 'Options',
'New': 'New', 'New': 'New',
'Start': 'Start', 'Start': 'Start',
'Pause': 'Pause', 'Pause': 'Pause',
@ -55,6 +54,8 @@
'Remain Time': 'Remain Time', 'Remain Time': 'Remain Time',
'Download Speed': 'Download Speed', 'Download Speed': 'Download Speed',
'Upload Speed': 'Upload Speed', 'Upload Speed': 'Upload Speed',
'Links': 'Links',
'Options': 'Options',
'Overview': 'Overview', 'Overview': 'Overview',
'Blocks': 'Blocks', 'Blocks': 'Blocks',
'Files': 'Files', 'Files': 'Files',

View file

@ -2,10 +2,10 @@
'use strict'; 'use strict';
angular.module('ariaNg').controller('NewTaskController', ['$rootScope', '$scope', '$location', '$timeout', 'aria2SettingService', 'aria2TaskService', function ($rootScope, $scope, $location, $timeout, aria2SettingService, aria2TaskService) { 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 = { $scope.context = {
currentTab: 'download', currentTab: 'links',
urls: '', urls: '',
availableOptions: (function () { availableOptions: (function () {
var keys = aria2SettingService.getNewTaskOptionKeys(); var keys = aria2SettingService.getNewTaskOptionKeys();

View file

@ -1,8 +1,8 @@
<section class="content no-padding"> <section class="content no-padding">
<div class="nav-tabs-custom"> <div class="nav-tabs-custom">
<ul class="nav nav-tabs"> <ul class="nav nav-tabs">
<li ng-class="{'active': context.currentTab == 'download'}"> <li ng-class="{'active': context.currentTab == 'links'}">
<a class="pointer-cursor" ng-click="changeTab('download')" translate>Download</a> <a class="pointer-cursor" ng-click="changeTab('links')" translate>Links</a>
</li> </li>
<li ng-class="{'active': context.currentTab == 'options'}"> <li ng-class="{'active': context.currentTab == 'options'}">
<a class="pointer-cursor" ng-click="changeTab('options')" translate>Options</a> <a class="pointer-cursor" ng-click="changeTab('options')" translate>Options</a>
@ -10,7 +10,7 @@
</ul> </ul>
<div class="tab-content no-padding"> <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> <form name="newTaskForm" ng-submit="startDownload()" novalidate>
<div class="new-task-table"> <div class="new-task-table">
<div class="row"> <div class="row">