From 8e9ecce36b088383418238d14460765e351adffb Mon Sep 17 00:00:00 2001 From: MaysWind Date: Sat, 3 Aug 2019 01:44:59 +0800 Subject: [PATCH] update Chinese and English translation --- src/index.html | 10 ++++---- src/langs/zh_Hans.txt | 34 +++++++++++++------------- src/langs/zh_Hant.txt | 34 +++++++++++++------------- src/scripts/config/defaultLanguage.js | 30 +++++++++++------------ src/scripts/controllers/task-detail.js | 2 +- src/scripts/core/root.js | 4 +-- src/views/list.html | 4 +-- src/views/new.html | 4 +-- src/views/setting-dialog.html | 2 +- src/views/settings-ariang.html | 32 ++++++++++++------------ src/views/status.html | 2 +- src/views/task-detail.html | 8 +++--- 12 files changed, 83 insertions(+), 83 deletions(-) diff --git a/src/index.html b/src/index.html index 5297a05..1aaf28f 100644 --- a/src/index.html +++ b/src/index.html @@ -143,7 +143,7 @@
  • - By Remain Time + By Remaining
  • @@ -265,15 +265,15 @@
  • - + - Quick Setting + Shortcut diff --git a/src/langs/zh_Hans.txt b/src/langs/zh_Hans.txt index f7ae5de..dc8f9e6 100644 --- a/src/langs/zh_Hans.txt +++ b/src/langs/zh_Hans.txt @@ -45,7 +45,7 @@ By File Name=按文件名 By File Size=按文件大小 By Progress=按进度 By Selected Status=按选中状态 -By Remain Time=按剩余时间 +By Remaining=按剩余时间 By Download Speed=按下载速度 By Upload Speed=按上传速度 By Peer Address=按节点地址 @@ -82,7 +82,7 @@ File Name=文件名 File Size=大小 Progress=进度 Share Ratio=分享率 -Remain Time=剩余时间 +Remaining=剩余时间 Download Speed=下载速度 Upload Speed=上传速度 Links=链接 @@ -91,7 +91,7 @@ Metalink File=Metalink 文件 File Name:=文件名: Options=选项 Overview=总览 -Blocks=区块信息 +Pieces=区块信息 Files=文件列表 Peers=连接状态 Task Name=任务名称 @@ -135,8 +135,8 @@ Failed to remove some task(s).=删除一些任务时失败. Confirm Clear=确认清除 Are you sure you want to clear stopped tasks?=您是否要清除已结束的任务? Download Links:=下载链接: -Start Download=立即下载 -Manual Download=手动下载 +Download Now=立即下载 +Download Later=手动下载 Open Torrent File=打开种子文件 Open Metalink File=打开 Metalink 文件 Support multiple URLs, one URL per line.=支持多个 URL 地址, 每个地址占一行. @@ -150,9 +150,9 @@ Language=语言 Debug Mode=调试模式 Page Title=页面标题 Preview=预览 -Tips: You can use the "noprefix" tag to ignore the prefix, "nosuffix" tag ignore the suffix, and "scale\=n" tag to set the decimal precision.=小提示: 您可以使用 "noprefix" 标签忽略前缀, "nosuffix" 标签忽略后缀, 以及 "scale\=n" 标签设置小数的精度. +Tips: You can use the "noprefix" tag to ignore the prefix, "nosuffix" tag to ignore the suffix, and "scale\=n" tag to set the decimal precision.=小提示: 您可以使用 "noprefix" 标签忽略前缀, "nosuffix" 标签忽略后缀, 以及 "scale\=n" 标签设置小数的精度. Example: ${downspeed:noprefix:nosuffix:scale\=1}=示例: ${downspeed:noprefix:nosuffix:scale\=1} -Page Title Refresh Interval=页面标题刷新间隔 +Updating Page Title Interval=页面标题更新间隔 Enable Browser Notification=启用浏览器通知 Aria2 RPC Alias=Aria2 RPC 别名 Aria2 RPC Address=Aria2 RPC 地址 @@ -169,15 +169,15 @@ Are you sure you want to clear all settings history?=您是否要清除所有设 Delete RPC Setting=删除 RPC 设置 Add New RPC Setting=添加新 RPC 设置 Are you sure you want to remove rpc setting "{{rpcName}}"?=您是否要删除 RPC 设置 "{{rpcName}}"? -Global Stat Refresh Interval=全局状态刷新间隔 -Download Task Refresh Interval=下载任务刷新间隔 +Updating Global Stat Interval=全局状态更新间隔 +Updating Task Information Interval=任务信息更新间隔 Action After Creating New Tasks=创建新任务后执行操作 -Removing Old Task After Retrying=重试任务后删除原任务 Navigate to Task List Page=转到任务列表页面 Navigate to Task Detail Page=转到任务详情页面 Action After Retrying Task=重试任务后执行操作 -Navigate to Downloading Task List Page=转到正在下载任务列表页面 +Navigate to Downloading Tasks Page=转到正在下载列表页面 Stay on Current Page=留在当前页面 +Remove Old Tasks After Retrying=重试任务后删除原任务 RPC List Display Order=RPC 列表显示顺序 Recently Used=最近使用 RPC Alias=RPC 别名 @@ -202,7 +202,7 @@ Show Secret=显示密钥 Hide Secret=隐藏密钥 Aria2 Version=Aria2 版本 Enabled Features=已启用的功能 -Functions=方法 +Operations=操作 Save Session=保存会话 Shutdown Aria2=关闭 Aria2 Confirm Shutdown=确认关闭 @@ -210,8 +210,8 @@ Are you sure you want to shutdown aria2?=您是否要关闭 aria2? Session has been saved successfully.=会话已经成功保存. Aria2 has been shutdown successfully.=Aria2 已经成功关闭. Toggle Navigation=切换导航 -Quick Setting=快捷设置 -Global Speed Limit=全局速度限制 +Shortcut=快捷方式 +Global Rate Limit=全局速度限制 Loading=正在加载... More Than One Day=超过1天 Unknown=未知 @@ -221,10 +221,10 @@ Minutes=分 Seconds=秒 Milliseconds=毫秒 Http=Http -Http (Disabled)=Http (禁用) +Http (Disabled)=Http (已禁用) Https=Https WebSocket=WebSocket -WebSocket (Disabled)=WebSocket (禁用) +WebSocket (Disabled)=WebSocket (已禁用) WebSocket (Security)=WebSocket (安全) Http and WebSocket would be disabled when accessing AriaNg via Https.=使用 Https 访问 AriaNg 时,Http 和 WebSocket 将被禁用. POST=POST @@ -248,7 +248,7 @@ URL is not base64 encoded!=指定 URL 不是 Base64 编码后的字符串! Tap to configure and get started with AriaNg.=您还没有进行过设置, 点击这里进行设置. Cannot initialize WebSocket!=无法初始化 WebSocket! Access Denied!=拒绝访问! -You cannot use AriaNg because this browser does not support data storage.=您无法使用 AriaNg, 您的浏览器不支持数据存储. +You cannot use AriaNg because this browser does not meet the minimum requirements for data storage.=您无法使用 AriaNg, 因为这个浏览器不满足数据存储的最低要求. [error] unknown=未知错误. diff --git a/src/langs/zh_Hant.txt b/src/langs/zh_Hant.txt index c560af4..7ce8d81 100644 --- a/src/langs/zh_Hant.txt +++ b/src/langs/zh_Hant.txt @@ -45,7 +45,7 @@ By File Name=依檔名 By File Size=依檔案大小 By Progress=依進度 By Selected Status=依選中狀態 -By Remain Time=依剩餘時間 +By Remaining=依剩餘時間 By Download Speed=依下載速度 By Upload Speed=依上傳速度 By Peer Address=依節點位址 @@ -82,7 +82,7 @@ File Name=檔名 File Size=大小 Progress=進度 Share Ratio=分享率 -Remain Time=剩餘時間 +Remaining=剩餘時間 Download Speed=下載速度 Upload Speed=上傳速度 Links=連結 @@ -91,7 +91,7 @@ Metalink File=Metalink 檔案 File Name:=檔名: Options=選項 Overview=總覽 -Blocks=區塊資訊 +Pieces=區塊資訊 Files=檔案清單 Peers=連線狀態 Task Name=工作名稱 @@ -135,8 +135,8 @@ Failed to remove some task(s).=刪除一些工作時失敗. Confirm Clear=確認清除 Are you sure you want to clear stopped tasks?=您是否要清除已結束的工作? Download Links:=下載連結: -Start Download=立即下載 -Manual Download=手動下載 +Download Now=立即下載 +Download Later=手動下載 Open Torrent File=打開種子檔案 Open Metalink File=打開 Metalink 檔案 Support multiple URLs, one URL per line.=支援多個 URL 位址, 每個位址佔一行. @@ -150,9 +150,9 @@ Language=語言 Debug Mode=偵錯模式 Page Title=頁面標題 Preview=預覽 -Tips: You can use the "noprefix" tag to ignore the prefix, "nosuffix" tag ignore the suffix, and "scale\=n" tag to set the decimal precision.=小提示: 您可以使用 "noprefix" 標籤忽略前綴, "nosuffix" 標籤忽略副檔名, 以及 "scale\=n" 標籤設定小數的精度. +Tips: You can use the "noprefix" tag to ignore the prefix, "nosuffix" tag to ignore the suffix, and "scale\=n" tag to set the decimal precision.=小提示: 您可以使用 "noprefix" 標籤忽略前綴, "nosuffix" 標籤忽略副檔名, 以及 "scale\=n" 標籤設定小數的精度. Example: ${downspeed:noprefix:nosuffix:scale\=1}=示例: ${downspeed:noprefix:nosuffix:scale\=1} -Page Title Refresh Interval=頁面標題重新整理間隔 +Updating Page Title Interval=頁面標題更新間隔 Enable Browser Notification=啟用瀏覽器通知 Aria2 RPC Alias=Aria2 RPC 別名 Aria2 RPC Address=Aria2 RPC 位址 @@ -169,15 +169,15 @@ Are you sure you want to clear all settings history?=您是否要清除所有設 Delete RPC Setting=刪除 RPC 設定 Add New RPC Setting=加入新 RPC 設定 Are you sure you want to remove rpc setting "{{rpcName}}"?=您是否要刪除 RPC 設定 "{{rpcName}}"? -Global Stat Refresh Interval=全域狀態重新整理間隔 -Download Task Refresh Interval=下載工作重新整理間隔 +Updating Global Stat Interval=全域狀態更新間隔 +Updating Task Information Interval=工作資訊更新間隔 Action After Creating New Tasks=建立新工作後執行操作 -Removing Old Task After Retrying=重試工作後刪除原工作 Navigate to Task List Page=轉到工作清單頁面 Navigate to Task Detail Page=轉到工作詳情頁面 Action After Retrying Task=重試工作後執行操作 -Navigate to Downloading Task List Page=轉到正在下載工作清單頁面 +Navigate to Downloading Tasks Page=轉到正在下載工作頁面 Stay on Current Page=留在目前頁面 +Remove Old Tasks After Retrying=重試工作後刪除原工作 RPC List Display Order=RPC 清單顯示順序 Recently Used=最近使用 RPC Alias=RPC 別名 @@ -202,7 +202,7 @@ Show Secret=顯示金鑰 Hide Secret=隱藏金鑰 Aria2 Version=Aria2 版本 Enabled Features=已啟用的功能 -Functions=方法 +Operations=操作 Save Session=儲存會話 Shutdown Aria2=關閉 Aria2 Confirm Shutdown=確認關閉 @@ -210,8 +210,8 @@ Are you sure you want to shutdown aria2?=您是否要關閉 aria2? Session has been saved successfully.=會話已經成功儲存. Aria2 has been shutdown successfully.=Aria2 已經成功關閉. Toggle Navigation=切換導航 -Quick Setting=設定捷徑 -Global Speed Limit=全域速度限制 +Shortcut=捷徑 +Global Rate Limit=全域速度限制 Loading=正在載入... More Than One Day=超過1天 Unknown=不詳 @@ -221,10 +221,10 @@ Minutes=分 Seconds=秒 Milliseconds=毫秒 Http=Http -Http (Disabled)=Http (停用) +Http (Disabled)=Http (已停用) Https=Https WebSocket=WebSocket -WebSocket (Disabled)=WebSocket (停用) +WebSocket (Disabled)=WebSocket (已停用) WebSocket (Security)=WebSocket (安全) Http and WebSocket would be disabled when accessing AriaNg via Https.=使用 Https 訪問 AriaNg 時,Http 和 WebSocket 將被停用. POST=POST @@ -248,7 +248,7 @@ URL is not base64 encoded!=指定 URL 不是 Base64 編碼後的字串! Tap to configure and get started with AriaNg.=您還沒有進行過設定, 點選這裡進行設定. Cannot initialize WebSocket!=無法初始化 WebSocket! Access Denied!=拒絕訪問! -You cannot use AriaNg because this browser does not support data storage.=您無法使用 AriaNg, 您的瀏覽器不支援資料儲存. +You cannot use AriaNg because this browser does not meet the minimum requirements for data storage.=您無法使用 AriaNg, 因為此瀏覽器不滿足資料儲存的最低要求. [error] unknown=不詳錯誤. diff --git a/src/scripts/config/defaultLanguage.js b/src/scripts/config/defaultLanguage.js index eeeac0f..a066fd9 100644 --- a/src/scripts/config/defaultLanguage.js +++ b/src/scripts/config/defaultLanguage.js @@ -49,7 +49,7 @@ 'By File Size': 'By File Size', 'By Progress': 'By Progress', 'By Selected Status': 'By Selected Status', - 'By Remain Time': 'By Remain Time', + 'By Remaining': 'By Remaining', 'By Download Speed': 'By Download Speed', 'By Upload Speed': 'By Upload Speed', 'By Peer Address': 'By Peer Address', @@ -86,7 +86,7 @@ 'File Size': 'File Size', 'Progress': 'Progress', 'Share Ratio': 'Share Ratio', - 'Remain Time': 'Remain', + 'Remaining': 'Remaining', 'Download Speed': 'Download Speed', 'Upload Speed': 'Upload Speed', 'Links': 'Links', @@ -95,7 +95,7 @@ 'File Name:': 'File Name:', 'Options': 'Options', 'Overview': 'Overview', - 'Blocks': 'Blocks', + 'Pieces': 'Pieces', 'Files': 'Files', 'Peers': 'Peers', 'Task Name': 'Task Name', @@ -141,8 +141,8 @@ 'Download Links:': 'Download Links:', 'Open Torrent File': 'Open Torrent File', 'Open Metalink File': 'Open Metalink File', - 'Start Download': 'Start Download', - 'Manual Download': 'Manual Download', + 'Download Now': 'Download Now', + 'Download Later': 'Download Later', 'Support multiple URLs, one URL per line.': 'Support multiple URLs, one URL per line.', 'Your browser does not support loading file!': 'Your browser does not support loading file!', 'The selected file type is invalid!': 'The selected file type is invalid!', @@ -154,9 +154,9 @@ 'Debug Mode': 'Debug Mode', 'Page Title': 'Page Title', 'Preview': 'Preview', - 'Tips: You can use the "noprefix" tag to ignore the prefix, "nosuffix" tag ignore the suffix, and "scale=n" tag to set the decimal precision.': 'Tips: You can use the "noprefix" tag to ignore the prefix, "nosuffix" tag ignore the suffix, and "scale=n" tag to set the decimal precision.', + 'Tips: You can use the "noprefix" tag to ignore the prefix, "nosuffix" tag to ignore the suffix, and "scale=n" tag to set the decimal precision.': 'Tips: You can use the "noprefix" tag to ignore the prefix, "nosuffix" tag to ignore the suffix, and "scale=n" tag to set the decimal precision.', 'Example: ${downspeed:noprefix:nosuffix:scale=1}': 'Example: ${downspeed:noprefix:nosuffix:scale=1}', - 'Page Title Refresh Interval': 'Page Title Refresh Interval', + 'Updating Page Title Interval': 'Updating Page Title Interval', 'Enable Browser Notification': 'Enable Browser Notification', 'Aria2 RPC Alias': 'Aria2 RPC Alias', 'Aria2 RPC Address': 'Aria2 RPC Address', @@ -173,15 +173,15 @@ 'Delete RPC Setting': 'Delete RPC Setting', 'Add New RPC Setting': 'Add New RPC Setting', 'Are you sure you want to remove rpc setting "{{rpcName}}"?': 'Are you sure you want to remove rpc setting "{{rpcName}}"?', - 'Global Stat Refresh Interval': 'Global Stat Refresh Interval', - 'Download Task Refresh Interval': 'Download Task Refresh Interval', + 'Updating Global Stat Interval': 'Updating Global Stat Interval', + 'Updating Task Information Interval': 'Updating Task Information Interval', 'Action After Creating New Tasks': 'Action After Creating New Tasks', - 'Removing Old Task After Retrying': 'Removing Old Task After Retrying', 'Navigate to Task List Page': 'Navigate to Task List Page', 'Navigate to Task Detail Page': 'Navigate to Task Detail Page', 'Action After Retrying Task': 'Action After Retrying Task', - 'Navigate to Downloading Task List Page': 'Navigate to Downloading Task List Page', + 'Navigate to Downloading Tasks Page': 'Navigate to Downloading Tasks Page', 'Stay on Current Page': 'Stay on Current Page', + 'Remove Old Tasks After Retrying': 'Remove Old Tasks After Retrying', 'RPC List Display Order': 'RPC List Display Order', 'Recently Used': 'Recently Used', 'RPC Alias': 'RPC Alias', @@ -206,7 +206,7 @@ 'Hide Secret': 'Hide Secret', 'Aria2 Version': 'Aria2 Version', 'Enabled Features': 'Enabled Features', - 'Functions': 'Functions', + 'Operations': 'Operations', 'Save Session': 'Save Session', 'Shutdown Aria2': 'Shutdown Aria2', 'Confirm Shutdown': 'Confirm Shutdown', @@ -214,8 +214,8 @@ 'Session has been saved successfully.': 'Session has been saved successfully.', 'Aria2 has been shutdown successfully.': 'Aria2 has been shutdown successfully.', 'Toggle Navigation': 'Toggle Navigation', - 'Quick Setting': 'Quick Setting', - 'Global Speed Limit': 'Global Speed Limit', + 'Shortcut': 'Shortcut', + 'Global Rate Limit': 'Global Rate Limit', 'Loading': 'Loading...', 'More Than One Day': 'More than 1 day', 'Unknown': 'Unknown', @@ -253,7 +253,7 @@ 'Tap to configure and get started with AriaNg.': 'Tap to configure and get started with AriaNg.', 'Cannot initialize WebSocket!': 'Cannot initialize WebSocket!', 'Access Denied!': 'Access Denied!', - 'You cannot use AriaNg because this browser does not support data storage.': 'You cannot use AriaNg because this browser does not support data storage.', + 'You cannot use AriaNg because this browser does not meet the minimum requirements for data storage.': 'You cannot use AriaNg because this browser does not meet the minimum requirements for data storage.', 'error': { 'unknown': 'Unknown error occurred.', 'operation.timeout': 'Operation timed out.', diff --git a/src/scripts/controllers/task-detail.js b/src/scripts/controllers/task-detail.js index dbc8ec2..21151f1 100644 --- a/src/scripts/controllers/task-detail.js +++ b/src/scripts/controllers/task-detail.js @@ -2,7 +2,7 @@ 'use strict'; angular.module('ariaNg').controller('TaskDetailController', ['$rootScope', '$scope', '$routeParams', '$interval', 'clipboard', 'aria2RpcErrors', 'ariaNgFileTypes', 'ariaNgCommonService', 'ariaNgSettingService', 'ariaNgMonitorService', 'aria2TaskService', 'aria2SettingService', function ($rootScope, $scope, $routeParams, $interval, clipboard, aria2RpcErrors, ariaNgFileTypes, ariaNgCommonService, ariaNgSettingService, ariaNgMonitorService, aria2TaskService, aria2SettingService) { - var tabOrders = ['overview', 'blocks', 'filelist', 'btpeers']; + var tabOrders = ['overview', 'pieces', 'filelist', 'btpeers']; var downloadTaskRefreshPromise = null; var pauseDownloadTaskRefresh = false; var currentRowTriggeredMenu = null; diff --git a/src/scripts/core/root.js b/src/scripts/core/root.js index 6db1c19..802ee8c 100644 --- a/src/scripts/core/root.js +++ b/src/scripts/core/root.js @@ -38,12 +38,12 @@ angular.element('.main-sidebar').addClass('blur'); angular.element('.navbar').addClass('blur'); angular.element('.content-body').addClass('blur'); - ariaNgLocalizationService.notifyInPage('', 'You cannot use AriaNg because this browser does not support data storage.', { + ariaNgLocalizationService.notifyInPage('', 'You cannot use AriaNg because this browser does not meet the minimum requirements for data storage.', { type: 'error', delay: false }); - throw new Error('You cannot use AriaNg because this browser does not support data storage.'); + throw new Error('You cannot use AriaNg because this browser does not meet the minimum requirements for data storage.'); } }; diff --git a/src/views/list.html b/src/views/list.html index 2ad37f7..1b00667 100644 --- a/src/views/list.html +++ b/src/views/list.html @@ -21,7 +21,7 @@ @@ -140,7 +140,7 @@
  • - By Remain Time + By Remaining
  • diff --git a/src/views/new.html b/src/views/new.html index 45c54dc..6122107 100644 --- a/src/views/new.html +++ b/src/views/new.html @@ -22,7 +22,7 @@
     
    diff --git a/src/views/setting-dialog.html b/src/views/setting-dialog.html index 9b0b315..efb9bc4 100644 --- a/src/views/setting-dialog.html +++ b/src/views/setting-dialog.html @@ -3,7 +3,7 @@