فهرست منبع

i18n: complete Simplified Chinese (zh-CN) translations (#9633)

* i18n: complete Simplified Chinese translations

* make fix-all

---------

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
yztutu 6 ساعت پیش
والد
کامیت
cc9f03e654
9فایلهای تغییر یافته به همراه53 افزوده شده و 53 حذف شده
  1. 1 1
      README.fr.md
  2. 1 1
      README.md
  3. 5 5
      app/i18n/zh-CN/admin.php
  4. 15 15
      app/i18n/zh-CN/conf.php
  5. 4 4
      app/i18n/zh-CN/gen.php
  6. 6 6
      app/i18n/zh-CN/index.php
  7. 12 12
      app/i18n/zh-CN/install.php
  8. 8 8
      app/i18n/zh-CN/sub.php
  9. 1 1
      app/i18n/zh-CN/user.php

+ 1 - 1
README.fr.md

@@ -265,7 +265,7 @@ Voir le [dépôt dédié à ces extensions](https://github.com/FreshRSS/Extensio
 | Slovenčina (sk) | ■■■■■■■■・・ 80% | [contribuer](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fsk+%2F%28TODO%7CDIRTY%29%28+-+.%2A%29%3F%24%2F) |
 | Türkçe (tr) | ■■■■■■■■■・ 99% | [contribuer](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Ftr+%2F%28TODO%7CDIRTY%29%28+-+.%2A%29%3F%24%2F) |
 | Українська (uk) | ■■■■■■■■■・ 97% | [contribuer](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fuk+%2F%28TODO%7CDIRTY%29%28+-+.%2A%29%3F%24%2F) |
-| 简体中文 (zh-CN) | ■■■■■■■■■・ 95% | [contribuer](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fzh-CN+%2F%28TODO%7CDIRTY%29%28+-+.%2A%29%3F%24%2F) |
+| 简体中文 (zh-CN) | ■■■■■■■■■■ 100% | [contribuer](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fzh-CN+%2F%28TODO%7CDIRTY%29%28+-+.%2A%29%3F%24%2F) |
 | 正體中文 (zh-TW) | ■■■■■■■■■■ 100% | [contribuer](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fzh-TW+%2F%28TODO%7CDIRTY%29%28+-+.%2A%29%3F%24%2F) |
 
 </translations>

+ 1 - 1
README.md

@@ -161,7 +161,7 @@ See the [repository dedicated to those extensions](https://github.com/FreshRSS/E
 | Slovenčina (sk) | ■■■■■■■■・・ 80% | [contribute](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fsk+%2F%28TODO%7CDIRTY%29%28+-+.%2A%29%3F%24%2F) |
 | Türkçe (tr) | ■■■■■■■■■・ 99% | [contribute](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Ftr+%2F%28TODO%7CDIRTY%29%28+-+.%2A%29%3F%24%2F) |
 | Українська (uk) | ■■■■■■■■■・ 97% | [contribute](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fuk+%2F%28TODO%7CDIRTY%29%28+-+.%2A%29%3F%24%2F) |
-| 简体中文 (zh-CN) | ■■■■■■■■■・ 95% | [contribute](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fzh-CN+%2F%28TODO%7CDIRTY%29%28+-+.%2A%29%3F%24%2F) |
+| 简体中文 (zh-CN) | ■■■■■■■■■■ 100% | [contribute](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fzh-CN+%2F%28TODO%7CDIRTY%29%28+-+.%2A%29%3F%24%2F) |
 | 正體中文 (zh-TW) | ■■■■■■■■■■ 100% | [contribute](https://github.com/search?q=repo%3AFreshRSS%2FFreshRSS+path%3Aapp%2Fi18n%2Fzh-TW+%2F%28TODO%7CDIRTY%29%28+-+.%2A%29%3F%24%2F) |
 
 </translations>

+ 5 - 5
app/i18n/zh-CN/admin.php

@@ -83,21 +83,21 @@ return array(
 			'_' => '基础 URL',
 			'recommendation' => '推荐: <kbd>%s</kbd>',
 		),
-		'closed_registration_message' => 'Message if registrations are closed',	// TODO
+		'closed_registration_message' => '注册关闭时显示的消息',
 		'cookie-duration' => array(
 			'help' => '单位:秒',
 			'number' => '保持登录的时长',
 		),
-		'default_closed_registration_message' => 'This server does not accept new registrations at the moment.',	// TODO
+		'default_closed_registration_message' => '此服务器目前不接受新注册。',
 		'force_email_validation' => '强制验证邮箱地址',
 		'instance-name' => '实例名称',
 		'internal-host-allowlist' => array(
-			'_' => 'Internal host allowlist',	// TODO
-			'help' => 'One entry per line:<ul><li>A <code>host:port</code>. For instance <code>127.0.0.1:8080</code> or <code>rss-bridge:80</code></li><li>A CIDR notation. For instance <code>0.0.0.0/0</code> to allow any IPv4, <code>::/0</code> to allow any IPv6</li><li>A <code>*</code> to allow any host (unsafe)</li></ul>',	// TODO
+			'_' => '内部主机白名单',
+			'help' => '每行一条:<ul><li><code>主机:端口</code>,例如 <code>127.0.0.1:8080</code> 或 <code>rss-bridge:80</code></li><li>CIDR 表示法,例如 <code>0.0.0.0/0</code> 表示允许所有 IPv4,<code>::/0</code> 表示允许所有 IPv6</li><li><code>*</code> 表示允许任何主机(不安全)</li></ul>',
 		),
 		'max-categories' => '各用户分类数限制',
 		'max-feeds' => '各用户订阅源数限制',
-		'override-by-env-var' => 'This setting is set by the environment variable <kbd>%s</kbd>.',	// TODO
+		'override-by-env-var' => '此设置由环境变量 <kbd>%s</kbd> 设定。',
 		'registration' => array(
 			'number' => '最大用户数',
 			'select' => array(

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

@@ -69,7 +69,7 @@ return array(
 			'help' => '仅适用于兼容性主题',
 			'no' => '关闭',
 		),
-		'display_enclosures' => 'Show enclosures',	// TODO
+		'display_enclosures' => '显示附件',
 		'headline' => array(
 			'articles_header_footer' => '文章: 页眉/页脚',
 		),
@@ -91,13 +91,13 @@ return array(
 		'show_nav_buttons' => '显示导航按钮',
 		'show_title_unread' => '在标题中显示未读文章的数量',
 		'show_unread_count' => array(
-			'_' => 'Show unread counts in sidebar',	// TODO
-			'all' => 'For all categories and feeds',	// TODO
-			'important' => 'For important feeds only',	// TODO
-			'important_locked' => 'Important feeds always show their unread count.',	// TODO
-			'none' => 'Never',	// TODO
+			'_' => '在侧边栏显示未读数',
+			'all' => '针对所有分类和订阅源',
+			'important' => '仅针对重要订阅源',
+			'important_locked' => '重要订阅源始终显示其未读数。',
+			'none' => '从不',
 		),
-		'sidebar_hidden_by_default' => 'Hide sidebar by default',	// TODO
+		'sidebar_hidden_by_default' => '默认隐藏侧边栏',
 		'theme' => array(
 			'_' => '主题',
 			'deprecated' => array(
@@ -165,7 +165,7 @@ return array(
 	'privacy' => array(
 		'_' => '隐私',
 		'retrieve_extension_list' => '获取扩展列表',
-		'send_referrer_allowlist' => 'Sites allowed to see your server address (%s)',	// TODO
+		'send_referrer_allowlist' => '允许查看你的服务器地址的站点(%s)',
 	),
 	'profile' => array(
 		'_' => '账户管理',
@@ -177,7 +177,7 @@ return array(
 			'disabled' => 'API 访问已禁用。',
 			'documentation_link' => '查看 <a href="https://freshrss.github.io/FreshRSS/en/users/06_Mobile_access.html#access-via-mobile-app" target="_blank">文档和已知应用列表</a>',
 			'help' => '查看 <a href="https://freshrss.github.io/FreshRSS/en/users/06_Mobile_access.html#access-via-mobile-app" target=_blank>文档</a>',
-			'security_warning' => 'Use HTTPS. The API password is transmitted in clear text and may appear in server logs if sent via GET.',	// TODO
+			'security_warning' => '请使用 HTTPS。API 密码以明文传输,若通过 GET 发送,可能会出现在服务器日志中。',
 		),
 		'change_password' => '修改密码',
 		'confirm_new_password' => '确认新密码',
@@ -194,16 +194,16 @@ return array(
 	),
 	'query' => array(
 		'_' => '自定义查询',
-		'create' => 'Create new user query',	// TODO
+		'create' => '创建新的用户查询',
 		'deprecated' => '此查询不再有效。相关的分类或订阅源已被删除。',
 		'description' => '描述',
 		'filter' => array(
 			'_' => '生效的过滤器:',
 			'categories' => '按分类显示',
 			'feeds' => '按订阅源显示',
-			'include_article_tags_label' => 'Include article tags from feeds',	// TODO
-			'include_user_labels_label' => 'Include user labels, with prefix:',	// TODO
-			'order' => 'Sort by',	// TODO
+			'include_article_tags_label' => '包含订阅源中的文章标签',
+			'include_user_labels_label' => '包含用户标签,前缀为:',
+			'order' => '排序方式',
 			'search' => '表达式',
 			'shareOpml' => '启用相应类别和 feed 的 OPML 分享',
 			'shareRss' => '启用 HTML 和 RSS 分享',
@@ -287,7 +287,7 @@ return array(
 			'upon_gone' => '在被原订阅源被移除后',
 			'upon_reception' => '在接收文章后',
 			'when' => '何时将文章标记为已读',
-			'when_same_guid_in_category' => 'if an identical GUID already exists in the top <i>n</i> newest articles of the category',	// TODO
+			'when_same_guid_in_category' => '如果该分类最新的前 <i>n</i> 篇文章中已存在相同的 GUID',
 			'when_same_title_in_category' => '如果分类中已经存在相同标题的最新 <i>n</i> 篇文章',
 			'when_same_title_in_feed' => '如果订阅源中已经存在相同标题的最新 <i>n</i> 篇文章',
 		),
@@ -311,7 +311,7 @@ return array(
 		'sticky_sort' => '导航时保持手动排序',
 		'sticky_sort_help' => '决定保持最近一次手动排序,还是让每个分类或订阅源始终使用各自的默认或全局设置。',
 		'title' => '阅读',
-		'title_opens_website' => 'Clicking on the article title opens it on its original website',	// TODO
+		'title_opens_website' => '点击文章标题时在原网站打开',
 		'view' => array(
 			'default' => '默认视图',
 			'global' => '全屏视图',

+ 4 - 4
app/i18n/zh-CN/gen.php

@@ -43,7 +43,7 @@ return array(
 		'open_url' => '打开链接',
 		'promote' => '设为管理员',
 		'purge' => '清理',
-		'read_in_freshrss' => 'Read in FreshRSS',	// TODO
+		'read_in_freshrss' => '在 FreshRSS 中阅读',
 		'refresh_opml' => '刷新订阅源动态列表',
 		'remove' => '删除',
 		'rename' => '重命名',
@@ -74,7 +74,7 @@ return array(
 		),
 		'username' => array(
 			'_' => '用户名',
-			'format' => '<small>1-39 characters: letters, digits, and <code>. _ @ -</code></small>',	// TODO
+			'format' => '<small>1-39 个字符:字母、数字和 <code>. _ @ -</code></small>',
 		),
 	),
 	'date' => array(
@@ -201,7 +201,7 @@ return array(
 		'it' => 'Italiano',	// IGNORE
 		'ja' => '日本語',	// IGNORE
 		'ko' => '한국어',	// IGNORE
-		'lt' => 'Lietuvių',	// TODO
+		'lt' => 'Lietuvių',	// IGNORE
 		'lv' => 'Latviešu',	// IGNORE
 		'nl' => 'Nederlands',	// IGNORE
 		'oc' => 'Occitan',	// IGNORE
@@ -258,7 +258,7 @@ return array(
 		'categories' => '类别',
 		'content' => '内容',
 		'date_from' => '从',
-		'date_modified' => 'Server Modification Date',	// TODO
+		'date_modified' => '服务器修改日期',
 		'date_past' => '过去',	// DIRTY - In the past
 		'date_published' => '发布日期',
 		'date_range' => '日期范围',

+ 6 - 6
app/i18n/zh-CN/index.php

@@ -85,14 +85,14 @@ return array(
 		'rss_view' => '订阅源',
 		'search_short' => '搜索',
 		'sort' => array(
-			'asc' => 'Ascending',	// TODO
+			'asc' => '升序',
 			'c' => array(
 				'name_asc' => '分类、订阅源标题 A→Z',
 				'name_desc' => '分类、订阅源标题 Z→A',
 			),
 			'date_asc' => '发布日期 1→9',
 			'date_desc' => '发布日期 9→1',
-			'desc' => 'Descending',	// TODO
+			'desc' => '降序',
 			'f' => array(
 				'name_asc' => '订阅源标题 A→Z',
 				'name_desc' => '订阅源标题 Z→A',
@@ -104,13 +104,13 @@ return array(
 			'link_asc' => '链接 A→Z',
 			'link_desc' => '链接 Z→A',
 			'primary' => array(
-				'_' => 'Sorting criterion',	// TODO
-				'help' => 'Sorting by <em>received</em> date is recommended in most cases, for consistency and performance',	// TODO
+				'_' => '排序标准',
+				'help' => '大多数情况下推荐按<em>接收</em>日期排序,以保证一致性和性能',
 			),
 			'rand' => '随机顺序',
 			'secondary' => array(
-				'_' => 'Secondary sorting criterion',	// TODO
-				'help' => 'Only relevant when the primary sorting criterion is categories or feeds titles',	// TODO
+				'_' => '次要排序标准',
+				'help' => '仅当主要排序标准为分类或订阅源标题时才相关',
 			),
 			'title_asc' => '标题 A→Z',
 			'title_desc' => '标题 Z→A',

+ 12 - 12
app/i18n/zh-CN/install.php

@@ -51,21 +51,21 @@ return array(
 			'ok' => 'data 目录权限正常',
 		),
 		'database-connection' => array(
-			'nok' => 'Database connection error.',	// TODO
-			'ok' => 'Database connection is good.',	// TODO
+			'nok' => '数据库连接错误。',
+			'ok' => '数据库连接正常。',
 		),
 		'database-table' => array(
-			'nok' => 'Database table "%s" is incomplete.',	// TODO
-			'ok' => 'Database table "%s" is good.',	// TODO
+			'nok' => '数据库表 "%s" 不完整。',
+			'ok' => '数据库表 "%s" 正常。',
 		),
 		'database-tables' => array(
-			'nok' => 'Some database tables are missing.',	// TODO
-			'ok' => 'All database tables exist.',	// TODO
+			'nok' => '缺少部分数据库表。',
+			'ok' => '所有数据库表都存在。',
 		),
-		'database-title' => 'Database',	// TODO
+		'database-title' => '数据库',
 		'docroot' => array(
-			'nok' => 'Your web server document root does not seem to point to the <code>./p/</code> folder. Other folders such as <code>./data/</code> may be publicly accessible.',	// TODO
-			'ok' => 'Your web server document root correctly points to the <code>./p/</code> folder.',	// TODO
+			'nok' => '你的 Web 服务器文档根目录似乎没有指向 <code>./p/</code> 文件夹。<code>./data/</code> 等其他文件夹可能会被公开访问。',
+			'ok' => '你的 Web 服务器文档根目录正确指向 <code>./p/</code> 文件夹。',
 		),
 		'dom' => array(
 			'nok' => '找不到用于浏览 DOM 的库(php-xml 包)',
@@ -81,8 +81,8 @@ return array(
 		),
 		'files' => '文件相关',
 		'gmp' => array(
-			'nok' => 'Cannot find the required GMP extension for 32-bit PHP (php-gmp package).',	// TODO
-			'ok' => 'You have the GMP extension required for 32-bit PHP.',	// TODO
+			'nok' => '找不到 32 位 PHP 所需的 GMP 扩展(php-gmp 软件包)。',
+			'ok' => '你已安装 32 位 PHP 所需的 GMP 扩展。',
 		),
 		'intl' => array(
 			'nok' => '无法找到推荐用于国际化支持的 php-intl 扩展。',
@@ -149,7 +149,7 @@ return array(
 	'congratulations' => '恭喜!',
 	'default_user' => array(
 		'_' => '默认用户名',
-		'max_char' => '1-39 characters: letters, digits, and <code>. _ @ -</code>',	// TODO
+		'max_char' => '1-39 个字符:字母、数字和 <code>. _ @ -</code>',
 	),
 	'fix_errors_before' => '请在继续下一步前修复错误',
 	'javascript_is_better' => '启用 JavaScript 会使 FreshRSS 工作得更好',

+ 8 - 8
app/i18n/zh-CN/sub.php

@@ -29,7 +29,7 @@ return array(
 			'help' => '使用 URL 上的 <a href="https://opml.org/" target="_blank">OPML 文件</a> 中的订阅源填充这一分类',
 		),
 		'empty' => '空分类',
-		'error' => 'This dynamic OPML category has encountered a problem. Check that the OPML URL is still reachable and that the maximum number of feeds per user has not been exceeded.',	// TODO
+		'error' => '此动态 OPML 分类遇到了问题。请检查 OPML URL 是否仍可访问,以及是否已超过每位用户的订阅源数量上限。',
 		'expand' => '展开分类',
 		'information' => '信息',
 		'open' => '打开分类',
@@ -83,12 +83,12 @@ return array(
 			'help' => '每行写一条过滤规则,过滤规则可见 <a href="https://freshrss.github.io/FreshRSS/en/users/10_filter.html#with-the-search-field" target="_blank">文档</a>。',
 			'view_filter' => '在现有文章上预览过滤器(新窗口)',
 		),
-		'global_hint' => 'Use <a href="%s">the global view</a> to see how many articles in each feed are matching a state or a search expression',	// TODO
+		'global_hint' => '使用<a href="%s">全局视图</a>查看每个订阅源中有多少篇文章符合某个状态或搜索表达式',
 		'http_headers' => 'HTTP 头部',
 		'http_headers_help' => '头部之间用换行符分隔,头部名称和值用冒号分隔(例如:<kbd><code>Accept: application/atom+xml<br />Authorization: Bearer some-token</code></kbd>)。',
 		'icon' => '图标',
 		'information' => '信息',
-		'keep_adding_feed' => 'Then add more feeds',	// TODO
+		'keep_adding_feed' => '然后继续添加更多订阅源',
 		'keep_min' => '至少保存的文章数',
 		'kind' => array(
 			'_' => '订阅源类型',
@@ -188,10 +188,10 @@ return array(
 			'rss' => 'RSS / Atom (默认)',
 			'xml_xpath' => 'XML + XPath',	// IGNORE
 		),
-		'last-entry-publication-date' => 'Last article published <time datetime="%1$s" title="%1$s">%2$s</time>.',	// TODO
-		'last-entry-received-date' => 'Last article received <time datetime="%1$s" title="%1$s">%2$s</time>.',	// TODO
-		'last-error-date' => 'Last erroneous update <time datetime="%1$s" title="%1$s">%2$s</time>.',	// TODO
-		'last-update' => 'Last successful update <time datetime="%1$s" title="%1$s">%2$s</time>.',	// TODO
+		'last-entry-publication-date' => '最近发表的文章 <time datetime="%1$s" title="%1$s">%2$s</time>。',
+		'last-entry-received-date' => '最近接收的文章 <time datetime="%1$s" title="%1$s">%2$s</time>。',
+		'last-error-date' => '最近一次出错的更新 <time datetime="%1$s" title="%1$s">%2$s</time>。',
+		'last-update' => '最近一次成功更新 <time datetime="%1$s" title="%1$s">%2$s</time>。',
 		'maintenance' => array(
 			'clear_cache' => '清理缓存',
 			'clear_cache_help' => '清除该feed的缓存',
@@ -266,7 +266,7 @@ return array(
 		'validator' => '检查订阅源有效性',
 		'website' => '网站地址',
 		'websub' => 'WebSub 即时通知',
-		'websub_pending' => 'Subscribed to WebSub. Waiting for the first notification.',	// TODO
+		'websub_pending' => '已订阅 WebSub,等待第一条通知。',
 	),
 	'import_export' => array(
 		'export' => array(

+ 1 - 1
app/i18n/zh-CN/user.php

@@ -41,7 +41,7 @@ return array(
 	),
 	'password' => array(
 		'invalid' => '无效密码',
-		'provided_password_too_long' => 'The provided password is too long.',	// TODO
+		'provided_password_too_long' => '提供的密码太长。',
 	),
 	'tos' => array(
 		'feedback' => array(