diff options
| author | 2024-04-20 06:03:57 +0800 | |
|---|---|---|
| committer | 2024-04-20 00:03:57 +0200 | |
| commit | 5c33e5191a98c99eb6cdc2c4260aad906d73fdc3 (patch) | |
| tree | f9e823e984ef3dd2881c25e6c6f0cb7429f285c7 /app/i18n/zh-cn/sub.php | |
| parent | 81f6bbf64ecdebe8c47dc520bacf7e093d45e749 (diff) | |
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>
Diffstat (limited to 'app/i18n/zh-cn/sub.php')
| -rw-r--r-- | app/i18n/zh-cn/sub.php | 68 |
1 files changed, 34 insertions, 34 deletions
diff --git a/app/i18n/zh-cn/sub.php b/app/i18n/zh-cn/sub.php index 77f43ca63..376a31b81 100644 --- a/app/i18n/zh-cn/sub.php +++ b/app/i18n/zh-cn/sub.php @@ -67,13 +67,13 @@ return array( 'empty' => '此源为空。请确认它是否正常更新。', 'error' => '此源遇到一些问题。请在确认是否能正常访问后重试。', 'export-as-opml' => array( - 'download' => 'Download', // TODO - 'help' => 'XML file', // TODO - 'label' => 'Export as OPML', // TODO + 'download' => '下载', + 'help' => 'XML 文件', + 'label' => '导出为 OPML', ), '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' => '信息', 'keep_min' => '至少保存的文章数', @@ -127,46 +127,46 @@ return array( 'xpath' => 'XPath 定位:', ), 'json_dotnotation' => array( - '_' => 'JSON (dot notation)', // TODO + '_' => 'JSON (点表达式)', '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( - '_' => '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', // TODO - 'help' => 'Key under which the content is found, e.g. <code>content</code>', // TODO + '_' => '文章内容', + 'help' => '用于找到文章内容的键, 例如 <code>content</code>', ), 'item_thumbnail' => array( - '_' => 'item thumbnail', // TODO - 'help' => 'Example: <code>image</code>', // TODO + '_' => '文章缩略图', + 'help' => '例如: <code>image</code>', ), '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 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 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 (默认)', - 'xml_xpath' => 'XML + XPath', // TODO + 'xml_xpath' => 'XML + XPath', // IGNORE ), 'maintenance' => array( 'clear_cache' => '清理缓存', @@ -178,10 +178,10 @@ return array( 'max_http_redir' => '最大 HTTP 重定向', 'max_http_redir_help' => '设置为 0 或留空以禁用,-1 表示无限重定向', '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>', 'mute' => '暂停', 'no_selected' => '未选择订阅源', @@ -190,7 +190,7 @@ return array( '_' => '可见性', 'archived' => '不显示(归档)', 'category' => '在分类中显示', - 'important' => 'Show in important feeds', // TODO + 'important' => '在“重要的订阅”中显示', 'main_stream' => '在首页中显示', ), 'proxy' => '获取订阅源时的代理', @@ -245,7 +245,7 @@ return array( 'subscription_tools' => '订阅工具', ), 'tag' => array( - 'auto_label' => 'Add this label to new articles', // TODO + 'auto_label' => '给新文章打标签', 'name' => '名称', 'new_name' => '新名称', 'old_name' => '旧名称', @@ -256,7 +256,7 @@ return array( 'add_category' => '添加分类', 'add_dynamic_opml' => '添加订阅源动态列表', 'add_feed' => '添加订阅源', - 'add_label' => '添加标签', + 'add_label' => '打标签', 'delete_label' => '删除标签', 'feed_management' => '订阅源管理', 'rename_label' => '重命名标签', |
