diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml deleted file mode 100644 index 19ee71b..0000000 --- a/.github/FUNDING.yml +++ /dev/null @@ -1,2 +0,0 @@ -issuehunt: Vtrois/Kratos -custom: https://www.paypal.me/SeatonJiang diff --git a/README.md b/README.md index 5289981..c6cecfe 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@

- +

@@ -7,7 +7,7 @@ - +

## About @@ -179,14 +179,14 @@ Kratos ## Changelog -Detailed changes for each release are documented in the [release notes](https://github.com/Vtrois/Kratos/releases). +Detailed changes for each release are documented in the [release notes](https://github.com/vtrois/kratos/releases). ## Donation If you find Kratos useful, you can buy us a cup of coffee

- +

## Sponsors @@ -194,11 +194,11 @@ If you find Kratos useful, you can buy us a cup of coffee Special thanks to the generous sponsorship by:

- +

## License -The code is available under the [MIT](https://github.com/Vtrois/Kratos/blob/master/LICENSE) license. +The code is available under the [MIT](https://github.com/vtrois/kratos/blob/master/LICENSE) license. The document is licensed under a [Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License](http://creativecommons.org/licenses/by-nc-nd/4.0/). diff --git a/assets/js/kratos.js b/assets/js/kratos.js index 85ace7b..c3f063e 100644 --- a/assets/js/kratos.js +++ b/assets/js/kratos.js @@ -137,7 +137,7 @@ } var consoleConfig = function () { - console.log('\n Kratos v' + KRATOS_VERSION + '\n\n https://github.com/Vtrois/Kratos \n\n') + console.log('\n Kratos v' + KRATOS_VERSION + '\n\n https://github.com/vtrois/kratos \n\n') } $(function () { diff --git a/assets/js/kratos.min.js b/assets/js/kratos.min.js index dce34d5..c604d15 100644 --- a/assets/js/kratos.min.js +++ b/assets/js/kratos.min.js @@ -1 +1 @@ -function grin(t){var o;if(t=" "+t+" ",!document.getElementById("comment")||"textarea"!=document.getElementById("comment").type)return!1;if(o=document.getElementById("comment"),document.selection)o.focus(),sel=document.selection.createRange(),sel.text=t,o.focus();else if(o.selectionStart||"0"==o.selectionStart){var e=o.selectionStart,a=o.selectionEnd,n=a;o.value=o.value.substring(0,e)+t+o.value.substring(a,o.value.length),n+=t.length,o.focus(),o.selectionStart=n,o.selectionEnd=n}else o.value+=t,o.focus()}(function(){"use strict";var t="3.0.11",o=function(){$("#navbutton").on("click",function(){$(".navbar-toggler").toggleClass("nav-close")})},e=function(){$(function(){$('[data-toggle="tooltip"]').tooltip()})},a=function(){$(window).on("load",function(){var t=$(window);t.scrollTop()>200?$(".gotop").addClass("active"):$(".gotop").removeClass("active"),t.scroll(function(){t.scrollTop()>200?$(".gotop").addClass("active"):$(".gotop").removeClass("active")})}),$(".gotop").on("click",function(t){return t.preventDefault(),$("html, body").animate({scrollTop:$("html").offset().top},500),!1})},n=function(){$(".search").on("click",function(t){$(".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()}),t.stopPropagation()}),$(".search-form").on("click",function(t){t.stopPropagation()})},c=function(){$(".wechat").mouseout(function(){$(".wechat-pic")[0].style.display="none"}),$(".wechat").mouseover(function(){$(".wechat-pic")[0].style.display="block"})},s=function(){$("#addsmile").on("click",function(t){return $(".smile").toggleClass("open"),$(document).one("click",function(){$(".smile").toggleClass("open")}),t.stopPropagation(),!1})},i=function(){$.fn.postLike=function(){if($(this).hasClass("done"))return layer.msg(kratos.repeat,function(){}),!1;$(this).addClass("done"),layer.msg(kratos.thanks);var t=$(this).data("id"),o=$(this).data("action"),e={action:"love",um_id:t,um_action:o};return $.post(kratos.site+"/wp-admin/admin-ajax.php",e,function(t){}),!1},$(document).on("click",".btn-thumbs",function(){$(this).postLike()})},l=function(){$("#donate").on("click",function(){layer.open({type:1,area:["300px","370px"],title:kratos.donate,resize:!1,scrollbar:!1,content:''}),$(".choose-pay input[type='radio']").click(function(){var t=$(this).attr("id");"alipay"==t&&($(".qr-pay #alipay_qr").removeClass("d-none"),$(".qr-pay #wechat_qr").addClass("d-none")),"wechatpay"==t&&($(".qr-pay #alipay_qr").addClass("d-none"),$(".qr-pay #wechat_qr").removeClass("d-none"))})})},r=function(){$(document).on("click",".acheader",function(t){var o=$(this);o.closest(".accordion").find(".contents").slideToggle(300),o.closest(".accordion").hasClass("active")?o.closest(".accordion").removeClass("active"):o.closest(".accordion").addClass("active"),t.preventDefault()})},d=function(){console.log("\n Kratos v"+t+"\n\n https://github.com/Vtrois/Kratos \n\n")};$(function(){r(),o(),e(),a(),n(),c(),s(),i(),l(),d()})})(); \ No newline at end of file +function grin(t){var o;if(t=" "+t+" ",!document.getElementById("comment")||"textarea"!=document.getElementById("comment").type)return!1;if(o=document.getElementById("comment"),document.selection)o.focus(),sel=document.selection.createRange(),sel.text=t,o.focus();else if(o.selectionStart||"0"==o.selectionStart){var e=o.selectionStart,a=o.selectionEnd,n=a;o.value=o.value.substring(0,e)+t+o.value.substring(a,o.value.length),n+=t.length,o.focus(),o.selectionStart=n,o.selectionEnd=n}else o.value+=t,o.focus()}(function(){"use strict";var t="3.0.11",o=function(){$("#navbutton").on("click",function(){$(".navbar-toggler").toggleClass("nav-close")})},e=function(){$(function(){$('[data-toggle="tooltip"]').tooltip()})},a=function(){$(window).on("load",function(){var t=$(window);t.scrollTop()>200?$(".gotop").addClass("active"):$(".gotop").removeClass("active"),t.scroll(function(){t.scrollTop()>200?$(".gotop").addClass("active"):$(".gotop").removeClass("active")})}),$(".gotop").on("click",function(t){return t.preventDefault(),$("html, body").animate({scrollTop:$("html").offset().top},500),!1})},n=function(){$(".search").on("click",function(t){$(".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()}),t.stopPropagation()}),$(".search-form").on("click",function(t){t.stopPropagation()})},c=function(){$(".wechat").mouseout(function(){$(".wechat-pic")[0].style.display="none"}),$(".wechat").mouseover(function(){$(".wechat-pic")[0].style.display="block"})},s=function(){$("#addsmile").on("click",function(t){return $(".smile").toggleClass("open"),$(document).one("click",function(){$(".smile").toggleClass("open")}),t.stopPropagation(),!1})},i=function(){$.fn.postLike=function(){if($(this).hasClass("done"))return layer.msg(kratos.repeat,function(){}),!1;$(this).addClass("done"),layer.msg(kratos.thanks);var t=$(this).data("id"),o=$(this).data("action"),e={action:"love",um_id:t,um_action:o};return $.post(kratos.site+"/wp-admin/admin-ajax.php",e,function(t){}),!1},$(document).on("click",".btn-thumbs",function(){$(this).postLike()})},l=function(){$("#donate").on("click",function(){layer.open({type:1,area:["300px","370px"],title:kratos.donate,resize:!1,scrollbar:!1,content:''}),$(".choose-pay input[type='radio']").click(function(){var t=$(this).attr("id");"alipay"==t&&($(".qr-pay #alipay_qr").removeClass("d-none"),$(".qr-pay #wechat_qr").addClass("d-none")),"wechatpay"==t&&($(".qr-pay #alipay_qr").addClass("d-none"),$(".qr-pay #wechat_qr").removeClass("d-none"))})})},r=function(){$(document).on("click",".acheader",function(t){var o=$(this);o.closest(".accordion").find(".contents").slideToggle(300),o.closest(".accordion").hasClass("active")?o.closest(".accordion").removeClass("active"):o.closest(".accordion").addClass("active"),t.preventDefault()})},d=function(){console.log("\n Kratos v"+t+"\n\n https://github.com/vtrois/kratos \n\n")};$(function(){r(),o(),e(),a(),n(),c(),s(),i(),l(),d()})})(); \ No newline at end of file diff --git a/inc/options-framework/includes/class-options-interface.php b/inc/options-framework/includes/class-options-interface.php index 7952e17..23c9197 100755 --- a/inc/options-framework/includes/class-options-interface.php +++ b/inc/options-framework/includes/class-options-interface.php @@ -245,7 +245,7 @@ class Options_Framework_Interface

