Skip to content

Commit

Permalink
add simplified chinese translation
Browse files Browse the repository at this point in the history
  • Loading branch information
hoilc committed May 23, 2017
1 parent be0bcfe commit 6c7cc88
Show file tree
Hide file tree
Showing 8 changed files with 891 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/i18n/en/gen.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@
'nl' => 'Nederlands',
'ru' => 'Русский',
'tr' => 'Türkçe',
'zh-cn' => '简体中文'
),
'menu' => array(
'about' => 'About',
Expand Down
181 changes: 181 additions & 0 deletions app/i18n/zh-cn/admin.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,181 @@
<?php

return array(
'auth' => array(
'allow_anonymous' => '允许匿名阅读默认用户 (%s) 的文章',
'allow_anonymous_refresh' => '允许匿名刷新文章',
'api_enabled' => '允许 <abbr>API</abbr> 访问 <small>(用于手机 APP)</small>',
'form' => 'Web form (传统方式, 需要 JavaScript)',
'http' => 'HTTP (面向启用 HTTPS 的高级用户)',
'none' => '无 (危险)',
'title' => '认证',
'title_reset' => '认证重置',
'token' => '认证口令',
'token_help' => '允许不经认证访问默认用户的 RSS 输出:',
'type' => '认证方式',
'unsafe_autologin' => '允许不安全的自动登陆方式:',
),
'check_install' => array(
'cache' => array(
'nok' => '请检查 <em>./data/cache</em> 目录权限。HTTP 服务器必须有其写入权限。',
'ok' => 'cache 目录权限正常。',
),
'categories' => array(
'nok' => '分类表配置错误。',
'ok' => '分类表正常。',
),
'connection' => array(
'nok' => '数据库连接失败。',
'ok' => '数据库连接正常。',
),
'ctype' => array(
'nok' => '找不到字符类型检测库 (php-ctype) 。',
'ok' => '你已有字符类型检测库 (ctype) 。',
),
'curl' => array(
'nok' => '找不到 cURL 库 (php-curl package) 。',
'ok' => '你已有 cURL 库。',
),
'data' => array(
'nok' => '请检查 <em>./data</em> 目录权限。HTTP 服务器必须有其写入权限。',
'ok' => 'data 目录权限正常。',
),
'database' => '数据库相关',
'dom' => array(
'nok' => '找不到用于浏览 DOM 的库 (php-xml) 。',
'ok' => '你已有用于浏览 DOM 的库。',
),
'entries' => array(
'nok' => '条目表配置错误。',
'ok' => '条目表正常。',
),
'favicons' => array(
'nok' => '请检查 <em>./data/favicons</em> 目录权限。HTTP 服务器必须有其写入权限。',
'ok' => 'favicons 目录权限正常。',
),
'feeds' => array(
'nok' => 'RSS 源表配置错误。',
'ok' => 'RSS 源表正常。',
),
'fileinfo' => array(
'nok' => '找不到 PHP fileinfo 库 (fileinfo) 。',
'ok' => '你已有 fileinfo 库。',
),
'files' => '文件相关',
'json' => array(
'nok' => '找不到 JSON 扩展 (php5-json ) 。',
'ok' => '你已有 JSON 扩展',
),
'minz' => array(
'nok' => '找不到 Minz 框架。',
'ok' => '你已有 Minz 框架。',
),
'pcre' => array(
'nok' => '找不到正则表达式解析库 (php-pcre) 。',
'ok' => '你已有正则表达式解析库 (PCRE) 。',
),
'pdo' => array(
'nok' => '找不到 PDO 或支持的驱动 (pdo_mysql, pdo_sqlite, pdo_pgsql) 。',
'ok' => '你已有 PDO 和支持的至少一种驱动 (pdo_mysql, pdo_sqlite, pdo_pgsql) 。',
),
'php' => array(
'_' => 'PHP 相关',
'nok' => '你的 PHP 版本为 %s,但 FreshRSS 最低需要 %s。',
'ok' => '你的 PHP 版本为 %s,与 FreshRSS 兼容。',
),
'tables' => array(
'nok' => '数据库中缺少一个或多个表。',
'ok' => '数据库中相关表存在。',
),
'title' => '环境检查',
'tokens' => array(
'nok' => '请检查 <em>./data/tokens</em> 目录权限。HTTP 服务器必须有其写入权限。',
'ok' => 'tokens 目录权限正常。',
),
'users' => array(
'nok' => '请检查 <em>./data/users</em> 目录权限。HTTP 服务器必须有其写入权限。',
'ok' => 'users 目录权限正常。',
),
'zip' => array(
'nok' => '找不到 ZIP 扩展 (php-zip) 。',
'ok' => '你已有 ZIP 扩展。',
),
),
'extensions' => array(
'disabled' => '已禁用',
'empty_list' => '没有已安装的扩展',
'enabled' => '已启用',
'no_configure_view' => '此扩展不能配置。',
'system' => array(
'_' => '系统扩展',
'no_rights' => '系统扩展 (你不能修改它)',
),
'title' => '扩展',
'user' => '用户扩展',
),
'stats' => array(
'_' => '统计',
'all_feeds' => '所有 RSS 源',
'category' => '分类',
'entry_count' => '条目数',
'entry_per_category' => '每分类条目数',
'entry_per_day' => '每天条目数 (最近 30 天)',
'entry_per_day_of_week' => '周内每天 (平均: %.2f 条消息)',
'entry_per_hour' => '每小时 (平均: %.2f 条消息)',
'entry_per_month' => '每月 (平均: %.2f 条消息)',
'entry_repartition' => '条目分布',
'feed' => 'RSS 源',
'feed_per_category' => '每分类 RSS 源',
'idle' => '闲置 RSS 源',
'main' => '主要统计',
'main_stream' => '首页',
'menu' => array(
'idle' => '闲置 RSS 源',
'main' => '主要统计',
'repartition' => '文章分布',
),
'no_idle' => '无闲置 RSS 源!',
'number_entries' => '%d 篇文章',
'percent_of_total' => '%%',
'repartition' => '文章分布',
'status_favorites' => '收藏',
'status_read' => '已读',
'status_total' => '总计',
'status_unread' => '未读',
'title' => '统计',
'top_feed' => '前十 RSS 源',
),
'system' => array(
'_' => '系统配置',
'auto-update-url' => '自动升级服务器 URL',
'instance-name' => '实例名称',
'max-categories' => '每用户分类限制',
'max-feeds' => '每用户 RSS 源限制',
'registration' => array(
'help' => '0 表示无账户数限制',
'number' => '最大账户数',
),
),
'update' => array(
'_' => '更新系统',
'apply' => '应用',
'check' => '检查更新',
'current_version' => '当前 FreshRSS 版本为 %s.',
'last' => '上一次检查: %s',
'none' => '没有可用更新',
'title' => '更新系统',
),
'user' => array(
'articles_and_size' => '%s 篇文章 (%s)',
'create' => '创建新用户',
'language' => '语言',
'number' => '已有 %d 个帐户',
'numbers' => '已有 %d 个帐户',
'password_form' => '密码<br /><small>(用于 Web-form 登录方式)</small>',
'password_format' => '至少 7 个字符',
'title' => '用户管理',
'user_list' => '用户列表',
'username' => '用户名',
'users' => '用户',
),
);
173 changes: 173 additions & 0 deletions app/i18n/zh-cn/conf.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,173 @@
<?php

return array(
'archiving' => array(
'_' => '存档',
'advanced' => '高级',
'delete_after' => '文章保留',
'help' => '详细选项位于单独的 RSS 源设置',
'keep_history_by_feed' => '至少保存的文章数',
'optimize' => '优化数据库',
'optimize_help' => '不时地执行优化可以减少数据库大小',
'purge_now' => '立即清除',
'title' => '存档',
'ttl' => '最小自动更新时间',
),
'display' => array(
'_' => '显示',
'icon' => array(
'bottom_line' => '底栏',
'entry' => '文章图标',
'publication_date' => '更新日期',
'related_tags' => '相关标签',
'sharing' => '分享',
'top_line' => '顶栏',
),
'language' => '语言',
'notif_html5' => array(
'seconds' => '秒 (0 表示不超时)',
'timeout' => 'HTML5 通知超时时间',
),
'theme' => '主题',
'title' => '显示',
'width' => array(
'content' => '内容宽度',
'large' => '',
'medium' => '',
'no_limit' => '无限制',
'thin' => '',
),
),
'query' => array(
'_' => '自定义查询',
'deprecated' => '此查询不再有效。相关的分类或 RSS 源已被删除。',
'filter' => '生效的过滤器:',
'get_all' => '显示所有文章',
'get_category' => '显示分类 "%s"',
'get_favorite' => '显示收藏文章',
'get_feed' => '显示RSS 源 "%s"',
'no_filter' => '无过滤器',
'none' => '你未创建任何自定义查询。',
'number' => '查询 n°%d',
'order_asc' => '由旧到新显示文章',
'order_desc' => '由新到旧显示文章',
'search' => '搜索 "%s"',
'state_0' => '显示所有文章',
'state_1' => '显示已读文章',
'state_2' => '显示未读文章',
'state_3' => '显示所有文章',
'state_4' => '显示收藏文章',
'state_5' => '显示已读的收藏文章',
'state_6' => '显示未读的收藏文章',
'state_7' => '显示收藏文章',
'state_8' => '显示未收藏文章',
'state_9' => '显示已读的未收藏文章',
'state_10' => '显示未读的未收藏文章',
'state_11' => '显示未收藏文章',
'state_12' => '显示所有文章',
'state_13' => '显示已读文章',
'state_14' => '显示未读文章',
'state_15' => '显示所有文章',
'title' => '自定义查询',
),
'profile' => array(
'_' => '帐户管理',
'delete' => array(
'_' => '账户删除',
'warn' => '你的帐户和所有相关数据都将被删除。',
),
'password_api' => 'API 密码<br /><small>(例如,用于手机 APP)</small>',
'password_form' => '密码<br /><small>(用于 Web-form 登录方式)</small>',
'password_format' => '至少 7 个字符',
'title' => '用户帐户',
),
'reading' => array(
'_' => '阅读',
'after_onread' => '“全部设为已读”后,',
'articles_per_page' => '每页文章数',
'auto_load_more' => '在页面底部载入下一篇文章',
'auto_remove_article' => '阅读后隐藏文章',
'mark_updated_article_unread' => '将有更新的文章设为未读',
'confirm_enabled' => '“全部设为已读”时显示确认对话框',
'display_articles_unfolded' => '默认展开文章',
'display_categories_unfolded' => '默认展开分类',
'hide_read_feeds' => '隐藏没有未读文章的分类或 RSS 源 (启用“显示所有文章”时不生效))',
'img_with_lazyload' => '使用 "lazy load" 模式加载图片',
'jump_next' => '跳转到下一未读项 (RSS 源或分类)',
'number_divided_when_reader' => '阅读视图除以 2',
'read' => array(
'article_open_on_website' => '在打开原文章后',
'article_viewed' => '在文章被浏览后',
'scroll' => '在滚动浏览后',
'upon_reception' => '在接收文章后',
'when' => '将文章设为已读…',
),
'show' => array(
'_' => '文章显示',
'adaptive' => '智能显示',
'all_articles' => '显示所有文章',
'unread' => '只显示未读',
),
'sort' => array(
'_' => '排列顺序',
'newer_first' => '由新到旧',
'older_first' => '由旧到新',
),
'sticky_post' => '打开文章时将其置顶',
'title' => '阅读',
'view' => array(
'default' => '默认视图',
'global' => '全屏视图',
'normal' => '普通视图',
'reader' => '阅读视图',
),
),
'sharing' => array(
'_' => '分享',
'blogotext' => 'Blogotext',
'diaspora' => 'Diaspora*',
'email' => 'Email',
'facebook' => 'Facebook',
'g+' => 'Google+',
'more_information' => '更多信息',
'print' => '打印',
'shaarli' => 'Shaarli',
'share_name' => '名称',
'share_url' => 'URL',
'title' => '分享',
'twitter' => 'Twitter',
'wallabag' => 'wallabag',
),
'shortcut' => array(
'_' => '快捷键',
'article_action' => '文章操作',
'auto_share' => '分享',
'auto_share_help' => '如果有多种分享模式,则会按照它们的编号访问。',
'close_dropdown' => '关闭菜单',
'collapse_article' => '收起文章',
'first_article' => '跳转到第一篇文章',
'focus_search' => '聚焦到搜索框',
'help' => '显示帮助文档',
'javascript' => '若要使用快捷键,必须启用 JavaScript',
'last_article' => '跳转到最后一篇文章',
'load_more' => '载入更多文章',
'mark_read' => '设为已读',
'mark_favorite' => '加入收藏',
'navigation' => '浏览',
'navigation_help' => '搭配 "Shift" 键,浏览快捷键将生效于 RSS 源。<br/>搭配 "Alt" 键,浏览快捷键将生效于分类。',
'next_article' => '跳转到下一篇文章',
'other_action' => '其他操作',
'previous_article' => '跳转到上一篇文章',
'see_on_website' => '在原网站上查看',
'shift_for_all_read' => '+ <code>shift</code> 可以将全部文章设为已读',
'title' => '快捷键',
'user_filter' => '显示自定义查询',
'user_filter_help' => '如果有多个自定义过滤器,则会按照它们的编号访问。',
),
'user' => array(
'articles_and_size' => '%s 篇文章 (%s)',
'current' => '当前用户',
'is_admin' => '此用户为管理员',
'users' => '用户',
),
);
Loading

0 comments on commit 6c7cc88

Please sign in to comment.