diff --git a/.gitignore b/.gitignore index d28d1d0..32da0c4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,87 @@ +#################### VisualStudioCode.gitignore #################### + +.vscode/* +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json +!.vscode/*.code-snippets + +# Local History for Visual Studio Code +.history/ + +#################### Linux.gitignore #################### + +*~ + +# temporary files which can be created if a process still has a handle open of a deleted file +.fuse_hidden* + +# KDE directory preferences +.directory + +# Linux trash folder which might appear on any partition or disk +.Trash-* + +# .nfs files are created when an open file is removed but is still being accessed +.nfs* + +#################### Windows.gitignore #################### + +# Windows thumbnail cache files +Thumbs.db +Thumbs.db:encryptable +ehthumbs.db +ehthumbs_vista.db + +# Dump file +*.stackdump + +# Folder config file +[Dd]esktop.ini + +# Recycle Bin used on file shares +$RECYCLE.BIN/ + +# Windows Installer files +*.cab +*.msi +*.msix +*.msm +*.msp + +# Windows shortcuts +*.lnk + +#################### macOS.gitignore #################### + +# General .DS_Store -vendor/ -composer.lock -composer.phar -package.tar -/packages.json \ No newline at end of file +.AppleDouble +.LSOverride + +# Icon must end with two \r +Icon + +# Thumbnails +._* + +# Files that might appear in the root of a volume +.DocumentRevisions-V100 +.fseventsd +.Spotlight-V100 +.TemporaryItems +.Trashes +.VolumeIcon.icns +.com.apple.timemachine.donotpresent + +# Directories potentially created on remote AFP share +.AppleDB +.AppleDesktop +Network Trash Folder +Temporary Items +.apdisk + +#################### Custom.gitignore #################### + +!.gitkeep \ No newline at end of file diff --git a/README.md b/README.md index 090022f..23a76b5 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@ -English | [简体中文](README.zh-CN.md) +**English** | [简体中文](README.zh-CN.md)

- - + + @@ -40,7 +40,7 @@ English | [简体中文](README.zh-CN.md) ## 🤝 Contributing -We welcome all contributions. You can submit any ideas as pull requests or as issues, have a good time! :) +We welcome all contributions. You can submit any ideas as Pull requests or as Issues, have a good time! ## 📃 License diff --git a/README.zh-CN.md b/README.zh-CN.md index 8e53184..1d312ee 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -1,12 +1,12 @@ -[English](README.md) | 简体中文 +[English](README.md) | **简体中文**

- - + + @@ -40,7 +40,7 @@ ## 🤝 参与共建 -我们欢迎所有的贡献,你可以将任何想法作为 pull requests 或 issues 提交,顺颂商祺 :) +我们欢迎所有的贡献,你可以将任何想法作为 Pull requests 或 Issues 提交,顺颂商祺! ## 📃 开源许可 diff --git a/assets/img/options/discuss.png b/assets/img/options/discuss.png index bd03d68..fc9970b 100644 Binary files a/assets/img/options/discuss.png and b/assets/img/options/discuss.png differ diff --git a/assets/js/kratos.js b/assets/js/kratos.js index 255c8da..0bc2449 100644 --- a/assets/js/kratos.js +++ b/assets/js/kratos.js @@ -3,194 +3,194 @@ * Seaton Jiang */ -var KRATOS_VERSION = "4.2.4.2"; + var $ = jQuery.noConflict(); -var $ = jQuery.noConflict(); + var KRATOS_VERSION = "4.3.1"; -var navbarConfig = function () { - $("#navbutton").on("click", function () { - $(".navbar-toggler").toggleClass("nav-close"); - }); -}; + var navbarConfig = function () { + $("#navbutton").on("click", function () { + $(".navbar-toggler").toggleClass("nav-close"); + }); + }; -var tooltipConfig = function () { - $("[data-toggle=\"tooltip\"]").tooltip(); -}; + var tooltipConfig = function () { + $('[data-toggle="tooltip"]').tooltip(); + }; -var gotopConfig = function () { - $(window).on("load", function () { - var $win = $(window); - var setShowOrHide = function () { - if ($win.scrollTop() > 200) { - $(".gotop").addClass("active"); + var gotopConfig = function () { + $(window).on("load", function () { + var $win = $(window); + var setShowOrHide = function () { + if ($win.scrollTop() > 200) { + $(".gotop").addClass("active"); + } else { + $(".gotop").removeClass("active"); + } + }; + setShowOrHide(); + $win.scroll(setShowOrHide); + }); + $(".gotop").on("click", function (event) { + event.preventDefault(); + $("html, body").animate({ scrollTop: $("html").offset().top }, 500); + return false; + }); + }; + + var searchConfig = function () { + $(".search").on("click", function (e) { + $(".search-form").animate({ width: "200px" }, 200); + $(".search-form input").css("display", "block"); + $(document).one("click", function () { + $(".search-form").animate({ width: "0" }, 100); + $(".search-form input").hide(); + }); + e.stopPropagation(); + }); + $(".search-form").on("click", function (e) { + e.stopPropagation(); + }); + }; + + var wechatConfig = function () { + $(".wechat").mouseout(function () { + $(".wechat-pic")[0].style.display = "none"; + }); + $(".wechat").mouseover(function () { + $(".wechat-pic")[0].style.display = "block"; + }); + }; + + var smiliesConfig = function () { + $("#addsmile").on("click", function (e) { + $(".smile").toggleClass("open"); + $(document).one("click", function () { + $(".smile").toggleClass("open"); + }); + e.stopPropagation(); + return false; + }); + }; + + var postlikeConfig = function () { + $.fn.postLike = function () { + if ($(this).hasClass("done")) { + layer.msg(kratos.repeat, function () {}); + return false; } else { - $(".gotop").removeClass("active"); + $(this).addClass("done"); + layer.msg(kratos.thanks); + var id = $(this).data("id"), + action = $(this).data("action"); + var ajax_data = { + action: "love", + um_id: id, + um_action: action, + }; + $.post( + kratos.site + "/wp-admin/admin-ajax.php", + ajax_data, + function (data) {} + ); + return false; } }; - setShowOrHide(); - $win.scroll(setShowOrHide); - }); - $(".gotop").on("click", function (event) { - event.preventDefault(); - $("html, body").animate({ scrollTop: $("html").offset().top }, 500); - return false; - }); -}; - -var searchConfig = function () { - $(".search").on("click", function (e) { - $(".search-form").animate({ width: "200px" }, 200); - $(".search-form input").css("display", "block"); - $(document).one("click", function () { - $(".search-form").animate({ width: "0" }, 100); - $(".search-form input").hide(); + $(document).on("click", ".btn-thumbs", function () { + $(this).postLike(); }); - e.stopPropagation(); - }); - $(".search-form").on("click", function (e) { - e.stopPropagation(); - }); -}; + }; -var wechatConfig = function () { - $(".wechat").mouseout(function () { - $(".wechat-pic")[0].style.display = "none"; - }); - $(".wechat").mouseover(function () { - $(".wechat-pic")[0].style.display = "block"; - }); -}; - -var smiliesConfig = function () { - $("#addsmile").on("click", function (e) { - $(".smile").toggleClass("open"); - $(document).one("click", function () { - $(".smile").toggleClass("open"); + var donateConfig = function () { + $("#donate").on("click", function () { + layer.open({ + type: 1, + area: ["300px", "370px"], + title: kratos.donate, + resize: false, + scrollbar: false, + content: + '

