Переглянути джерело

Update zh-cn translations (#5977)

* Add zh-cn translation.

* Update admin.php

* Update conf.php

* Update conf.php

* Update feedback.php

* Update gen.php

* Update sub.php
Zhiyuan Zheng 2 роки тому
батько
коміт
ec7fd382e5

+ 14 - 14
app/i18n/zh-cn/admin.php

@@ -160,8 +160,8 @@ return array(
 		'_' => '系统配置',
 		'auto-update-url' => '自动更新服务器 URL',
 		'base-url' => array(
-			'_' => 'Base URL',	// TODO
-			'recommendation' => 'Automatic recommendation: <kbd>%s</kbd>',	// TODO
+			'_' => '基础 URL',
+			'recommendation' => '推荐: <kbd>%s</kbd>',
 		),
 		'cookie-duration' => array(
 			'help' => '单位:秒',
@@ -187,33 +187,33 @@ return array(
 			),
 			'title' => '用户注册表单',
 		),
-		'sensitive-parameter' => 'Sensitive parameter. Edit manually in <kbd>./data/config.php</kbd>',	// TODO
+		'sensitive-parameter' => '敏感参数。在 <kbd>./data/config.php</kbd> 中手动修改',
 		'tos' => array(
-			'disabled' => 'is not given',	// TODO
-			'enabled' => '<a href="./?a=tos">is enabled</a>',	// TODO
-			'help' => 'How to <a href="https://freshrss.github.io/FreshRSS/en/admins/12_User_management.html#enable-terms-of-service-tos" target="_blank">enable the Terms of Service</a>',	// TODO
+			'disabled' => '没有提供',
+			'enabled' => '<a href="./?a=tos">已启用</a>',
+			'help' => '如何<a href="https://freshrss.github.io/FreshRSS/en/admins/12_User_management.html#enable-terms-of-service-tos" target="_blank">启用服务条款</a>',
 		),
 		'websub' => array(
-			'help' => 'About <a href="https://freshrss.github.io/FreshRSS/en/users/WebSub.html" target="_blank">WebSub</a>',	// TODO
+			'help' => '关于 <a href="https://freshrss.github.io/FreshRSS/en/users/WebSub.html" target="_blank">WebSub</a>',
 		),
 	),
 	'update' => array(
 		'_' => '更新系统',
 		'apply' => '应用',
-		'changelog' => 'Changelog',	// TODO
+		'changelog' => '更新记录',
 		'check' => '检查更新',
-		'copiedFromURL' => 'update.php copied from %s to ./data',	// TODO
+		'copiedFromURL' => '从 %s 复制 update.php 到 ./data',
 		'current_version' => '当前 版本为',
 		'last' => '上次检查',
-		'loading' => 'Updating…',	// TODO
+		'loading' => '更新中...',
 		'none' => '没有可用更新',
 		'releaseChannel' => array(
-			'_' => 'Release channel',	// TODO
-			'edge' => 'Rolling release (“edge”)',	// TODO
-			'latest' => 'Stable release (“latest”)',	// TODO
+			'_' => '发布通道',
+			'edge' => '滚动发布 (“edge”)',
+			'latest' => '稳定版本 (“latest”)',
 		),
 		'title' => '更新系统',
-		'viaGit' => 'Update via git and Github.com started',	// TODO
+		'viaGit' => '开始通过 git and Github.com 更新',
 	),
 	'user' => array(
 		'admin' => '管理员',

+ 13 - 13
app/i18n/zh-cn/conf.php

@@ -33,9 +33,9 @@ return array(
 	'display' => array(
 		'_' => '显示',
 		'darkMode' => array(
-			'_' => 'Automatic dark mode (beta)',	// TODO
-			'auto' => 'Auto',	// TODO
-			'no' => 'No',	// TODO
+			'_' => '自动黑暗模式(测试版)',
+			'auto' => '启动',
+			'no' => '关闭',
 		),
 		'icon' => array(
 			'bottom_line' => '底栏',
@@ -56,8 +56,8 @@ return array(
 		'theme' => array(
 			'_' => '主题',
 			'deprecated' => array(
-				'_' => 'Deprecated',	// TODO
-				'description' => 'This theme is no longer supported and will be not available anymore in a <a href="https://freshrss.github.io/FreshRSS/en/users/05_Configuration.html#theme" target="_blank">future release of FreshRSS</a>',	// TODO
+				'_' => '已弃用',
+				'description' => '这个主题已经不再被支持并且会在<a href="https://freshrss.github.io/FreshRSS/en/users/05_Configuration.html#theme" target="_blank">将来版本的 FreshRSS</a> 中删除',
 			),
 		),
 		'theme_not_available' => '“%s” 主题不再可用,请选择其他主题。',
@@ -68,14 +68,14 @@ return array(
 			'portrait' => '纵向',
 			'square' => '方形',
 		),
-		'timezone' => 'Time zone',	// TODO
+		'timezone' => '时区',
 		'title' => '显示',
 		'website' => array(
-			'full' => 'Icon and name',	// TODO
-			'icon' => 'Icon only',	// TODO
-			'label' => 'Website',	// TODO
-			'name' => 'Name only',	// TODO
-			'none' => 'None',	// TODO
+			'full' => '图标和名称',
+			'icon' => '仅图标',
+			'label' => '网页显示',
+			'name' => '仅名称',
+			'none' => '无',
 		),
 		'width' => array(
 			'content' => '内容宽度',
@@ -204,9 +204,9 @@ return array(
 		'read' => array(
 			'article_open_on_website' => '在打开原文章后',
 			'article_viewed' => '在文章被浏览后',
-			'focus' => 'when focused (except for important feeds)',	// TODO
+			'focus' => '被聚焦时(除了重要订阅)',
 			'keep_max_n_unread' => '未读最多保留 n 条',
-			'scroll' => '在滚动浏览后 (except for important feeds)',	// DIRTY
+			'scroll' => '在滚动浏览后(除了重要订阅)',
 			'upon_gone' => '在被原订阅源被移除后',
 			'upon_reception' => '在接收文章后',
 			'when' => '何时将文章标记为已读',

+ 2 - 2
app/i18n/zh-cn/feedback.php

@@ -57,8 +57,8 @@ return array(
 	),
 	'import_export' => array(
 		'export_no_zip_extension' => '服务器未启用 ZIP 扩展,请尝试逐个导出文件。',
-		'feeds_imported' => '你的订阅源已导入,即将刷新 / Your feeds have been imported. If you are done importing, you can now click the <i>Update feeds</i> button.',	// DIRTY
-		'feeds_imported_with_errors' => '你的订阅源已导入,但发生错误 / Your feeds have been imported, but some errors occurred. If you are done importing, you can now click the <i>Update feeds</i> button.',	// DIRTY
+		'feeds_imported' => '你的订阅源已导入,你可以点击 <i>更新订阅</i> 按钮以完成导入。',
+		'feeds_imported_with_errors' => '你的订阅源已导入,但发生错误。你可以点击 <i>更新订阅</i> 按钮以完成导入。',
 		'file_cannot_be_uploaded' => '文件未能上传!',
 		'no_zip_extension' => '服务器未启用 ZIP 扩展。',
 		'zip_error' => '导入 ZIP 文件时出错',	// DIRTY

+ 1 - 1
app/i18n/zh-cn/gen.php

@@ -178,7 +178,7 @@ return array(
 		'queries' => '自定义查询',
 		'reading' => '阅读',
 		'search' => '搜索内容或#标签',
-		'search_help' => 'See documentation for advanced <a href="https://freshrss.github.io/FreshRSS/en/users/10_filter.html#with-the-search-field" target="_blank">search parameters</a>',	// TODO
+		'search_help' => '查阅文档获取支持的 <a href="https://freshrss.github.io/FreshRSS/en/users/10_filter.html#with-the-search-field" target="_blank">搜索参数</a>',
 		'sharing' => '分享',
 		'shortcuts' => '快捷键',
 		'stats' => '统计',

+ 2 - 2
app/i18n/zh-cn/index.php

@@ -17,7 +17,7 @@ return array(
 		'bugs_reports' => '报告错误',
 		'credits' => '致谢',
 		'credits_content' => '某些设计元素来自于 <a href="http://twitter.github.io/bootstrap/">Bootstrap</a> ,尽管 FreshRSS 并没有使用此框架。<a href="https://gitlab.gnome.org/Archive/gnome-icon-theme-symbolic">图标</a> 来自于 <a href="https://www.gnome.org/">GNOME 项目</a>。<em>Open Sans</em> 字体出自 <a href="https://fonts.google.com/specimen/Open+Sans">Steve Matteson</a> 之手。FreshRSS 基于 PHP 框架 <a href="https://framagit.org/marienfressinaud/MINZ">Minz</a>。',
-		'documentation' => 'Documentation',	// TODO
+		'documentation' => '文档',
 		'freshrss_description' => 'FreshRSS 是一个自托管的 RSS 聚合服务。 它不仅轻快易用,并且强大又易于配置。',
 		'github' => '<a href="https://github.com/FreshRSS/FreshRSS/issues">Github Issues</a>',
 		'license' => '授权',
@@ -45,7 +45,7 @@ return array(
 		'bookmark_query' => '收藏当前查询',
 		'favorites' => '收藏(%s)',
 		'global_view' => '全局视图',
-		'important' => 'Important feeds',	// TODO
+		'important' => '重要的订阅',
 		'main_stream' => '首页',
 		'mark_all_read' => '全部设为已读',
 		'mark_cat_read' => '此分类设为已读',

+ 2 - 2
app/i18n/zh-cn/sub.php

@@ -68,7 +68,7 @@ return array(
 		'error' => '此源遇到一些问题。请在确认是否能正常访问后重试。',
 		'filteractions' => array(
 			'_' => '过滤动作',
-			'help' => '每行写一条过滤搜索 Operators <a href="https://freshrss.github.io/FreshRSS/en/users/10_filter.html#with-the-search-field" target="_blank">see documentation</a>.',	// DIRTY
+			'help' => '每行写一条过滤搜索,过滤条件可见 <a href="https://freshrss.github.io/FreshRSS/en/users/10_filter.html#with-the-search-field" target="_blank">文档</a>。',
 		),
 		'information' => '信息',
 		'keep_min' => '至少保存的文章数',
@@ -145,7 +145,7 @@ return array(
 			'main_stream' => '在首页中显示',
 		),
 		'proxy' => '获取订阅源时的代理',
-		'proxy_help' => '选择协议(例:SOCKS5)和代理地址(例:<kbd>127.0.0.1:1080</kbd> or <kbd>username:password@127.0.0.1:1080</kbd>)',	// DIRTY
+		'proxy_help' => '选择协议(例:SOCKS5)和代理地址(例:<kbd>127.0.0.1:1080</kbd> 或者 <kbd>username:password@127.0.0.1:1080</kbd>)',
 		'selector_preview' => array(
 			'show_raw' => '显示源码',
 			'show_rendered' => '显示内容',