' . __('讨论交流', 'kratos') . '

' . __('版权声明', 'kratos') . '

-

' . __('主题源码使用 MIT 协议 进行许可,说明文档使用 CC BY-NC-ND 4.0 进行许可。', 'kratos') . '

+

' . __('主题源码使用 MIT 协议 进行许可,说明文档使用 CC BY-NC-ND 4.0 进行许可。', 'kratos') . '

' . __('打赏支持', 'kratos') . '

' . __('赞助商', 'kratos') . '

diff --git a/inc/update-checker/version.json b/inc/update-checker/version.json index 013e9aa..088b59b 100644 --- a/inc/update-checker/version.json +++ b/inc/update-checker/version.json @@ -1,5 +1,5 @@ { "version": "3.0.11", - "details_url": "https://github.com/Vtrois/Kratos/releases/tag/v3.0.11", + "details_url": "https://github.com/vtrois/kratos/releases/tag/v3.0.11", "download_url": "https://n3.cdn.vtrois.com/kratos/v3.0.11.zip" } diff --git a/languages/en_US.mo b/languages/en_US.mo index b138318..680a9b1 100644 Binary files a/languages/en_US.mo and b/languages/en_US.mo differ diff --git a/languages/en_US.po b/languages/en_US.po index 828e0b2..9264484 100644 --- a/languages/en_US.po +++ b/languages/en_US.po @@ -3,7 +3,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "Project-Id-Version: 87f769374581b4e7ec717067bc809033\n" "POT-Creation-Date: 2020-06-21 21:24+0800\n" -"PO-Revision-Date: 2020-06-22 18:04+0800\n" +"PO-Revision-Date: 2020-06-28 23:16+0800\n" "Last-Translator: \n" "Language-Team: English\n" "MIME-Version: 1.0\n" @@ -177,8 +177,8 @@ msgid "版权声明" msgstr "Copyright notice" #: inc/options-framework/includes/class-options-interface.php:248 -msgid "主题源码使用 MIT 协议 进行许可,说明文档使用 CC BY-NC-ND 4.0 进行许可。" -msgstr "Theme source code licensed by MIT protocol ,Instruction documents are licensed using CC by-nc-nd 4.0." +msgid "主题源码使用 MIT 协议 进行许可,说明文档使用 CC BY-NC-ND 4.0 进行许可。" +msgstr "Theme source code licensed by MIT protocol ,Instruction documents are licensed using CC by-nc-nd 4.0." #: inc/options-framework/includes/class-options-interface.php:249 msgid "打赏支持" @@ -1096,8 +1096,8 @@ msgid "Kratos" msgstr "Kratos" #. Theme URI of the plugin/theme -msgid "https://github.com/Vtrois/Kratos" -msgstr "https://github.com/Vtrois/Kratos" +msgid "https://github.com/vtrois/kratos" +msgstr "https://github.com/vtrois/kratos" #. Description of the plugin/theme msgid "主题提供了多种针对自媒体博客需求的侧栏工具,删繁就简专注于用户的阅读体验,优化的邮件中心为你的网站留存加分添彩。" diff --git a/languages/kratos.pot b/languages/kratos.pot index eff1f3d..28f8b3f 100644 --- a/languages/kratos.pot +++ b/languages/kratos.pot @@ -3,7 +3,7 @@ msgid "" msgstr "" "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" "Project-Id-Version: Kratos\n" -"POT-Creation-Date: 2020-06-21 21:24+0800\n" +"POT-Creation-Date: 2020-06-28 23:15+0800\n" "PO-Revision-Date: 2020-02-14 23:32+0800\n" "Last-Translator: \n" "Language-Team: \n" @@ -177,7 +177,7 @@ msgstr "" #: inc/options-framework/includes/class-options-interface.php:248 msgid "" -"主题源码使用 MIT 协议 进行许可,说明文档使用 CC BY-NC-ND " "4.0 进行许可。" @@ -188,14 +188,10 @@ msgid "打赏支持" msgstr "" #: inc/options-framework/includes/class-options-interface.php:251 -msgid "项目的发展需要您的支持和鼓励,打赏时请确认作者姓名为姜学栋" -msgstr "" - -#: inc/options-framework/includes/class-options-interface.php:252 msgid "赞助商" msgstr "" -#: inc/options-framework/includes/class-options-interface.php:258 +#: inc/options-framework/includes/class-options-interface.php:257 msgid "测试邮件" msgstr "" @@ -839,7 +835,9 @@ msgid "标题内容" msgstr "" #: inc/theme-shortcode.php:183 -msgid "温馨提示:此处内容已隐藏,回复后刷新页面即可查看!" +msgid "" +"温馨提示:此处内容已隐藏,回复后刷新页面即可查" +"看!" msgstr "" #: inc/theme-smtp.php:38 @@ -1100,7 +1098,7 @@ msgid "Kratos" msgstr "" #. Theme URI of the plugin/theme -msgid "https://github.com/Vtrois/Kratos" +msgid "https://github.com/vtrois/kratos" msgstr "" #. Description of the plugin/theme diff --git a/languages/zh_TW.mo b/languages/zh_TW.mo index 0eef7b7..34eff4e 100644 Binary files a/languages/zh_TW.mo and b/languages/zh_TW.mo differ diff --git a/languages/zh_TW.po b/languages/zh_TW.po index 222e8d4..3e2f363 100644 --- a/languages/zh_TW.po +++ b/languages/zh_TW.po @@ -3,7 +3,7 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" "Project-Id-Version: 87f769374581b4e7ec717067bc809033\n" "POT-Creation-Date: 2020-06-21 21:24+0800\n" -"PO-Revision-Date: 2020-06-22 18:04+0800\n" +"PO-Revision-Date: 2020-06-28 23:16+0800\n" "Last-Translator: \n" "Language-Team: Chinese Traditional\n" "MIME-Version: 1.0\n" @@ -177,8 +177,8 @@ msgid "版权声明" msgstr "版權聲明" #: inc/options-framework/includes/class-options-interface.php:248 -msgid "主题源码使用 MIT 协议 进行许可,说明文档使用 CC BY-NC-ND 4.0 进行许可。" -msgstr "主題原始碼使用 MIT 授權條款 進行授權,說明文件使用 CC BY-NC-ND 4.0 進行授權。" +msgid "主题源码使用 MIT 协议 进行许可,说明文档使用 CC BY-NC-ND 4.0 进行许可。" +msgstr "主題原始碼使用 MIT 授權條款 進行授權,說明文件使用 CC BY-NC-ND 4.0 進行授權。" #: inc/options-framework/includes/class-options-interface.php:249 msgid "打赏支持" @@ -1096,8 +1096,8 @@ msgid "Kratos" msgstr "Kratos" #. Theme URI of the plugin/theme -msgid "https://github.com/Vtrois/Kratos" -msgstr "https://github.com/Vtrois/Kratos" +msgid "https://github.com/vtrois/kratos" +msgstr "https://github.com/vtrois/kratos" #. Description of the plugin/theme msgid "主题提供了多种针对自媒体博客需求的侧栏工具,删繁就简专注于用户的阅读体验,优化的邮件中心为你的网站留存加分添彩。" diff --git a/style.css b/style.css index d689a18..6a5a729 100644 --- a/style.css +++ b/style.css @@ -7,7 +7,7 @@ Description: 主题提供了多种针对自媒体博客需求的侧栏工具, Tags: 博客, 双栏, 响应式, 自定义背景, 自定义颜色, 自定义图标, 自定义菜单, 特色图像, 收录优化, 邮件中心, 主题选项, 小工具, 文章置顶, 无障碍友好 Author: Seaton Jiang Author URI: https://www.vtrois.com/ -Theme URI: https://github.com/Vtrois/Kratos +Theme URI: https://github.com/vtrois/kratos License: MIT License -License URI: https://github.com/Vtrois/Kratos/blob/master/LICENSE +License URI: https://github.com/vtrois/kratos/blob/master/LICENSE */