feat: add admin backend portal (#298)

pull/331/head
Seaton Jiang 2020-10-26 09:28:54 +08:00
parent ea8ff4c6ee
commit c5d2fcbae3
No known key found for this signature in database
GPG Key ID: C1086BAE716FF138
3 changed files with 214 additions and 188 deletions

View File

@ -80,6 +80,14 @@ function kratos_options()
'type' => 'checkbox', 'type' => 'checkbox',
); );
$options[] = array(
'name' => __('侧边栏后台入口', 'kratos'),
'desc' => __('开启小工具个人简介头像进入后台功能', 'kratos'),
'std' => '1',
'id' => 'g_login',
'type' => 'checkbox',
);
$options[] = array( $options[] = array(
'name' => __('多人模式', 'kratos'), 'name' => __('多人模式', 'kratos'),
'desc' => __('在文章列表显示当前文章作者,在文章页面页脚显示当前作者介绍', 'kratos'), 'desc' => __('在文章列表显示当前文章作者,在文章页面页脚显示当前作者介绍', 'kratos'),

View File

@ -176,7 +176,7 @@ class widget_about extends WP_Widget
$widget_ops = array( $widget_ops = array(
'name' => __('个人简介', 'kratos'), 'name' => __('个人简介', 'kratos'),
'description' => __('可跳转后台的个人简介展示工具', 'kratos'), 'description' => __('站长个人简介的展示工具', 'kratos'),
); );
parent::__construct(false, false, $widget_ops); parent::__construct(false, false, $widget_ops);
@ -199,12 +199,17 @@ class widget_about extends WP_Widget
echo '<div class="widget w-about">'; echo '<div class="widget w-about">';
echo '<div class="background" style="background:url(' . $background . ') no-repeat center center;-webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover;"></div><div class="wrapper text-center">'; echo '<div class="background" style="background:url(' . $background . ') no-repeat center center;-webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover;"></div><div class="wrapper text-center">';
if (current_user_can('manage_options')) { if (kratos_option('g_login', true)) {
echo '<a href="' . admin_url() . '">'; if (current_user_can('manage_options')) {
} else { echo '<a href="' . admin_url() . '">';
echo '<a href="' . wp_login_url() . '">'; } else {
echo '<a href="' . wp_login_url() . '">';
}
}
echo '<img src="' . $avatar . '">';
if (kratos_option('g_login', true)) {
echo '</a>';
} }
echo '<img src="' . $avatar . '"></a>';
echo '</div><div class="textwidget text-center"><p class="username">'. $username .'</p><p class="about">' . $introduce . '</p></div>'; echo '</div><div class="textwidget text-center"><p class="username">'. $username .'</p><p class="about">' . $introduce . '</p></div>';
echo '</div>'; echo '</div>';
} }

View File

