diff --git a/locales/zh_CN/translations.php b/locales/zh_CN/translations.php index 7af0125..33045b8 100644 --- a/locales/zh_CN/translations.php +++ b/locales/zh_CN/translations.php @@ -2,61 +2,61 @@ return array( 'plural' => function($n) { return 0; }, - // 'attachment' => '', - // 'When there is nothing to read, redirect me to this page' => '', + 'attachment' => '附件', + 'When there is nothing to read, redirect me to this page' => '当无文章可读时,重定向到这个页面', // 'There is nothing new to read, enjoy your favorites articles!' => '', // 'There is nothing new to read, enjoy your previous readings!' => '', - // 'Immediately' => '', - // '(error occurred during the last check)' => '', + 'Immediately' => '立即', + '(error occurred during the last check)' => '(最近一次检查中发生了错误)', // 'The feed id is required' => '', // 'The title is required' => '', // 'The site url is required' => '', // 'The feed url is required' => '', 'or' => '或者', - // 'edit' => '', + 'edit' => '编辑', 'cancel' => '取消', - // 'Feed URL' => '', - // 'Website URL' => '', - // 'Title' => '', - // 'Edit subscription' => '', - // 'Unable to edit your subscription.' => '', - // 'Your subscription has been updated.' => '', - // 'Older items first' => '', - // 'Most recent first' => '', - // 'Default sorting order for items' => '', - // 'This subscription is empty, %sgo back to unread items%s' => '', - // 'sort by date %s(%s)%s' => '', - // 'most recent first' => '', - // 'older first' => '', + 'Feed URL' => '订阅源URL', + 'Website URL' => '网站URL', + 'Title' => '标题', + 'Edit subscription' => '编辑订阅', + 'Unable to edit your subscription.' => '不能编辑你的订阅', + 'Your subscription has been updated.' => '你的订阅已被更新', + 'Older items first' => '从旧到新', + 'Most recent first' => '从新到旧', + 'Default sorting order for items' => '默认条目排序方式', + 'This subscription is empty, %sgo back to unread items%s' => '这个订阅是空的,%s返回未读%s', + 'sort by date %s(%s)%s' => '按时间排序%s(%s)%s', + 'most recent first' => '从新到旧', + 'older first' => '从旧到新', // 'Show only this subscription' => '', - // 'Go to unread' => '', - // 'Go to bookmarks' => '', - // 'Go to history' => '', - // 'Go to subscriptions' => '', - // 'Go to preferences' => '', + 'Go to unread' => '去往未读', + 'Go to bookmarks' => '去往收藏', + 'Go to history' => '去往历史', + 'Go to subscriptions' => '去往订阅', + 'Go to preferences' => '去往设置', // 'Bookmarklet' => '', // 'Subscribe with Miniflux' => '', // 'Drag and drop this link to your bookmarks' => '', - // 'Download full content' => '', - // 'Downloading full content is slower because Miniflux grab the content from the original website. You should use that for subscriptions that display only a summary. This feature doesn\'t work with all websites.' => '', + 'Download full content' => '全文下载', + 'Downloading full content is slower because Miniflux grab the content from the original website. You should use that for subscriptions that display only a summary. This feature doesn\'t work with all websites.' => '全文下载会比较慢,这是因为Miniflux需要从原始网站抓取内容。仅当订阅只显示摘要时,才建议启用该项。此外这项功能并不是对所有网站都有效。', // 'No message' => '', - // 'flush messages' => '', + 'flush messages' => '清空日志', // 'API endpoint:' => '', // 'API username:' => '', // 'API token:' => '', - // 'Generate new tokens' => '', + 'Generate new tokens' => '生成新的tokens', // 'Bookmark RSS Feed' => '', - // 'updated just now' => '', - // 'checked at' => '', - // 'never updated after creation' => '', - // 'Subscription disabled' => '', - // 'content downloaded' => '', - // 'in progress...' => '', - // 'unable to fetch content' => '', - // 'Download content' => '', - // 'download content' => '', + 'updated just now' => '刚刚更新', + 'checked at' => '检查于', + 'never updated after creation' => '自创建后还未更新', + 'Subscription disabled' => '订阅被禁用', + 'content downloaded' => '下载完成', + 'in progress...' => '进行中。。。', + 'unable to fetch content' => '不能抓取文章', + 'Download content' => '下载全文', + 'download content' => '下载全文', 'Help' => '帮助', - // 'Theme' => '', + 'Theme' => '主题', 'Items per page' => '每页条目数', 'Previous page' => '上一页', 'Next page' => '下一页', @@ -80,7 +80,7 @@ return array( 'logout' => '注销', 'Username' => '用户名', 'Password' => '密码', - 'Confirmation' => '确认密码', + 'Confirmation' => '确认', 'Language' => '语言', 'Save' => '保存', 'Database size:' => '数据库大小:', @@ -146,42 +146,42 @@ return array( 'Nothing to read, do you want to %supdate your subscriptions%s?' => '空空如也,你想要%s更新订阅源%s嘛?', 'Show help' => '显示帮助', 'Close help' => '关闭帮助', - // '%d second ago' => '', - // '%d minute ago' => '', - // '%d hour ago' => '', - // '%d day ago' => '', - // '%d week ago' => '', - // '%d month ago' => '', - // 'Timezone' => '', - // 'Update all subscriptions' => '', - // 'Auto-Update URL' => '', - // 'Update Miniflux' => '', - // 'Miniflux is updated!' => '', - // 'Unable to update Miniflux, check the console for errors.' => '', - // 'Don\'t forget to backup your database' => '', - // 'The name must have only alpha-numeric characters' => '', - // 'New database' => '', - // 'Database name' => '', + '%d second ago' => '%d秒前', + '%d minute ago' => '%d分钟前', + '%d hour ago' => '%d 小时前', + '%d day ago' => '%d天前', + '%d week ago' => '%d周前', + '%d month ago' => '%d月前', + 'Timezone' => '时区', + 'Update all subscriptions' => '更新所有的订阅', + 'Auto-Update URL' => '自动更新URL', + 'Update Miniflux' => '更新Miniflux', + 'Miniflux is updated!' => 'Miniflux已被更新!', + 'Unable to update Miniflux, check the console for errors.' => '无法更新Miniflux,检查控制台上的错误', + 'Don\'t forget to backup your database' => '不要忘记备份你的数据库', + 'The name must have only alpha-numeric characters' => '名字只能包含字母和数字', + 'New database' => '新数据库', + 'Database name' => '数据库名', // 'Default database' => '', // 'Select another database' => '', // 'The database name is required' => '', // 'Database created successfully.' => '', // 'Unable to create the new database.' => '', - // 'Add a new database (new user)' => '', - // 'Create' => '', - // 'Unknown' => '', - // 'Remember Me' => '', - // 'Display items on lists' => '', - // 'Summaries' => '', - // 'Full contents' => '', - // 'Force RTL mode (Right-to-left language)' => '', - // 'Activated' => '', - // 'Remove this feed' => '', + 'Add a new database (new user)' => '添加新数据库(新用户)', + 'Create' => '创建', + 'Unknown' => '未知', + 'Remember Me' => '记住我', + 'Display items on lists' => '在列表上显示条目', + 'Summaries' => '摘要', + 'Full contents' => '全文', + 'Force RTL mode (Right-to-left language)' => '开启RTL模式(从左到右书写)', + 'Activated' => '启用', + 'Remove this feed' => '移出这个订阅源', // 'Miniflux' => '', // 'mini%sflux%s' => '', - // 'All' => '', - // 'Advanced' => '', - // 'Documentation' => '', + 'All' => '所有', + 'Advanced' => '高级', + 'Documentation' => '文档', // 'Installation instructions' => '', // 'Upgrade to a new version' => '', // 'Cronjob' => '', @@ -195,20 +195,20 @@ return array( // 'Run Miniflux with Docker' => '', // 'FAQ' => '', // 'settings' => '', - // 'help' => '', - // 'api' => '', - // 'about' => '', - // 'This action will update Miniflux with the last development version, are you sure?' => '', - // 'database' => '', - // 'Console' => '', + 'help' => '帮助', + 'api' => '接口', + 'about' => '关于', + 'This action will update Miniflux with the last development version, are you sure?' => '这个操作将更新Miniflux到最新的开发版,你确认吗?', + 'database' => '数据库', + 'Console' => '控制台', // 'Miniflux API' => '', // 'menu' => '', // 'Default' => '', // 'Value required' => '', // 'Must be an integer' => '', - // 'Remove automatically unread items' => '', - // 'Toggle RTL mode' => '', - // 'external services' => '', + 'Remove automatically unread items' => '自动移出未读条目', + 'Toggle RTL mode' => '切换RTL模式', + 'external services' => '外部服务', // 'Send bookmarks to Pinboard' => '', // 'Pinboard API token' => '', // 'Pinboard tags' => '', @@ -217,29 +217,29 @@ return array( // 'Instapaper' => '', // 'Pinboard' => '', // 'Send bookmarks to Instapaper' => '', - // 'Authentication' => '', - // 'Reading' => '', - // 'Application' => '', - // 'Enable image proxy' => '', + 'Authentication' => '权限', + 'Reading' => '阅读', + 'Application' => '程序', + 'Enable image proxy' => '开启图片代理', // 'Avoid mixed content warnings with HTTPS' => '', - // 'Download favicons' => '', - // 'general' => '', - // 'An error occurred during the last check. Refresh the feed manually and check the %sconsole%s for errors afterwards!' => '', - // 'Refresh interval in minutes for unread counter' => '', - // 'Nothing to show. Enable the debug mode to see log messages.' => '', - // 'Enable debug mode' => '', - // 'Original link marks article as read' => '', + 'Download favicons' => '下载站标', + 'general' => '通用', + 'An error occurred during the last check. Refresh the feed manually and check the %sconsole%s for errors afterwards!' => '在最近一次检查中发生了错误,手动刷新这个订阅源并检查[%s控制台%s]错误信息!', + 'Refresh interval in minutes for unread counter' => '未读计数刷新间隔时间(分钟)', + 'Nothing to show. Enable the debug mode to see log messages.' => '没有可以显示的,开启调试模式以便查看日志', + 'Enable debug mode' => '开启调试模式', + 'Original link marks article as read' => '点击来源链接时,标记已读', // 'Cloak the image referrer' => '', - // 'This subscription already exists.' => '', - // 'Connection timeout.' => '', - // 'Error occured.' => '', + 'This subscription already exists.' => '该订阅已经存在。 ', + 'Connection timeout.' => '连接超时。', + 'Error occured.' => '发生了错误。', // 'Feed is malformed.' => '', // 'Invalid SSL certificate.' => '', // 'Maximum number of HTTP redirections exceeded.' => '', // 'The content size exceeds to maximum allowed size.' => '', // 'Unable to detect the feed format.' => '', - // 'add a new group' => '', - // 'Groups' => '', - // 'Back to the group' => '', - // 'view' => '', + 'add a new group' => '添加一个新分组', + 'Groups' => '分组', + 'Back to the group' => '返回分组', + 'view' => '查看', ); diff --git a/models/config.php b/models/config.php index 7fab692..ca388ab 100644 --- a/models/config.php +++ b/models/config.php @@ -177,6 +177,9 @@ function get_autoflush_unread_options() function get_paging_options() { return array( + 10 => 10, + 20 => 20, + 30 => 30, 50 => 50, 100 => 100, 150 => 150,