Browse Source

Update i18n/zh-cn (#4509)

* Update i18n/zh-cn

* Update i18n/zh-cn

* Update CREDITS.md

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Aidi Tan 3 years ago
parent
commit
a3a0b2f97a
5 changed files with 43 additions and 43 deletions
  1. 1 1
      CREDITS.md
  2. 21 21
      app/i18n/zh-cn/conf.php
  3. 2 2
      app/i18n/zh-cn/gen.php
  4. 2 2
      app/i18n/zh-cn/index.php
  5. 17 17
      app/i18n/zh-cn/sub.php

+ 1 - 1
CREDITS.md

@@ -12,6 +12,7 @@ People are sorted by name so please keep this order.
 * [4xfu](https://github.com/4xfu): [contributions](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:4xfu)
 * [Adam Stephens](https://github.com/adamcstephens): [contributions](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:adamcstephens)
 * [Adrien Dorsaz](https://github.com/Trim): [contributions](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:Trim), [Web](https://adorsaz.ch/)
+* [Aidi Stan](https://github.com/aidistan): [contributions](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:aidistan), [Web](https://aidistan.site/)
 * [Alexander Steinhöfer](https://github.com/lx-s): [contributions](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:lx-s), [Web](https://lx-s.de/)
 * [Alexandre Alapetite](https://github.com/Alkarex): [contributions](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:Alkarex), [Web](https://alexandre.alapetite.fr/)
 * [Alexis Degrugillier](https://github.com/aledeg): [contributions](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:aledeg)
@@ -177,4 +178,3 @@ People are sorted by name so please keep this order.
 * [xnaas](https://github.com/xnaas): [contributions](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:xnaas), [Web](https://xnaas.info/)
 * [Yamakuni](https://github.com/Yamakuni): [contributions](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:Yamakuni), [Web](https://ofanch.me/)
 * [yzqzss|一座桥在水上](https://github.com/yzqzss): [contributions](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:yzqzss), [Web](https://blog.othing.xyz/)
-

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

@@ -139,45 +139,45 @@ return array(
 		'always_show_favorites' => '默认显示收藏夹中所有的文章',
 		'article' => array(
 			'authors_date' => array(
-				'_' => 'Authors and date',	// TODO
-				'both' => 'In header and footer',	// TODO
-				'footer' => 'In footer',	// TODO
-				'header' => 'In header',	// TODO
-				'none' => 'None',	// TODO
+				'_' => '作者和日期',
+				'both' => '两者都显示',
+				'footer' => '仅页脚显示',
+				'header' => '仅页眉显示',
+				'none' => '不显示',
 			),
 			'feed_name' => array(
-				'above_title' => 'Above title/tags',	// TODO
-				'none' => 'None',	// TODO
-				'with_authors' => 'In authors and date row',	// TODO
+				'above_title' => '在文章标题和标签上方',
+				'none' => '不显示',
+				'with_authors' => '与作者和日期一行',
 			),
-			'feed_title' => 'Feed title',	// TODO
+			'feed_title' => '订阅源标题',
 			'tags' => array(
-				'_' => 'Tags',	// TODO
-				'both' => 'In header and footer',	// TODO
-				'footer' => 'In footer',	// TODO
-				'header' => 'In header',	// TODO
-				'none' => 'None',	// TODO
+				'_' => '文章标签',
+				'both' => '两者都显示',
+				'footer' => '仅页脚显示',
+				'header' => '仅页眉显示',
+				'none' => '不显示',
 			),
 			'tags_max' => array(
-				'_' => 'Max number of tags shown',	// TODO
-				'help' => '0 means: show all tags and do not collapse them',	// TODO
+				'_' => '标签最多显示个数',
+				'help' => '0 标识显示所有标签',
 			),
 		),
 		'articles_per_page' => '每页文章数',
-		'auto_load_more' => '在页面底部载入下一篇文章',
+		'auto_load_more' => '在页面底部载入更多文章',
 		'auto_remove_article' => '阅读后隐藏文章',
 		'confirm_enabled' => '「全部标记为已读」时显示确认对话框',
 		'display_articles_unfolded' => '默认展开显示文章',
 		'display_categories_unfolded' => '展开的分类',
 		'headline' => array(
 			'articles' => '文章:打开/关闭',
-			'articles_header_footer' => 'Articles: header/footer',	// TODO
+			'articles_header_footer' => '文章: 页眉/页脚',
 			'categories' => '左侧导航:分类',
 			'mark_as_read' => '标为已读选项',
 			'misc' => '其它',
 			'view' => '浏览',
 		),
-		'hide_read_feeds' => '隐藏没有未读文章的分类订阅源 (启用「显示所有文章」后不生效)',
+		'hide_read_feeds' => '隐藏没有未读文章的分类订阅源 (启用「显示所有文章」后不生效)',
 		'img_with_lazyload' => '延迟加载图片',
 		'jump_next' => '跳转到下一未读项(订阅源或分类)',
 		'mark_updated_article_unread' => '将更新的文章设为未读',
@@ -187,7 +187,7 @@ return array(
 			'article_viewed' => '在文章被浏览后',
 			'keep_max_n_unread' => '未读最多保留 n 条',
 			'scroll' => '在滚动浏览后',
-			'upon_gone' => 'when it is no longer in the upstream news feed',	// TODO
+			'upon_gone' => '在被原订阅源移除后',
 			'upon_reception' => '在接收文章后',
 			'when' => '何时将文章标记为已读',
 			'when_same_title' => '已存在 n 条相同标题文章',
@@ -222,7 +222,7 @@ return array(
 		'_' => '分享',
 		'add' => '添加分享方式',
 		'blogotext' => 'Blogotext',	// IGNORE
-		'deprecated' => '这项功能已废弃并在将来版本的FreshRSS移除,详情见:<a href="https://freshrss.github.io/FreshRSS/en/users/08_sharing_services.html" title="Open documentation for more information" target="_blank">查看文档</a>.',
+		'deprecated' => '这项功能已废弃并在将来版本的 FreshRSS 中移除,详情请见 <a href="https://freshrss.github.io/FreshRSS/en/users/08_sharing_services.html" title="Open documentation for more information" target="_blank">说明文档</a>.',
 		'diaspora' => 'Diaspora*',	// IGNORE
 		'email' => '邮箱',	// IGNORE
 		'facebook' => '脸书',	// IGNORE

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

@@ -18,7 +18,7 @@ return array(
 		'back_to_rss_feeds' => '← 返回订阅源',
 		'cancel' => '取消',
 		'create' => '创建',
-		'delete_muted_feeds' => 'Delete muted feeds',	// TODO
+		'delete_muted_feeds' => '删除已暂停的订阅源',
 		'demote' => '撤销管理员',
 		'disable' => '禁用',
 		'empty' => '清空',
@@ -32,7 +32,7 @@ return array(
 		'open_url' => '打开链接',
 		'promote' => '设为管理员',
 		'purge' => '清理',
-		'refresh_opml' => 'Refresh OPML',	// TODO
+		'refresh_opml' => '刷新订阅源动态列表',
 		'remove' => '删除',
 		'rename' => '重命名',
 		'see_website' => '网站中查看',

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

@@ -30,7 +30,7 @@ return array(
 		'rss_of' => '%s 的订阅源',
 		'title' => '首页',
 		'title_fav' => '收藏',
-		'title_global' => '全视图',
+		'title_global' => '全视图',
 	),
 	'log' => array(
 		'_' => '日志',
@@ -44,7 +44,7 @@ return array(
 		'before_one_week' => '一周前',
 		'bookmark_query' => '收藏当前查询',
 		'favorites' => '收藏(%s)',
-		'global_view' => '全视图',
+		'global_view' => '全视图',
 		'main_stream' => '首页',
 		'mark_all_read' => '全部设为已读',
 		'mark_cat_read' => '此分类设为已读',

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

@@ -25,12 +25,12 @@ return array(
 		'add' => '添加分类',
 		'archiving' => '归档',
 		'dynamic_opml' => array(
-			'_' => 'Dynamic OPML',	// TODO
-			'help' => 'Provide the URL to an <a href=http://opml.org/ target=_blank>OPML file</a> to dynamically populate this category with feeds',	// TODO
+			'_' => '动态订阅',
+			'help' => '使用地址上的 <a href=http://opml.org/ target=_blank>OPML 文件</a> 中的订阅源填充这一分类',
 		),
 		'empty' => '空分类',
 		'information' => '信息',
-		'opml_url' => 'OPML URL',	// TODO
+		'opml_url' => 'OPML 地址',
 		'position' => '显示位置',
 		'position_help' => '控制分类排列顺序',
 		'title' => '标题',
@@ -58,8 +58,8 @@ return array(
 		'css_help' => '用于获取全文(注意,这将耗费更多时间!)',
 		'css_path' => '原文的 CSS 选择器',
 		'css_path_filter' => array(
-			'_' => 'CSS selector of the elements to remove',	// TODO
-			'help' => 'A CSS selector may be a list such as: <kbd>.footer, .aside</kbd>',	// TODO
+			'_' => '需移除元素的 CSS 选择器',
+			'help' => '可设置多个 CSS 选择器,例如:<kbd>.footer, .aside</kbd>',
 		),
 		'description' => '描述',
 		'empty' => '此源为空。请确认它是否正常更新。',
@@ -76,25 +76,25 @@ return array(
 				'_' => 'HTML + XPath (Web 抓取)',
 				'feed_title' => array(
 					'_' => '提要标题',
-					'help' => '例: <code>//title</code> 或一个静态的字符串: <code>"My custom feed"</code>',
+					'help' => '如 <code>//title</code> 或是静态字符串如 <code>"My custom feed"</code>',
 				),
-				'help' => '<dfn><a href="https://www.w3.org/TR/xpath-10/" target="_blank">XPath 1.0</a></dfn> 是高级用户的标准查询语言,FreshRSS支持XPath以支持Web抓取。',
+				'help' => '<dfn><a href="https://www.w3.org/TR/xpath-10/" target="_blank">XPath 1.0</a></dfn> 是为资深用户准备的标准查询语言,FreshRSS 用以实现 Web 抓取.',
 				'item' => array(
 					'_' => '以寻找 <strong>文章</strong><br /><small>(很重要)</small>',
-					'help' => '例 <code>//div[@class="news-item"]</code>',
+					'help' => '例 <code>//div[@class="news-item"]</code>',
 				),
 				'item_author' => array(
 					'_' => '文章作者',
-					'help' => '也可以是静态字符串。 例: <code>"Anonymous"</code>',
+					'help' => '可以是静态字符串,例如 <code>"Anonymous"</code>',
 				),
 				'item_categories' => '文章标签',
 				'item_content' => array(
 					'_' => '文章内容',
-					'help' => '获取完整项目的示例: <code>.</code>',
+					'help' => '例如使用 <code>.</code> 将整个对象作为文章内容',
 				),
 				'item_thumbnail' => array(
 					'_' => '文章缩略图',
-					'help' => '例 <code>descendant::img/@src</code>',
+					'help' => '例 <code>descendant::img/@src</code>',
 				),
 				'item_timestamp' => array(
 					'_' => '文章日期:',
@@ -102,15 +102,15 @@ return array(
 				),
 				'item_title' => array(
 					'_' => '文章标题',
-					'help' => '特别是用 <a href="https://developer.mozilla.org/docs/Web/XPath/Axes" target="_blank">XPath 轴</a> <code>descendant::</code> <code>descendant::h2</code>',
+					'help' => '注意使用 <a href="https://developer.mozilla.org/docs/Web/XPath/Axes" target="_blank">XPath 轴</a> <code>descendant::</code>,例如 <code>descendant::h2</code>',
 				),
 				'item_uid' => array(
-					'_' => 'item unique ID',	// TODO
-					'help' => 'Optional. Example: <code>descendant::div/@data-uri</code>',	// TODO
+					'_' => '文章唯一标识',
+					'help' => '可选,例如: <code>descendant::div/@data-uri</code>',
 				),
 				'item_uri' => array(
 					'_' => '文章链接 (URL)',
-					'help' => '例 <code>descendant::a/@href</code>',
+					'help' => '例 <code>descendant::a/@href</code>',
 				),
 				'relative' => 'XPath(文章):',
 				'xpath' => 'XPath 定位:',
@@ -121,7 +121,7 @@ return array(
 			'clear_cache' => '清理缓存',
 			'clear_cache_help' => '清除该feed的缓存',
 			'reload_articles' => '重载文章',
-			'reload_articles_help' => '重新加载文章并获取完整内容',	// DIRTY
+			'reload_articles_help' => '重载 n 篇文章并抓取内容(若设置了 CSS 选择器)',
 			'title' => '维护',
 		),
 		'moved_category_deleted' => '删除分类时,其中的订阅源会自动归类到 <em>%s</em>',
@@ -194,7 +194,7 @@ return array(
 		'_' => '订阅管理',
 		'add' => '添加订阅源或分类',
 		'add_category' => '添加分类',
-		'add_dynamic_opml' => 'Add dynamic OPML',	// TODO
+		'add_dynamic_opml' => '添加订阅源动态列表',
 		'add_feed' => '添加订阅源',
 		'add_label' => '添加标签',
 		'delete_label' => '删除标签',