@ -3,7 +3,7 @@ msgid ""
msgstr "" msgstr ""
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
"Project-Id-Version: Kratos\n" "Project-Id-Version: Kratos\n"
"POT-Creation-Date: 2020-10-04 12:12+0800\n" "POT-Creation-Date: 2020-10-26 09:27+0800\n"
"PO-Revision-Date: 2020-02-14 23:32+0800\n" "PO-Revision-Date: 2020-02-14 23:32+0800\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
@ -78,7 +78,7 @@ msgstr ""
msgid "搜点什么呢?" msgid "搜点什么呢?"
msgstr "" msgstr ""
#: header.php:76 inc/theme-options.php:559 #: header.php:76 inc/theme-options.php:567
msgid "一款专注于用户阅读体验的响应式博客主题" msgid "一款专注于用户阅读体验的响应式博客主题"
msgstr "" msgstr ""
@ -229,15 +229,15 @@ msgstr ""
msgid "添加表情" msgid "添加表情"
msgstr "" msgstr ""
#: inc/theme-article.php:392 #: inc/theme-article.php:395
msgid "描述" msgid "描述"
msgstr "" msgstr ""
#: inc/theme-article.php:397 inc/theme-options.php:218 #: inc/theme-article.php:400 inc/theme-options.php:226
msgid "关键词" msgid "关键词"
msgstr "" msgstr ""
#: inc/theme-article.php:403 #: inc/theme-article.php:406
msgid "SEO 设置" msgid "SEO 设置"
msgstr "" msgstr ""
@ -293,11 +293,11 @@ msgstr ""
msgid "知识共享署名-非商业性使用-相同方式共享 4.0 国际许可协议" msgid "知识共享署名-非商业性使用-相同方式共享 4.0 国际许可协议"
msgstr "" msgstr ""
#: inc/theme-options.php:42 inc/theme-options.php:542 #: inc/theme-options.php:42 inc/theme-options.php:550
msgid "图片导航" msgid "图片导航"
msgstr "" msgstr ""
#: inc/theme-options.php:43 inc/theme-options.php:534 #: inc/theme-options.php:43 inc/theme-options.php:542
msgid "颜色导航" msgid "颜色导航"
msgstr "" msgstr ""
@ -338,540 +338,548 @@ msgid "开启前台管理员导航"
msgstr "" msgstr ""
#: inc/theme-options.php:84 #: inc/theme-options.php:84
msgid "多人模式" msgid "侧边栏后台入口"
msgstr "" msgstr ""
#: inc/theme-options.php:85 #: inc/theme-options.php:85
msgid "在文章列表显示当前文章作者,在文章页面页脚显示当前作者介绍" msgid "开启小工具个人简介头像进入后台功能"
msgstr ""
#: inc/theme-options.php:91
msgid "CSS 动画库"
msgstr "" msgstr ""
#: inc/theme-options.php:92 #: inc/theme-options.php:92
msgid "开启 animate.css 效果" msgid "多人模式"
msgstr ""
#: inc/theme-options.php:93
msgid "在文章列表显示当前文章作者,在文章页面页脚显示当前作者介绍"
msgstr "" msgstr ""
#: inc/theme-options.php:99 #: inc/theme-options.php:99
msgid "Font Awesome" msgid "CSS 动画库"
msgstr "" msgstr ""
#: inc/theme-options.php:100 #: inc/theme-options.php:100
msgid "开启 Font Awesome 字体" msgid "开启 animate.css 效果"
msgstr "" msgstr ""
#: inc/theme-options.php:107 #: inc/theme-options.php:107
msgid "静态资源加速" msgid "Font Awesome"
msgstr "" msgstr ""
#: inc/theme-options.php:108 #: inc/theme-options.php:108
msgid "开启静态资源加速CSS、JS、Font" msgid "开启 Font Awesome 字体"
msgstr "" msgstr ""
#: inc/theme-options.php:115 #: inc/theme-options.php:115
msgid "禁止生成缩略图" msgid "静态资源加速"
msgstr "" msgstr ""
#: inc/theme-options.php:116 #: inc/theme-options.php:116
msgid "是否禁止生成多种尺寸图片资源" msgid "开启静态资源加速CSS、JS、Font"
msgstr "" msgstr ""
#: inc/theme-options.php:123 #: inc/theme-options.php:123
msgid "媒体资源托管" msgid "禁止生成缩略图"
msgstr "" msgstr ""
#: inc/theme-options.php:124 #: inc/theme-options.php:124
msgid "是否将媒体资源托管到 DogeCloud 存储" msgid "是否禁止生成多种尺寸图片资源"
msgstr "" msgstr ""
#: inc/theme-options.php:131 #: inc/theme-options.php:131
msgid "媒体资源托管"
msgstr ""
#: inc/theme-options.php:132
msgid "是否将媒体资源托管到 DogeCloud 存储"
msgstr ""
#: inc/theme-options.php:139
msgid "存储空间名称" msgid "存储空间名称"
msgstr "" msgstr ""
#: inc/theme-options.php:138 #: inc/theme-options.php:146
msgid "加速域名" msgid "加速域名"
msgstr "" msgstr ""
#: inc/theme-options.php:140 #: inc/theme-options.php:148
msgid "例如https://cdn.xxx.com" msgid "例如https://cdn.xxx.com"
msgstr "" msgstr ""
#: inc/theme-options.php:146 #: inc/theme-options.php:154
msgid "AccessKey" msgid "AccessKey"
msgstr "" msgstr ""
#: inc/theme-options.php:153 #: inc/theme-options.php:161
msgid "SecretKey" msgid "SecretKey"
msgstr "" msgstr ""
#: inc/theme-options.php:160 #: inc/theme-options.php:168
msgid "Gutenberg 编辑器" msgid "Gutenberg 编辑器"
msgstr "" msgstr ""
#: inc/theme-options.php:161 #: inc/theme-options.php:169
msgid "开启 Gutenberg 编辑器" msgid "开启 Gutenberg 编辑器"
msgstr "" msgstr ""
#: inc/theme-options.php:168 #: inc/theme-options.php:176
msgid "Gravatar 加速" msgid "Gravatar 加速"
msgstr "" msgstr ""
#: inc/theme-options.php:169 #: inc/theme-options.php:177
msgid "开启 Gravatar 头像加速" msgid "开启 Gravatar 头像加速"
msgstr "" msgstr ""
#: inc/theme-options.php:176 #: inc/theme-options.php:184
msgid "Chrome 导航栏颜色" msgid "Chrome 导航栏颜色"
msgstr "" msgstr ""
#: inc/theme-options.php:177 #: inc/theme-options.php:185
msgid "Chrome 移动端浏览器导航栏的颜色" msgid "Chrome 移动端浏览器导航栏的颜色"
msgstr "" msgstr ""
#: inc/theme-options.php:184 inc/theme-options.php:417 #: inc/theme-options.php:192 inc/theme-options.php:425
msgid "微信二维码" msgid "微信二维码"
msgstr "" msgstr ""
#: inc/theme-options.php:185 #: inc/theme-options.php:193
msgid "开启页面右下角浮动微信二维码" msgid "开启页面右下角浮动微信二维码"
msgstr "" msgstr ""
#: inc/theme-options.php:198 #: inc/theme-options.php:206
msgid "404 页面图片" msgid "404 页面图片"
msgstr "" msgstr ""
#: inc/theme-options.php:205 #: inc/theme-options.php:213
msgid "收录配置" msgid "收录配置"
msgstr "" msgstr ""
#: inc/theme-options.php:210 #: inc/theme-options.php:218
msgid "分享图片" msgid "分享图片"
msgstr "" msgstr ""
#: inc/theme-options.php:211 #: inc/theme-options.php:219
msgid "搜索引擎或者社交工具分享首页时抓取的图片" msgid "搜索引擎或者社交工具分享首页时抓取的图片"
msgstr "" msgstr ""
#: inc/theme-options.php:219 #: inc/theme-options.php:227
msgid "每个关键词之间需要用「英文逗号」分割" msgid "每个关键词之间需要用「英文逗号」分割"
msgstr "" msgstr ""
#: inc/theme-options.php:225 #: inc/theme-options.php:233
msgid "站点描述" msgid "站点描述"
msgstr "" msgstr ""
#: inc/theme-options.php:231 #: inc/theme-options.php:239
msgid "统计代码" msgid "统计代码"
msgstr "" msgstr ""
#: inc/theme-options.php:232 #: inc/theme-options.php:240
msgid "注意:输入 HTML/JS 代码时请注意辨别代码安全!" msgid "注意:输入 HTML/JS 代码时请注意辨别代码安全!"
msgstr "" msgstr ""
#: inc/theme-options.php:238 #: inc/theme-options.php:246
msgid "robots.txt 配置" msgid "robots.txt 配置"
msgstr "" msgstr ""
#: inc/theme-options.php:239 #: inc/theme-options.php:247
msgid "- 需要 " msgid "- 需要 "
msgstr "" msgstr ""
#: inc/theme-options.php:239 #: inc/theme-options.php:247
msgid " 是开启的状态,下面的配置才会生效" msgid " 是开启的状态,下面的配置才会生效"
msgstr "" msgstr ""
#: inc/theme-options.php:244 #: inc/theme-options.php:252
msgid "- 如果网站根目录下已经有 robots.txt 文件,下面的配置不会生效" msgid "- 如果网站根目录下已经有 robots.txt 文件,下面的配置不会生效"
msgstr "" msgstr ""
#: inc/theme-options.php:249 #: inc/theme-options.php:257
msgid "- 点击 " msgid "- 点击 "
msgstr "" msgstr ""
#: inc/theme-options.php:249 #: inc/theme-options.php:257
msgid " 查看配置是否生效,如果网站开启了 CDN可能需要刷新缓存才会生效" msgid " 查看配置是否生效,如果网站开启了 CDN可能需要刷新缓存才会生效"
msgstr "" msgstr ""
#: inc/theme-options.php:260 #: inc/theme-options.php:268
msgid "首页配置" msgid "首页配置"
msgstr "" msgstr ""
#: inc/theme-options.php:265 #: inc/theme-options.php:273
msgid "哀悼功能" msgid "哀悼功能"
msgstr "" msgstr ""
#: inc/theme-options.php:266 #: inc/theme-options.php:274
msgid "开启站点首页黑白功能用于R.I.P." msgid "开启站点首页黑白功能用于R.I.P."
msgstr "" msgstr ""
#: inc/theme-options.php:272 #: inc/theme-options.php:280
msgid "特色图片" msgid "特色图片"
msgstr "" msgstr ""
#: inc/theme-options.php:273 #: inc/theme-options.php:281
msgid "开启站点首页特色图片功能" msgid "开启站点首页特色图片功能"
msgstr "" msgstr ""
#: inc/theme-options.php:280 #: inc/theme-options.php:288
msgid "默认特色图" msgid "默认特色图"
msgstr "" msgstr ""
#: inc/theme-options.php:281 #: inc/theme-options.php:289
msgid "当文章中没有图片并且没有设置特色图时在首页显示" msgid "当文章中没有图片并且没有设置特色图时在首页显示"
msgstr "" msgstr ""
#: inc/theme-options.php:289 #: inc/theme-options.php:297
msgid "无内容图片" msgid "无内容图片"
msgstr "" msgstr ""
#: inc/theme-options.php:290 #: inc/theme-options.php:298
msgid "当搜索不到文章或文章分类中没有文章时显示" msgid "当搜索不到文章或文章分类中没有文章时显示"
msgstr "" msgstr ""
#: inc/theme-options.php:297 #: inc/theme-options.php:305
msgid "首页轮播" msgid "首页轮播"
msgstr "" msgstr ""
#: inc/theme-options.php:298 #: inc/theme-options.php:306
msgid "开启站点首页轮播功能" msgid "开启站点首页轮播功能"
msgstr "" msgstr ""
#: inc/theme-options.php:304 #: inc/theme-options.php:312
msgid "轮播一(图片)" msgid "轮播一(图片)"
msgstr "" msgstr ""
#: inc/theme-options.php:311 #: inc/theme-options.php:319
msgid "轮播一(网址)" msgid "轮播一(网址)"
msgstr "" msgstr ""
#: inc/theme-options.php:318 #: inc/theme-options.php:326
msgid "轮播二(图片)" msgid "轮播二(图片)"
msgstr "" msgstr ""
#: inc/theme-options.php:325 #: inc/theme-options.php:333
msgid "轮播二(网址)" msgid "轮播二(网址)"
msgstr "" msgstr ""
#: inc/theme-options.php:332 #: inc/theme-options.php:340
msgid "轮播三(图片)" msgid "轮播三(图片)"
msgstr "" msgstr ""
#: inc/theme-options.php:339 #: inc/theme-options.php:347
msgid "轮播三(网址)" msgid "轮播三(网址)"
msgstr "" msgstr ""
#: inc/theme-options.php:346 #: inc/theme-options.php:354
msgid "轮播四(图片)" msgid "轮播四(图片)"
msgstr "" msgstr ""
#: inc/theme-options.php:353 #: inc/theme-options.php:361
msgid "轮播四(网址)" msgid "轮播四(网址)"
msgstr "" msgstr ""
#: inc/theme-options.php:360 #: inc/theme-options.php:368
msgid "轮播五(图片)" msgid "轮播五(图片)"
msgstr "" msgstr ""
#: inc/theme-options.php:367 #: inc/theme-options.php:375
msgid "轮播五(网址)" msgid "轮播五(网址)"
msgstr "" msgstr ""
#: inc/theme-options.php:374 #: inc/theme-options.php:382
msgid "文章配置" msgid "文章配置"
msgstr "" msgstr ""
#: inc/theme-options.php:379 #: inc/theme-options.php:387
msgid "知识共享协议" msgid "知识共享协议"
msgstr "" msgstr ""
#: inc/theme-options.php:380 #: inc/theme-options.php:388
msgid "开启文章知识共享协议" msgid "开启文章知识共享协议"
msgstr "" msgstr ""
#: inc/theme-options.php:386 #: inc/theme-options.php:394
msgid "选择文章的知识共享协议" msgid "选择文章的知识共享协议"
msgstr "" msgstr ""
#: inc/theme-options.php:395 #: inc/theme-options.php:403
msgid "网易云音乐" msgid "网易云音乐"
msgstr "" msgstr ""
#: inc/theme-options.php:396 #: inc/theme-options.php:404
msgid "开启网易云音乐自动播放" msgid "开启网易云音乐自动播放"
msgstr "" msgstr ""
#: inc/theme-options.php:402 #: inc/theme-options.php:410
msgid "文章打赏" msgid "文章打赏"
msgstr "" msgstr ""
#: inc/theme-options.php:403 #: inc/theme-options.php:411
msgid "开启文章页面打赏功能" msgid "开启文章页面打赏功能"
msgstr "" msgstr ""
#: inc/theme-options.php:409 #: inc/theme-options.php:417
msgid "支付宝二维码" msgid "支付宝二维码"
msgstr "" msgstr ""
#: inc/theme-options.php:425 #: inc/theme-options.php:433
msgid "页面布局" msgid "页面布局"
msgstr "" msgstr ""
#: inc/theme-options.php:426 #: inc/theme-options.php:434
msgid "是否显示侧边栏小工具(默认显示侧边栏),仅在文章页面生效" msgid "是否显示侧边栏小工具(默认显示侧边栏),仅在文章页面生效"
msgstr "" msgstr ""
#: inc/theme-options.php:436 #: inc/theme-options.php:444
msgid "站长配置" msgid "站长配置"
msgstr "" msgstr ""
#: inc/theme-options.php:441 #: inc/theme-options.php:449
msgid "个人头像" msgid "个人头像"
msgstr "" msgstr ""
#: inc/theme-options.php:448 #: inc/theme-options.php:456
msgid "个人昵称" msgid "个人昵称"
msgstr "" msgstr ""
#: inc/theme-options.php:455 inc/theme-widgets.php:178 #: inc/theme-options.php:463 inc/theme-widgets.php:178
msgid "个人简介" msgid "个人简介"
msgstr "" msgstr ""
#: inc/theme-options.php:456 inc/theme-widgets.php:195 #: inc/theme-options.php:464 inc/theme-widgets.php:195
#: pages/page-toolbar.php:18 #: pages/page-toolbar.php:18
msgid "保持饥渴的专注,追求最佳的品质" msgid "保持饥渴的专注,追求最佳的品质"
msgstr "" msgstr ""
#: inc/theme-options.php:462 #: inc/theme-options.php:470
msgid "邮件配置" msgid "邮件配置"
msgstr "" msgstr ""
#: inc/theme-options.php:467 #: inc/theme-options.php:475
msgid "SMTP 服务" msgid "SMTP 服务"
msgstr "" msgstr ""
#: inc/theme-options.php:468 #: inc/theme-options.php:476
msgid "开启 SMTP 服务功能" msgid "开启 SMTP 服务功能"
msgstr "" msgstr ""
#: inc/theme-options.php:474 #: inc/theme-options.php:482
msgid "邮件服务器" msgid "邮件服务器"
msgstr "" msgstr ""
#: inc/theme-options.php:475 #: inc/theme-options.php:483
msgid "填写发件服务器地址" msgid "填写发件服务器地址"
msgstr "" msgstr ""
#: inc/theme-options.php:482 #: inc/theme-options.php:490
msgid "服务器端口" msgid "服务器端口"
msgstr "" msgstr ""
#: inc/theme-options.php:483 #: inc/theme-options.php:491
msgid "填写发件服务器端口" msgid "填写发件服务器端口"
msgstr "" msgstr ""
#: inc/theme-options.php:490 #: inc/theme-options.php:498
msgid "授权方式" msgid "授权方式"
msgstr "" msgstr ""
#: inc/theme-options.php:491 #: inc/theme-options.php:499
msgid "填写登录鉴权的方式ssl 或 tls" msgid "填写登录鉴权的方式ssl 或 tls"
msgstr "" msgstr ""
#: inc/theme-options.php:498 #: inc/theme-options.php:506
msgid "邮箱帐号" msgid "邮箱帐号"
msgstr "" msgstr ""
#: inc/theme-options.php:499 #: inc/theme-options.php:507
msgid "填写邮箱账号" msgid "填写邮箱账号"
msgstr "" msgstr ""
#: inc/theme-options.php:506 #: inc/theme-options.php:514
msgid "邮箱密码" msgid "邮箱密码"
msgstr "" msgstr ""
#: inc/theme-options.php:507 #: inc/theme-options.php:515
msgid "填写邮箱密码" msgid "填写邮箱密码"
msgstr "" msgstr ""
#: inc/theme-options.php:520 #: inc/theme-options.php:528
msgid "顶部配置" msgid "顶部配置"
msgstr "" msgstr ""
#: inc/theme-options.php:525 #: inc/theme-options.php:533
msgid "顶部样式" msgid "顶部样式"
msgstr "" msgstr ""
#: inc/theme-options.php:526 #: inc/theme-options.php:534
msgid "请选择顶部样式(颜色导航或图片导航)" msgid "请选择顶部样式(颜色导航或图片导航)"
msgstr "" msgstr ""
#: inc/theme-options.php:550 #: inc/theme-options.php:558
msgid "副标题" msgid "副标题"
msgstr "" msgstr ""
#: inc/theme-options.php:558 #: inc/theme-options.php:566
msgid "标题描述" msgid "标题描述"
msgstr "" msgstr ""
#: inc/theme-options.php:566 #: inc/theme-options.php:574
msgid "页脚配置" msgid "页脚配置"
msgstr "" msgstr ""
#: inc/theme-options.php:571 #: inc/theme-options.php:579
msgid "选择需要开启的社交图标" msgid "选择需要开启的社交图标"
msgstr "" msgstr ""
#: inc/theme-options.php:572 #: inc/theme-options.php:580
msgid "国内平台" msgid "国内平台"
msgstr "" msgstr ""
#: inc/theme-options.php:577 #: inc/theme-options.php:585
msgid "新浪微博" msgid "新浪微博"
msgstr "" msgstr ""
#: inc/theme-options.php:584 #: inc/theme-options.php:592
msgid "例如https://weibo.com/xxxxx" msgid "例如https://weibo.com/xxxxx"
msgstr "" msgstr ""
#: inc/theme-options.php:590 #: inc/theme-options.php:598
msgid "哔哩哔哩" msgid "哔哩哔哩"
msgstr "" msgstr ""
#: inc/theme-options.php:597 #: inc/theme-options.php:605
msgid "例如https://space.bilibili.com/xxxxx" msgid "例如https://space.bilibili.com/xxxxx"
msgstr "" msgstr ""
#: inc/theme-options.php:603 #: inc/theme-options.php:611
msgid "CODING" msgid "CODING"
msgstr "" msgstr ""
#: inc/theme-options.php:610 #: inc/theme-options.php:618
msgid "例如https://xxxxx.coding.net/u/xxxxx" msgid "例如https://xxxxx.coding.net/u/xxxxx"
msgstr "" msgstr ""
#: inc/theme-options.php:616 #: inc/theme-options.php:624
msgid "码云 Gitee" msgid "码云 Gitee"
msgstr "" msgstr ""
#: inc/theme-options.php:623 #: inc/theme-options.php:631
msgid "例如https://gitee.com/xxxxx" msgid "例如https://gitee.com/xxxxx"
msgstr "" msgstr ""
#: inc/theme-options.php:629 #: inc/theme-options.php:637
msgid "海外平台" msgid "海外平台"
msgstr "" msgstr ""
#: inc/theme-options.php:634 #: inc/theme-options.php:642
msgid "Twitter" msgid "Twitter"
msgstr "" msgstr ""
#: inc/theme-options.php:641 #: inc/theme-options.php:649
msgid "例如https://twitter.com/xxxxx" msgid "例如https://twitter.com/xxxxx"
msgstr "" msgstr ""
#: inc/theme-options.php:647 #: inc/theme-options.php:655
msgid "Telegram" msgid "Telegram"
msgstr "" msgstr ""
#: inc/theme-options.php:654 #: inc/theme-options.php:662
msgid "例如https://t.me/xxxxx" msgid "例如https://t.me/xxxxx"
msgstr "" msgstr ""
#: inc/theme-options.php:660 #: inc/theme-options.php:668
msgid "LinkedIn" msgid "LinkedIn"
msgstr "" msgstr ""
#: inc/theme-options.php:667 #: inc/theme-options.php:675
msgid "例如https://www.linkedin.com/in/xxxxx" msgid "例如https://www.linkedin.com/in/xxxxx"
msgstr "" msgstr ""
#: inc/theme-options.php:673 #: inc/theme-options.php:681
msgid "YouTube" msgid "YouTube"
msgstr "" msgstr ""
#: inc/theme-options.php:680 #: inc/theme-options.php:688
msgid "例如https://www.youtube.com/channel/xxxxx" msgid "例如https://www.youtube.com/channel/xxxxx"
msgstr "" msgstr ""
#: inc/theme-options.php:686 #: inc/theme-options.php:694
msgid "Github" msgid "Github"
msgstr "" msgstr ""
#: inc/theme-options.php:693 #: inc/theme-options.php:701
msgid "例如https://github.com/xxxxx" msgid "例如https://github.com/xxxxx"
msgstr "" msgstr ""
#: inc/theme-options.php:699 #: inc/theme-options.php:707
msgid "Stack Overflow" msgid "Stack Overflow"
msgstr "" msgstr ""
#: inc/theme-options.php:706 #: inc/theme-options.php:714
msgid "例如https://stackoverflow.com/users/xxxxx" msgid "例如https://stackoverflow.com/users/xxxxx"
msgstr "" msgstr ""
#: inc/theme-options.php:712 #: inc/theme-options.php:720
msgid "其他" msgid "其他"
msgstr "" msgstr ""
#: inc/theme-options.php:717 #: inc/theme-options.php:725
msgid "电子邮箱" msgid "电子邮箱"
msgstr "" msgstr ""
#: inc/theme-options.php:724 #: inc/theme-options.php:732
msgid "例如mailto:xxxxx@gmail.com" msgid "例如mailto:xxxxx@gmail.com"
msgstr "" msgstr ""
#: inc/theme-options.php:730 #: inc/theme-options.php:738
msgid "工信部备案信息" msgid "工信部备案信息"
msgstr "" msgstr ""
#: inc/theme-options.php:732 #: inc/theme-options.php:740
msgid "例如京ICP证xxxxxx号" msgid "例如京ICP证xxxxxx号"
msgstr "" msgstr ""
#: inc/theme-options.php:737 #: inc/theme-options.php:745
msgid "公安网备案信息" msgid "公安网备案信息"
msgstr "" msgstr ""
#: inc/theme-options.php:739 #: inc/theme-options.php:747
msgid "例如:京公网安备 xxxxxxxxxxxx号" msgid "例如:京公网安备 xxxxxxxxxxxx号"
msgstr "" msgstr ""
#: inc/theme-options.php:744 #: inc/theme-options.php:752
msgid "公安网备案连接" msgid "公安网备案连接"
msgstr "" msgstr ""
#: inc/theme-options.php:746 #: inc/theme-options.php:754
msgid "" msgid ""
"例如http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=xxxxx" "例如http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=xxxxx"
msgstr "" msgstr ""
#: inc/theme-options.php:751 #: inc/theme-options.php:759
msgid "版权信息" msgid "版权信息"
msgstr "" msgstr ""
#: inc/theme-options.php:758 #: inc/theme-options.php:766
msgid "广告配置" msgid "广告配置"
msgstr "" msgstr ""
#: inc/theme-options.php:763 #: inc/theme-options.php:771
msgid "文章页面广告" msgid "文章页面广告"
msgstr "" msgstr ""
#: inc/theme-options.php:764 #: inc/theme-options.php:772
msgid "开启顶部广告" msgid "开启顶部广告"
msgstr "" msgstr ""
#: inc/theme-options.php:777 inc/theme-options.php:797 #: inc/theme-options.php:785 inc/theme-options.php:805
msgid "选填广告连接,如果不填则只显示图片" msgid "选填广告连接,如果不填则只显示图片"
msgstr "" msgstr ""
#: inc/theme-options.php:784 #: inc/theme-options.php:792
msgid "开启底部广告" msgid "开启底部广告"
msgstr "" msgstr ""
#: inc/theme-options.php:804 #: inc/theme-options.php:812
msgid "关于主题" msgid "关于主题"
msgstr "" msgstr ""
@ -985,12 +993,12 @@ msgstr ""
msgid "广告图片:" msgid "广告图片:"
msgstr "" msgstr ""
#: inc/theme-widgets.php:164 inc/theme-widgets.php:229 #: inc/theme-widgets.php:164 inc/theme-widgets.php:234
msgid "选择图片" msgid "选择图片"
msgstr "" msgstr ""
#: inc/theme-widgets.php:179 #: inc/theme-widgets.php:179
msgid "可跳转后台的个人简介展示工具" msgid "站长个人简介的展示工具"
msgstr "" msgstr ""
#. Theme Name of the plugin/theme #. Theme Name of the plugin/theme
@ -998,96 +1006,101 @@ msgstr ""
msgid "Kratos" msgid "Kratos"
msgstr "" msgstr ""
#: inc/theme-widgets.php:227 #: inc/theme-widgets.php:232
msgid "背景图片:" msgid "背景图片:"
msgstr "" msgstr ""
#: inc/theme-widgets.php:241 inc/theme-widgets.php:264 #: inc/theme-widgets.php:246 inc/theme-widgets.php:269
msgid "标签聚合" msgid "标签聚合"
msgstr "" msgstr ""
#: inc/theme-widgets.php:242 #: inc/theme-widgets.php:247
msgid "文章标签的展示工具" msgid "文章标签的展示工具"
msgstr "" msgstr ""
#: inc/theme-widgets.php:287 #: inc/theme-widgets.php:292
msgid "显示数量:" msgid "显示数量:"
msgstr "" msgstr ""
#: inc/theme-widgets.php:291 #: inc/theme-widgets.php:296
msgid "显示排序:" msgid "显示排序:"
msgstr "" msgstr ""
#: inc/theme-widgets.php:293 #: inc/theme-widgets.php:298
msgid "降序" msgid "降序"
msgstr "" msgstr ""
#: inc/theme-widgets.php:294 #: inc/theme-widgets.php:299
msgid "升序" msgid "升序"
msgstr "" msgstr ""
#: inc/theme-widgets.php:295 inc/theme-widgets.php:325 #: inc/theme-widgets.php:300 inc/theme-widgets.php:330
#: inc/theme-widgets.php:330 #: inc/theme-widgets.php:335
msgid "随机" msgid "随机"
msgstr "" msgstr ""
#: inc/theme-widgets.php:308 #: inc/theme-widgets.php:313
msgid "文章聚合" msgid "文章聚合"
msgstr "" msgstr ""
#: inc/theme-widgets.php:309 #: inc/theme-widgets.php:314
msgid "展示最热、随机、最新文章的工具" msgid "展示最热、随机、最新文章的工具"
msgstr "" msgstr ""
#: inc/theme-widgets.php:323 inc/theme-widgets.php:328 #: inc/theme-widgets.php:328 inc/theme-widgets.php:333
msgid "最新" msgid "最新"
msgstr "" msgstr ""
#: inc/theme-widgets.php:324 inc/theme-widgets.php:329 #: inc/theme-widgets.php:329 inc/theme-widgets.php:334
msgid "热点" msgid "热点"
msgstr "" msgstr ""
#: inc/theme-widgets.php:367 #: inc/theme-widgets.php:372
msgid "展示数量:" msgid "展示数量:"
msgstr "" msgstr ""
#: inc/theme-widgets.php:371 #: inc/theme-widgets.php:376
msgid "统计天数:" msgid "统计天数:"
msgstr "" msgstr ""
#: inc/update-checker/Puc/v4p9/Plugin/Ui.php:54 #: inc/update-checker/Puc/v4p10/Plugin/Ui.php:54
msgid "查看详情" msgid "View details"
msgstr "" msgstr ""
#: inc/update-checker/Puc/v4p9/Plugin/Ui.php:77 #: inc/update-checker/Puc/v4p10/Plugin/Ui.php:77
msgid "s 的详细内容"
msgstr ""
#: inc/update-checker/Puc/v4p9/Plugin/Ui.php:128
msgid "检查更新"
msgstr ""
#: inc/update-checker/Puc/v4p9/Plugin/Ui.php:213
#, php-format #, php-format
msgid "%s 是最新版本" msgid "More information about %s"
msgstr "" msgstr ""
#: inc/update-checker/Puc/v4p9/Plugin/Ui.php:215 #: inc/update-checker/Puc/v4p10/Plugin/Ui.php:128
msgid "Check for updates"
msgstr ""
#: inc/update-checker/Puc/v4p10/Plugin/Ui.php:213
#, php-format #, php-format
msgid "%s 有新版本了" msgctxt "the plugin title"
msgid "The %s plugin is up to date."
msgstr "" msgstr ""
#: inc/update-checker/Puc/v4p9/Plugin/Ui.php:217 #: inc/update-checker/Puc/v4p10/Plugin/Ui.php:215
msgid "无法确定更新能否用于 s"
msgstr ""
#: inc/update-checker/Puc/v4p9/Plugin/Ui.php:223
#, php-format #, php-format
msgid "未知的状态:%s" msgctxt "the plugin title"
msgid "A new version of the %s plugin is available."
msgstr "" msgstr ""
#: inc/update-checker/Puc/v4p9/Vcs/PluginUpdateChecker.php:98 #: inc/update-checker/Puc/v4p10/Plugin/Ui.php:217
msgid "没有可用的修改日志" #, php-format
msgctxt "the plugin title"
msgid "Could not determine if updates are available for %s."
msgstr ""
#: inc/update-checker/Puc/v4p10/Plugin/Ui.php:223
#, php-format
msgid "Unknown update checker status \"%s\""
msgstr ""
#: inc/update-checker/Puc/v4p10/Vcs/PluginUpdateChecker.php:98
msgid "There is no changelog available."
msgstr "" msgstr ""
#: index.php:18 #: index.php:18