Skip to content

Commit

Permalink
[i18n] Add ignore/zh-cn and update simplified Chinese translation (Fr…
Browse files Browse the repository at this point in the history
…eshRSS#1769)

* update Simplified Chinese translation

* update the description of buttons FreshRSS#1766

* trim space to pass PHPCS
  • Loading branch information
hoilc authored and mdemoss committed Mar 25, 2021
1 parent aae63da commit 8db2162
Show file tree
Hide file tree
Showing 6 changed files with 75 additions and 34 deletions.
14 changes: 7 additions & 7 deletions app/i18n/zh-cn/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,13 +112,13 @@
),
'title' => '扩展',
'user' => '用户扩展',
'community' => 'Available community extensions', // @todo translate
'name' => 'Name', // @todo translate
'version' => 'Version', // @todo translate
'description' => 'Description', // @todo translate
'author' => 'Author', // @todo translate
'latest' => 'Installed', // @todo translate
'update' => 'Update available', // @todo translate
'community' => '可用的社区扩展',
'name' => '名称',
'version' => '版本',
'description' => '描述',
'author' => '作者',
'latest' => '已安装',
'update' => '更新可用',
),
'stats' => array(
'_' => '统计',
Expand Down
10 changes: 5 additions & 5 deletions app/i18n/zh-cn/conf.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
'collapse_article' => '收起文章',
'first_article' => '跳转到第一篇文章',
'focus_search' => '聚焦到搜索框',
'global_view' => 'Switch to global view', // TODO
'global_view' => '切换到全屏视图',
'help' => '显示帮助文档',
'javascript' => '若要使用快捷键,必须启用 JavaScript',
'last_article' => '跳转到最后一篇文章',
Expand All @@ -158,17 +158,17 @@
'navigation' => '浏览',
'navigation_help' => '搭配 "Shift" 键,浏览快捷键将生效于 RSS 源。<br/>搭配 "Alt" 键,浏览快捷键将生效于分类。',
'next_article' => '跳转到下一篇文章',
'normal_view' => 'Switch to normal view', // TODO
'normal_view' => '切换到普通视图',
'other_action' => '其他操作',
'previous_article' => '跳转到上一篇文章',
'reading_view' => 'Switch to reading view', // TODO
'rss_view' => 'Open RSS view in a new tab', // TODO
'reading_view' => '切换到阅读视图',
'rss_view' => '在新标签中打开 RSS 视图',
'see_on_website' => '在原网站上查看',
'shift_for_all_read' => '+ <code>shift</code> 可以将全部文章设为已读',
'title' => '快捷键',
'user_filter' => '显示自定义查询',
'user_filter_help' => '如果有多个自定义过滤器,则会按照它们的编号依次访问。',
'views' => 'Views', // TODO
'views' => '视图',
),
'user' => array(
'articles_and_size' => '%s 篇文章 (%s)',
Expand Down
28 changes: 14 additions & 14 deletions app/i18n/zh-cn/gen.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,18 +42,18 @@
),
),
'date' => array(
'Apr' => '\\A\\p\\r\\i\\l',
'Aug' => '\\A\\u\\g\\u\\s\\t',
'Dec' => '\\D\\e\\c\\e\\m\\b\\e\\r',
'Feb' => '\\F\\e\\b\\r\\u\\a\\r\\y',
'Jan' => '\\J\\a\\n\\u\\a\\r\\y',
'Jul' => '\\J\\u\\l\\y',
'Jun' => '\\J\\u\\n\\e',
'Mar' => '\\M\\a\\r\\c\\h',
'May' => '\\M\\a\\y',
'Nov' => '\\N\\o\\v\\e\\m\\b\\e\\r',
'Oct' => '\\O\\c\\t\\o\\b\\e\\r',
'Sep' => '\\S\\e\\p\\t\\e\\m\\b\\e\\r',
'Apr' => '\\\\',
'Aug' => '\\\\',
'Dec' => '\\\\\\',
'Feb' => '\\\\',
'Jan' => '\\\\',
'Jul' => '\\\\',
'Jun' => '\\\\',
'Mar' => '\\\\',
'May' => '\\\\',
'Nov' => '\\\\\\',
'Oct' => '\\\\',
'Sep' => '\\\\',
'apr' => '四月',
'april' => '四月',
'aug' => '八月',
Expand Down Expand Up @@ -159,7 +159,7 @@
'previous' => '上一页',
),
'share' => array(
'Known' => 'Known based sites',
'Known' => '基于 Known 的站点',
'blogotext' => 'Blogotext',
'diaspora' => 'Diaspora*',
'email' => 'Email',
Expand All @@ -169,7 +169,7 @@
'jdh' => 'Journal du hacker',
'mastodon' => 'Mastodon',
'movim' => 'Movim',
'print' => 'Print',
'print' => '打印',
'shaarli' => 'Shaarli',
'twitter' => 'Twitter',
'wallabag' => 'wallabag v1',
Expand Down
8 changes: 4 additions & 4 deletions app/i18n/zh-cn/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,18 +41,18 @@
'mark_cat_read' => '此分类设为已读',
'mark_feed_read' => '此源设为已读',
'newer_first' => '由新到旧',
'non-starred' => '不显示收藏',
'non-starred' => '显示未收藏',
'normal_view' => '普通视图',
'older_first' => '由旧到新',
'queries' => '自定义查询',
'read' => '只显示已读',
'read' => '显示已读',
'reader_view' => '阅读视图',
'rss_view' => 'RSS 源',
'search_short' => '搜索',
'starred' => '只显示收藏',
'starred' => '显示收藏',
'stats' => '统计',
'subscription' => '订阅管理',
'unread' => '只显示未读',
'unread' => '显示未读',
),
'share' => '分享',
'tag' => array(
Expand Down
8 changes: 4 additions & 4 deletions app/i18n/zh-cn/sub.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@
'informations' => '信息',
'keep_history' => '至少保存的文章数',
'moved_category_deleted' => '删除分类时,其中的 RSS 源会自动归类到 <em>%s</em>',
'mute' => 'mute', // TODO
'mute' => '暂停',
'no_selected' => '未选择 RSS 源。',
'number_entries' => '%d 篇文章',
'priority' => array(
'_' => 'Visibility', // TODO
'archived' => 'Do not show (archived)', // TODO
'_' => '可见性',
'archived' => '不显示 (存档)',
'main_stream' => '在首页中显示',
'normal' => 'Show in its category', // TODO
'normal' => '在分类中显示',
),
'stats' => '统计',
'think_to_add' => '你可以添加一些 RSS 源。',
Expand Down
41 changes: 41 additions & 0 deletions cli/i18n/ignore/zh-cn.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<?php

return array(
'conf.sharing.blogotext',
'conf.sharing.diaspora',
'conf.sharing.email',
'conf.sharing.facebook',
'conf.sharing.g+',
'conf.sharing.shaarli',
'conf.sharing.twitter',
'conf.sharing.wallabag',
'gen.lang.cz',
'gen.lang.de',
'gen.lang.en',
'gen.lang.es',
'gen.lang.fr',
'gen.lang.he',
'gen.lang.it',
'gen.lang.kr',
'gen.lang.nl',
'gen.lang.pt-br',
'gen.lang.ru',
'gen.lang.tr',
'gen.lang.zh-cn',
'gen.share.blogotext',
'gen.share.diaspora',
'gen.share.email',
'gen.share.facebook',
'gen.share.g+',
'gen.share.gnusocial',
'gen.share.jdh',
'gen.share.mastodon',
'gen.share.movim',
'gen.share.shaarli',
'gen.share.twitter',
'gen.share.wallabag',
'gen.share.wallabagv2',
'index.about.agpl3',
'sub.api.title',
'gen.freshrss._',
);

0 comments on commit 8db2162

Please sign in to comment.