Simplified Chinese translation.

This commit is contained in:
Myf 2015-10-29 00:33:31 +08:00
parent 105e6c3e82
commit b96af02548
3 changed files with 81 additions and 0 deletions

View File

@ -74,6 +74,7 @@
<!-- translate -->
<script src="js/libs/angular-translate.js"></script>
<script src="js/translate/zh_CN.js"></script>
</head>
<!-- }}} -->

View File

@ -15,6 +15,7 @@ var webui = angular.module('webui', [
webui.config(['$translateProvider', function ($translateProvider) {
$translateProvider
.translations('zh_CN', translations.zh_CN)
.determinePreferredLanguage();
}]);

79
js/translate/zh_CN.js Normal file
View File

@ -0,0 +1,79 @@
if(typeof translations == 'undefined'){
translations = {};
}
translations.zh_CN = {
// header
'Search': '查找',
// Nav menu
'Add': '添加',
'By URIs': '使用链接',
'By Torrents': '使用种子',
'By Metalinks': '使用磁链',
'Manage': '管理',
'Pause All': '暂停所有',
'Resume Paused': '恢复下载',
'Purge Completed': '清除已完成',
'Settings': '设置',
'Connection Settings': '网络设置',
'Global Settings': '全局设置',
'Server info': '服务器信息',
'About and contribute': '关于和贡献',
// body
// nav side bar
// download filters
'Download Filters': '下载过滤器',
'Running': '下载中',
'Active': '激活',
'Waiting': '等待',
'Complete': '已完成',
'Error': '错误',
'Paused': '暂停',
'Removed': '已删除',
'Hide linked meta-data': '隐藏链接的元数据',
'Toggle': '确定',
'Reset filters': '重置过滤器',
// starred properties
'Quick Access Settings': '快速访问设置',
'Save settings': '保存设置',
// modals
'Add Downloads By URIs': '使用链接下载',
'Download settings': '下载设置',
'Advanced settings': '高级设置',
'Cancel': '取消',
'Start': '开始',
// add torrent modal
'Add Downloads By Torrents': '使用种子下载',
'Select Torrents': '选择种子文件',
'Select a Torrent:': '选择种子文件',
//'Download settings': '',
//'Advanced settings': '',
//'Cancel': '',
//'Start': '',
// add metalink modal
'Add Downloads By Metalinks': '使用磁链下载',
'Select Metalinks': '选择磁链文件',
'Select a Metalinks:': '选择磁链文件',
//'Download settings': '',
//'Advanced settings': '',
//'Cancel': '',
//'Start': '',
// select file modal
'Choose files to start download for': '选择文件开始下载',
'Select to download': '选择下载',
// settings modal
//'Cancel': '',
//'Connection Settings': '',
'Aria2 RPC host and port': 'Aria2 RPC 主机和端口',
'Enter the host:': '主机',
'Enter the port:': '端口',
'Direct Download': '直接下载',
//'Cancel': '',
'Save Connection configuration': '保存网络配置',
// server info modal
'Aria2 server info': 'Aria2 服务器信息',
'Close': '关闭'
// about modal
//'About and contribute': '',
//'Close': '',
};