Sfoglia il codice sorgente

i18n: update zh-cn translation (#6336)

* i18n: update zh-cn translation

* minor edit

* fix translations syntax

* fix translations syntax: use tab

* better translation

* clarify how Content-Type header auto-set works

* fix a mistranslation discovered by comparing #6335

Co-authored-by: <nanhualyq@gmail.com>

---------

Co-authored-by: maTh <1645099+math-GH@users.noreply.github.com>
yzqzss 1 anno fa
parent
commit
5c33e5191a

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

@@ -19,8 +19,8 @@ return array(
 		'http' => 'HTTP(面向启用 HTTPS 的高级用户)',
 		'http' => 'HTTP(面向启用 HTTPS 的高级用户)',
 		'none' => '无(危险)',
 		'none' => '无(危险)',
 		'title' => '认证',
 		'title' => '认证',
-		'token' => 'Master authentication token',	// TODO
-		'token_help' => 'Allows access to all RSS outputs of the user as well as refreshing feeds without authentication:',	// TODO
+		'token' => '主验证 token',
+		'token_help' => '允许不验证而访问用户的全部 RSS 输出以及刷新订阅源:',
 		'type' => '认证方式',
 		'type' => '认证方式',
 		'unsafe_autologin' => '允许不安全的自动登陆方式:',
 		'unsafe_autologin' => '允许不安全的自动登陆方式:',
 	),
 	),

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

@@ -16,8 +16,8 @@ return array(
 		'exception' => '清理例外',
 		'exception' => '清理例外',
 		'help' => '更多可用选项位于各订阅源的设置',
 		'help' => '更多可用选项位于各订阅源的设置',
 		'keep_favourites' => '永不删除已收藏的文章',
 		'keep_favourites' => '永不删除已收藏的文章',
-		'keep_labels' => '永不删除标签',
-		'keep_max' => '最多保留的文章数',	// DIRTY
+		'keep_labels' => '永不删除打了标签的文章',
+		'keep_max' => '每订阅源最多保留的文章数',
 		'keep_min_by_feed' => '至少保留的文章数',
 		'keep_min_by_feed' => '至少保留的文章数',
 		'keep_period' => '文章最多保留',
 		'keep_period' => '文章最多保留',
 		'keep_unreads' => '永不删除未读文章',
 		'keep_unreads' => '永不删除未读文章',
@@ -120,20 +120,20 @@ return array(
 			'feeds' => '按订阅源显示',
 			'feeds' => '按订阅源显示',
 			'order' => '按日期排序',
 			'order' => '按日期排序',
 			'search' => '表达式',
 			'search' => '表达式',
-			'shareOpml' => 'Enable sharing by OPML of corresponding categories and feeds',	// TODO
-			'shareRss' => 'Enable sharing by HTML &amp; RSS',	// TODO
+			'shareOpml' => '启用相应类别和 feed 的 OPML 分享',
+			'shareRss' => '启用 HTML 和 RSS 分享',
 			'state' => '状态',
 			'state' => '状态',
 			'tags' => '按标签显示',
 			'tags' => '按标签显示',
 			'type' => '类型',
 			'type' => '类型',
 		),
 		),
 		'get_all' => '显示所有文章',
 		'get_all' => '显示所有文章',
-		'get_all_labels' => 'Display articles with any label',	// TODO
-		'get_category' => '显示分类 “%s”',
+		'get_all_labels' => '显示所有打了标签的文章',
+		'get_category' => '显示分类“%s”',
 		'get_favorite' => '显示收藏文章',
 		'get_favorite' => '显示收藏文章',
-		'get_feed' => '显示订阅源 “%s”',
-		'get_important' => 'Display articles from important feeds',	// TODO
-		'get_label' => 'Display articles with “%s” label',	// TODO
-		'help' => 'See the <a href="https://freshrss.github.io/FreshRSS/en/users/user_queries.html" target="_blank">documentation for user queries and resharing by HTML / RSS / OPML</a>.',	// TODO
+		'get_feed' => '显示订阅源“%s”',
+		'get_important' => '显示来自“重要的订阅”的文章',
+		'get_label' => '显示打了“%s”标签的文章',
+		'help' => '参见文档: <a href="https://freshrss.github.io/FreshRSS/en/users/user_queries.html" target="_blank">queries and resharing by HTML / RSS / OPML</a>.',
 		'name' => '名称',
 		'name' => '名称',
 		'no_filter' => '无过滤器',
 		'no_filter' => '无过滤器',
 		'number' => '查询 n°%d',
 		'number' => '查询 n°%d',
