diff --git a/inc/theme-core.php b/inc/theme-core.php index 6b4e832..859ee6f 100644 --- a/inc/theme-core.php +++ b/inc/theme-core.php @@ -46,20 +46,22 @@ function theme_autoload() wp_enqueue_style('fontawesome', ASSET_PATH . '/assets/css/fontawesome.min.css', array(), '5.13.0'); } wp_enqueue_style('kratos', ASSET_PATH . '/assets/css/kratos.min.css', array(), THEME_VERSION); - $admin_bar_css = " - @media screen and (max-width: 782px) { - .k-nav{ - padding-top: 46px; + if (kratos_option('g_adminbar', true)) { + $admin_bar_css = " + @media screen and (max-width: 782px) { + .k-nav{ + padding-top: 46px; + } } - } - @media screen and (min-width: 782px) { - .k-nav{ - padding-top: 32px; + @media screen and (min-width: 782px) { + .k-nav{ + padding-top: 32px; + } + } + "; + if (current_user_can('level_10')) { + wp_add_inline_style('kratos', $admin_bar_css); } - } - "; - if (current_user_can('level_10')) { - wp_add_inline_style('kratos', $admin_bar_css); } wp_enqueue_style('custom', get_template_directory_uri() . '/custom/custom.css', array(), THEME_VERSION); // js @@ -85,8 +87,10 @@ function theme_autoload() } add_action('wp_enqueue_scripts', 'theme_autoload'); -// 禁用 Admin Bar -// add_filter('show_admin_bar', '__return_false'); +// Admin Bar +if (! kratos_option('g_adminbar', true)) { + add_filter('show_admin_bar', '__return_false'); +} // 移除自动保存、修订版本 remove_action('post_updated', 'wp_save_post_revision'); diff --git a/inc/theme-options.php b/inc/theme-options.php index fc68a52..5bc2ba5 100644 --- a/inc/theme-options.php +++ b/inc/theme-options.php @@ -72,6 +72,14 @@ function kratos_options() 'type' => 'color', ); + $options[] = array( + 'name' => __('前台管理员导航', 'kratos'), + 'desc' => __('开启前台管理员导航', 'kratos'), + 'std' => '1', + 'id' => 'g_adminbar', + 'type' => 'checkbox', + ); + $options[] = array( 'name' => __('CSS 动画库', 'kratos'), 'desc' => __('开启 animate.css 效果', 'kratos'), diff --git a/languages/kratos.pot b/languages/kratos.pot index c9cd719..2f39866 100644 --- a/languages/kratos.pot +++ b/languages/kratos.pot @@ -3,14 +3,14 @@ msgid "" msgstr "" "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" "Project-Id-Version: Kratos\n" -"POT-Creation-Date: 2020-07-29 11:37+0800\n" +"POT-Creation-Date: 2020-08-10 15:23+0800\n" "PO-Revision-Date: 2020-02-14 23:32+0800\n" "Last-Translator: \n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 2.3.1\n" +"X-Generator: Poedit 2.4\n" "X-Poedit-Basepath: ..\n" "X-Poedit-Flags-xgettext: --add-comments=translators:\n" "X-Poedit-WPHeader: style.css\n" @@ -74,11 +74,11 @@ msgstr "" msgid "提交评论" msgstr "" -#: footer.php:27 +#: footer.php:27 inc/theme-widgets.php:81 msgid "搜点什么呢?" msgstr "" -#: header.php:74 inc/theme-options.php:470 +#: header.php:76 inc/theme-options.php:478 msgid "一款专注于用户阅读体验的响应式博客主题" msgstr "" @@ -164,18 +164,22 @@ msgid "问题反馈:" msgstr "" #: inc/options-framework/includes/class-options-interface.php:243 +msgid "常见问题:" +msgstr "" + +#: inc/options-framework/includes/class-options-interface.php:244 msgid "更新日志:" msgstr "" -#: inc/options-framework/includes/class-options-interface.php:245 +#: inc/options-framework/includes/class-options-interface.php:246 msgid "讨论交流" msgstr "" -#: inc/options-framework/includes/class-options-interface.php:247 +#: inc/options-framework/includes/class-options-interface.php:248 msgid "版权声明" msgstr "" -#: inc/options-framework/includes/class-options-interface.php:248 +#: inc/options-framework/includes/class-options-interface.php:249 msgid "" "主题源码使用 MIT 协议 进行许可,说明文档使用 进行许可。" msgstr "" -#: inc/options-framework/includes/class-options-interface.php:249 +#: inc/options-framework/includes/class-options-interface.php:250 msgid "打赏支持" msgstr "" -#: inc/options-framework/includes/class-options-interface.php:255 +#: inc/options-framework/includes/class-options-interface.php:256 msgid "测试邮件" msgstr "" @@ -229,7 +233,7 @@ msgstr "" msgid "描述" msgstr "" -#: inc/theme-article.php:397 inc/theme-options.php:204 +#: inc/theme-article.php:397 inc/theme-options.php:212 msgid "关键词" msgstr "" @@ -237,19 +241,19 @@ msgstr "" msgid "SEO 设置" msgstr "" -#: inc/theme-core.php:63 +#: inc/theme-core.php:80 msgid "您已经赞过了" msgstr "" -#: inc/theme-core.php:64 +#: inc/theme-core.php:81 msgid "感谢您的支持" msgstr "" -#: inc/theme-core.php:65 +#: inc/theme-core.php:82 msgid "打赏作者" msgstr "" -#: inc/theme-core.php:66 +#: inc/theme-core.php:83 msgid "扫码支付" msgstr "" @@ -289,11 +293,11 @@ msgstr "" msgid "知识共享署名-非商业性使用-相同方式共享 4.0 国际许可协议" msgstr "" -#: inc/theme-options.php:42 inc/theme-options.php:453 +#: inc/theme-options.php:42 inc/theme-options.php:461 msgid "图片导航" msgstr "" -#: inc/theme-options.php:43 inc/theme-options.php:445 +#: inc/theme-options.php:43 inc/theme-options.php:453 msgid "颜色导航" msgstr "" @@ -326,484 +330,492 @@ msgid "全站页面的背景颜色,需填写十六进制颜色码" msgstr "" #: inc/theme-options.php:76 -msgid "CSS 动画库" +msgid "前台管理员导航" msgstr "" #: inc/theme-options.php:77 -msgid "开启 animate.css 效果" +msgid "开启前台管理员导航" msgstr "" #: inc/theme-options.php:84 -msgid "Font Awesome" +msgid "CSS 动画库" msgstr "" #: inc/theme-options.php:85 -msgid "开启 Font Awesome 字体" +msgid "开启 animate.css 效果" msgstr "" #: inc/theme-options.php:92 -msgid "静态资源加速" +msgid "Font Awesome" msgstr "" #: inc/theme-options.php:93 -msgid "开启静态资源加速(CSS、JS、Font)" +msgid "开启 Font Awesome 字体" msgstr "" #: inc/theme-options.php:100 -msgid "禁止生成缩略图" +msgid "静态资源加速" msgstr "" #: inc/theme-options.php:101 -msgid "是否禁止生成多种尺寸图片资源" +msgid "开启静态资源加速(CSS、JS、Font)" msgstr "" #: inc/theme-options.php:108 -msgid "媒体资源托管" +msgid "禁止生成缩略图" msgstr "" #: inc/theme-options.php:109 -msgid "是否将媒体资源托管到 DogeCloud 存储" +msgid "是否禁止生成多种尺寸图片资源" msgstr "" #: inc/theme-options.php:116 +msgid "媒体资源托管" +msgstr "" + +#: inc/theme-options.php:117 +msgid "是否将媒体资源托管到 DogeCloud 存储" +msgstr "" + +#: inc/theme-options.php:124 msgid "存储空间名称" msgstr "" -#: inc/theme-options.php:123 +#: inc/theme-options.php:131 msgid "加速域名" msgstr "" -#: inc/theme-options.php:125 +#: inc/theme-options.php:133 msgid "例如:https://cdn.xxx.com" msgstr "" -#: inc/theme-options.php:131 +#: inc/theme-options.php:139 msgid "AccessKey" msgstr "" -#: inc/theme-options.php:138 +#: inc/theme-options.php:146 msgid "SecretKey" msgstr "" -#: inc/theme-options.php:145 +#: inc/theme-options.php:153 msgid "Gutenberg 编辑器" msgstr "" -#: inc/theme-options.php:146 +#: inc/theme-options.php:154 msgid "开启 Gutenberg 编辑器" msgstr "" -#: inc/theme-options.php:153 +#: inc/theme-options.php:161 msgid "Gravatar 加速" msgstr "" -#: inc/theme-options.php:154 +#: inc/theme-options.php:162 msgid "开启 Gravatar 头像加速" msgstr "" -#: inc/theme-options.php:161 +#: inc/theme-options.php:169 msgid "Chrome 导航栏颜色" msgstr "" -#: inc/theme-options.php:162 +#: inc/theme-options.php:170 msgid "Chrome 移动端浏览器导航栏的颜色" msgstr "" -#: inc/theme-options.php:169 inc/theme-options.php:327 +#: inc/theme-options.php:177 inc/theme-options.php:335 msgid "微信二维码" msgstr "" -#: inc/theme-options.php:170 +#: inc/theme-options.php:178 msgid "开启页面右下角浮动微信二维码" msgstr "" -#: inc/theme-options.php:184 +#: inc/theme-options.php:192 msgid "404 页面图片" msgstr "" -#: inc/theme-options.php:191 +#: inc/theme-options.php:199 msgid "收录配置" msgstr "" -#: inc/theme-options.php:196 +#: inc/theme-options.php:204 msgid "分享图片" msgstr "" -#: inc/theme-options.php:197 +#: inc/theme-options.php:205 msgid "搜索引擎或者社交工具分享首页时抓取的图片" msgstr "" -#: inc/theme-options.php:205 +#: inc/theme-options.php:213 msgid "每个关键词之间需要用「英文逗号」分割" msgstr "" -#: inc/theme-options.php:211 +#: inc/theme-options.php:219 msgid "站点描述" msgstr "" -#: inc/theme-options.php:217 +#: inc/theme-options.php:225 msgid "统计代码" msgstr "" -#: inc/theme-options.php:218 +#: inc/theme-options.php:226 msgid "注意:输入 HTML/JS 代码时请注意辨别代码安全!" msgstr "" -#: inc/theme-options.php:224 +#: inc/theme-options.php:232 msgid "robots.txt 配置" msgstr "" -#: inc/theme-options.php:225 +#: inc/theme-options.php:233 msgid "- 需要 " msgstr "" -#: inc/theme-options.php:225 +#: inc/theme-options.php:233 msgid " 是开启的状态,下面的配置才会生效" msgstr "" -#: inc/theme-options.php:230 +#: inc/theme-options.php:238 msgid "- 如果网站根目录下已经有 robots.txt 文件,下面的配置不会生效" msgstr "" -#: inc/theme-options.php:235 +#: inc/theme-options.php:243 msgid "- 点击 " msgstr "" -#: inc/theme-options.php:235 +#: inc/theme-options.php:243 msgid " 查看配置是否生效,如果网站开启了 CDN,可能需要刷新缓存才会生效" msgstr "" -#: inc/theme-options.php:246 +#: inc/theme-options.php:254 msgid "首页配置" msgstr "" -#: inc/theme-options.php:251 +#: inc/theme-options.php:259 msgid "哀悼功能" msgstr "" -#: inc/theme-options.php:252 +#: inc/theme-options.php:260 msgid "开启站点首页黑白功能(用于R.I.P.)" msgstr "" -#: inc/theme-options.php:258 +#: inc/theme-options.php:266 msgid "特色图片" msgstr "" -#: inc/theme-options.php:259 +#: inc/theme-options.php:267 msgid "开启站点首页特色图片功能" msgstr "" -#: inc/theme-options.php:266 +#: inc/theme-options.php:274 msgid "默认特色图" msgstr "" -#: inc/theme-options.php:267 +#: inc/theme-options.php:275 msgid "当文章中没有图片并且没有设置特色图时在首页显示" msgstr "" -#: inc/theme-options.php:275 +#: inc/theme-options.php:283 msgid "无内容图片" msgstr "" -#: inc/theme-options.php:276 +#: inc/theme-options.php:284 msgid "当搜索不到文章或文章分类中没有文章时显示" msgstr "" -#: inc/theme-options.php:283 +#: inc/theme-options.php:291 msgid "文章配置" msgstr "" -#: inc/theme-options.php:288 +#: inc/theme-options.php:296 msgid "知识共享协议" msgstr "" -#: inc/theme-options.php:289 +#: inc/theme-options.php:297 msgid "开启文章知识共享协议" msgstr "" -#: inc/theme-options.php:295 +#: inc/theme-options.php:303 msgid "选择文章的知识共享协议" msgstr "" -#: inc/theme-options.php:304 +#: inc/theme-options.php:312 msgid "网易云音乐" msgstr "" -#: inc/theme-options.php:305 +#: inc/theme-options.php:313 msgid "开启网易云音乐自动播放" msgstr "" -#: inc/theme-options.php:311 +#: inc/theme-options.php:319 msgid "文章打赏" msgstr "" -#: inc/theme-options.php:312 +#: inc/theme-options.php:320 msgid "开启文章页面打赏功能" msgstr "" -#: inc/theme-options.php:318 +#: inc/theme-options.php:326 msgid "支付宝二维码" msgstr "" -#: inc/theme-options.php:336 +#: inc/theme-options.php:344 msgid "页面布局" msgstr "" -#: inc/theme-options.php:337 +#: inc/theme-options.php:345 msgid "是否显示侧边栏小工具(默认显示侧边栏),仅在文章页面生效" msgstr "" -#: inc/theme-options.php:347 +#: inc/theme-options.php:355 msgid "站长配置" msgstr "" -#: inc/theme-options.php:352 +#: inc/theme-options.php:360 msgid "个人头像" msgstr "" -#: inc/theme-options.php:359 +#: inc/theme-options.php:367 msgid "个人昵称" msgstr "" -#: inc/theme-options.php:366 inc/theme-widgets.php:137 +#: inc/theme-options.php:374 inc/theme-widgets.php:178 msgid "个人简介" msgstr "" -#: inc/theme-options.php:367 inc/theme-widgets.php:154 +#: inc/theme-options.php:375 inc/theme-widgets.php:195 #: pages/page-toolbar.php:13 msgid "保持饥渴的专注,追求最佳的品质" msgstr "" -#: inc/theme-options.php:373 +#: inc/theme-options.php:381 msgid "邮件配置" msgstr "" -#: inc/theme-options.php:378 +#: inc/theme-options.php:386 msgid "SMTP 服务" msgstr "" -#: inc/theme-options.php:379 +#: inc/theme-options.php:387 msgid "开启 SMTP 服务功能" msgstr "" -#: inc/theme-options.php:385 +#: inc/theme-options.php:393 msgid "邮件服务器" msgstr "" -#: inc/theme-options.php:386 +#: inc/theme-options.php:394 msgid "填写发件服务器地址" msgstr "" -#: inc/theme-options.php:393 +#: inc/theme-options.php:401 msgid "服务器端口" msgstr "" -#: inc/theme-options.php:394 +#: inc/theme-options.php:402 msgid "填写发件服务器端口" msgstr "" -#: inc/theme-options.php:401 +#: inc/theme-options.php:409 msgid "授权方式" msgstr "" -#: inc/theme-options.php:402 -msgid "填写登录鉴权的方式" -msgstr "" - -#: inc/theme-options.php:409 -msgid "邮箱帐号" -msgstr "" - #: inc/theme-options.php:410 -msgid "填写邮箱账号" +msgid "填写登录鉴权的方式,ssl 或 tls" msgstr "" #: inc/theme-options.php:417 -msgid "邮箱密码" +msgid "邮箱帐号" msgstr "" #: inc/theme-options.php:418 +msgid "填写邮箱账号" +msgstr "" + +#: inc/theme-options.php:425 +msgid "邮箱密码" +msgstr "" + +#: inc/theme-options.php:426 msgid "填写邮箱密码" msgstr "" -#: inc/theme-options.php:431 +#: inc/theme-options.php:439 msgid "顶部配置" msgstr "" -#: inc/theme-options.php:436 +#: inc/theme-options.php:444 msgid "顶部样式" msgstr "" -#: inc/theme-options.php:437 +#: inc/theme-options.php:445 msgid "请选择顶部样式(颜色导航或图片导航)" msgstr "" -#: inc/theme-options.php:461 +#: inc/theme-options.php:469 msgid "副标题" msgstr "" -#: inc/theme-options.php:469 +#: inc/theme-options.php:477 msgid "标题描述" msgstr "" -#: inc/theme-options.php:477 +#: inc/theme-options.php:485 msgid "页脚配置" msgstr "" -#: inc/theme-options.php:482 +#: inc/theme-options.php:490 msgid "选择需要开启的社交图标" msgstr "" -#: inc/theme-options.php:483 +#: inc/theme-options.php:491 msgid "国内平台" msgstr "" -#: inc/theme-options.php:488 +#: inc/theme-options.php:496 msgid "新浪微博" msgstr "" -#: inc/theme-options.php:495 +#: inc/theme-options.php:503 msgid "例如:https://weibo.com/xxxxx" msgstr "" -#: inc/theme-options.php:501 +#: inc/theme-options.php:509 msgid "哔哩哔哩" msgstr "" -#: inc/theme-options.php:508 +#: inc/theme-options.php:516 msgid "例如:https://space.bilibili.com/xxxxx" msgstr "" -#: inc/theme-options.php:514 +#: inc/theme-options.php:522 msgid "CODING" msgstr "" -#: inc/theme-options.php:521 +#: inc/theme-options.php:529 msgid "例如:https://xxxxx.coding.net/u/xxxxx" msgstr "" -#: inc/theme-options.php:527 +#: inc/theme-options.php:535 msgid "码云 Gitee" msgstr "" -#: inc/theme-options.php:534 +#: inc/theme-options.php:542 msgid "例如:https://gitee.com/xxxxx" msgstr "" -#: inc/theme-options.php:540 +#: inc/theme-options.php:548 msgid "海外平台" msgstr "" -#: inc/theme-options.php:545 +#: inc/theme-options.php:553 msgid "Twitter" msgstr "" -#: inc/theme-options.php:552 +#: inc/theme-options.php:560 msgid "例如:https://twitter.com/xxxxx" msgstr "" -#: inc/theme-options.php:558 +#: inc/theme-options.php:566 msgid "Telegram" msgstr "" -#: inc/theme-options.php:565 +#: inc/theme-options.php:573 msgid "例如:https://t.me/xxxxx" msgstr "" -#: inc/theme-options.php:571 +#: inc/theme-options.php:579 msgid "LinkedIn" msgstr "" -#: inc/theme-options.php:578 +#: inc/theme-options.php:586 msgid "例如:https://www.linkedin.com/in/xxxxx" msgstr "" -#: inc/theme-options.php:584 +#: inc/theme-options.php:592 msgid "YouTube" msgstr "" -#: inc/theme-options.php:591 +#: inc/theme-options.php:599 msgid "例如:https://www.youtube.com/channel/xxxxx" msgstr "" -#: inc/theme-options.php:597 +#: inc/theme-options.php:605 msgid "Github" msgstr "" -#: inc/theme-options.php:604 +#: inc/theme-options.php:612 msgid "例如:https://github.com/xxxxx" msgstr "" -#: inc/theme-options.php:610 +#: inc/theme-options.php:618 msgid "Stack Overflow" msgstr "" -#: inc/theme-options.php:617 +#: inc/theme-options.php:625 msgid "例如:https://stackoverflow.com/users/xxxxx" msgstr "" -#: inc/theme-options.php:623 +#: inc/theme-options.php:631 msgid "其他" msgstr "" -#: inc/theme-options.php:628 +#: inc/theme-options.php:636 msgid "电子邮箱" msgstr "" -#: inc/theme-options.php:635 +#: inc/theme-options.php:643 msgid "例如:mailto:xxxxx@gmail.com" msgstr "" -#: inc/theme-options.php:641 +#: inc/theme-options.php:649 msgid "工信部备案信息" msgstr "" -#: inc/theme-options.php:643 +#: inc/theme-options.php:651 msgid "例如:京ICP证xxxxxx号" msgstr "" -#: inc/theme-options.php:648 +#: inc/theme-options.php:656 msgid "公安网备案信息" msgstr "" -#: inc/theme-options.php:650 +#: inc/theme-options.php:658 msgid "例如:京公网安备 xxxxxxxxxxxx号" msgstr "" -#: inc/theme-options.php:655 +#: inc/theme-options.php:663 msgid "公安网备案连接" msgstr "" -#: inc/theme-options.php:657 +#: inc/theme-options.php:665 msgid "" "例如:http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=xxxxx" msgstr "" -#: inc/theme-options.php:662 +#: inc/theme-options.php:670 msgid "版权信息" msgstr "" -#: inc/theme-options.php:669 +#: inc/theme-options.php:677 msgid "广告配置" msgstr "" -#: inc/theme-options.php:674 +#: inc/theme-options.php:682 msgid "文章页面广告" msgstr "" -#: inc/theme-options.php:675 +#: inc/theme-options.php:683 msgid "开启顶部广告" msgstr "" -#: inc/theme-options.php:688 inc/theme-options.php:708 +#: inc/theme-options.php:696 inc/theme-options.php:716 msgid "选填广告连接,如果不填则只显示图片" msgstr "" -#: inc/theme-options.php:695 +#: inc/theme-options.php:703 msgid "开启底部广告" msgstr "" -#: inc/theme-options.php:715 +#: inc/theme-options.php:723 msgid "关于主题" msgstr "" @@ -876,97 +888,114 @@ msgstr "" msgid "侧边栏工具" msgstr "" -#: inc/theme-widgets.php:68 +#: inc/theme-widgets.php:67 +msgid "A search form for your site." +msgstr "" + +#: inc/theme-widgets.php:70 +msgctxt "Search widget" +msgid "Search" +msgstr "" + +#: inc/theme-widgets.php:81 +msgid "搜索" +msgstr "" + +#: inc/theme-widgets.php:89 +msgid "Title:" +msgstr "" + +#: inc/theme-widgets.php:109 msgid "图片广告" msgstr "" -#: inc/theme-widgets.php:69 +#: inc/theme-widgets.php:110 msgid "显示自定义图片广告的工具" msgstr "" -#: inc/theme-widgets.php:85 inc/theme-widgets.php:107 +#: inc/theme-widgets.php:126 inc/theme-widgets.php:148 msgid "广告" msgstr "" -#: inc/theme-widgets.php:113 +#: inc/theme-widgets.php:154 msgid "副标题:" msgstr "" -#: inc/theme-widgets.php:117 +#: inc/theme-widgets.php:158 msgid "链接地址:" msgstr "" -#: inc/theme-widgets.php:121 +#: inc/theme-widgets.php:162 msgid "广告图片:" msgstr "" -#: inc/theme-widgets.php:123 inc/theme-widgets.php:188 +#: inc/theme-widgets.php:164 inc/theme-widgets.php:229 msgid "选择图片" msgstr "" -#: inc/theme-widgets.php:138 +#: inc/theme-widgets.php:179 msgid "可跳转后台的个人简介展示工具" msgstr "" #. Theme Name of the plugin/theme -#: inc/theme-widgets.php:155 +#: inc/theme-widgets.php:196 msgid "Kratos" msgstr "" -#: inc/theme-widgets.php:186 +#: inc/theme-widgets.php:227 msgid "背景图片:" msgstr "" -#: inc/theme-widgets.php:200 inc/theme-widgets.php:223 +#: inc/theme-widgets.php:241 inc/theme-widgets.php:264 msgid "标签聚合" msgstr "" -#: inc/theme-widgets.php:201 +#: inc/theme-widgets.php:242 msgid "文章标签的展示工具" msgstr "" -#: inc/theme-widgets.php:246 +#: inc/theme-widgets.php:287 msgid "显示数量:" msgstr "" -#: inc/theme-widgets.php:250 +#: inc/theme-widgets.php:291 msgid "显示排序:" msgstr "" -#: inc/theme-widgets.php:252 +#: inc/theme-widgets.php:293 msgid "降序" msgstr "" -#: inc/theme-widgets.php:253 +#: inc/theme-widgets.php:294 msgid "升序" msgstr "" -#: inc/theme-widgets.php:254 inc/theme-widgets.php:284 -#: inc/theme-widgets.php:289 +#: inc/theme-widgets.php:295 inc/theme-widgets.php:325 +#: inc/theme-widgets.php:330 msgid "随机" msgstr "" -#: inc/theme-widgets.php:267 +#: inc/theme-widgets.php:308 msgid "文章聚合" msgstr "" -#: inc/theme-widgets.php:268 +#: inc/theme-widgets.php:309 msgid "展示最热、随机、最新文章的工具" msgstr "" -#: inc/theme-widgets.php:282 inc/theme-widgets.php:287 +#: inc/theme-widgets.php:323 inc/theme-widgets.php:328 msgid "最新" msgstr "" -#: inc/theme-widgets.php:283 inc/theme-widgets.php:288 +#: inc/theme-widgets.php:324 inc/theme-widgets.php:329 msgid "热点" msgstr "" -#: inc/theme-widgets.php:326 +#: inc/theme-widgets.php:367 msgid "展示数量:" msgstr "" -#: inc/theme-widgets.php:330 +#: inc/theme-widgets.php:371 msgid "统计天数:" msgstr ""