diff --git a/app/langs/zh_CN.json b/app/langs/zh_CN.json index e3d3223..33f297c 100644 --- a/app/langs/zh_CN.json +++ b/app/langs/zh_CN.json @@ -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": "文件列表", diff --git a/app/scripts/config/defaultLanguage.js b/app/scripts/config/defaultLanguage.js index 1017375..be1e744 100644 --- a/app/scripts/config/defaultLanguage.js +++ b/app/scripts/config/defaultLanguage.js @@ -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', diff --git a/app/scripts/controllers/new.js b/app/scripts/controllers/new.js index ba9306c..8ac5fac 100644 --- a/app/scripts/controllers/new.js +++ b/app/scripts/controllers/new.js @@ -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(); diff --git a/app/views/new.html b/app/views/new.html index c3d3f15..f561ccb 100644 --- a/app/views/new.html +++ b/app/views/new.html @@ -1,8 +1,8 @@