@@ -141,11 +141,11 @@ return array(
 		'order_desc' => '由新至旧显示文章',
 		'order_desc' => '由新至旧显示文章',
 		'search' => '搜索 “%s”',
 		'search' => '搜索 “%s”',
 		'share' => array(
 		'share' => array(
-			'_' => 'Share this query by link',	// TODO
-			'help' => 'Give this link if you want to share this query with anyone',	// TODO
-			'html' => 'Shareable link to the HTML page',	// TODO
-			'opml' => 'Shareable link to the OPML list of feeds',	// TODO
-			'rss' => 'Shareable link to the RSS feed',	// TODO
+			'_' => '分享您的自定义查询',
+			'help' => '获取此自定义查询的分享链接',
+			'html' => 'HTML 页面的分享链接',
+			'opml' => '订阅源 OPML 的分享链接',
+			'rss' => 'RSS feed 的分享链接',
 		),
 		),
 		'state_0' => '显示所有文章',
 		'state_0' => '显示所有文章',
 		'state_1' => '显示已读文章',
 		'state_1' => '显示已读文章',

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

@@ -115,11 +115,11 @@ return array(
 		'purge_completed' => '清除完成(已删除 %d 篇文章)',
 		'purge_completed' => '清除完成(已删除 %d 篇文章)',
 	),
 	),
 	'tag' => array(
 	'tag' => array(
-		'created' => '标签 “%s” 已创建。',
-		'error' => 'Label could not be updated!',	// TODO
+		'created' => '标签“%s”已创建。',
+		'error' => '标签无法被更新!',
 		'name_exists' => '标签名已存在。',
 		'name_exists' => '标签名已存在。',
-		'renamed' => '标签 “%s” 已被重命名为 “%s”。',
-		'updated' => 'Label has been updated.',	// TODO
+		'renamed' => '标签“%s”已被重命名为“%s”。',
+		'updated' => '标签已更新。',
 	),
 	),
 	'update' => array(
 	'update' => array(
 		'can_apply' => 'FreshRSS 将更新到 <strong>版本 %s</strong>。',
 		'can_apply' => 'FreshRSS 将更新到 <strong>版本 %s</strong>。',

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

@@ -134,7 +134,7 @@ return array(
 			'request_failed' => '请求失败,这可能是因为网络连接问题。',
 			'request_failed' => '请求失败,这可能是因为网络连接问题。',
 			'title_new_articles' => 'FreshRSS: 新文章!',
 			'title_new_articles' => 'FreshRSS: 新文章!',
 		),
 		),
-		'labels_empty' => 'No labels',	// TODO
+		'labels_empty' => '无标签',
 		'new_article' => '发现新文章,点击刷新页面。',
 		'new_article' => '发现新文章,点击刷新页面。',
 		'should_be_activated' => '必须启用 JavaScript',
 		'should_be_activated' => '必须启用 JavaScript',
 	),
 	),