', + }); + $('.choose-pay input[type="radio"]').click(function () { + var id = $(this).attr("id"); + if (id == "alipay") { + $(".qr-pay #alipay_qr").removeClass("d-none"); + $(".qr-pay #wechat_qr").addClass("d-none"); + } + if (id == "wechatpay") { + $(".qr-pay #alipay_qr").addClass("d-none"); + $(".qr-pay #wechat_qr").removeClass("d-none"); + } + }); }); - e.stopPropagation(); - return false; - }); -}; + }; -var postlikeConfig = function () { - $.fn.postLike = function () { - if ($(this).hasClass("done")) { - layer.msg(kratos.repeat, function () {}); - return false; - } else { - $(this).addClass("done"); - layer.msg(kratos.thanks); - var id = $(this).data("id"), - action = $(this).data("action"); - var ajax_data = { - action: "love", - um_id: id, - um_action: action, - }; - $.post( - kratos.site + "/wp-admin/admin-ajax.php", - ajax_data, - function (data) {}, - ); - return false; + var accordionConfig = function () { + $(".acheader").on("click", function (event) { + var $this = $(this); + $this.closest(".accordion").find(".contents").slideToggle(300); + if ($this.closest(".accordion").hasClass("active")) { + $this.closest(".accordion").removeClass("active"); + } else { + $this.closest(".accordion").addClass("active"); + } + event.preventDefault(); + }); + }; + + var consoleConfig = function () { + console.log( + "\n Kratos Pjax Edition v" + + KRATOS_VERSION + + "\n\n https://github.com/devhaozi/kratos \n\n" + ); + }; + + var lightGalleryConfig = function () { + if (typeof lightGallery !== 'undefined') { + lightGallery(document.getElementById("lightgallery"), { + selector: + 'a[href$=".jpg"], a[href$=".jpeg"], a[href$=".png"], a[href$=".gif"], a[href$=".bmp"], a[href$=".webp"]', + }); } }; - $(document).on("click", ".btn-thumbs", function () { - $(this).postLike(); + + document.addEventListener("DOMContentLoaded", function () { + accordionConfig(); + navbarConfig(); + tooltipConfig(); + gotopConfig(); + searchConfig(); + wechatConfig(); + smiliesConfig(); + postlikeConfig(); + donateConfig(); + consoleConfig(); + lightGalleryConfig(); }); -}; - -var donateConfig = function () { - $("#donate").on("click", function () { - layer.open({ - type: 1, - area: ["300px", "370px"], - title: kratos.donate, - resize: false, - scrollbar: false, - content: - "
" + - kratos.scan + - "
", - }); - $(".choose-pay input[type=\"radio\"]").click(function () { - var id = $(this).attr("id"); - if (id == "alipay") { - $(".qr-pay #alipay_qr").removeClass("d-none"); - $(".qr-pay #wechat_qr").addClass("d-none"); - } - if (id == "wechatpay") { - $(".qr-pay #alipay_qr").addClass("d-none"); - $(".qr-pay #wechat_qr").removeClass("d-none"); - } - }); - }); -}; - -var accordionConfig = function () { - $(".acheader").on("click", function (event) { - var $this = $(this); - $this.closest(".accordion").find(".contents").slideToggle(300); - if ($this.closest(".accordion").hasClass("active")) { - $this.closest(".accordion").removeClass("active"); - } else { - $this.closest(".accordion").addClass("active"); - } - event.preventDefault(); - }); -}; - -var consoleConfig = function () { - console.log( - "\n Kratos Pjax Edition v" + - KRATOS_VERSION + - "\n\n https://github.com/devhaozi/kratos \n\n", - ); -}; - -var lightGalleryConfig = function () { - if (kratos.lightgallery === "1" && window.lightGallery !== undefined) { - lightGallery(document.getElementById("lightgallery"), { - selector: - "a[href$=\".jpg\"], a[href$=\".jpeg\"], a[href$=\".png\"], a[href$=\".gif\"], a[href$=\".bmp\"], a[href$=\".webp\"]", - }); - } -}; - -document.addEventListener("DOMContentLoaded", function () { - accordionConfig(); - navbarConfig(); - tooltipConfig(); - gotopConfig(); - searchConfig(); - wechatConfig(); - smiliesConfig(); - postlikeConfig(); - donateConfig(); - consoleConfig(); - lightGalleryConfig(); -}); function afterPjax() { - accordionConfig(); - navbarConfig(); - tooltipConfig(); - gotopConfig(); - searchConfig(); - wechatConfig(); - smiliesConfig(); - postlikeConfig(); - donateConfig(); - consoleConfig(); - lightGalleryConfig(); + accordionConfig(); + navbarConfig(); + tooltipConfig(); + gotopConfig(); + searchConfig(); + wechatConfig(); + smiliesConfig(); + postlikeConfig(); + donateConfig(); + consoleConfig(); + lightGalleryConfig(); } function grin(tag) { diff --git a/functions.php b/functions.php index e3acad5..3e7585d 100644 --- a/functions.php +++ b/functions.php @@ -7,7 +7,7 @@ * @version 2023.08.25 */ -define('THEME_VERSION', '4.2.4.2'); +define('THEME_VERSION', '4.3.1.1'); if (defined('WP_USE_THEMES') && WP_USE_THEMES === false) { return; diff --git a/inc/theme-core.php b/inc/theme-core.php index e100982..eaaf093 100644 --- a/inc/theme-core.php +++ b/inc/theme-core.php @@ -4,7 +4,7 @@ * 核心函数 * @author Seaton Jiang * @license GPL-3.0 License - * @version 2023.04.04 + * @version 2024.08.05 */ use YahnisElsts\PluginUpdateChecker\v5\PucFactory; @@ -43,7 +43,7 @@ function theme_autoload() wp_enqueue_style('bootstrap', ASSET_PATH . '/assets/css/bootstrap.min.css', array(), '4.5.0'); wp_enqueue_style('kicon', ASSET_PATH . '/assets/css/iconfont.min.css', array(), THEME_VERSION); wp_enqueue_style('layer', ASSET_PATH . '/assets/css/layer.min.css', array(), '3.1.1'); - if (kratos_option('g_lightgallery', true)) { + if ((kratos_option('g_article_lightgallery', true) && is_single()) || (kratos_option('g_page_lightgallery', true) && is_page())) { wp_enqueue_script('lightgallery', ASSET_PATH . '/assets/js/lightgallery.min.js', array(), '1.4.0', true); wp_enqueue_style('lightgallery', ASSET_PATH . '/assets/css/lightgallery.min.css', array(), '1.4.0'); } @@ -112,7 +112,6 @@ function theme_autoload() 'directory' => ASSET_PATH, 'alipay' => kratos_option('g_donate_fieldset')['g_donate_alipay'] ?? '', 'wechat' => kratos_option('g_donate_fieldset')['g_donate_wechat'] ?? '', - 'lightgallery' => kratos_option('g_lightgallery', true), 'repeat' => __('您已经赞过了', 'kratos'), 'thanks' => __('感谢您的支持', 'kratos'), 'donate' => __('打赏作者', 'kratos'), @@ -131,6 +130,16 @@ function kratos_admin_enqueue() add_action('admin_enqueue_scripts', 'kratos_admin_enqueue', 20); +// 后台提示 +if (kratos_option('g_admin_notice', true)) { + function custom_admin_notice() + { + $message = __('感谢您使用 Kratos 主题进行创作,全新主题 Fraise 即将上线,欢迎加入 QQ 群讨论交流:618958939,可在「主题设置 - 全站配置 - 后台管理员通知」关闭此通知。', 'kratos'); + echo '

' . $message . '

'; + } + add_action('admin_notices', 'custom_admin_notice'); +} + // 前台管理员导航 if (!kratos_option('g_adminbar', true)) { add_filter('show_admin_bar', '__return_false'); diff --git a/inc/theme-navwalker.php b/inc/theme-navwalker.php index d64614d..5e786b8 100644 --- a/inc/theme-navwalker.php +++ b/inc/theme-navwalker.php @@ -1,4 +1,5 @@ db_fields['id']; // Display this element. if (is_object($args[0])) { - $args[0]->has_children = !empty($children_elements[$element->$id_field]);} + $args[0]->has_children = !empty($children_elements[$element->$id_field]); + } parent::display_element($element, $children_elements, $max_depth, $depth, $args, $output); } @@ -381,9 +383,11 @@ if (!class_exists('WP_Bootstrap_Navwalker')) { } $fallback_output .= '' . esc_attr__('添加导航', 'kratos') . ''; $fallback_output .= ''; diff --git a/inc/theme-options.php b/inc/theme-options.php index 041cb44..ed1cef3 100644 --- a/inc/theme-options.php +++ b/inc/theme-options.php @@ -4,7 +4,7 @@ * 主题选项 * @author Seaton Jiang * @license GPL-3.0 License - * @version 2023.08.25 + * @version 2024.01.17 */ defined('ABSPATH') || exit; @@ -172,6 +172,20 @@ CSF::createSection($prefix, array( 'subtitle' => __('启用/禁用 Gutenberg 编辑器', 'kratos'), 'default' => false, ), + array( + 'id' => 'g_page_lightgallery', + 'type' => 'switcher', + 'title' => __('页面图片灯箱', 'kratos'), + 'subtitle' => __('启用/禁用页面图片灯箱功能', 'kratos'), + 'default' => true, + ), + array( + 'id' => 'g_admin_notice', + 'type' => 'switcher', + 'title' => __('后台管理员通知', 'kratos'), + 'subtitle' => __('启用/禁用后台管理员通知', 'kratos'), + 'default' => true, + ), array( 'id' => 'g_excerpt_length', 'type' => 'text', @@ -739,7 +753,7 @@ CSF::createSection($prefix, array( 'default' => true, ), array( - 'id' => 'g_lightgallery', + 'id' => 'g_article_lightgallery', 'type' => 'switcher', 'title' => __('文章图片灯箱', 'kratos'), 'subtitle' => __('启用/禁用文章图片灯箱功能', 'kratos'), @@ -1282,7 +1296,7 @@ CSF::createSection($prefix, array( ), array( 'type' => 'content', - 'content' => '如果您有用到我开发维护的项目,请考虑支持一下我的工作,让我可以持续的维护它们,您可在爱发电(https://afdian.net/a/seatonjiang)中进行打赏,谢谢!', + 'content' => '如果您有用到我开发维护的项目,请考虑支持一下我的工作,让我可以持续的维护它们,您可在爱发电(https://afdian.com/a/seatonjiang)中进行打赏,谢谢!', ), ), )); diff --git a/inc/update-checker/update.json b/inc/update-checker/update.json index ec4b6fa..02d7aca 100644 --- a/inc/update-checker/update.json +++ b/inc/update-checker/update.json @@ -1,5 +1,5 @@ { - "version": "4.2.4.2", - "details_url": "https://github.com/devhaozi/kratos/releases/tag/v4.2.4.2", - "download_url": "https://dl.cdn.haozi.net/kratos/v4.2.4.2.zip" + "version": "4.3.1.1", + "details_url": "https://github.com/devhaozi/kratos/releases/tag/v4.3.1.1", + "download_url": "https://dl.cdn.haozi.net/kratos/v4.3.1.1.zip" } diff --git a/languages/kratos.pot b/languages/kratos.pot index 4f08074..ca2abdf 100644 --- a/languages/kratos.pot +++ b/languages/kratos.pot @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: Kratos\n" -"POT-Creation-Date: 2022-03-27 00:39+0800\n" +"POT-Creation-Date: 2024-01-17 10:51+0800\n" "PO-Revision-Date: 2022-01-26 01:05+0800\n" "Last-Translator: Seaton Jiang \n" "Language-Team: Seaton Jiang \n" @@ -10,7 +10,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" -"X-Generator: Poedit 3.0.1\n" +"X-Generator: Poedit 3.4.2\n" "X-Poedit-Basepath: ..\n" "X-Poedit-Flags-xgettext: --add-comments=translators:\n" "X-Poedit-WPHeader: style.css\n" @@ -48,41 +48,45 @@ msgstr "" msgid "评论内容" msgstr "" -#: comments.php:25 -msgid "加载更多" +#: comments.php:25 page-full.php:29 page.php:29 single.php:93 +msgid "上一页" msgstr "" -#: comments.php:30 +#: comments.php:26 page-full.php:48 page.php:48 single.php:112 +msgid "下一页" +msgstr "" + +#: comments.php:31 #, php-format msgid "您需要 登录 之后才可以评论" msgstr "" -#: comments.php:42 +#: comments.php:43 msgid "昵称" msgstr "" -#: comments.php:50 +#: comments.php:51 msgid "邮箱" msgstr "" -#: comments.php:58 +#: comments.php:59 msgid "网址" msgstr "" -#: comments.php:75 +#: comments.php:77 msgid "取消回复" msgstr "" -#: comments.php:76 +#: comments.php:78 msgid "提交评论" msgstr "" -#: footer.php:28 inc/theme-widgets.php:184 +#: footer.php:28 inc/theme-widgets.php:185 msgid "搜点什么呢?" msgstr "" -#: header.php:75 inc/theme-options.php:849 -msgid "一款专注于用户阅读体验的响应式博客主题" +#: header.php:102 inc/theme-options.php:905 +msgid "专注于用户阅读体验的响应式博客主题" msgstr "" #: inc/theme-article.php:218 @@ -93,52 +97,68 @@ msgstr "" msgid "评论提交成功" msgstr "" -#: inc/theme-article.php:261 inc/theme-article.php:306 +#: inc/theme-article.php:249 inc/theme-article.php:305 +msgid "Your comment is awaiting moderation." +msgstr "" + +#: inc/theme-article.php:251 inc/theme-article.php:307 +msgid "" +"Your comment is awaiting moderation. This is a preview; your comment will " +"be visible after it has been approved." +msgstr "" + +#: inc/theme-article.php:272 inc/theme-article.php:328 msgid "编辑" msgstr "" -#: inc/theme-article.php:312 inc/theme-smtp.php:103 +#: inc/theme-article.php:334 inc/theme-smtp.php:103 msgid "回复" msgstr "" -#: inc/theme-article.php:367 +#: inc/theme-article.php:392 msgid "添加表情" msgstr "" -#: inc/theme-article.php:424 +#: inc/theme-article.php:450 msgid "描述" msgstr "" -#: inc/theme-article.php:429 inc/theme-options.php:551 +#: inc/theme-article.php:455 inc/theme-options.php:600 msgid "关键词" msgstr "" -#: inc/theme-article.php:436 +#: inc/theme-article.php:462 msgid "SEO 设置" msgstr "" -#: inc/theme-core.php:107 +#: inc/theme-core.php:109 msgid "您已经赞过了" msgstr "" -#: inc/theme-core.php:108 +#: inc/theme-core.php:110 msgid "感谢您的支持" msgstr "" -#: inc/theme-core.php:109 +#: inc/theme-core.php:111 msgid "打赏作者" msgstr "" -#: inc/theme-core.php:110 +#: inc/theme-core.php:112 msgid "扫码支付" msgstr "" -#: inc/theme-navwalker.php:22 +#: inc/theme-core.php:131 +msgid "" +"感谢您使用 Kratos 主题进行创作,全新主题 Fraise 即将上线,欢迎加入 QQ 群讨论" +"交流:618958939" +msgstr "" + +#: inc/theme-navwalker.php:23 msgid "顶部菜单" msgstr "" -#: inc/theme-navwalker.php:388 -msgid "添加导航" +#: inc/theme-navwalker.php:387 +msgid "Add a menu" msgstr "" #: inc/theme-options.php:45 @@ -222,7 +242,7 @@ msgid "静态资源加速" msgstr "" #: inc/theme-options.php:127 -msgid "启用/禁用静态资源加速" +msgid "启用/禁用静态资源加速(jsDelivr)" msgstr "" #: inc/theme-options.php:133 @@ -250,893 +270,945 @@ msgid "启用/禁用 Gutenberg 编辑器" msgstr "" #: inc/theme-options.php:154 -msgid "文章简介缩略" +msgid "页面图片灯箱" msgstr "" #: inc/theme-options.php:155 -msgid "文章简介显示的字符数量" +msgid "启用/禁用页面图片灯箱功能" msgstr "" #: inc/theme-options.php:161 -msgid "Gravatar 加速" +msgid "后台管理员通知" msgstr "" #: inc/theme-options.php:162 -msgid "自定义 Gravatar 头像加速地址" +msgid "启用/禁用后台管理员通知" msgstr "" -#: inc/theme-options.php:171 -msgid "附件重命名" +#: inc/theme-options.php:168 +msgid "文章简介缩略" msgstr "" -#: inc/theme-options.php:176 inc/theme-options.php:211 -#: inc/theme-options.php:321 inc/theme-options.php:405 -#: inc/theme-options.php:466 inc/theme-options.php:671 -#: inc/theme-options.php:733 inc/theme-options.php:1083 -#: inc/theme-options.php:1122 +#: inc/theme-options.php:169 +msgid "文章简介显示的字符数量" +msgstr "" + +#: inc/theme-options.php:178 +msgid "Gravatar 加速服务" +msgstr "" + +#: inc/theme-options.php:183 inc/theme-options.php:225 +#: inc/theme-options.php:260 inc/theme-options.php:370 +#: inc/theme-options.php:454 inc/theme-options.php:515 +#: inc/theme-options.php:727 inc/theme-options.php:789 +#: inc/theme-options.php:1139 inc/theme-options.php:1178 msgid "功能开关" msgstr "" -#: inc/theme-options.php:177 -msgid "开启/关闭附件重命名" -msgstr "" - -#: inc/theme-options.php:178 inc/theme-options.php:213 -#: inc/theme-options.php:323 inc/theme-options.php:407 -#: inc/theme-options.php:468 inc/theme-options.php:673 -#: inc/theme-options.php:735 inc/theme-options.php:1085 -#: inc/theme-options.php:1124 -msgid "开启" -msgstr "" - -#: inc/theme-options.php:179 inc/theme-options.php:214 -#: inc/theme-options.php:324 inc/theme-options.php:408 -#: inc/theme-options.php:469 inc/theme-options.php:674 -#: inc/theme-options.php:736 inc/theme-options.php:1086 -#: inc/theme-options.php:1125 -msgid "关闭" -msgstr "" - #: inc/theme-options.php:184 -msgid "文件前缀" +msgid "开启/关闭 Gravatar 加速服务功能" msgstr "" -#: inc/theme-options.php:185 -msgid "前缀与文件名之间会用 - 连接" +#: inc/theme-options.php:189 +msgid "Gravatar 加速服务地址" msgstr "" #: inc/theme-options.php:190 +msgid "请选择 Gravatar 加速服务地址" +msgstr "" + +#: inc/theme-options.php:192 +msgid "Loli 加速服务" +msgstr "" + +#: inc/theme-options.php:193 +msgid "极客族加速服务" +msgstr "" + +#: inc/theme-options.php:194 +msgid "自定义加速服务" +msgstr "" + +#: inc/theme-options.php:196 +msgid "国内用户推荐「极客族加速服务」,海外用户推荐「Loli 加速服务」。" +msgstr "" + +#: inc/theme-options.php:202 +msgid "自定义 Gravatar 加速服务地址" +msgstr "" + +#: inc/theme-options.php:203 +msgid "请输入 Gravatar 加速服务地址" +msgstr "" + +#: inc/theme-options.php:204 +msgid "直接输入网址即可,不需要协议头和最后的斜杠。" +msgstr "" + +#: inc/theme-options.php:220 +msgid "附件重命名" +msgstr "" + +#: inc/theme-options.php:226 +msgid "开启/关闭附件重命名" +msgstr "" + +#: inc/theme-options.php:227 inc/theme-options.php:262 +#: inc/theme-options.php:372 inc/theme-options.php:456 +#: inc/theme-options.php:517 inc/theme-options.php:729 +#: inc/theme-options.php:791 inc/theme-options.php:1141 +#: inc/theme-options.php:1180 +msgid "开启" +msgstr "" + +#: inc/theme-options.php:228 inc/theme-options.php:263 +#: inc/theme-options.php:373 inc/theme-options.php:457 +#: inc/theme-options.php:518 inc/theme-options.php:730 +#: inc/theme-options.php:792 inc/theme-options.php:1142 +#: inc/theme-options.php:1181 +msgid "关闭" +msgstr "" + +#: inc/theme-options.php:233 +msgid "文件前缀" +msgstr "" + +#: inc/theme-options.php:234 +msgid "前缀与文件名之间会用 - 连接" +msgstr "" + +#: inc/theme-options.php:239 msgid "文件类型" msgstr "" -#: inc/theme-options.php:191 +#: inc/theme-options.php:240 msgid "每个类型之间用 | 隔开" msgstr "" -#: inc/theme-options.php:206 inc/theme-options.php:741 +#: inc/theme-options.php:255 inc/theme-options.php:797 msgid "微信二维码" msgstr "" -#: inc/theme-options.php:212 +#: inc/theme-options.php:261 msgid "开启/关闭微信二维码" msgstr "" -#: inc/theme-options.php:219 +#: inc/theme-options.php:268 msgid "二维码图片" msgstr "" -#: inc/theme-options.php:222 +#: inc/theme-options.php:271 msgid "浮动显示在页面右下角" msgstr "" -#: inc/theme-options.php:235 +#: inc/theme-options.php:284 msgid "颜色配置" msgstr "" -#: inc/theme-options.php:242 +#: inc/theme-options.php:291 msgid "全站背景颜色" msgstr "" -#: inc/theme-options.php:243 +#: inc/theme-options.php:292 msgid "全站页面的背景颜色" msgstr "" -#: inc/theme-options.php:249 +#: inc/theme-options.php:298 msgid "导航栏文字颜色" msgstr "" -#: inc/theme-options.php:250 +#: inc/theme-options.php:299 msgid "导航栏中站点标题以及一级导航的颜色" msgstr "" -#: inc/theme-options.php:256 +#: inc/theme-options.php:305 msgid "Chrome 导航栏颜色" msgstr "" -#: inc/theme-options.php:257 +#: inc/theme-options.php:306 msgid "移动端 Chrome 浏览器导航栏颜色" msgstr "" -#: inc/theme-options.php:264 +#: inc/theme-options.php:313 msgid "图片配置" msgstr "" -#: inc/theme-options.php:270 +#: inc/theme-options.php:319 msgid "站点 Logo" msgstr "" -#: inc/theme-options.php:273 +#: inc/theme-options.php:322 msgid "不上传图片则显示站点标题" msgstr "" -#: inc/theme-options.php:278 +#: inc/theme-options.php:327 msgid "Favicon 图标" msgstr "" -#: inc/theme-options.php:281 +#: inc/theme-options.php:330 msgid "浏览器收藏夹和地址栏中显示的图标" msgstr "" -#: inc/theme-options.php:286 +#: inc/theme-options.php:335 msgid "404 页面图片" msgstr "" -#: inc/theme-options.php:290 +#: inc/theme-options.php:339 msgid "图片显示出来是 404 的形状" msgstr "" -#: inc/theme-options.php:295 +#: inc/theme-options.php:344 msgid "无内容图片" msgstr "" -#: inc/theme-options.php:299 +#: inc/theme-options.php:348 msgid "当搜索不到文章或分类没有文章时显示" msgstr "" -#: inc/theme-options.php:304 +#: inc/theme-options.php:353 msgid "默认特色图" msgstr "" -#: inc/theme-options.php:308 +#: inc/theme-options.php:357 msgid "当文章中没有图片且没有特色图时显示" msgstr "" -#: inc/theme-options.php:315 +#: inc/theme-options.php:364 msgid "首页轮播" msgstr "" -#: inc/theme-options.php:322 +#: inc/theme-options.php:371 msgid "开启/关闭首页轮播功能" msgstr "" -#: inc/theme-options.php:338 inc/theme-options.php:1063 -#: inc/theme-options.php:1102 +#: inc/theme-options.php:387 inc/theme-options.php:1119 +#: inc/theme-options.php:1158 msgid "唯一标识" msgstr "" -#: inc/theme-options.php:339 +#: inc/theme-options.php:388 msgid "仅用于轮播标识,可以作为备注使用" msgstr "" -#: inc/theme-options.php:344 inc/theme-options.php:1069 -#: inc/theme-options.php:1108 +#: inc/theme-options.php:393 inc/theme-options.php:1125 +#: inc/theme-options.php:1164 msgid "轮播图片" msgstr "" -#: inc/theme-options.php:345 inc/theme-options.php:1070 -#: inc/theme-options.php:1109 +#: inc/theme-options.php:394 inc/theme-options.php:1126 +#: inc/theme-options.php:1165 msgid "可以直接填写图片链接,也可以上传图片" msgstr "" -#: inc/theme-options.php:352 inc/theme-options.php:1077 -#: inc/theme-options.php:1116 +#: inc/theme-options.php:401 inc/theme-options.php:1133 +#: inc/theme-options.php:1172 msgid "网址链接" msgstr "" -#: inc/theme-options.php:353 inc/theme-options.php:1078 -#: inc/theme-options.php:1117 +#: inc/theme-options.php:402 inc/theme-options.php:1134 +#: inc/theme-options.php:1173 msgid "需要填写完整的链接地址,包含协议头" msgstr "" -#: inc/theme-options.php:358 +#: inc/theme-options.php:407 msgid "轮播标题" msgstr "" -#: inc/theme-options.php:359 inc/theme-options.php:365 +#: inc/theme-options.php:408 inc/theme-options.php:414 msgid "选填项目,如果不填则不显示" msgstr "" -#: inc/theme-options.php:364 +#: inc/theme-options.php:413 msgid "轮播简介" msgstr "" -#: inc/theme-options.php:371 +#: inc/theme-options.php:420 msgid "文字颜色" msgstr "" -#: inc/theme-options.php:372 +#: inc/theme-options.php:421 msgid "轮播标题和简介的颜色" msgstr "" -#: inc/theme-options.php:381 +#: inc/theme-options.php:430 msgid "第三方配置" msgstr "" -#: inc/theme-options.php:395 +#: inc/theme-options.php:444 msgid "DogeCloud 云存储" msgstr "" -#: inc/theme-options.php:406 +#: inc/theme-options.php:455 msgid "开启/关闭 DogeCloud 云存储" msgstr "" -#: inc/theme-options.php:413 +#: inc/theme-options.php:462 msgid "空间名称" msgstr "" -#: inc/theme-options.php:414 +#: inc/theme-options.php:463 msgid "空间名称可在空间基本信息中查看" msgstr "" -#: inc/theme-options.php:415 +#: inc/theme-options.php:464 msgid "" "点击这" "里查询空间名称" msgstr "" -#: inc/theme-options.php:420 inc/theme-options.php:493 +#: inc/theme-options.php:469 inc/theme-options.php:542 msgid "加速域名" msgstr "" -#: inc/theme-options.php:421 inc/theme-options.php:494 +#: inc/theme-options.php:470 inc/theme-options.php:543 msgid "域名结尾不要添加 /" msgstr "" -#: inc/theme-options.php:422 +#: inc/theme-options.php:471 msgid "" "点击这" "里查询加速域名" msgstr "" -#: inc/theme-options.php:427 inc/theme-options.php:507 +#: inc/theme-options.php:476 inc/theme-options.php:556 msgid "AccessKey" msgstr "" -#: inc/theme-options.php:428 inc/theme-options.php:438 -#: inc/theme-options.php:508 inc/theme-options.php:518 +#: inc/theme-options.php:477 inc/theme-options.php:487 +#: inc/theme-options.php:557 inc/theme-options.php:567 msgid "出于安全考虑,建议周期性地更换密钥" msgstr "" -#: inc/theme-options.php:429 +#: inc/theme-options.php:478 msgid "" "点击这" "里查询 AccessKey" msgstr "" -#: inc/theme-options.php:437 inc/theme-options.php:517 +#: inc/theme-options.php:486 inc/theme-options.php:566 msgid "SecretKey" msgstr "" -#: inc/theme-options.php:439 +#: inc/theme-options.php:488 msgid "" "点击这" "里查询 SecretKey" msgstr "" -#: inc/theme-options.php:456 +#: inc/theme-options.php:505 msgid "火山引擎 ImageX" msgstr "" -#: inc/theme-options.php:467 +#: inc/theme-options.php:516 msgid "开启/关闭 火山引擎 ImageX" msgstr "" -#: inc/theme-options.php:474 +#: inc/theme-options.php:523 msgid "加速地域" msgstr "" -#: inc/theme-options.php:475 +#: inc/theme-options.php:524 msgid "加速地域在创建服务的时候进行选择" msgstr "" -#: inc/theme-options.php:476 +#: inc/theme-options.php:525 msgid "" "点击这里查询加速地域" msgstr "" -#: inc/theme-options.php:478 +#: inc/theme-options.php:527 msgid "国内" msgstr "" -#: inc/theme-options.php:479 +#: inc/theme-options.php:528 msgid "美东" msgstr "" -#: inc/theme-options.php:480 +#: inc/theme-options.php:529 msgid "新加坡" msgstr "" -#: inc/theme-options.php:486 +#: inc/theme-options.php:535 msgid "服务 ID" msgstr "" -#: inc/theme-options.php:487 +#: inc/theme-options.php:536 msgid "服务 ID 可在图片服务管理中查看" msgstr "" -#: inc/theme-options.php:488 +#: inc/theme-options.php:537 msgid "" "点击这里查询服务 ID" msgstr "" -#: inc/theme-options.php:495 +#: inc/theme-options.php:544 msgid "" "点击这里查询加速域名" msgstr "" -#: inc/theme-options.php:500 +#: inc/theme-options.php:549 msgid "处理模板" msgstr "" -#: inc/theme-options.php:501 +#: inc/theme-options.php:550 msgid "处理模板可在图片处理配置中查看" msgstr "" -#: inc/theme-options.php:502 +#: inc/theme-options.php:551 msgid "" "点击这里查询处理模板" msgstr "" -#: inc/theme-options.php:509 +#: inc/theme-options.php:558 msgid "" "" "点击这里查询 AccessKey" msgstr "" -#: inc/theme-options.php:519 +#: inc/theme-options.php:568 msgid "" "" "点击这里查询 SecretKey" msgstr "" -#: inc/theme-options.php:536 +#: inc/theme-options.php:585 msgid "收录配置" msgstr "" -#: inc/theme-options.php:542 +#: inc/theme-options.php:591 msgid "分享图片" msgstr "" -#: inc/theme-options.php:546 +#: inc/theme-options.php:595 msgid "用于搜索引擎或社交工具抓取时使用" msgstr "" -#: inc/theme-options.php:552 +#: inc/theme-options.php:601 msgid "每个关键词之间需要用 , 分割" msgstr "" -#: inc/theme-options.php:557 +#: inc/theme-options.php:606 msgid "站点描述" msgstr "" -#: inc/theme-options.php:558 +#: inc/theme-options.php:607 msgid "网站首页的描述信息" msgstr "" -#: inc/theme-options.php:562 +#: inc/theme-options.php:611 msgid "统计代码" msgstr "" -#: inc/theme-options.php:563 +#: inc/theme-options.php:612 msgid "输入代码时请注意辨别代码安全性" msgstr "" -#: inc/theme-options.php:578 +#: inc/theme-options.php:627 msgid "robots.txt 配置" msgstr "" -#: inc/theme-options.php:582 +#: inc/theme-options.php:631 msgid "- 需要 " msgstr "" -#: inc/theme-options.php:582 +#: inc/theme-options.php:631 msgid "设置-阅读-对搜索引擎的可见性" msgstr "" -#: inc/theme-options.php:582 +#: inc/theme-options.php:631 msgid " 是开启的状态,以下配置才会生效" msgstr "" -#: inc/theme-options.php:582 +#: inc/theme-options.php:631 msgid "- 如果网站根目录下已经有 robots.txt 文件,下面的配置不会生效" msgstr "" -#: inc/theme-options.php:582 +#: inc/theme-options.php:631 msgid "- 点击 " msgstr "" -#: inc/theme-options.php:582 +#: inc/theme-options.php:631 msgid " 查看配置是否生效,如果网站开启了 CDN,可能需要刷新缓存才会生效" msgstr "" -#: inc/theme-options.php:597 +#: inc/theme-options.php:646 msgid "文章配置" msgstr "" -#: inc/theme-options.php:603 +#: inc/theme-options.php:652 msgid "网易云音乐" msgstr "" -#: inc/theme-options.php:604 +#: inc/theme-options.php:653 msgid "启用/禁用网易云音乐自动播放功能" msgstr "" -#: inc/theme-options.php:610 +#: inc/theme-options.php:659 msgid "评论数量展示" msgstr "" -#: inc/theme-options.php:611 +#: inc/theme-options.php:660 msgid "启用/禁用首页及文章页面展示阅读数量的功能" msgstr "" -#: inc/theme-options.php:617 +#: inc/theme-options.php:666 msgid "热度数量展示" msgstr "" -#: inc/theme-options.php:618 +#: inc/theme-options.php:667 msgid "启用/禁用首页及文章页面展示热度数量的功能" msgstr "" -#: inc/theme-options.php:624 +#: inc/theme-options.php:673 msgid "点赞数量展示" msgstr "" -#: inc/theme-options.php:625 +#: inc/theme-options.php:674 msgid "启用/禁用首页及文章页面展示点赞数量的功能" msgstr "" -#: inc/theme-options.php:631 +#: inc/theme-options.php:680 msgid "作者名称展示" msgstr "" -#: inc/theme-options.php:632 +#: inc/theme-options.php:681 msgid "启用/禁用首页展示作者名称的功能" msgstr "" -#: inc/theme-options.php:638 +#: inc/theme-options.php:687 msgid "附加功能" msgstr "" -#: inc/theme-options.php:639 +#: inc/theme-options.php:688 msgid "启用/禁用文章自动保存、修订版本功能" msgstr "" -#: inc/theme-options.php:645 +#: inc/theme-options.php:694 msgid "按类型筛选媒体库功能" msgstr "" -#: inc/theme-options.php:646 +#: inc/theme-options.php:695 msgid "启用/禁用按类型筛选媒体库功能功能" msgstr "" -#: inc/theme-options.php:652 -msgid "页面布局" -msgstr "" - -#: inc/theme-options.php:653 -msgid "差异在于侧边栏小工具,仅在文章页面生效" -msgstr "" - -#: inc/theme-options.php:666 -msgid "知识共享协议" -msgstr "" - -#: inc/theme-options.php:672 -msgid "开启/关闭 知识共享协议" -msgstr "" - -#: inc/theme-options.php:679 -msgid "协议名称" -msgstr "" - -#: inc/theme-options.php:680 -msgid "选择文章的知识共享协议" -msgstr "" - -#: inc/theme-options.php:682 single.php:115 -msgid "知识共享署名 4.0 国际许可协议" -msgstr "" - -#: inc/theme-options.php:683 single.php:116 -msgid "知识共享署名-非商业性使用 4.0 国际许可协议" -msgstr "" - -#: inc/theme-options.php:684 single.php:117 -msgid "知识共享署名-禁止演绎 4.0 国际许可协议" -msgstr "" - -#: inc/theme-options.php:685 single.php:118 -msgid "知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议" -msgstr "" - -#: inc/theme-options.php:686 single.php:119 -msgid "知识共享署名-相同方式共享 4.0 国际许可协议" -msgstr "" - -#: inc/theme-options.php:687 single.php:120 -msgid "知识共享署名-非商业性使用-相同方式共享 4.0 国际许可协议" +#: inc/theme-options.php:701 +msgid "文章图片灯箱" msgstr "" #: inc/theme-options.php:702 -msgid "文章 HOT 标签" -msgstr "" - -#: inc/theme-options.php:707 -msgid "评论数" +msgid "启用/禁用文章图片灯箱功能" msgstr "" #: inc/theme-options.php:708 -msgid "填写显示 HOT 标签需要的评论数" +msgid "页面布局" msgstr "" -#: inc/theme-options.php:713 -msgid "点赞数" +#: inc/theme-options.php:709 +msgid "差异在于侧边栏小工具,仅在文章页面生效" msgstr "" -#: inc/theme-options.php:714 -msgid "填写显示 HOT 标签需要的点赞数" +#: inc/theme-options.php:722 +msgid "知识共享协议" msgstr "" #: inc/theme-options.php:728 -msgid "文章打赏" +msgid "开启/关闭 知识共享协议" msgstr "" -#: inc/theme-options.php:734 -msgid "开启/关闭 文章打赏" +#: inc/theme-options.php:735 +msgid "协议名称" msgstr "" -#: inc/theme-options.php:748 -msgid "支付宝二维码" +#: inc/theme-options.php:736 +msgid "选择文章的知识共享协议" +msgstr "" + +#: inc/theme-options.php:738 single.php:126 +msgid "知识共享署名 4.0 国际许可协议" +msgstr "" + +#: inc/theme-options.php:739 single.php:127 +msgid "知识共享署名-非商业性使用 4.0 国际许可协议" +msgstr "" + +#: inc/theme-options.php:740 single.php:128 +msgid "知识共享署名-禁止演绎 4.0 国际许可协议" +msgstr "" + +#: inc/theme-options.php:741 single.php:129 +msgid "知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议" +msgstr "" + +#: inc/theme-options.php:742 single.php:130 +msgid "知识共享署名-相同方式共享 4.0 国际许可协议" +msgstr "" + +#: inc/theme-options.php:743 single.php:131 +msgid "知识共享署名-非商业性使用-相同方式共享 4.0 国际许可协议" +msgstr "" + +#: inc/theme-options.php:758 +msgid "文章 HOT 标签" msgstr "" #: inc/theme-options.php:763 -msgid "邮件配置" +msgid "评论数" +msgstr "" + +#: inc/theme-options.php:764 +msgid "填写显示 HOT 标签需要的评论数" msgstr "" #: inc/theme-options.php:769 -msgid "SMTP 服务" +msgid "点赞数" msgstr "" #: inc/theme-options.php:770 -msgid "启用/禁用 SMTP 服务" -msgstr "" - -#: inc/theme-options.php:776 -msgid "邮件服务器" -msgstr "" - -#: inc/theme-options.php:777 -msgid "填写发件服务器地址" -msgstr "" - -#: inc/theme-options.php:778 -msgid "smtp.example.com" -msgstr "" - -#: inc/theme-options.php:783 -msgid "服务器端口" +msgid "填写显示 HOT 标签需要的点赞数" msgstr "" #: inc/theme-options.php:784 -msgid "填写发件服务器端口" -msgstr "" - -#: inc/theme-options.php:785 -msgid "465" +msgid "文章打赏" msgstr "" #: inc/theme-options.php:790 -msgid "授权方式" -msgstr "" - -#: inc/theme-options.php:791 -msgid "填写登录鉴权的方式" -msgstr "" - -#: inc/theme-options.php:792 -msgid "ssl" -msgstr "" - -#: inc/theme-options.php:797 -msgid "邮箱帐号" -msgstr "" - -#: inc/theme-options.php:798 -msgid "填写邮箱账号" -msgstr "" - -#: inc/theme-options.php:799 -msgid "user@example.com" +msgid "开启/关闭 文章打赏" msgstr "" #: inc/theme-options.php:804 -msgid "邮箱密码" +msgid "支付宝二维码" msgstr "" -#: inc/theme-options.php:805 -msgid "填写邮箱密码" +#: inc/theme-options.php:819 +msgid "邮件配置" msgstr "" -#: inc/theme-options.php:815 -msgid "顶部配置" +#: inc/theme-options.php:825 +msgid "SMTP 服务" msgstr "" -#: inc/theme-options.php:821 inc/theme-options.php:827 -msgid "图片导航" +#: inc/theme-options.php:826 +msgid "启用/禁用 SMTP 服务" msgstr "" -#: inc/theme-options.php:828 -msgid "启用/禁用 图片导航" +#: inc/theme-options.php:832 +msgid "邮件服务器" +msgstr "" + +#: inc/theme-options.php:833 +msgid "填写发件服务器地址" msgstr "" #: inc/theme-options.php:834 +msgid "smtp.example.com" +msgstr "" + +#: inc/theme-options.php:839 +msgid "服务器端口" +msgstr "" + +#: inc/theme-options.php:840 +msgid "填写发件服务器端口" +msgstr "" + +#: inc/theme-options.php:841 +msgid "465" +msgstr "" + +#: inc/theme-options.php:846 +msgid "授权方式" +msgstr "" + +#: inc/theme-options.php:847 +msgid "填写登录鉴权的方式" +msgstr "" + +#: inc/theme-options.php:848 +msgid "ssl" +msgstr "" + +#: inc/theme-options.php:853 +msgid "邮箱帐号" +msgstr "" + +#: inc/theme-options.php:854 +msgid "填写邮箱账号" +msgstr "" + +#: inc/theme-options.php:855 +msgid "user@example.com" +msgstr "" + +#: inc/theme-options.php:860 +msgid "邮箱密码" +msgstr "" + +#: inc/theme-options.php:861 +msgid "填写邮箱密码" +msgstr "" + +#: inc/theme-options.php:871 +msgid "顶部配置" +msgstr "" + +#: inc/theme-options.php:877 inc/theme-options.php:883 +msgid "图片导航" +msgstr "" + +#: inc/theme-options.php:884 +msgid "启用/禁用 图片导航" +msgstr "" + +#: inc/theme-options.php:890 msgid "顶部图片" msgstr "" -#: inc/theme-options.php:842 +#: inc/theme-options.php:898 msgid "图片标题" msgstr "" #. Theme Name of the plugin/theme -#: inc/theme-options.php:843 +#: inc/theme-options.php:899 msgid "Kratos" msgstr "" -#: inc/theme-options.php:848 +#: inc/theme-options.php:904 msgid "标题描述" msgstr "" -#: inc/theme-options.php:856 inc/theme-options.php:863 +#: inc/theme-options.php:912 inc/theme-options.php:919 msgid "颜色导航" msgstr "" -#: inc/theme-options.php:870 +#: inc/theme-options.php:926 msgid "页脚配置" msgstr "" -#: inc/theme-options.php:876 +#: inc/theme-options.php:932 msgid "社交图标" msgstr "" -#: inc/theme-options.php:885 +#: inc/theme-options.php:941 msgid "国内平台" msgstr "" -#: inc/theme-options.php:890 +#: inc/theme-options.php:946 msgid "新浪微博" msgstr "" -#: inc/theme-options.php:891 +#: inc/theme-options.php:947 msgid "https://weibo.com/xxxxx" msgstr "" -#: inc/theme-options.php:896 +#: inc/theme-options.php:952 msgid "哔哩哔哩" msgstr "" -#: inc/theme-options.php:897 +#: inc/theme-options.php:953 msgid "https://space.bilibili.com/xxxxx" msgstr "" -#: inc/theme-options.php:902 +#: inc/theme-options.php:958 msgid "CODING" msgstr "" -#: inc/theme-options.php:903 +#: inc/theme-options.php:959 msgid "https://xxxxx.coding.net/u/xxxxx" msgstr "" -#: inc/theme-options.php:908 +#: inc/theme-options.php:964 msgid "码云" msgstr "" -#: inc/theme-options.php:909 +#: inc/theme-options.php:965 msgid "https://gitee.com/xxxxx" msgstr "" -#: inc/theme-options.php:914 +#: inc/theme-options.php:970 msgid "豆瓣" msgstr "" -#: inc/theme-options.php:915 +#: inc/theme-options.php:971 msgid "https://www.douban.com/people/xxxxx" msgstr "" -#: inc/theme-options.php:925 +#: inc/theme-options.php:981 msgid "海外平台" msgstr "" -#: inc/theme-options.php:930 +#: inc/theme-options.php:986 msgid "Twitter" msgstr "" -#: inc/theme-options.php:931 +#: inc/theme-options.php:987 msgid "https://twitter.com/xxxxx" msgstr "" -#: inc/theme-options.php:936 +#: inc/theme-options.php:992 msgid "Telegram" msgstr "" -#: inc/theme-options.php:937 +#: inc/theme-options.php:993 msgid "https://t.me/xxxxx" msgstr "" -#: inc/theme-options.php:942 +#: inc/theme-options.php:998 msgid "LinkedIn" msgstr "" -#: inc/theme-options.php:943 +#: inc/theme-options.php:999 msgid "https://www.linkedin.com/in/xxxxx" msgstr "" -#: inc/theme-options.php:948 +#: inc/theme-options.php:1004 msgid "YouTube" msgstr "" -#: inc/theme-options.php:949 +#: inc/theme-options.php:1005 msgid "https://www.youtube.com/channel/xxxxx" msgstr "" -#: inc/theme-options.php:954 +#: inc/theme-options.php:1010 msgid "Github" msgstr "" -#: inc/theme-options.php:955 +#: inc/theme-options.php:1011 msgid "https://github.com/xxxxx" msgstr "" -#: inc/theme-options.php:960 +#: inc/theme-options.php:1016 msgid "Stack Overflow" msgstr "" -#: inc/theme-options.php:961 +#: inc/theme-options.php:1017 msgid "https://stackoverflow.com/users/xxxxx" msgstr "" -#: inc/theme-options.php:971 +#: inc/theme-options.php:1027 msgid "其他" msgstr "" -#: inc/theme-options.php:976 +#: inc/theme-options.php:1032 msgid "电子邮箱" msgstr "" -#: inc/theme-options.php:977 +#: inc/theme-options.php:1033 msgid "mailto:xxxxx@example.com" msgstr "" -#: inc/theme-options.php:1000 +#: inc/theme-options.php:1056 msgid "备案信息" msgstr "" -#: inc/theme-options.php:1006 +#: inc/theme-options.php:1062 msgid "工信部备案信息" msgstr "" -#: inc/theme-options.php:1007 +#: inc/theme-options.php:1063 msgid "" "由工业和信息化部政" "务服务平台提供" msgstr "" -#: inc/theme-options.php:1008 +#: inc/theme-options.php:1064 msgid "冀ICP证XXXXXX号" msgstr "" -#: inc/theme-options.php:1013 +#: inc/theme-options.php:1069 msgid "公安备案信息" msgstr "" -#: inc/theme-options.php:1014 inc/theme-options.php:1021 +#: inc/theme-options.php:1070 inc/theme-options.php:1077 msgid "" "由全国互联网安全管理" "服务平台提供" msgstr "" -#: inc/theme-options.php:1015 +#: inc/theme-options.php:1071 msgid "冀公网安备 XXXXXXXXXXXXX 号" msgstr "" -#: inc/theme-options.php:1020 +#: inc/theme-options.php:1076 msgid "公安备案链接" msgstr "" -#: inc/theme-options.php:1022 +#: inc/theme-options.php:1078 msgid "http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=xxxxx" msgstr "" -#: inc/theme-options.php:1029 inc/theme-options.php:1035 +#: inc/theme-options.php:1085 inc/theme-options.php:1091 msgid "版权信息" msgstr "" -#: inc/theme-options.php:1043 +#: inc/theme-options.php:1099 msgid "广告配置" msgstr "" -#: inc/theme-options.php:1049 +#: inc/theme-options.php:1105 msgid "文章广告" msgstr "" -#: inc/theme-options.php:1064 inc/theme-options.php:1103 +#: inc/theme-options.php:1120 inc/theme-options.php:1159 msgid "仅用于识别广告内容,可以作为备注使用" msgstr "" -#: inc/theme-options.php:1084 inc/theme-options.php:1123 +#: inc/theme-options.php:1140 inc/theme-options.php:1179 msgid "开启/关闭此条广告" msgstr "" -#: inc/theme-options.php:1134 +#: inc/theme-options.php:1190 msgid "备份恢复" msgstr "" -#: inc/theme-options.php:1144 +#: inc/theme-options.php:1200 msgid "关于主题" msgstr "" -#: inc/theme-options.php:1149 +#: inc/theme-options.php:1205 msgid "基础信息" msgstr "" -#: inc/theme-options.php:1154 -msgid "提示:在反馈主题相关的问题时,请同时复制并提交下面的内容。" -msgstr "" - -#: inc/theme-options.php:1158 +#: inc/theme-options.php:1209 msgid "PHP 版本:" msgstr "" -#: inc/theme-options.php:1158 +#: inc/theme-options.php:1209 msgid "Kratos 版本:" msgstr "" -#: inc/theme-options.php:1158 +#: inc/theme-options.php:1209 msgid "WordPress 版本:" msgstr "" -#: inc/theme-options.php:1158 +#: inc/theme-options.php:1209 msgid "User Agent 信息:" msgstr "" -#: inc/theme-options.php:1163 +#: inc/theme-options.php:1214 msgid "资料文档" msgstr "" -#: inc/theme-options.php:1167 +#: inc/theme-options.php:1218 msgid "问题反馈:" msgstr "" -#: inc/theme-options.php:1167 +#: inc/theme-options.php:1218 msgid "使用说明:" msgstr "" -#: inc/theme-options.php:1167 +#: inc/theme-options.php:1218 msgid "更新日志:" msgstr "" -#: inc/theme-options.php:1167 -msgid "捐赠记录:" -msgstr "" - -#: inc/theme-options.php:1171 +#: inc/theme-options.php:1222 msgid "版权声明" msgstr "" -#: inc/theme-options.php:1175 +#: inc/theme-options.php:1226 msgid "" "主题源码使用 GPL-3.0 协议 进行许可,说明文档使用 进行许可。" msgstr "" -#: inc/theme-options.php:1179 +#: inc/theme-options.php:1230 msgid "讨论交流" msgstr "" -#: inc/theme-options.php:1187 +#: inc/theme-options.php:1238 msgid "打赏支持" msgstr "" @@ -1232,188 +1304,188 @@ msgstr "" msgid "篇" msgstr "" -#: inc/theme-widgets.php:104 +#: inc/theme-widgets.php:105 msgid "刚刚" msgstr "" -#: inc/theme-widgets.php:106 +#: inc/theme-widgets.php:107 msgid " 年前" msgstr "" -#: inc/theme-widgets.php:107 +#: inc/theme-widgets.php:108 msgid " 个月前" msgstr "" -#: inc/theme-widgets.php:108 +#: inc/theme-widgets.php:109 msgid " 周前" msgstr "" -#: inc/theme-widgets.php:109 +#: inc/theme-widgets.php:110 msgid " 天前" msgstr "" -#: inc/theme-widgets.php:110 +#: inc/theme-widgets.php:111 msgid " 小时前" msgstr "" -#: inc/theme-widgets.php:111 +#: inc/theme-widgets.php:112 msgid " 分钟前" msgstr "" -#: inc/theme-widgets.php:112 +#: inc/theme-widgets.php:113 msgid " 秒前" msgstr "" -#: inc/theme-widgets.php:148 +#: inc/theme-widgets.php:149 msgid "匿名" msgstr "" -#: inc/theme-widgets.php:153 +#: inc/theme-widgets.php:154 msgid "发布于 " msgstr "" -#: inc/theme-widgets.php:153 +#: inc/theme-widgets.php:154 msgid "m月d日" msgstr "" -#: inc/theme-widgets.php:169 +#: inc/theme-widgets.php:170 msgid "A search form for your site." msgstr "" -#: inc/theme-widgets.php:172 +#: inc/theme-widgets.php:173 msgctxt "Search widget" msgid "Search" msgstr "" -#: inc/theme-widgets.php:184 +#: inc/theme-widgets.php:185 msgid "搜索" msgstr "" -#: inc/theme-widgets.php:193 +#: inc/theme-widgets.php:194 msgid "Title:" msgstr "" -#: inc/theme-widgets.php:213 +#: inc/theme-widgets.php:214 msgid "图片广告" msgstr "" -#: inc/theme-widgets.php:214 +#: inc/theme-widgets.php:215 msgid "显示自定义图片广告的工具" msgstr "" -#: inc/theme-widgets.php:230 inc/theme-widgets.php:252 +#: inc/theme-widgets.php:231 inc/theme-widgets.php:253 msgid "广告" msgstr "" -#: inc/theme-widgets.php:258 +#: inc/theme-widgets.php:259 msgid "副标题:" msgstr "" -#: inc/theme-widgets.php:262 +#: inc/theme-widgets.php:263 msgid "链接地址:" msgstr "" -#: inc/theme-widgets.php:266 +#: inc/theme-widgets.php:267 msgid "广告图片:" msgstr "" -#: inc/theme-widgets.php:268 inc/theme-widgets.php:338 +#: inc/theme-widgets.php:269 inc/theme-widgets.php:340 msgid "选择图片" msgstr "" -#: inc/theme-widgets.php:282 +#: inc/theme-widgets.php:283 msgid "个人简介" msgstr "" -#: inc/theme-widgets.php:283 +#: inc/theme-widgets.php:284 msgid "站长个人简介的展示工具" msgstr "" -#: inc/theme-widgets.php:299 pages/page-toolbar.php:14 +#: inc/theme-widgets.php:300 pages/page-toolbar.php:14 msgid "这个人很懒,什么都没留下" msgstr "" -#: inc/theme-widgets.php:336 +#: inc/theme-widgets.php:338 msgid "背景图片:" msgstr "" -#: inc/theme-widgets.php:350 inc/theme-widgets.php:374 +#: inc/theme-widgets.php:352 inc/theme-widgets.php:376 msgid "标签聚合" msgstr "" -#: inc/theme-widgets.php:351 +#: inc/theme-widgets.php:353 msgid "文章标签的展示工具" msgstr "" -#: inc/theme-widgets.php:397 +#: inc/theme-widgets.php:399 msgid "显示数量:" msgstr "" -#: inc/theme-widgets.php:401 +#: inc/theme-widgets.php:403 msgid "显示排序:" msgstr "" -#: inc/theme-widgets.php:403 +#: inc/theme-widgets.php:405 msgid "降序" msgstr "" -#: inc/theme-widgets.php:404 +#: inc/theme-widgets.php:406 msgid "升序" msgstr "" -#: inc/theme-widgets.php:405 inc/theme-widgets.php:436 -#: inc/theme-widgets.php:441 inc/theme-widgets.php:496 +#: inc/theme-widgets.php:407 inc/theme-widgets.php:438 +#: inc/theme-widgets.php:443 inc/theme-widgets.php:498 msgid "随机" msgstr "" -#: inc/theme-widgets.php:418 +#: inc/theme-widgets.php:420 msgid "文章聚合" msgstr "" -#: inc/theme-widgets.php:419 +#: inc/theme-widgets.php:421 msgid "展示最热、随机、最新文章的工具" msgstr "" -#: inc/theme-widgets.php:434 inc/theme-widgets.php:439 -#: inc/theme-widgets.php:494 +#: inc/theme-widgets.php:436 inc/theme-widgets.php:441 +#: inc/theme-widgets.php:496 msgid "最新" msgstr "" -#: inc/theme-widgets.php:435 inc/theme-widgets.php:440 -#: inc/theme-widgets.php:495 +#: inc/theme-widgets.php:437 inc/theme-widgets.php:442 +#: inc/theme-widgets.php:497 msgid "热点" msgstr "" -#: inc/theme-widgets.php:484 inc/theme-widgets.php:547 +#: inc/theme-widgets.php:486 inc/theme-widgets.php:549 msgid "展示数量:" msgstr "" -#: inc/theme-widgets.php:488 +#: inc/theme-widgets.php:490 msgid "统计天数:" msgstr "" -#: inc/theme-widgets.php:492 +#: inc/theme-widgets.php:494 msgid "默认显示:" msgstr "" -#: inc/theme-widgets.php:509 inc/theme-widgets.php:519 -#: inc/theme-widgets.php:539 +#: inc/theme-widgets.php:511 inc/theme-widgets.php:521 +#: inc/theme-widgets.php:541 msgid "最近评论" msgstr "" -#: inc/theme-widgets.php:510 +#: inc/theme-widgets.php:512 msgid "展示站点最近的评论" msgstr "" -#: inc/theme-widgets.php:543 +#: inc/theme-widgets.php:545 msgid "栏目标题:" msgstr "" -#: inc/theme-widgets.php:562 +#: inc/theme-widgets.php:564 msgid "文章目录" msgstr "" -#: inc/theme-widgets.php:563 +#: inc/theme-widgets.php:565 msgid "仅在有目录规则的文章中显示目录的工具" msgstr "" @@ -1425,27 +1497,19 @@ msgstr "" msgid "很抱歉,没有找到任何内容" msgstr "" -#: page.php:29 single.php:82 -msgid "上一页" -msgstr "" - -#: page.php:48 single.php:101 -msgid "下一页" -msgstr "" - #: pages/page-content.php:34 msgid "页面" msgstr "" -#: pages/page-content.php:47 single.php:58 +#: pages/page-content.php:47 single.php:69 msgid "条评论" msgstr "" -#: pages/page-content.php:52 single.php:54 +#: pages/page-content.php:52 single.php:57 msgid "点热度" msgstr "" -#: pages/page-content.php:54 single.php:56 +#: pages/page-content.php:54 single.php:65 msgid "人点赞" msgstr "" @@ -1461,40 +1525,40 @@ msgstr "" msgid "点赞" msgstr "" -#: single.php:26 +#: single.php:27 msgid "首页" msgstr "" -#: single.php:46 +#: single.php:47 msgid "正文" msgstr "" -#: single.php:62 +#: single.php:73 msgid "编辑文章" msgstr "" -#: single.php:123 +#: single.php:134 #, php-format msgid "本作品采用 %s 进行许可" msgstr "" -#: single.php:128 +#: single.php:139 msgid "标签:" msgstr "" -#: single.php:132 +#: single.php:143 msgid "暂无" msgstr "" -#: single.php:136 +#: single.php:147 msgid "最后更新:" msgstr "" -#: single.php:146 +#: single.php:157 msgid "< 上一篇" msgstr "" -#: single.php:150 +#: single.php:161 msgid "下一篇 >" msgstr "" @@ -1515,3 +1579,7 @@ msgstr "" #. Author URI of the plugin/theme msgid "https://seatonjiang.com" msgstr "" + +#. Template Name of the plugin/theme +msgid "单页样式" +msgstr "" diff --git a/page-full.php b/page-full.php index 3d14634..ea8d9cb 100644 --- a/page-full.php +++ b/page-full.php @@ -4,7 +4,7 @@ * Template Name: 单页样式 * @author Seaton Jiang * @license GPL-3.0 License - * @version 2022.11.27 + * @version 2024.01.17 */ get_header(); ?> @@ -18,7 +18,7 @@ get_header(); ?>

-
+
- + \ No newline at end of file diff --git a/page.php b/page.php index ef65b97..af89bcf 100644 --- a/page.php +++ b/page.php @@ -4,7 +4,7 @@ * 页面模板 * @author Seaton Jiang * @license GPL-3.0 License - * @version 2022.01.26 + * @version 2024.01.17 */ get_header(); ?> @@ -18,7 +18,7 @@ get_header(); ?>

-
+
- + \ No newline at end of file diff --git a/style.css b/style.css index 286e032..ad83b0a 100644 --- a/style.css +++ b/style.css @@ -2,8 +2,8 @@ /* Theme Name: Kratos Pjax Edition Text Domain: kratos -Version: 4.2.4.2 -Requires PHP: 7.4 +Version: 4.3.1 +Requires PHP: 8.0 Requires at least: 5.3.0 Description: 主题提供了多种针对自媒体博客需求的侧栏工具,删繁就简专注于用户的阅读体验,优化的邮件中心为你的网站留存加分添彩。 Tags: 博客, 双栏, 响应式, 自定义背景, 自定义颜色, 自定义图标, 自定义菜单, 特色图像, 收录优化, 邮件中心, 主题选项, 小工具, 文章置顶, 无障碍友好