@@ -177,7 +177,7 @@ return array(
 		'logs' => '日志',
 		'logs' => '日志',
 		'queries' => '自定义查询',
 		'queries' => '自定义查询',
 		'reading' => '阅读',
 		'reading' => '阅读',
-		'search' => '搜索内容或#标签',
+		'search' => '搜索内容或#文章标签',
 		'search_help' => '查阅文档获取支持的 <a href="https://freshrss.github.io/FreshRSS/en/users/10_filter.html#with-the-search-field" target="_blank">搜索参数</a>',
 		'search_help' => '查阅文档获取支持的 <a href="https://freshrss.github.io/FreshRSS/en/users/10_filter.html#with-the-search-field" target="_blank">搜索参数</a>',
 		'sharing' => '分享',
 		'sharing' => '分享',
 		'shortcuts' => '快捷键',
 		'shortcuts' => '快捷键',

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

@@ -67,13 +67,13 @@ return array(
 		'empty' => '此源为空。请确认它是否正常更新。',
 		'empty' => '此源为空。请确认它是否正常更新。',
 		'error' => '此源遇到一些问题。请在确认是否能正常访问后重试。',
 		'error' => '此源遇到一些问题。请在确认是否能正常访问后重试。',
 		'export-as-opml' => array(
 		'export-as-opml' => array(
-			'download' => 'Download',	// TODO
-			'help' => 'XML file',	// TODO
-			'label' => 'Export as OPML',	// TODO
+			'download' => '下载',
+			'help' => 'XML 文件',
+			'label' => '导出为 OPML',
 		),
 		),
 		'filteractions' => array(
 		'filteractions' => array(
 			'_' => '过滤动作',
 			'_' => '过滤动作',
-			'help' => '每行写一条过滤搜索,过滤条件可见 <a href="https://freshrss.github.io/FreshRSS/en/users/10_filter.html#with-the-search-field" target="_blank">文档</a>。',
+			'help' => '每行写一条过滤规则,过滤规则可见 <a href="https://freshrss.github.io/FreshRSS/en/users/10_filter.html#with-the-search-field" target="_blank">文档</a>。',
 		),
 		),
 		'information' => '信息',
 		'information' => '信息',
 		'keep_min' => '至少保存的文章数',
 		'keep_min' => '至少保存的文章数',
@@ -127,46 +127,46 @@ return array(
 				'xpath' => 'XPath 定位:',
 				'xpath' => 'XPath 定位:',
 			),
 			),
 			'json_dotnotation' => array(
 			'json_dotnotation' => array(
-				'_' => 'JSON (dot notation)',	// TODO
+				'_' => 'JSON (点表达式)',
 				'feed_title' => array(
 				'feed_title' => array(
-					'_' => 'feed title',	// TODO
-					'help' => 'Example: <code>meta.title</code> or a static string: <code>"My custom feed"</code>',	// TODO
+					'_' => '订阅源标题',
+					'help' => '例如: <code>meta.title</code> 或一个静态的字符串: <code>"My custom feed"</code>',
 				),
 				),
-				'help' => 'A JSON dot notated uses dots between objects and brackets for arrays (e.g. <code>data.items[0].title</code>)',	// TODO
+				'help' => 'JSON 点表达式(JSON 路径)在对象之间使用点,在数组中使用中括号 (例如 <code>data.items[0].title</code>)',
 				'item' => array(
 				'item' => array(
-					'_' => 'finding news <strong>items</strong><br /><small>(most important)</small>',	// TODO
-					'help' => 'JSON path to the array containing the items, e.g. <code>newsItems</code>',	// TODO
+					'_' => '寻找新的 <strong>文章</strong><br /><small>(最重要的参数)</small>',
+					'help' => '包含文章数组的 JSON 路径, 例如 <code>newsItems</code>',
 				),
 				),
-				'item_author' => 'item author',	// TODO
-				'item_categories' => 'item tags',	// TODO
+				'item_author' => '文章作者',
+				'item_categories' => '文章标签',
 				'item_content' => array(
 				'item_content' => array(
-					'_' => 'item content',	// TODO
-					'help' => 'Key under which the content is found, e.g. <code>content</code>',	// TODO
+					'_' => '文章内容',
+					'help' => '用于找到文章内容的键, 例如 <code>content</code>',
 				),
 				),
 				'item_thumbnail' => array(
 				'item_thumbnail' => array(
-					'_' => 'item thumbnail',	// TODO
-					'help' => 'Example: <code>image</code>',	// TODO
+					'_' => '文章缩略图',
+					'help' => '例如: <code>image</code>',
 				),
 				),
 				'item_timeFormat' => array(
 				'item_timeFormat' => array(
-					'_' => 'Custom date/time format',	// TODO
-					'help' => 'Optional. A format supported by <a href="https://php.net/datetime.createfromformat" target="_blank"><code>DateTime::createFromFormat()</code></a> such as <code>d-m-Y H:i:s</code>',	// TODO
+					'_' => '自定义时间格式',
+					'help' => '可选项. 被 <a href="https://php.net/datetime.createfromformat" target="_blank"><code>DateTime::createFromFormat()</code></a> 支持的日期格式。例如 <code>d-m-Y H:i:s</code>',
 				),
 				),
 				'item_timestamp' => array(
 				'item_timestamp' => array(
-					'_' => 'item date',	// TODO
-					'help' => 'The result will be parsed by <a href="https://php.net/strtotime" target="_blank"><code>strtotime()</code></a>',	// TODO
+					'_' => '文章时间',
+					'help' => '结果会被 <a href="https://php.net/strtotime" target="_blank"><code>strtotime()</code></a> 解析',
 				),
 				),
-				'item_title' => 'item title',	// TODO
-				'item_uid' => 'item unique ID',	// TODO
+				'item_title' => '文章标题',
+				'item_uid' => '文章唯一ID',
 				'item_uri' => array(
 				'item_uri' => array(
-					'_' => 'item link (URL)',	// TODO
-					'help' => 'Example: <code>permalink</code>',	// TODO
+					'_' => '文章链接 (URL)',
+					'help' => '例如: <code>permalink</code>',
 				),
 				),
-				'json' => 'dot notation for:',	// TODO
-				'relative' => 'dot notated path (relative to item) for:',	// TODO
+				'json' => 'JSON 路径:',
+				'relative' => 'JSON 路径(相对于文章):',
 			),
 			),
-			'jsonfeed' => 'JSON Feed',	// TODO
+			'jsonfeed' => 'JSON 订阅源',
 			'rss' => 'RSS / Atom (默认)',
 			'rss' => 'RSS / Atom (默认)',
-			'xml_xpath' => 'XML + XPath',	// TODO
+			'xml_xpath' => 'XML + XPath',	// IGNORE
 		),
 		),
 		'maintenance' => array(
 		'maintenance' => array(
 			'clear_cache' => '清理缓存',
 			'clear_cache' => '清理缓存',
@@ -178,10 +178,10 @@ return array(
 		'max_http_redir' => '最大 HTTP 重定向',
 		'max_http_redir' => '最大 HTTP 重定向',
 		'max_http_redir_help' => '设置为 0 或留空以禁用,-1 表示无限重定向',
 		'max_http_redir_help' => '设置为 0 或留空以禁用,-1 表示无限重定向',
 		'method' => array(
 		'method' => array(
-			'_' => 'HTTP Method',	// TODO
+			'_' => 'HTTP 方式',
 		),
 		),
-		'method_help' => 'The POST payload has automatic support for <code>application/x-www-form-urlencoded</code> and <code>application/json</code>',	// TODO
-		'method_postparams' => 'Payload for POST',	// TODO
+		'method_help' => '如果荷载非空且是合法的 JSON,HTTP 请求标头将被自动设为 <code>application/json</code>,否则使用 <code>application/x-www-form-urlencoded</code>',
+		'method_postparams' => 'POST 荷载',
 		'moved_category_deleted' => '删除分类时,其中的订阅源会自动归类到 <em>%s</em>',
 		'moved_category_deleted' => '删除分类时,其中的订阅源会自动归类到 <em>%s</em>',
 		'mute' => '暂停',
 		'mute' => '暂停',
 		'no_selected' => '未选择订阅源',
 		'no_selected' => '未选择订阅源',
@@ -190,7 +190,7 @@ return array(
 			'_' => '可见性',
 			'_' => '可见性',
 			'archived' => '不显示(归档)',
 			'archived' => '不显示(归档)',
 			'category' => '在分类中显示',
 			'category' => '在分类中显示',
-			'important' => 'Show in important feeds',	// TODO
+			'important' => '在“重要的订阅”中显示',
 			'main_stream' => '在首页中显示',
 			'main_stream' => '在首页中显示',
 		),
 		),
 		'proxy' => '获取订阅源时的代理',
 		'proxy' => '获取订阅源时的代理',
@@ -245,7 +245,7 @@ return array(
 		'subscription_tools' => '订阅工具',
 		'subscription_tools' => '订阅工具',
 	),
 	),
 	'tag' => array(
 	'tag' => array(
-		'auto_label' => 'Add this label to new articles',	// TODO
+		'auto_label' => '给新文章打标签',
 		'name' => '名称',
 		'name' => '名称',
 		'new_name' => '新名称',
 		'new_name' => '新名称',
 		'old_name' => '旧名称',
 		'old_name' => '旧名称',
@@ -256,7 +256,7 @@ return array(
 		'add_category' => '添加分类',
 		'add_category' => '添加分类',
 		'add_dynamic_opml' => '添加订阅源动态列表',
 		'add_dynamic_opml' => '添加订阅源动态列表',
 		'add_feed' => '添加订阅源',
 		'add_feed' => '添加订阅源',
-		'add_label' => '添加标签',
+		'add_label' => '标签',
 		'delete_label' => '删除标签',
 		'delete_label' => '删除标签',
 		'feed_management' => '订阅源管理',
 		'feed_management' => '订阅源管理',
 		'rename_label' => '重命名标签',
 		'rename_label' => '重命名标签',