diff --git a/functions.php b/functions.php index 74382a7..4a1a69b 100644 --- a/functions.php +++ b/functions.php @@ -801,7 +801,7 @@ function custom_login() //echo ''."\n"; echo '' . "\n"; //echo ''."\n"; - echo '' . "\n"; + echo '' . "\n"; } add_action('login_head', 'custom_login'); diff --git a/inc/login.css b/inc/login.css index 4412e1c..37a9e4b 100644 --- a/inc/login.css +++ b/inc/login.css @@ -188,9 +188,7 @@ color: #676767 !important} } input[type=checkbox]:checked:before { - content: "\f147"; margin: -2px 0 0 -2px; - color: #FF5656; } /* loading */ diff --git a/inc/swicher.php b/inc/swicher.php index 01378ab..240f3e3 100644 --- a/inc/swicher.php +++ b/inc/swicher.php @@ -37,6 +37,8 @@ mashiro_option.skin_bg6 = "https://api.mashiro.top/bing/"; mashiro_option.skin_bg7 = "https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.2/other-sites/api-index/images/me.png"; +mashiro_option.darkmode = ; + mashiro_option.land_at_home = true; diff --git a/js/sakura-app.js b/js/sakura-app.js index 9bbd6ed..a15a379 100644 --- a/js/sakura-app.js +++ b/js/sakura-app.js @@ -334,12 +334,11 @@ function checkDarkModeCookie() { var dark = getCookie("dark"), today = new Date(), hour = today.getHours(); - if ((!dark && (hour > 21 || hour < 7) ) || (dark == '1' && (hour >= 22 || hour <= 6))) { + if (mashiro_option.darkmode && ((!dark && (hour > 21 || hour < 7) ) || (dark == '1' && (hour >= 22 || hour <= 6)))) { setTimeout(function () { $("#dark-bg").click(); }, 100); $("#moblieDarkLight").html(''); - console.log('夜间模式开启'); } else { if (document.body.clientWidth > 860) { setTimeout(function () { @@ -351,7 +350,6 @@ function checkDarkModeCookie() { $("#moblieDarkLight").html(''); setCookie("dark", "0", 0.33); } - console.log('夜间模式关闭'); } } if (!getCookie("darkcache") && (new Date().getHours() > 21 || new Date().getHours() < 7)) { @@ -399,45 +397,43 @@ $(document).ready(function () { checkskinSecter(); } if (tagid == "dark-bg") { + addComment.I("content").classList.add('notransition'); + addComment.I("content").style.backgroundColor = "#fff"; + addComment.I("content").offsetHeight; + addComment.I("content").classList.remove('notransition'); $("html").css("background", "#31363b"); - $(".site-content").css("background-color", "#fff"); $("body").addClass("dark"); setCookie("dark", "1", 0.33); } else{ $("html").css("background", "unset"); $("body").removeClass("dark"); - $(".site-content").css("background-color", "rgba(255, 255, 255, .8)"); setCookie("dark", "0", 0.33); setCookie("bgImgSetting", tagid, 30); + setTimeout(function () { + addComment.I("content").style.backgroundColor = "rgba(255, 255, 255, 0.8)"; + }, 1000); } switch (tagid) { case "white-bg": $("body").css("background-image", "url(" + checkskin_bg(mashiro_option.skin_bg0) + ")"); - $(".site-content").css("background-color", "#fff"); break; case "sakura-bg": $("body").css("background-image", "url(" + checkskin_bg(mashiro_option.skin_bg1) + ")"); - $(".site-content").css("background-color", "rgba(255, 255, 255, .8)"); break; case "gribs-bg": $("body").css("background-image", "url(" + checkskin_bg(mashiro_option.skin_bg2) + ")"); - $(".site-content").css("background-color", "rgba(255, 255, 255, .8)"); break; case "pixiv-bg": $("body").css("background-image", "url(" + checkskin_bg(mashiro_option.skin_bg3) + ")"); - $(".site-content").css("background-color", "rgba(255, 255, 255, .8)"); break; case "KAdots-bg": $("body").css("background-image", "url(" + checkskin_bg(mashiro_option.skin_bg4) + ")"); - $(".site-content").css("background-color", "rgba(255, 255, 255, .8)"); break; case "totem-bg": $("body").css("background-image", "url(" + checkskin_bg(mashiro_option.skin_bg5) + ")"); - $(".site-content").css("background-color", "rgba(255, 255, 255, .8)"); break; case "bing-bg": $("body").css("background-image", "url(" + checkskin_bg(mashiro_option.skin_bg6) + ")"); - $(".site-content").css("background-color", "rgba(255, 255, 255, .8)"); break; // case "dark-bg": // $("body").css("background-image", "url(" + checkskin_bg(mashiro_option.skin_bg7) + ")"); diff --git a/languages/en_US.mo b/languages/en_US.mo index 8f737cb..602c477 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 7a28f35..7b833e2 100644 --- a/languages/en_US.po +++ b/languages/en_US.po @@ -1,8 +1,8 @@ msgid "" msgstr "" "Project-Id-Version: Sakura\n" -"POT-Creation-Date: 2020-04-06 17:56+0800\n" -"PO-Revision-Date: 2020-04-06 17:56+0800\n" +"POT-Creation-Date: 2020-04-19 00:12+0800\n" +"PO-Revision-Date: 2020-04-19 00:12+0800\n" "Last-Translator: \n" "Language-Team: \n" "Language: en_US\n" @@ -126,15 +126,15 @@ msgstr "" msgid "Site" msgstr "" -#: footer.php:75 footer.php:83 +#: footer.php:76 footer.php:84 msgid "Want to find something?" msgstr "" -#: footer.php:85 +#: footer.php:86 msgid "Search" msgstr "" -#: footer.php:144 +#: footer.php:145 msgid "Widgets" msgstr "" @@ -181,35 +181,35 @@ msgstr "" msgid "This guy is so lazy ╮(╯▽╰)╭" msgstr "" -#: functions.php:1334 +#: functions.php:1335 msgid "All expand/collapse" msgstr "" -#: functions.php:1355 options.php:834 +#: functions.php:1356 options.php:841 msgid " " msgstr "" -#: functions.php:1359 +#: functions.php:1360 msgid " post(s)" msgstr "" -#: functions.php:1382 functions.php:1385 inc/theme_plus.php:478 +#: functions.php:1383 functions.php:1386 inc/theme_plus.php:478 msgid "Dashboard" msgstr "" -#: functions.php:1611 +#: functions.php:1612 msgid "ERROR: This email domain (@" msgstr "" -#: functions.php:1716 +#: functions.php:1717 msgid "QQ" msgstr "" -#: functions.php:1788 +#: functions.php:1789 msgid "Sidebar" msgstr "" -#: functions.php:1900 +#: functions.php:1901 msgid "" " For a better experience, please do not set permalink as plain. To do this, you may need to " @@ -439,31 +439,31 @@ msgstr "" msgid "View comments" msgstr "" -#: options.php:34 options.php:45 options.php:299 +#: options.php:34 options.php:45 options.php:306 msgid "1" msgstr "" -#: options.php:35 options.php:46 options.php:300 +#: options.php:35 options.php:46 options.php:307 msgid "2" msgstr "" -#: options.php:36 options.php:47 options.php:301 +#: options.php:36 options.php:47 options.php:308 msgid "3" msgstr "" -#: options.php:37 options.php:48 options.php:302 +#: options.php:37 options.php:48 options.php:309 msgid "4" msgstr "" -#: options.php:38 options.php:49 options.php:303 +#: options.php:38 options.php:49 options.php:310 msgid "5" msgstr "" -#: options.php:39 options.php:304 +#: options.php:39 options.php:311 msgid "6" msgstr "" -#: options.php:40 options.php:305 +#: options.php:40 options.php:312 msgid "7" msgstr "" @@ -561,289 +561,297 @@ msgid "" msgstr "" #: options.php:163 -msgid "Personal avatar" +msgid "Darkmode" msgstr "" #: options.php:164 -msgid "The best size is 130px*130px." -msgstr "" - -#: options.php:169 -msgid "Text LOGO" +msgid "Automatically turn on dark mode from 22:00 p.m. to 06:00 a.m." msgstr "" #: options.php:170 +msgid "Personal avatar" +msgstr "" + +#: options.php:171 +msgid "The best size is 130px*130px." +msgstr "" + +#: options.php:176 +msgid "Text LOGO" +msgstr "" + +#: options.php:177 msgid "" "The home page does not display the avatar above, but displays a paragraph of " "text (use the avatar above if left blank).The text is recommended not to be " "too long, about 16 bytes is appropriate." msgstr "" -#: options.php:176 +#: options.php:183 msgid "logo" msgstr "" -#: options.php:177 +#: options.php:184 msgid "The best height size is 40px。" msgstr "" -#: options.php:182 +#: options.php:189 msgid "Favicon" msgstr "" -#: options.php:183 +#: options.php:190 msgid "It is the small logo on the browser tab, fill in the url" msgstr "" -#: options.php:189 +#: options.php:196 msgid "Custom keywords and descriptions " msgstr "" -#: options.php:190 +#: options.php:197 msgid "Customize keywords and descriptions after opening" msgstr "" -#: options.php:196 +#: options.php:203 msgid "Site keywords" msgstr "" -#: options.php:197 +#: options.php:204 msgid "Each keyword is divided by a comma \",\" and the number is within 5." msgstr "" -#: options.php:203 +#: options.php:210 msgid "Site descriptions" msgstr "" -#: options.php:204 +#: options.php:211 msgid "Describe the site in concise text, with a maximum of 120 words." msgstr "" -#: options.php:210 +#: options.php:217 msgid "Expand the nav menu" msgstr "" -#: options.php:211 +#: options.php:218 msgid "Check to enable, default shrink" msgstr "" -#: options.php:217 +#: options.php:224 msgid "Head decoration" msgstr "" -#: options.php:218 +#: options.php:225 msgid "" "Enable by default, check off, display on the article page, separate page and " "category page" msgstr "" -#: options.php:224 +#: options.php:231 msgid "Search button" msgstr "" -#: options.php:229 options.php:270 options.php:574 options.php:584 -#: options.php:594 options.php:604 +#: options.php:236 options.php:277 options.php:581 options.php:591 +#: options.php:601 options.php:611 msgid "Open" msgstr "" -#: options.php:230 options.php:271 options.php:575 options.php:585 -#: options.php:595 options.php:605 +#: options.php:237 options.php:278 options.php:582 options.php:592 +#: options.php:602 options.php:612 msgid "Close" msgstr "" -#: options.php:234 +#: options.php:241 msgid "Home article style" msgstr "" -#: options.php:239 +#: options.php:246 msgid "Standard" msgstr "" -#: options.php:240 +#: options.php:247 msgid "Graphic" msgstr "" -#: options.php:244 +#: options.php:251 msgid "Home article feature images (only valid for standard mode)" msgstr "" -#: options.php:249 +#: options.php:256 msgid "Round" msgstr "" -#: options.php:250 +#: options.php:257 msgid "Square" msgstr "" -#: options.php:254 +#: options.php:261 msgid "" "Home article feature images alignment (only for graphic mode, default left " "and right alternate)" msgstr "" -#: options.php:259 +#: options.php:266 msgid "Left" msgstr "" -#: options.php:260 +#: options.php:267 msgid "Right" msgstr "" -#: options.php:261 +#: options.php:268 msgid "Alternate" msgstr "" -#: options.php:265 +#: options.php:272 msgid "Comment shrink" msgstr "" -#: options.php:275 +#: options.php:282 msgid "Display author information at the end of the article?" msgstr "" -#: options.php:276 +#: options.php:283 msgid "Check to enable" msgstr "" -#: options.php:282 +#: options.php:289 msgid "Paging mode" msgstr "" -#: options.php:287 +#: options.php:294 msgid "Ajax load" msgstr "" -#: options.php:288 +#: options.php:295 msgid "Previous and next page" msgstr "" -#: options.php:292 +#: options.php:299 msgid "Automatically load the next page" msgstr "" -#: options.php:293 +#: options.php:300 msgid "" "(seconds) Set to automatically load the next page time, the default is not " "automatically loaded" msgstr "" -#: options.php:298 +#: options.php:305 msgid "0" msgstr "" -#: options.php:306 +#: options.php:313 msgid "8" msgstr "" -#: options.php:307 +#: options.php:314 msgid "9" msgstr "" -#: options.php:308 +#: options.php:315 msgid "10" msgstr "" -#: options.php:309 +#: options.php:316 msgid "Do not load automatically" msgstr "" -#: options.php:313 +#: options.php:320 msgid "Blogger description" msgstr "" -#: options.php:314 +#: options.php:321 msgid "A self-described statement" msgstr "" -#: options.php:320 +#: options.php:327 msgid "Footer info" msgstr "" -#: options.php:321 +#: options.php:328 msgid "Footer description, support for HTML code" msgstr "" -#: options.php:327 +#: options.php:334 msgid "Google analytics" msgstr "" -#: options.php:328 +#: options.php:335 msgid "UA-xxxxx-x" msgstr "" -#: options.php:334 +#: options.php:341 msgid "CNZZ Statistics (not recommand)" msgstr "" -#: options.php:335 +#: options.php:342 msgid "Statistics code, which will be invisible in web page." msgstr "" -#: options.php:341 +#: options.php:348 msgid "Customize CSS styles" msgstr "" -#: options.php:342 +#: options.php:349 msgid "Fill in the CSS code directly, no need to write style tags" msgstr "" -#: options.php:349 +#: options.php:356 msgid "First screen" msgstr "Above The Fold" -#: options.php:353 +#: options.php:360 msgid "Main switch" msgstr "" -#: options.php:354 options.php:398 +#: options.php:361 options.php:405 msgid "Default on, check off" msgstr "" -#: options.php:360 +#: options.php:367 msgid "Social information" msgstr "" -#: options.php:361 +#: options.php:368 msgid "Enable by default, check off, display avatar, signature, SNS" msgstr "" -#: options.php:367 +#: options.php:374 msgid "Social information style" msgstr "" -#: options.php:372 +#: options.php:379 msgid "Merge with signature" msgstr "" -#: options.php:373 +#: options.php:380 msgid "Independent line" msgstr "" -#: options.php:377 +#: options.php:384 msgid "Cover manifest" msgstr "" -#: options.php:378 +#: options.php:385 msgid "Select how to call the cover random image" msgstr "" -#: options.php:383 +#: options.php:390 msgid "webp images (optimization)" msgstr "" -#: options.php:384 +#: options.php:391 msgid "built-in api (default)" msgstr "" -#: options.php:385 +#: options.php:392 msgid "custom api (advanced)" msgstr "" -#: options.php:390 +#: options.php:397 msgid "Cover images url" msgstr "Remove image" -#: options.php:391 +#: options.php:398 #, php-format msgid "" "Fill in the manifest path for random picture display, please refer to here to " @@ -1206,79 +1214,79 @@ msgid "" "you." msgstr "" -#: options.php:757 +#: options.php:764 msgid "Panel main color A" msgstr "" -#: options.php:760 options.php:768 options.php:776 options.php:784 +#: options.php:767 options.php:775 options.php:783 options.php:791 msgid "" "(array) (optional) An array of CSS color definitions which are used " "to give the user a feel for the theme." msgstr "" -#: options.php:765 +#: options.php:772 msgid "Panel main color B" msgstr "" -#: options.php:773 +#: options.php:780 msgid "Panel main color C" msgstr "" -#: options.php:781 +#: options.php:788 msgid "Panel main color D" msgstr "" -#: options.php:789 +#: options.php:796 msgid "Panel icon color——base" msgstr "" -#: options.php:792 options.php:800 options.php:808 +#: options.php:799 options.php:807 options.php:815 msgid "" "(array) (optional) An array of CSS color definitions used to color " "any SVG icons." msgstr "" -#: options.php:797 +#: options.php:804 msgid "Panel icon color——focus" msgstr "" -#: options.php:805 +#: options.php:812 msgid "Panel icon color——current" msgstr "" -#: options.php:813 +#: options.php:820 msgid "Other custom panel styles(CSS)" msgstr "" -#: options.php:814 +#: options.php:821 msgid "If you need to adjust other styles of the panel, put the style here." msgstr "" -#: options.php:820 +#: options.php:827 msgid "Login interface background image" msgstr "" -#: options.php:821 +#: options.php:828 msgid "Use the default image if left this blank" msgstr "" -#: options.php:826 +#: options.php:833 msgid "Login interface logo" msgstr "" -#: options.php:827 +#: options.php:834 msgid "Used for login interface display" msgstr "" -#: options.php:833 +#: options.php:840 msgid "Login/registration related settings" msgstr "" -#: options.php:840 +#: options.php:847 msgid "Specify login address" msgstr "" -#: options.php:841 +#: options.php:848 msgid "" "Forcibly do not use the background address to log in, fill in the new " "landing page address, such as http://www.xxx.com/login [Note] Before you " @@ -1286,82 +1294,82 @@ msgid "" "background or other problems happening" msgstr "" -#: options.php:847 +#: options.php:854 msgid "Specify registered address" msgstr "" -#: options.php:848 +#: options.php:855 msgid "This link is used on the login page as a registration entry" msgstr "" -#: options.php:854 +#: options.php:861 msgid "Allow users to register" msgstr "" -#: options.php:855 +#: options.php:862 msgid "Check to allow users to register at the frontend" msgstr "" -#: options.php:861 +#: options.php:868 msgid "Automatically redirect after login" msgstr "" -#: options.php:862 +#: options.php:869 msgid "" "After checken, the administrator redirects to the background and the user " "redirects to the home page." msgstr "" -#: options.php:868 +#: options.php:875 msgid "Registration verification (frontend only, backend forced open)" msgstr "" -#: options.php:869 +#: options.php:876 msgid "Check to enable slide verification" msgstr "" -#: options.php:876 +#: options.php:883 msgid "CDN" msgstr "" -#: options.php:880 +#: options.php:887 msgid "Images CDN" msgstr "" -#: options.php:881 +#: options.php:888 msgid "" "Note: Fill in the format http(s)://your CDN domain name/.
In other " "words, the original path is http://your.domain/wp-content/uploads/2018/05/xx." "png and the picture will load from http://your CDN domain/2018/05/xx.png" msgstr "" -#: options.php:887 +#: options.php:894 msgid "Use the front-end library locally (lib.js、lib.css)" msgstr "" -#: options.php:888 +#: options.php:895 msgid "The front-end library don't load from jsDelivr, not recommand" msgstr "" -#: options.php:894 +#: options.php:901 msgid "Use js and css file of the theme (sakura-app.js、style.css) locally" msgstr "" -#: options.php:895 +#: options.php:902 msgid "" "The js and css files of the theme do not load from jsDelivr, please open " "when DIY" msgstr "" -#: options.php:902 +#: options.php:909 msgid "Others" msgstr "" -#: options.php:906 +#: options.php:913 msgid "About" msgstr "" -#: options.php:907 +#: options.php:914 #, php-format msgid "" "Theme Sakura v %s | Theme " @@ -1371,248 +1379,248 @@ msgid "" "square\" alt=\"GitHub release\">" msgstr "" -#: options.php:913 +#: options.php:920 msgid "Check for Updates" msgstr "" -#: options.php:925 +#: options.php:932 msgid "Footer float music player" msgstr "" -#: options.php:926 +#: options.php:933 msgid "Choose which platform you'll use." msgstr "" -#: options.php:931 +#: options.php:938 msgid "Netease Cloud Music (default)" msgstr "" -#: options.php:932 +#: options.php:939 msgid "Xiami Music" msgstr "" -#: options.php:933 +#: options.php:940 msgid "KuGou Music" msgstr "" -#: options.php:934 +#: options.php:941 msgid "Baidu Music" msgstr "" -#: options.php:935 +#: options.php:942 msgid "QQ Music (may fail) " msgstr "" -#: options.php:936 +#: options.php:943 msgid "Off" msgstr "" -#: options.php:940 +#: options.php:947 msgid "Song list ID" msgstr "" -#: options.php:941 +#: options.php:948 msgid "" "Fill in the \"song list\" ID, eg: https://music.163.com/#/playlist?" "id=2288037900 The ID is 2288037900" msgstr "" -#: options.php:947 +#: options.php:954 msgid "Netease Cloud Music cookie" msgstr "" -#: options.php:948 +#: options.php:955 msgid "" "For Netease Cloud Music, fill in your vip account's cookies if you want to " "play special tracks.If you don't know what does mean, left it blank." msgstr "" -#: options.php:954 +#: options.php:961 msgid "Version Control" msgstr "" -#: options.php:955 +#: options.php:962 msgid "" "Used to update frontend cookies and browser caches, any string can be used" msgstr "" -#: options.php:961 +#: options.php:968 msgid "Enable PJAX (recommand on)" msgstr "" -#: options.php:962 +#: options.php:969 msgid "The principle is the same as Ajax" msgstr "" -#: options.php:968 +#: options.php:975 msgid "Enable NProgress progress bar" msgstr "" -#: options.php:969 options.php:976 options.php:983 +#: options.php:976 options.php:983 options.php:990 msgid "Default off, check on" msgstr "" -#: options.php:975 +#: options.php:982 msgid "Enable sidebar widget" msgstr "" -#: options.php:982 +#: options.php:989 msgid "Enable Announcement" msgstr "" -#: options.php:989 +#: options.php:996 msgid "Announcement content" msgstr "" -#: options.php:990 +#: options.php:997 msgid "" "Announcement content, the text exceeds 142 bytes will be scrolled display " "(mobile device is invalid)" msgstr "" -#: options.php:995 +#: options.php:1002 msgid "Bilibili UID" msgstr "" -#: options.php:996 +#: options.php:1003 msgid "" "Fill in your UID, eg.https://space.bilibili.com/13972644/, only fill in with " "the number part." msgstr "" -#: options.php:1002 +#: options.php:1009 msgid "Bilibili Cookie" msgstr "" -#: options.php:1003 +#: options.php:1010 msgid "" "Fill in your Cookies, go to your bilibili homepage, you can get cookies in " "brownser network pannel with pressing F12. If left this blank, you'll not " "get the progress." msgstr "" -#: options.php:1008 +#: options.php:1015 msgid "The categories of articles that don't not show on homepage" msgstr "" -#: options.php:1009 options.php:1016 +#: options.php:1016 options.php:1023 msgid "Fill in category ID, multiple IDs are divided by a comma \",\"" msgstr "" -#: options.php:1015 +#: options.php:1022 msgid "Images category" msgstr "" -#: options.php:1022 +#: options.php:1029 msgid "Statistics Interface" msgstr "" -#: options.php:1027 +#: options.php:1034 msgid "" "WP-Statistics plugin (Professional statistics, can exclude invalid access)" msgstr "" -#: options.php:1028 +#: options.php:1035 msgid "Theme built-in (simple statistics, calculate each page access request)" msgstr "" -#: options.php:1032 +#: options.php:1039 msgid "Statistical data display format" msgstr "" -#: options.php:1037 +#: options.php:1044 msgid "23333 Views (default)" msgstr "" -#: options.php:1038 +#: options.php:1045 msgid "23,333 Views (britain)" msgstr "" -#: options.php:1039 +#: options.php:1046 msgid "23 333 Views (french)" msgstr "" -#: options.php:1040 +#: options.php:1047 msgid "23k Views (chinese)" msgstr "" -#: options.php:1044 +#: options.php:1051 msgid "Gravatar avatar proxy" msgstr "" -#: options.php:1045 +#: options.php:1052 msgid "" "A front-ed proxy for Gravatar, eg. gravatar.2heng.xin/avatar . Leave it " "blank if you do not need." msgstr "" -#: options.php:1051 +#: options.php:1058 msgid "Comment image upload API" msgstr "" -#: options.php:1056 +#: options.php:1063 msgid "Imgur (https://imgur.com)" msgstr "" -#: options.php:1057 +#: options.php:1064 msgid "SM.MS (https://sm.ms)" msgstr "" -#: options.php:1058 +#: options.php:1065 msgid "Chevereto (https://chevereto.com)" msgstr "" -#: options.php:1062 +#: options.php:1069 msgid "Imgur Client ID" msgstr "" -#: options.php:1063 +#: options.php:1070 msgid "" "Register your application here, note we only need the Client ID here." msgstr "" -#: options.php:1069 +#: options.php:1076 msgid "SM.MS Secret Token" msgstr "" -#: options.php:1070 +#: options.php:1077 msgid "" "Register your application here." msgstr "" -#: options.php:1076 +#: options.php:1083 msgid "Chevereto API v1 key" msgstr "" -#: options.php:1077 +#: options.php:1084 msgid "Get your API key here: " msgstr "" -#: options.php:1083 +#: options.php:1090 msgid "Chevereto URL" msgstr "" -#: options.php:1084 +#: options.php:1091 msgid "" "Your Chevereto homepage url, no slash in the end, eg. https://your.cherverto." "com" msgstr "" -#: options.php:1090 +#: options.php:1097 msgid "Comment images proxy" msgstr "" -#: options.php:1091 +#: options.php:1098 msgid "" "A front-ed proxy for the uploaded images. Leave it blank if you do not need." msgstr "" -#: options.php:1097 +#: options.php:1104 msgid "Imgur upload proxy" msgstr "" -#: options.php:1098 +#: options.php:1105 msgid "" "A back-ed proxy to upload images. You may set a self hosted proxy with " "Nginx, following my 】" msgstr "" -#: options.php:1104 +#: options.php:1111 msgid "Enable live search" msgstr "" -#: options.php:1105 +#: options.php:1112 msgid "" "Real-time search in the foreground, call the Rest API to update the cache " "every hour, you can manually set the cache time in api.php" msgstr "" -#: options.php:1111 +#: options.php:1118 msgid "Include comments in live search" msgstr "" -#: options.php:1112 +#: options.php:1119 msgid "" "Search for comments in real-time search (not recommended if there are too " "many comments on the site)" msgstr "" -#: options.php:1118 +#: options.php:1125 msgid "Enable baguetteBox" msgstr "" -#: options.php:1119 +#: options.php:1126 msgid "" "Default off,please read wiki" msgstr "" -#: options.php:1125 +#: options.php:1132 msgid "Enable lazyload in posts" msgstr "" -#: options.php:1132 +#: options.php:1139 msgid "lazyload spinner" msgstr "" -#: options.php:1133 +#: options.php:1140 msgid "The placeholder to display when the image loads, fill in the image url" msgstr "" -#: options.php:1139 +#: options.php:1146 msgid "Whether to enable the clipboard copyright" msgstr "" -#: options.php:1140 +#: options.php:1147 msgid "" "Automatically add a copyright to the clipboard when copying more than 30 " "bytes, which is enabled by default." msgstr "" -#: options.php:1146 +#: options.php:1153 msgid "Email address prefix" msgstr "" -#: options.php:1147 +#: options.php:1154 msgid "" "For sending system mail, the sender address displayed in the user's mailbox, " "do not use Chinese, the default system email address is bibi@your_domain_name" msgstr "" -#: options.php:1153 +#: options.php:1160 msgid "Comments reply notification" msgstr "" -#: options.php:1154 +#: options.php:1161 msgid "" "WordPress will use email to notify users when their comments receive a reply " "by default. Tick this item allows users to set their own comments reply " "notification" msgstr "" -#: options.php:1160 +#: options.php:1167 msgid "Administrator comment notification" msgstr "" -#: options.php:1161 +#: options.php:1168 msgid "" "Whether to use email notification when the administrator's comments receive " "a reply" msgstr "" -#: options.php:1167 +#: options.php:1174 msgid "Enable private comment" msgstr "" -#: options.php:1168 +#: options.php:1175 msgid "Allow users to set their own comments to be invisible to others" msgstr "" -#: options.php:1174 +#: options.php:1181 msgid "Human verification" msgstr "" -#: options.php:1175 +#: options.php:1182 msgid "Enable human verification" msgstr "" -#: options.php:1181 +#: options.php:1188 msgid "QQ avatar link encryption" msgstr "" -#: options.php:1182 +#: options.php:1189 msgid "Do not display the user's qq avatar links directly." msgstr "" -#: options.php:1187 +#: options.php:1194 msgid "Off (default)" msgstr "" -#: options.php:1188 +#: options.php:1195 msgid "use redirect (general security)" msgstr "" -#: options.php:1189 +#: options.php:1196 msgid "fetch data at backend (high security)" msgstr "" -#: options.php:1190 +#: options.php:1197 msgid "fetch data at backend (high security,slow)" msgstr "" -#: options.php:1194 +#: options.php:1201 msgid "Comment UA infomation" msgstr "" -#: options.php:1195 +#: options.php:1202 msgid "" "Check to enable, display the user's browser, operating system information" msgstr "" -#: options.php:1201 +#: options.php:1208 msgid "Enable disqus" msgstr "" -#: options.php:1202 +#: options.php:1209 msgid "Enable disqus for comment" msgstr "" -#: options.php:1208 +#: options.php:1215 msgid "Time Zone adjustment" msgstr "" -#: options.php:1209 +#: options.php:1216 msgid "" "If the comment has a time difference problem adjust here, fill in an " "integer, the calculation method: actual_time = display_error_time - " diff --git a/languages/sakura.pot b/languages/sakura.pot index 8137f77..626d5b5 100644 --- a/languages/sakura.pot +++ b/languages/sakura.pot @@ -3,7 +3,7 @@ msgid "" msgstr "" "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" "Project-Id-Version: Sakura\n" -"POT-Creation-Date: 2020-04-06 17:55+0800\n" +"POT-Creation-Date: 2020-04-19 00:12+0800\n" "PO-Revision-Date: 2019-11-01 14:27+0800\n" "Last-Translator: \n" "Language-Team: \n" @@ -126,15 +126,15 @@ msgstr "" msgid "Site" msgstr "" -#: footer.php:75 footer.php:83 +#: footer.php:76 footer.php:84 msgid "Want to find something?" msgstr "" -#: footer.php:85 +#: footer.php:86 msgid "Search" msgstr "" -#: footer.php:144 +#: footer.php:145 msgid "Widgets" msgstr "" @@ -180,35 +180,35 @@ msgstr "" msgid "This guy is so lazy ╮(╯▽╰)╭" msgstr "" -#: functions.php:1334 +#: functions.php:1335 msgid "All expand/collapse" msgstr "" -#: functions.php:1355 options.php:834 +#: functions.php:1356 options.php:841 msgid " " msgstr "" -#: functions.php:1359 +#: functions.php:1360 msgid " post(s)" msgstr "" -#: functions.php:1382 functions.php:1385 inc/theme_plus.php:478 +#: functions.php:1383 functions.php:1386 inc/theme_plus.php:478 msgid "Dashboard" msgstr "" -#: functions.php:1611 +#: functions.php:1612 msgid "ERROR: This email domain (@" msgstr "" -#: functions.php:1716 +#: functions.php:1717 msgid "QQ" msgstr "" -#: functions.php:1788 +#: functions.php:1789 msgid "Sidebar" msgstr "" -#: functions.php:1900 +#: functions.php:1901 msgid "" " For a better experience, please do not set " "permalink as plain. To do this, you may need to configure here to update manifest" msgstr "" -#: options.php:397 +#: options.php:404 msgid "full-screen display" msgstr "" -#: options.php:404 +#: options.php:411 msgid "Enable video" msgstr "" -#: options.php:405 +#: options.php:412 msgid "Check on" msgstr "" -#: options.php:411 +#: options.php:418 msgid "Live" msgstr "" -#: options.php:412 +#: options.php:419 msgid "Check to enable, the video will continue to play automatically, you need to enable Pjax" msgstr "" -#: options.php:418 +#: options.php:425 msgid "Video address" msgstr "" -#: options.php:419 +#: options.php:426 msgid "" "The source address of the video, the address is spliced below the video name, the slash is not " "required at the end of the address" msgstr "" -#: options.php:425 +#: options.php:432 msgid "Video name" msgstr "" -#: options.php:426 +#: options.php:433 msgid "" "abc.mp4, just fill in the video file name abc, multiple videos separated by commas such as " "abc, efg, do not care about the order, because the loading is random extraction" msgstr "" -#: options.php:432 +#: options.php:439 msgid "Background image filter" msgstr "" -#: options.php:437 +#: options.php:444 msgid "Nothing" msgstr "" -#: options.php:438 +#: options.php:445 msgid "Undertint" msgstr "" -#: options.php:439 +#: options.php:446 msgid "Dim" msgstr "" -#: options.php:440 +#: options.php:447 msgid "Grid" msgstr "" -#: options.php:441 +#: options.php:448 msgid "Dot" msgstr "" -#: options.php:445 +#: options.php:452 msgid "Whether to turn on the top-feature" msgstr "" -#: options.php:446 options.php:1126 +#: options.php:453 options.php:1133 msgid "Default on" msgstr "" -#: options.php:452 +#: options.php:459 msgid "Top-feature style" msgstr "" -#: options.php:457 +#: options.php:464 msgid "Alternate left and right" msgstr "" -#: options.php:458 +#: options.php:465 msgid "From bottom to top" msgstr "" -#: options.php:462 +#: options.php:469 msgid "Top-feature title" msgstr "" -#: options.php:463 +#: options.php:470 msgid "" "Default is Discovery, you can also change it to other, of course you can't use it as an " "advertisement!Not allowed!!" msgstr "" -#: options.php:470 +#: options.php:477 msgid "Top-feature 1 image" msgstr "" -#: options.php:471 options.php:499 options.php:527 +#: options.php:478 options.php:506 options.php:534 msgid "size 257px*160px" msgstr "" -#: options.php:477 options.php:478 +#: options.php:484 options.php:485 msgid "Top-feature 1 title" msgstr "" -#: options.php:484 options.php:485 +#: options.php:491 options.php:492 msgid "Top-feature 1 description" msgstr "" -#: options.php:491 options.php:492 +#: options.php:498 options.php:499 msgid "Top-feature 1 link" msgstr "" -#: options.php:498 +#: options.php:505 msgid "Top-feature 2 image" msgstr "" -#: options.php:505 options.php:506 +#: options.php:512 options.php:513 msgid "Top-feature 2 title" msgstr "" -#: options.php:512 options.php:513 +#: options.php:519 options.php:520 msgid "Top-feature 2 description" msgstr "" -#: options.php:519 options.php:520 +#: options.php:526 options.php:527 msgid "Top-feature 2 link" msgstr "" -#: options.php:526 +#: options.php:533 msgid "Top-feature 3 image" msgstr "" -#: options.php:533 options.php:534 +#: options.php:540 options.php:541 msgid "Top-feature 3 title" msgstr "" -#: options.php:540 options.php:541 +#: options.php:547 options.php:548 msgid "Top-feature 3 description" msgstr "" -#: options.php:547 options.php:548 +#: options.php:554 options.php:555 msgid "Top-feature 3 link" msgstr "" -#: options.php:555 +#: options.php:562 msgid "Post page" msgstr "" -#: options.php:559 +#: options.php:566 msgid "Post style" msgstr "" -#: options.php:564 +#: options.php:571 msgid "Sakura" msgstr "" -#: options.php:565 options.php:660 +#: options.php:572 options.php:667 msgid "GitHub" msgstr "" -#: options.php:569 +#: options.php:576 msgid "Post like" msgstr "" -#: options.php:579 +#: options.php:586 msgid "Post share" msgstr "" -#: options.php:589 +#: options.php:596 msgid "Previous and Next" msgstr "" -#: options.php:599 +#: options.php:606 msgid "Author profile" msgstr "" -#: options.php:609 +#: options.php:616 msgid "Alipay reward" msgstr "" -#: options.php:610 +#: options.php:617 msgid "Alipay qrcode" msgstr "" -#: options.php:615 +#: options.php:622 msgid "Wechat reward" msgstr "" -#: options.php:616 +#: options.php:623 msgid "Wechat qrcode " msgstr "" -#: options.php:622 +#: options.php:629 msgid "Social network" msgstr "" -#: options.php:626 +#: options.php:633 msgid "Wechat" msgstr "" -#: options.php:627 +#: options.php:634 msgid "Wechat qrcode" msgstr "" -#: options.php:632 +#: options.php:639 msgid "Sina Weibo" msgstr "" -#: options.php:633 +#: options.php:640 msgid "Sina Weibo address" msgstr "" -#: options.php:639 +#: options.php:646 msgid "Tencent QQ" msgstr "" -#: options.php:640 +#: options.php:647 msgid "tencent://message/?uin={{QQ number}}. for example, tencent://message/?uin=123456" msgstr "" -#: options.php:646 +#: options.php:653 msgid "Telegram" msgstr "" -#: options.php:647 +#: options.php:654 msgid "Telegram link" msgstr "" -#: options.php:653 +#: options.php:660 msgid "Qzone" msgstr "" -#: options.php:654 +#: options.php:661 msgid "Qzone address" msgstr "" -#: options.php:661 +#: options.php:668 msgid "GitHub address" msgstr "" -#: options.php:667 +#: options.php:674 msgid "Lofter" msgstr "" -#: options.php:668 +#: options.php:675 msgid "Lofter address" msgstr "" -#: options.php:674 +#: options.php:681 msgid "BiliBili" msgstr "" -#: options.php:675 +#: options.php:682 msgid "BiliBili address" msgstr "" -#: options.php:681 +#: options.php:688 msgid "Youku video" msgstr "" -#: options.php:682 +#: options.php:689 msgid "Youku video address" msgstr "" -#: options.php:688 +#: options.php:695 msgid "Netease Cloud Music" msgstr "" -#: options.php:689 +#: options.php:696 msgid "Netease Cloud Music address" msgstr "" -#: options.php:695 +#: options.php:702 msgid "Twitter" msgstr "" -#: options.php:696 +#: options.php:703 msgid "Twitter address" msgstr "" -#: options.php:702 +#: options.php:709 msgid "Facebook" msgstr "" -#: options.php:703 +#: options.php:710 msgid "Facebook address" msgstr "" -#: options.php:709 +#: options.php:716 msgid "Jianshu" msgstr "" -#: options.php:710 +#: options.php:717 msgid "Jianshu address" msgstr "" -#: options.php:716 +#: options.php:723 msgid "CSDN" msgstr "" -#: options.php:717 +#: options.php:724 msgid "CSND community address" msgstr "" -#: options.php:723 +#: options.php:730 msgid "Zhihu" msgstr "" -#: options.php:724 +#: options.php:731 msgid "Zhihu address" msgstr "" -#: options.php:730 +#: options.php:737 msgid "Email-name" msgstr "" -#: options.php:731 +#: options.php:738 msgid "" "The name part of name@domain.com, only the frontend has js runtime environment can get the " "full address, you can rest assured to fill in" msgstr "" -#: options.php:737 +#: options.php:744 msgid "Email-domain" msgstr "" -#: options.php:738 +#: options.php:745 msgid "The domain.com part of name@domain.com" msgstr "" -#: options.php:745 +#: options.php:752 msgid "Dashboard configuration" msgstr "" -#: options.php:750 +#: options.php:757 msgid "Dashboard panel custom color scheme" msgstr "" -#: options.php:751 +#: options.php:758 msgid "" "You can design the dashboard panel (/wp-admin/) style yourself below, but before you start, " "please go to here to change the color scheme to custom." @@ -1191,157 +1199,157 @@ msgid "" "\">this can help you." msgstr "" -#: options.php:757 +#: options.php:764 msgid "Panel main color A" msgstr "" -#: options.php:760 options.php:768 options.php:776 options.php:784 +#: options.php:767 options.php:775 options.php:783 options.php:791 msgid "" "(array) (optional) An array of CSS color definitions which are used to give the user a " "feel for the theme." msgstr "" -#: options.php:765 +#: options.php:772 msgid "Panel main color B" msgstr "" -#: options.php:773 +#: options.php:780 msgid "Panel main color C" msgstr "" -#: options.php:781 +#: options.php:788 msgid "Panel main color D" msgstr "" -#: options.php:789 +#: options.php:796 msgid "Panel icon color——base" msgstr "" -#: options.php:792 options.php:800 options.php:808 +#: options.php:799 options.php:807 options.php:815 msgid "(array) (optional) An array of CSS color definitions used to color any SVG icons." msgstr "" -#: options.php:797 +#: options.php:804 msgid "Panel icon color——focus" msgstr "" -#: options.php:805 +#: options.php:812 msgid "Panel icon color——current" msgstr "" -#: options.php:813 +#: options.php:820 msgid "Other custom panel styles(CSS)" msgstr "" -#: options.php:814 +#: options.php:821 msgid "If you need to adjust other styles of the panel, put the style here." msgstr "" -#: options.php:820 +#: options.php:827 msgid "Login interface background image" msgstr "" -#: options.php:821 +#: options.php:828 msgid "Use the default image if left this blank" msgstr "" -#: options.php:826 +#: options.php:833 msgid "Login interface logo" msgstr "" -#: options.php:827 +#: options.php:834 msgid "Used for login interface display" msgstr "" -#: options.php:833 +#: options.php:840 msgid "Login/registration related settings" msgstr "" -#: options.php:840 +#: options.php:847 msgid "Specify login address" msgstr "" -#: options.php:841 +#: options.php:848 msgid "" "Forcibly do not use the background address to log in, fill in the new landing page address, " "such as http://www.xxx.com/login [Note] Before you fill out, test your new page can be opened " "normally, so as not to enter the background or other problems happening" msgstr "" -#: options.php:847 +#: options.php:854 msgid "Specify registered address" msgstr "" -#: options.php:848 +#: options.php:855 msgid "This link is used on the login page as a registration entry" msgstr "" -#: options.php:854 +#: options.php:861 msgid "Allow users to register" msgstr "" -#: options.php:855 +#: options.php:862 msgid "Check to allow users to register at the frontend" msgstr "" -#: options.php:861 +#: options.php:868 msgid "Automatically redirect after login" msgstr "" -#: options.php:862 +#: options.php:869 msgid "" "After checken, the administrator redirects to the background and the user redirects to the " "home page." msgstr "" -#: options.php:868 +#: options.php:875 msgid "Registration verification (frontend only, backend forced open)" msgstr "" -#: options.php:869 +#: options.php:876 msgid "Check to enable slide verification" msgstr "" -#: options.php:876 +#: options.php:883 msgid "CDN" msgstr "" -#: options.php:880 +#: options.php:887 msgid "Images CDN" msgstr "" -#: options.php:881 +#: options.php:888 msgid "" "Note: Fill in the format http(s)://your CDN domain name/.
In other words, the original " "path is http://your.domain/wp-content/uploads/2018/05/xx.png and the picture will load from " "http://your CDN domain/2018/05/xx.png" msgstr "" -#: options.php:887 +#: options.php:894 msgid "Use the front-end library locally (lib.js、lib.css)" msgstr "" -#: options.php:888 +#: options.php:895 msgid "The front-end library don't load from jsDelivr, not recommand" msgstr "" -#: options.php:894 +#: options.php:901 msgid "Use js and css file of the theme (sakura-app.js、style.css) locally" msgstr "" -#: options.php:895 +#: options.php:902 msgid "The js and css files of the theme do not load from jsDelivr, please open when DIY" msgstr "" -#: options.php:902 +#: options.php:909 msgid "Others" msgstr "" -#: options.php:906 +#: options.php:913 msgid "About" msgstr "" -#: options.php:907 +#: options.php:914 #, php-format msgid "" "Theme Sakura v %s | Theme document | " msgstr "" -#: options.php:913 +#: options.php:920 msgid "Check for Updates" msgstr "" -#: options.php:925 +#: options.php:932 msgid "Footer float music player" msgstr "" -#: options.php:926 +#: options.php:933 msgid "Choose which platform you'll use." msgstr "" -#: options.php:931 +#: options.php:938 msgid "Netease Cloud Music (default)" msgstr "" -#: options.php:932 +#: options.php:939 msgid "Xiami Music" msgstr "" -#: options.php:933 +#: options.php:940 msgid "KuGou Music" msgstr "" -#: options.php:934 +#: options.php:941 msgid "Baidu Music" msgstr "" -#: options.php:935 +#: options.php:942 msgid "QQ Music (may fail) " msgstr "" -#: options.php:936 +#: options.php:943 msgid "Off" msgstr "" -#: options.php:940 +#: options.php:947 msgid "Song list ID" msgstr "" -#: options.php:941 +#: options.php:948 msgid "" "Fill in the \"song list\" ID, eg: https://music.163.com/#/playlist?id=2288037900 The ID is " "2288037900" msgstr "" -#: options.php:947 +#: options.php:954 msgid "Netease Cloud Music cookie" msgstr "" -#: options.php:948 +#: options.php:955 msgid "" "For Netease Cloud Music, fill in your vip account's cookies if you want to play special tracks." "If you don't know what does mean, left it blank." msgstr "" -#: options.php:954 +#: options.php:961 msgid "Version Control" msgstr "" -#: options.php:955 +#: options.php:962 msgid "Used to update frontend cookies and browser caches, any string can be used" msgstr "" -#: options.php:961 +#: options.php:968 msgid "Enable PJAX (recommand on)" msgstr "" -#: options.php:962 +#: options.php:969 msgid "The principle is the same as Ajax" msgstr "" -#: options.php:968 +#: options.php:975 msgid "Enable NProgress progress bar" msgstr "" -#: options.php:969 options.php:976 options.php:983 +#: options.php:976 options.php:983 options.php:990 msgid "Default off, check on" msgstr "" -#: options.php:975 +#: options.php:982 msgid "Enable sidebar widget" msgstr "" -#: options.php:982 +#: options.php:989 msgid "Enable Announcement" msgstr "" -#: options.php:989 +#: options.php:996 msgid "Announcement content" msgstr "" -#: options.php:990 +#: options.php:997 msgid "" "Announcement content, the text exceeds 142 bytes will be scrolled display (mobile device is " "invalid)" msgstr "" -#: options.php:995 +#: options.php:1002 msgid "Bilibili UID" msgstr "" -#: options.php:996 +#: options.php:1003 msgid "" "Fill in your UID, eg.https://space.bilibili.com/13972644/, only fill in with the number part." msgstr "" -#: options.php:1002 +#: options.php:1009 msgid "Bilibili Cookie" msgstr "" -#: options.php:1003 +#: options.php:1010 msgid "" "Fill in your Cookies, go to your bilibili homepage, you can get cookies in brownser network " "pannel with pressing F12. If left this blank, you'll not get the progress." msgstr "" -#: options.php:1008 +#: options.php:1015 msgid "The categories of articles that don't not show on homepage" msgstr "" -#: options.php:1009 options.php:1016 +#: options.php:1016 options.php:1023 msgid "Fill in category ID, multiple IDs are divided by a comma \",\"" msgstr "" -#: options.php:1015 +#: options.php:1022 msgid "Images category" msgstr "" -#: options.php:1022 +#: options.php:1029 msgid "Statistics Interface" msgstr "" -#: options.php:1027 +#: options.php:1034 msgid "WP-Statistics plugin (Professional statistics, can exclude invalid access)" msgstr "" -#: options.php:1028 +#: options.php:1035 msgid "Theme built-in (simple statistics, calculate each page access request)" msgstr "" -#: options.php:1032 +#: options.php:1039 msgid "Statistical data display format" msgstr "" -#: options.php:1037 +#: options.php:1044 msgid "23333 Views (default)" msgstr "" -#: options.php:1038 +#: options.php:1045 msgid "23,333 Views (britain)" msgstr "" -#: options.php:1039 +#: options.php:1046 msgid "23 333 Views (french)" msgstr "" -#: options.php:1040 +#: options.php:1047 msgid "23k Views (chinese)" msgstr "" -#: options.php:1044 +#: options.php:1051 msgid "Gravatar avatar proxy" msgstr "" -#: options.php:1045 +#: options.php:1052 msgid "" "A front-ed proxy for Gravatar, eg. gravatar.2heng.xin/avatar . Leave it blank if you do not " "need." msgstr "" -#: options.php:1051 +#: options.php:1058 msgid "Comment image upload API" msgstr "" -#: options.php:1056 +#: options.php:1063 msgid "Imgur (https://imgur.com)" msgstr "" -#: options.php:1057 +#: options.php:1064 msgid "SM.MS (https://sm.ms)" msgstr "" -#: options.php:1058 +#: options.php:1065 msgid "Chevereto (https://chevereto.com)" msgstr "" -#: options.php:1062 +#: options.php:1069 msgid "Imgur Client ID" msgstr "" -#: options.php:1063 +#: options.php:1070 msgid "" "Register your application here, note we " "only need the Client ID here." msgstr "" -#: options.php:1069 +#: options.php:1076 msgid "SM.MS Secret Token" msgstr "" -#: options.php:1070 +#: options.php:1077 msgid "Register your application here." msgstr "" -#: options.php:1076 +#: options.php:1083 msgid "Chevereto API v1 key" msgstr "" -#: options.php:1077 +#: options.php:1084 msgid "Get your API key here: " msgstr "" -#: options.php:1083 +#: options.php:1090 msgid "Chevereto URL" msgstr "" -#: options.php:1084 +#: options.php:1091 msgid "Your Chevereto homepage url, no slash in the end, eg. https://your.cherverto.com" msgstr "" -#: options.php:1090 +#: options.php:1097 msgid "Comment images proxy" msgstr "" -#: options.php:1091 +#: options.php:1098 msgid "A front-ed proxy for the uploaded images. Leave it blank if you do not need." msgstr "" -#: options.php:1097 +#: options.php:1104 msgid "Imgur upload proxy" msgstr "" -#: options.php:1098 +#: options.php:1105 msgid "" "A back-ed proxy to upload images. You may set a self hosted proxy with Nginx, following my turtal. " @@ -1592,146 +1600,146 @@ msgid "" "】" msgstr "" -#: options.php:1104 +#: options.php:1111 msgid "Enable live search" msgstr "" -#: options.php:1105 +#: options.php:1112 msgid "" "Real-time search in the foreground, call the Rest API to update the cache every hour, you can " "manually set the cache time in api.php" msgstr "" -#: options.php:1111 +#: options.php:1118 msgid "Include comments in live search" msgstr "" -#: options.php:1112 +#: options.php:1119 msgid "" "Search for comments in real-time search (not recommended if there are too many comments on the " "site)" msgstr "" -#: options.php:1118 +#: options.php:1125 msgid "Enable baguetteBox" msgstr "" -#: options.php:1119 +#: options.php:1126 msgid "" "Default off,please read wiki" msgstr "" -#: options.php:1125 +#: options.php:1132 msgid "Enable lazyload in posts" msgstr "" -#: options.php:1132 +#: options.php:1139 msgid "lazyload spinner" msgstr "" -#: options.php:1133 +#: options.php:1140 msgid "The placeholder to display when the image loads, fill in the image url" msgstr "" -#: options.php:1139 +#: options.php:1146 msgid "Whether to enable the clipboard copyright" msgstr "" -#: options.php:1140 +#: options.php:1147 msgid "" "Automatically add a copyright to the clipboard when copying more than 30 bytes, which is " "enabled by default." msgstr "" -#: options.php:1146 +#: options.php:1153 msgid "Email address prefix" msgstr "" -#: options.php:1147 +#: options.php:1154 msgid "" "For sending system mail, the sender address displayed in the user's mailbox, do not use " "Chinese, the default system email address is bibi@your_domain_name" msgstr "" -#: options.php:1153 +#: options.php:1160 msgid "Comments reply notification" msgstr "" -#: options.php:1154 +#: options.php:1161 msgid "" "WordPress will use email to notify users when their comments receive a reply by default. Tick " "this item allows users to set their own comments reply notification" msgstr "" -#: options.php:1160 +#: options.php:1167 msgid "Administrator comment notification" msgstr "" -#: options.php:1161 +#: options.php:1168 msgid "Whether to use email notification when the administrator's comments receive a reply" msgstr "" -#: options.php:1167 +#: options.php:1174 msgid "Enable private comment" msgstr "" -#: options.php:1168 +#: options.php:1175 msgid "Allow users to set their own comments to be invisible to others" msgstr "" -#: options.php:1174 +#: options.php:1181 msgid "Human verification" msgstr "" -#: options.php:1175 +#: options.php:1182 msgid "Enable human verification" msgstr "" -#: options.php:1181 +#: options.php:1188 msgid "QQ avatar link encryption" msgstr "" -#: options.php:1182 +#: options.php:1189 msgid "Do not display the user's qq avatar links directly." msgstr "" -#: options.php:1187 +#: options.php:1194 msgid "Off (default)" msgstr "" -#: options.php:1188 +#: options.php:1195 msgid "use redirect (general security)" msgstr "" -#: options.php:1189 +#: options.php:1196 msgid "fetch data at backend (high security)" msgstr "" -#: options.php:1190 +#: options.php:1197 msgid "fetch data at backend (high security,slow)" msgstr "" -#: options.php:1194 +#: options.php:1201 msgid "Comment UA infomation" msgstr "" -#: options.php:1195 +#: options.php:1202 msgid "Check to enable, display the user's browser, operating system information" msgstr "" -#: options.php:1201 +#: options.php:1208 msgid "Enable disqus" msgstr "" -#: options.php:1202 +#: options.php:1209 msgid "Enable disqus for comment" msgstr "" -#: options.php:1208 +#: options.php:1215 msgid "Time Zone adjustment" msgstr "" -#: options.php:1209 +#: options.php:1216 msgid "" "If the comment has a time difference problem adjust here, fill in an integer, the calculation " "method: actual_time = display_error_time - the_integer_you_entered (unit: hour)" diff --git a/languages/zh_CN.mo b/languages/zh_CN.mo index cb60c6c..44d336c 100644 Binary files a/languages/zh_CN.mo and b/languages/zh_CN.mo differ diff --git a/languages/zh_CN.po b/languages/zh_CN.po index 9e9ae71..b4c6f84 100644 --- a/languages/zh_CN.po +++ b/languages/zh_CN.po @@ -1,8 +1,8 @@ msgid "" msgstr "" "Project-Id-Version: Sakura\n" -"POT-Creation-Date: 2020-04-06 17:55+0800\n" -"PO-Revision-Date: 2020-04-06 17:56+0800\n" +"POT-Creation-Date: 2020-04-19 00:21+0800\n" +"PO-Revision-Date: 2020-04-19 00:21+0800\n" "Last-Translator: \n" "Language-Team: \n" "Language: zh_CN\n" @@ -126,15 +126,15 @@ msgstr "禁止小广告😀" msgid "Site" msgstr "网站" -#: footer.php:75 footer.php:83 +#: footer.php:76 footer.php:84 msgid "Want to find something?" msgstr "想要找点什么呢?" -#: footer.php:85 +#: footer.php:86 msgid "Search" msgstr "搜索" -#: footer.php:144 +#: footer.php:145 msgid "Widgets" msgstr "小工具" @@ -183,35 +183,35 @@ msgstr "" msgid "This guy is so lazy ╮(╯▽╰)╭" msgstr "这家伙好懒╮(╯▽╰)╭" -#: functions.php:1334 +#: functions.php:1335 msgid "All expand/collapse" msgstr "全部展开/收缩" -#: functions.php:1355 options.php:834 +#: functions.php:1356 options.php:828 msgid " " msgstr "" -#: functions.php:1359 +#: functions.php:1360 msgid " post(s)" msgstr " 篇文章" -#: functions.php:1382 functions.php:1385 inc/theme_plus.php:478 +#: functions.php:1383 functions.php:1386 inc/theme_plus.php:478 msgid "Dashboard" msgstr "管理中心" -#: functions.php:1611 +#: functions.php:1612 msgid "ERROR: This email domain (@" msgstr "" -#: functions.php:1716 +#: functions.php:1717 msgid "QQ" msgstr "" -#: functions.php:1788 +#: functions.php:1789 msgid "Sidebar" msgstr "侧栏" -#: functions.php:1900 +#: functions.php:1901 msgid "" " For a better experience, please do not set permalink as plain. To do this, you may need to " @@ -443,31 +443,31 @@ msgstr "退出登录" msgid "View comments" msgstr "查看评论" -#: options.php:34 options.php:45 options.php:299 +#: options.php:34 options.php:45 options.php:293 msgid "1" msgstr "" -#: options.php:35 options.php:46 options.php:300 +#: options.php:35 options.php:46 options.php:294 msgid "2" msgstr "" -#: options.php:36 options.php:47 options.php:301 +#: options.php:36 options.php:47 options.php:295 msgid "3" msgstr "" -#: options.php:37 options.php:48 options.php:302 +#: options.php:37 options.php:48 options.php:296 msgid "4" msgstr "" -#: options.php:38 options.php:49 options.php:303 +#: options.php:38 options.php:49 options.php:297 msgid "5" msgstr "" -#: options.php:39 options.php:304 +#: options.php:39 options.php:298 msgid "6" msgstr "" -#: options.php:40 options.php:305 +#: options.php:40 options.php:299 msgid "7" msgstr "" @@ -501,59 +501,16 @@ msgstr "切换主题菜单透明度" #: options.php:137 msgid "" -"Adjust the theme scheme menu transparency, the smaller the value, the more " -"transparent. The default value is 0.8" -msgstr "调整切换主题菜单透明度,值越小越透明。默认透明度0.8" - -#: options.php:142 -msgid "Transparent" -msgstr "全透明" +"Adjust the theme scheme menu transparency, fill in decimals between 0 and " +"1, the smaller the value, the more transparent. The default value is 0.8" +msgstr "" +"调整切换主题菜单透明度,填写0到1之间的小数,值越小越透明。默认透明度0.8" #: options.php:143 -msgid "Transparency 0.1" -msgstr "透明度0.1" - -#: options.php:144 -msgid "Transparency 0.2" -msgstr "明度0.2" - -#: options.php:145 -msgid "Transparency 0.3" -msgstr "透明度0.3" - -#: options.php:146 -msgid "Transparency 0.4" -msgstr "透明度0.4" - -#: options.php:147 -msgid "Transparency 0.5" -msgstr "透明度0.5" - -#: options.php:148 -msgid "Transparency 0.6" -msgstr "透明度0.6" - -#: options.php:149 -msgid "Transparency 0.7" -msgstr "透明度0.7" - -#: options.php:150 -msgid "Transparency 0.8" -msgstr "透明度0.8" - -#: options.php:151 -msgid "Transparency 0.9" -msgstr "透明度0.9" - -#: options.php:152 -msgid "Opaque" -msgstr "Opaque" - -#: options.php:156 msgid "Change web background" msgstr "切换网页背景" -#: options.php:157 +#: options.php:144 msgid "" "The foreground switches the background of the webpage. There are 8 urls " "separated by commas. The order corresponds to the foreground scheme tool " @@ -568,19 +525,27 @@ msgstr "" "意:如果主题是从v3.2.3及以下更新过来的,请务必将本配置页的【其他】标签下的" "【版本控制】参数修改为任意新值!" -#: options.php:163 +#: options.php:150 +msgid "Darkmode" +msgstr "暗黑模式" + +#: options.php:151 +msgid "Automatically turn on dark mode from 10:00 p.m. to 06:00 a.m." +msgstr "晚上10点到早上6点自动打开暗黑模式。" + +#: options.php:157 msgid "Personal avatar" msgstr "个人头像" -#: options.php:164 +#: options.php:158 msgid "The best size is 130px*130px." msgstr "最佳尺寸130px*130px。" -#: options.php:169 +#: options.php:163 msgid "Text LOGO" msgstr "文字版LOGO" -#: options.php:170 +#: options.php:164 msgid "" "The home page does not display the avatar above, but displays a paragraph of " "text (use the avatar above if left blank).The text is recommended not to be " @@ -589,271 +554,271 @@ msgstr "" "首页不显示上方的头像,而是显示一段文字(此处留空则使用上方的头像)。文字建议" "不要过长,16个字节左右为宜。" -#: options.php:176 +#: options.php:170 msgid "logo" msgstr "" -#: options.php:177 +#: options.php:171 msgid "The best height size is 40px。" msgstr "最佳高度尺寸40px。" -#: options.php:182 +#: options.php:176 msgid "Favicon" msgstr "" -#: options.php:183 +#: options.php:177 msgid "It is the small logo on the browser tab, fill in the url" msgstr "就是浏览器标签栏上那个小 logo,填写url" -#: options.php:189 +#: options.php:183 msgid "Custom keywords and descriptions " msgstr "自定义关键词和描述 " -#: options.php:190 +#: options.php:184 msgid "Customize keywords and descriptions after opening" msgstr "开启之后可自定义填写关键词和描述" -#: options.php:196 +#: options.php:190 msgid "Site keywords" msgstr "网站关键词" -#: options.php:197 +#: options.php:191 msgid "Each keyword is divided by a comma \",\" and the number is within 5." msgstr "各关键字间用半角逗号\",\"分割,数量在5个以内最佳。" -#: options.php:203 +#: options.php:197 msgid "Site descriptions" msgstr "网站描述" -#: options.php:204 +#: options.php:198 msgid "Describe the site in concise text, with a maximum of 120 words." msgstr "用简洁的文字描述本站点,字数建议在120个字以内。" -#: options.php:210 +#: options.php:204 msgid "Expand the nav menu" msgstr "展开导航菜单" -#: options.php:211 +#: options.php:205 msgid "Check to enable, default shrink" msgstr "勾选开启,默认收缩" -#: options.php:217 +#: options.php:211 msgid "Head decoration" msgstr "头部装饰图" -#: options.php:218 +#: options.php:212 msgid "" "Enable by default, check off, display on the article page, separate page and " "category page" msgstr "默认开启,勾选关闭,显示在文章页面,独立页面以及分类页" -#: options.php:224 +#: options.php:218 msgid "Search button" msgstr "搜索按钮" -#: options.php:229 options.php:270 options.php:574 options.php:584 -#: options.php:594 options.php:604 +#: options.php:223 options.php:264 options.php:568 options.php:578 +#: options.php:588 options.php:598 msgid "Open" msgstr "启用" -#: options.php:230 options.php:271 options.php:575 options.php:585 -#: options.php:595 options.php:605 +#: options.php:224 options.php:265 options.php:569 options.php:579 +#: options.php:589 options.php:599 msgid "Close" msgstr "关闭" -#: options.php:234 +#: options.php:228 msgid "Home article style" msgstr "首页文章风格" -#: options.php:239 +#: options.php:233 msgid "Standard" msgstr "标准" -#: options.php:240 +#: options.php:234 msgid "Graphic" msgstr "图文" -#: options.php:244 +#: options.php:238 msgid "Home article feature images (only valid for standard mode)" msgstr "首页文章特色图(仅对标准风格生效)" -#: options.php:249 +#: options.php:243 msgid "Round" msgstr "圆形" -#: options.php:250 +#: options.php:244 msgid "Square" msgstr "方形" -#: options.php:254 +#: options.php:248 msgid "" "Home article feature images alignment (only for graphic mode, default left " "and right alternate)" msgstr "首页文章特色图对齐方式(仅对图文风格生效,默认左右交替)" -#: options.php:259 +#: options.php:253 msgid "Left" msgstr "向左对齐" -#: options.php:260 +#: options.php:254 msgid "Right" msgstr "向右对齐" -#: options.php:261 +#: options.php:255 msgid "Alternate" msgstr "左右交替" -#: options.php:265 +#: options.php:259 msgid "Comment shrink" msgstr "评论收缩" -#: options.php:275 +#: options.php:269 msgid "Display author information at the end of the article?" msgstr "文章末尾显示作者信息?" -#: options.php:276 +#: options.php:270 msgid "Check to enable" msgstr "勾选启用" -#: options.php:282 +#: options.php:276 msgid "Paging mode" msgstr "分页模式" -#: options.php:287 +#: options.php:281 msgid "Ajax load" msgstr "Ajax 加载" -#: options.php:288 +#: options.php:282 msgid "Previous and next page" msgstr "上一页和下一页" -#: options.php:292 +#: options.php:286 msgid "Automatically load the next page" msgstr "自动加载下一页" -#: options.php:293 +#: options.php:287 msgid "" "(seconds) Set to automatically load the next page time, the default is not " "automatically loaded" msgstr "(秒)设置自动加载下一页时间,默认不自动加载" -#: options.php:298 +#: options.php:292 msgid "0" msgstr "" -#: options.php:306 +#: options.php:300 msgid "8" msgstr "" -#: options.php:307 +#: options.php:301 msgid "9" msgstr "" -#: options.php:308 +#: options.php:302 msgid "10" msgstr "" -#: options.php:309 +#: options.php:303 msgid "Do not load automatically" msgstr "不自动加载" -#: options.php:313 +#: options.php:307 msgid "Blogger description" msgstr "博主描述" -#: options.php:314 +#: options.php:308 msgid "A self-described statement" msgstr "一段自我描述的话" -#: options.php:320 +#: options.php:314 msgid "Footer info" msgstr "页脚信息" -#: options.php:321 +#: options.php:315 msgid "Footer description, support for HTML code" msgstr "页脚说明文字,支持HTML代码" -#: options.php:327 +#: options.php:321 msgid "Google analytics" msgstr "Google 统计代码" -#: options.php:328 +#: options.php:322 msgid "UA-xxxxx-x" msgstr "" -#: options.php:334 +#: options.php:328 msgid "CNZZ Statistics (not recommand)" msgstr "站长统计(不建议使用)" -#: options.php:335 +#: options.php:329 msgid "Statistics code, which will be invisible in web page." msgstr "填写统计代码,将被隐藏。" -#: options.php:341 +#: options.php:335 msgid "Customize CSS styles" msgstr "自定义CSS样式" -#: options.php:342 +#: options.php:336 msgid "Fill in the CSS code directly, no need to write style tags" msgstr "直接填写CSS代码,不需要写style标签" -#: options.php:349 +#: options.php:343 msgid "First screen" msgstr "第一屏" -#: options.php:353 +#: options.php:347 msgid "Main switch" msgstr "总开关" -#: options.php:354 options.php:398 +#: options.php:348 options.php:392 msgid "Default on, check off" msgstr "默认开启,勾选关闭" -#: options.php:360 +#: options.php:354 msgid "Social information" msgstr "社交信息" -#: options.php:361 +#: options.php:355 msgid "Enable by default, check off, display avatar, signature, SNS" msgstr "默认开启,勾选关闭,显示头像、签名、SNS" -#: options.php:367 +#: options.php:361 msgid "Social information style" msgstr "社交信息样式" -#: options.php:372 +#: options.php:366 msgid "Merge with signature" msgstr "与签名合并" -#: options.php:373 +#: options.php:367 msgid "Independent line" msgstr "独立成行" -#: options.php:377 +#: options.php:371 msgid "Cover manifest" msgstr "封面图片库选项" -#: options.php:378 +#: options.php:372 msgid "Select how to call the cover random image" msgstr "选择封面随机图的调用方式" -#: options.php:383 +#: options.php:377 msgid "webp images (optimization)" msgstr "webp优化随机图" -#: options.php:384 +#: options.php:378 msgid "built-in api (default)" msgstr "内置原图随机图(默认)" -#: options.php:385 +#: options.php:379 msgid "custom api (advanced)" msgstr "外部随机图API" -#: options.php:390 +#: options.php:384 msgid "Cover images url" msgstr "封面图片库url" -#: options.php:391 +#: options.php:385 #, php-format msgid "" "Fill in the manifest path for random picture display, please refer to Wiki,,如果你在上面选择了webp优化,点击这里更新 manifest" -#: options.php:397 +#: options.php:391 msgid "full-screen display" msgstr "全屏显示" -#: options.php:404 +#: options.php:398 msgid "Enable video" msgstr "开启视频" -#: options.php:405 +#: options.php:399 msgid "Check on" msgstr "勾选开启" -#: options.php:411 +#: options.php:405 msgid "Live" msgstr "" -#: options.php:412 +#: options.php:406 msgid "" "Check to enable, the video will continue to play automatically, you need to " "enable Pjax" msgstr "选开启,视频自动续播,需要开启Pjax功能" -#: options.php:418 +#: options.php:412 msgid "Video address" msgstr "视频地址" -#: options.php:419 +#: options.php:413 msgid "" "The source address of the video, the address is spliced below the video " "name, the slash is not required at the end of the address" msgstr "视频的来源地址,该地址拼接下面的视频名,地址尾部不需要加斜杠" -#: options.php:425 +#: options.php:419 msgid "Video name" msgstr "视频名称" -#: options.php:426 +#: options.php:420 msgid "" "abc.mp4, just fill in the video file name abc, multiple videos separated by " "commas such as abc, efg, do not care about the order, because the loading is " @@ -910,287 +875,287 @@ msgstr "" "abc.mp4 ,只需要填写视频文件名 abc 即可,多个用英文逗号隔开如 abc,efg ,无需" "在意顺序,因为加载是随机的抽取的" -#: options.php:432 +#: options.php:426 msgid "Background image filter" msgstr "背景图滤镜" -#: options.php:437 +#: options.php:431 msgid "Nothing" msgstr "无" -#: options.php:438 +#: options.php:432 msgid "Undertint" msgstr "浅色" -#: options.php:439 +#: options.php:433 msgid "Dim" msgstr "暗淡" -#: options.php:440 +#: options.php:434 msgid "Grid" msgstr "网格" -#: options.php:441 +#: options.php:435 msgid "Dot" msgstr "点点" -#: options.php:445 +#: options.php:439 msgid "Whether to turn on the top-feature" msgstr "是否开启聚焦" -#: options.php:446 options.php:1126 +#: options.php:440 options.php:1120 msgid "Default on" msgstr "默认开启" -#: options.php:452 +#: options.php:446 msgid "Top-feature style" msgstr "聚焦样式" -#: options.php:457 +#: options.php:451 msgid "Alternate left and right" msgstr "左右交替" -#: options.php:458 +#: options.php:452 msgid "From bottom to top" msgstr "从下往上" -#: options.php:462 +#: options.php:456 msgid "Top-feature title" msgstr "聚焦标题" -#: options.php:463 +#: options.php:457 msgid "" "Default is Discovery, you can also change it to other, of course you can't " "use it as an advertisement!Not allowed!!" msgstr "默认为聚焦,你也可以修改为其他,当然不能当广告用!不允许!!" -#: options.php:470 +#: options.php:464 msgid "Top-feature 1 image" msgstr "聚焦图一" -#: options.php:471 options.php:499 options.php:527 +#: options.php:465 options.php:493 options.php:521 msgid "size 257px*160px" msgstr "尺寸257px*160px" -#: options.php:477 options.php:478 +#: options.php:471 options.php:472 msgid "Top-feature 1 title" msgstr "聚焦图一标题" -#: options.php:484 options.php:485 +#: options.php:478 options.php:479 msgid "Top-feature 1 description" msgstr "聚焦图一描述" -#: options.php:491 options.php:492 +#: options.php:485 options.php:486 msgid "Top-feature 1 link" msgstr "聚焦图一链接" -#: options.php:498 +#: options.php:492 msgid "Top-feature 2 image" msgstr "聚焦图二" -#: options.php:505 options.php:506 +#: options.php:499 options.php:500 msgid "Top-feature 2 title" msgstr "聚焦图二标题" -#: options.php:512 options.php:513 +#: options.php:506 options.php:507 msgid "Top-feature 2 description" msgstr "聚焦图二描述" -#: options.php:519 options.php:520 +#: options.php:513 options.php:514 msgid "Top-feature 2 link" msgstr "聚焦图二链接" -#: options.php:526 +#: options.php:520 msgid "Top-feature 3 image" msgstr "聚焦图三" -#: options.php:533 options.php:534 +#: options.php:527 options.php:528 msgid "Top-feature 3 title" msgstr "聚焦图三标题" -#: options.php:540 options.php:541 +#: options.php:534 options.php:535 msgid "Top-feature 3 description" msgstr "聚焦图三描述" -#: options.php:547 options.php:548 +#: options.php:541 options.php:542 msgid "Top-feature 3 link" msgstr "聚焦图三链接" -#: options.php:555 +#: options.php:549 msgid "Post page" msgstr "文章页" -#: options.php:559 +#: options.php:553 msgid "Post style" msgstr "文章样式" -#: options.php:564 +#: options.php:558 msgid "Sakura" msgstr "默认样式" -#: options.php:565 options.php:660 +#: options.php:559 options.php:654 msgid "GitHub" msgstr "" -#: options.php:569 +#: options.php:563 msgid "Post like" msgstr "文章点赞" -#: options.php:579 +#: options.php:573 msgid "Post share" msgstr "文章分享" -#: options.php:589 +#: options.php:583 msgid "Previous and Next" msgstr "上一篇下一篇" -#: options.php:599 +#: options.php:593 msgid "Author profile" msgstr "博主信息" -#: options.php:609 +#: options.php:603 msgid "Alipay reward" msgstr "支付宝打赏" -#: options.php:610 +#: options.php:604 msgid "Alipay qrcode" msgstr "支付宝二维码" -#: options.php:615 +#: options.php:609 msgid "Wechat reward" msgstr "微信打赏" -#: options.php:616 +#: options.php:610 msgid "Wechat qrcode " msgstr "微信二维码 " -#: options.php:622 +#: options.php:616 msgid "Social network" msgstr "社交网络" -#: options.php:626 +#: options.php:620 msgid "Wechat" msgstr "微信" -#: options.php:627 +#: options.php:621 msgid "Wechat qrcode" msgstr "微信二维码" -#: options.php:632 +#: options.php:626 msgid "Sina Weibo" msgstr "新浪微博" -#: options.php:633 +#: options.php:627 msgid "Sina Weibo address" msgstr "新浪微博地址" -#: options.php:639 +#: options.php:633 msgid "Tencent QQ" msgstr "腾讯QQ" -#: options.php:640 +#: options.php:634 msgid "" "tencent://message/?uin={{QQ number}}. for example, tencent://message/?" "uin=123456" msgstr "tencent://message/?uin={{QQ号码}},如tencent://message/?uin=123456" -#: options.php:646 +#: options.php:640 msgid "Telegram" msgstr "" -#: options.php:647 +#: options.php:641 msgid "Telegram link" msgstr "Telegram链接" -#: options.php:653 +#: options.php:647 msgid "Qzone" msgstr "QQ空间" -#: options.php:654 +#: options.php:648 msgid "Qzone address" msgstr "QQ空间地址" -#: options.php:661 +#: options.php:655 msgid "GitHub address" msgstr "GitHub地址" -#: options.php:667 +#: options.php:661 msgid "Lofter" msgstr "" -#: options.php:668 +#: options.php:662 msgid "Lofter address" msgstr "Lofter 地址" -#: options.php:674 +#: options.php:668 msgid "BiliBili" msgstr "" -#: options.php:675 +#: options.php:669 msgid "BiliBili address" msgstr "B站地址" -#: options.php:681 +#: options.php:675 msgid "Youku video" msgstr "优酷视频" -#: options.php:682 +#: options.php:676 msgid "Youku video address" msgstr "优酷地址" -#: options.php:688 +#: options.php:682 msgid "Netease Cloud Music" msgstr "网易云音乐" -#: options.php:689 +#: options.php:683 msgid "Netease Cloud Music address" msgstr "网易云音乐地址" -#: options.php:695 +#: options.php:689 msgid "Twitter" msgstr "" -#: options.php:696 +#: options.php:690 msgid "Twitter address" msgstr "推特地址" -#: options.php:702 +#: options.php:696 msgid "Facebook" msgstr "" -#: options.php:703 +#: options.php:697 msgid "Facebook address" msgstr "脸书地址" -#: options.php:709 +#: options.php:703 msgid "Jianshu" msgstr "简书" -#: options.php:710 +#: options.php:704 msgid "Jianshu address" msgstr "简书地址" -#: options.php:716 +#: options.php:710 msgid "CSDN" msgstr "" -#: options.php:717 +#: options.php:711 msgid "CSND community address" msgstr "CSND社区地址" -#: options.php:723 +#: options.php:717 msgid "Zhihu" msgstr "知乎" -#: options.php:724 +#: options.php:718 msgid "Zhihu address" msgstr "知乎地址" -#: options.php:730 +#: options.php:724 msgid "Email-name" msgstr "邮箱-用户名" -#: options.php:731 +#: options.php:725 msgid "" "The name part of name@domain.com, only the frontend has js runtime " "environment can get the full address, you can rest assured to fill in" @@ -1198,23 +1163,23 @@ msgstr "" "name@domain.com 的 name 部分,前端仅具有 js 运行环境时才能获取完整地址,可放" "心填写" -#: options.php:737 +#: options.php:731 msgid "Email-domain" msgstr "邮箱-域名" -#: options.php:738 +#: options.php:732 msgid "The domain.com part of name@domain.com" msgstr "name@domain.com 的 domain.com部分" -#: options.php:745 +#: options.php:739 msgid "Dashboard configuration" msgstr "后台配置" -#: options.php:750 +#: options.php:744 msgid "Dashboard panel custom color scheme" msgstr "后台面板自定义配色方案" -#: options.php:751 +#: options.php:745 msgid "" "You can design the dashboard panel (/wp-admin/) style yourself below, but " "before you start, please go to here to " @@ -1227,79 +1192,79 @@ msgstr "" "b>如何搭配颜色?或许这个可以" "帮到你。" -#: options.php:757 +#: options.php:751 msgid "Panel main color A" msgstr "面板主色调A" -#: options.php:760 options.php:768 options.php:776 options.php:784 +#: options.php:754 options.php:762 options.php:770 options.php:778 msgid "" "(array) (optional) An array of CSS color definitions which are used " "to give the user a feel for the theme." msgstr "" -#: options.php:765 +#: options.php:759 msgid "Panel main color B" msgstr "面板主色调B" -#: options.php:773 +#: options.php:767 msgid "Panel main color C" msgstr "面板主色调C" -#: options.php:781 +#: options.php:775 msgid "Panel main color D" msgstr "面板主色调D" -#: options.php:789 +#: options.php:783 msgid "Panel icon color——base" msgstr "面板图标配色——base" -#: options.php:792 options.php:800 options.php:808 +#: options.php:786 options.php:794 options.php:802 msgid "" "(array) (optional) An array of CSS color definitions used to color " "any SVG icons." msgstr "" -#: options.php:797 +#: options.php:791 msgid "Panel icon color——focus" msgstr "面板图标配色——focus" -#: options.php:805 +#: options.php:799 msgid "Panel icon color——current" msgstr "面板图标配色——current" -#: options.php:813 +#: options.php:807 msgid "Other custom panel styles(CSS)" msgstr "其他自定义面板样式(CSS)" -#: options.php:814 +#: options.php:808 msgid "If you need to adjust other styles of the panel, put the style here." msgstr "如果还需要对面板其他样式进行调整可以把style放到这里。" -#: options.php:820 +#: options.php:814 msgid "Login interface background image" msgstr "后台登陆界面背景图" -#: options.php:821 +#: options.php:815 msgid "Use the default image if left this blank" msgstr "该地址为空则使用默认图片" -#: options.php:826 +#: options.php:820 msgid "Login interface logo" msgstr "后台登陆界面logo" -#: options.php:827 +#: options.php:821 msgid "Used for login interface display" msgstr "用于登录界面显示" -#: options.php:833 +#: options.php:827 msgid "Login/registration related settings" msgstr "登陆/注册相关设定" -#: options.php:840 +#: options.php:834 msgid "Specify login address" msgstr "指定登录地址" -#: options.php:841 +#: options.php:835 msgid "" "Forcibly do not use the background address to log in, fill in the new " "landing page address, such as http://www.xxx.com/login [Note] Before you " @@ -1310,49 +1275,49 @@ msgstr "" "login【注意】填写前先测试下你新建的页面是可以正常打开的,以免造成无法进入后台" "等情况" -#: options.php:847 +#: options.php:841 msgid "Specify registered address" msgstr "指定注册地址" -#: options.php:848 +#: options.php:842 msgid "This link is used on the login page as a registration entry" msgstr "该链接使用在登录页面作为注册入口,建议填写" -#: options.php:854 +#: options.php:848 msgid "Allow users to register" msgstr "允许用户注册" -#: options.php:855 +#: options.php:849 msgid "Check to allow users to register at the frontend" msgstr "勾选开启,允许用户在前台注册" -#: options.php:861 +#: options.php:855 msgid "Automatically redirect after login" msgstr "登录后自动跳转" -#: options.php:862 +#: options.php:856 msgid "" "After checken, the administrator redirects to the background and the user " "redirects to the home page." msgstr "勾选开启,管理员跳转至后台,用户跳转至主页。" -#: options.php:868 +#: options.php:862 msgid "Registration verification (frontend only, backend forced open)" msgstr "注册验证(仅前端,后端强制开启)" -#: options.php:869 +#: options.php:863 msgid "Check to enable slide verification" msgstr "勾选开启滑动验证" -#: options.php:876 +#: options.php:870 msgid "CDN" msgstr "" -#: options.php:880 +#: options.php:874 msgid "Images CDN" msgstr "图片库" -#: options.php:881 +#: options.php:875 msgid "" "Note: Fill in the format http(s)://your CDN domain name/.
In other " "words, the original path is http://your.domain/wp-content/uploads/2018/05/xx." @@ -1362,33 +1327,33 @@ msgstr "" "domain/wp-content/uploads/2018/05/xx.png 的图片将从 http://你的CDN域" "名/2018/05/xx.png 加载" -#: options.php:887 +#: options.php:881 msgid "Use the front-end library locally (lib.js、lib.css)" msgstr "本地调用前端库(lib.js、lib.css)" -#: options.php:888 +#: options.php:882 msgid "The front-end library don't load from jsDelivr, not recommand" msgstr "前端库不走 jsDelivr,不建议启用" -#: options.php:894 +#: options.php:888 msgid "Use js and css file of the theme (sakura-app.js、style.css) locally" msgstr "本地调用主题 js、css 文件(sakura-app.js、style.css)" -#: options.php:895 +#: options.php:889 msgid "" "The js and css files of the theme do not load from jsDelivr, please open " "when DIY" msgstr "主题的 js、css 文件不走 jsDelivr,DIY 时请开启" -#: options.php:902 +#: options.php:896 msgid "Others" msgstr "其他" -#: options.php:906 +#: options.php:900 msgid "About" msgstr "关于" -#: options.php:907 +#: options.php:901 #, php-format msgid "" "Theme Sakura v %s | Theme " @@ -1403,47 +1368,47 @@ msgstr "" "img.shields.io/github/release/mashirozx/Sakura.svg?style=flat-square\" alt=" "\"GitHub release\">" -#: options.php:913 +#: options.php:907 msgid "Check for Updates" msgstr "检查更新" -#: options.php:925 +#: options.php:919 msgid "Footer float music player" msgstr "页脚悬浮播放器" -#: options.php:926 +#: options.php:920 msgid "Choose which platform you'll use." msgstr "选择你要使用的平台。" -#: options.php:931 +#: options.php:925 msgid "Netease Cloud Music (default)" msgstr "网易云音乐(默认)" -#: options.php:932 +#: options.php:926 msgid "Xiami Music" msgstr "虾米音乐" -#: options.php:933 +#: options.php:927 msgid "KuGou Music" msgstr "酷狗音乐" -#: options.php:934 +#: options.php:928 msgid "Baidu Music" msgstr "百度音乐" -#: options.php:935 +#: options.php:929 msgid "QQ Music (may fail) " msgstr "QQ音乐(可能解析失败) " -#: options.php:936 +#: options.php:930 msgid "Off" msgstr "关闭" -#: options.php:940 +#: options.php:934 msgid "Song list ID" msgstr "「歌单」ID" -#: options.php:941 +#: options.php:935 msgid "" "Fill in the \"song list\" ID, eg: https://music.163.com/#/playlist?" "id=2288037900 The ID is 2288037900" @@ -1451,11 +1416,11 @@ msgstr "" "填写「歌单」ID,eg:https://music.163.com/#/playlist?id=2288037900的ID是" "2288037900" -#: options.php:947 +#: options.php:941 msgid "Netease Cloud Music cookie" msgstr "网易云音乐 Cookies" -#: options.php:948 +#: options.php:942 msgid "" "For Netease Cloud Music, fill in your vip account's cookies if you want to " "play special tracks.If you don't know what does mean, left it blank." @@ -1463,44 +1428,44 @@ msgstr "" "针对网易云音乐,如果你想播放特殊曲目,填入你的vip帐号Cookies。如果不知道这" "是什么意思,忽略即可。" -#: options.php:954 +#: options.php:948 msgid "Version Control" msgstr "版本控制" -#: options.php:955 +#: options.php:949 msgid "" "Used to update frontend cookies and browser caches, any string can be used" msgstr "用于更新前端 cookie 及浏览器缓存,可使用任意字符串" -#: options.php:961 +#: options.php:955 msgid "Enable PJAX (recommand on)" msgstr "开启PJAX局部刷新(建议开启)" -#: options.php:962 +#: options.php:956 msgid "The principle is the same as Ajax" msgstr "原理与Ajax相同" -#: options.php:968 +#: options.php:962 msgid "Enable NProgress progress bar" msgstr "开启NProgress加载进度条" -#: options.php:969 options.php:976 options.php:983 +#: options.php:963 options.php:970 options.php:977 msgid "Default off, check on" msgstr "默认不开启,勾选开启" -#: options.php:975 +#: options.php:969 msgid "Enable sidebar widget" msgstr "支持侧栏小部件" -#: options.php:982 +#: options.php:976 msgid "Enable Announcement" msgstr "开启公告" -#: options.php:989 +#: options.php:983 msgid "Announcement content" msgstr "公告内容" -#: options.php:990 +#: options.php:984 msgid "" "Announcement content, the text exceeds 142 bytes will be scrolled display " "(mobile device is invalid)" @@ -1508,22 +1473,22 @@ msgstr "" "公告内容,文字超出142个字节将会被滚动显示(移动端无效),一个汉字 = 3字节,一" "个字母 = 1字节,自己计算吧" -#: options.php:995 +#: options.php:989 msgid "Bilibili UID" msgstr "" -#: options.php:996 +#: options.php:990 msgid "" "Fill in your UID, eg.https://space.bilibili.com/13972644/, only fill in with " "the number part." msgstr "" "填写你的UID,,例如:https://space.bilibili.com/13972644/,只需填写数字部分。" -#: options.php:1002 +#: options.php:996 msgid "Bilibili Cookie" msgstr "" -#: options.php:1003 +#: options.php:997 msgid "" "Fill in your Cookies, go to your bilibili homepage, you can get cookies in " "brownser network pannel with pressing F12. If left this blank, you'll not " @@ -1532,56 +1497,56 @@ msgstr "" "填写你的帐号Cookies。F12打开浏览器网络面板,前往你的B站主页获取Cookies。如果" "留空,将不会显示追番进度。" -#: options.php:1008 +#: options.php:1002 msgid "The categories of articles that don't not show on homepage" msgstr "首页不显示的分类文章" -#: options.php:1009 options.php:1016 +#: options.php:1003 options.php:1010 msgid "Fill in category ID, multiple IDs are divided by a comma \",\"" msgstr "填写分类ID,多个用英文“ , ”分开" -#: options.php:1015 +#: options.php:1009 msgid "Images category" msgstr "图片展示分类" -#: options.php:1022 +#: options.php:1016 msgid "Statistics Interface" msgstr "统计接口" -#: options.php:1027 +#: options.php:1021 msgid "" "WP-Statistics plugin (Professional statistics, can exclude invalid access)" msgstr "WP-Statistics 插件(专业性统计,可排除无效访问)" -#: options.php:1028 +#: options.php:1022 msgid "Theme built-in (simple statistics, calculate each page access request)" msgstr "主题内建(简单的统计,计算每一次页面访问请求)" -#: options.php:1032 +#: options.php:1026 msgid "Statistical data display format" msgstr "统计数据显示格式" -#: options.php:1037 +#: options.php:1031 msgid "23333 Views (default)" msgstr "23333 次访问(默认)" -#: options.php:1038 +#: options.php:1032 msgid "23,333 Views (britain)" msgstr "23,333 次访问(英式)" -#: options.php:1039 +#: options.php:1033 msgid "23 333 Views (french)" msgstr "23 333 次访问(法式)" -#: options.php:1040 +#: options.php:1034 msgid "23k Views (chinese)" msgstr "23k 次访问(中式)" -#: options.php:1044 +#: options.php:1038 msgid "Gravatar avatar proxy" msgstr "Gravatar头像代理" -#: options.php:1045 +#: options.php:1039 msgid "" "A front-ed proxy for Gravatar, eg. gravatar.2heng.xin/avatar . Leave it " "blank if you do not need." @@ -1589,27 +1554,27 @@ msgstr "" "填写Gravatar头像的代理地址,例如:gravatar.2heng.xin/avatar。留空则不使用代" "理。" -#: options.php:1051 +#: options.php:1045 msgid "Comment image upload API" msgstr "评论上传图片接口" -#: options.php:1056 +#: options.php:1050 msgid "Imgur (https://imgur.com)" msgstr "" -#: options.php:1057 +#: options.php:1051 msgid "SM.MS (https://sm.ms)" msgstr "" -#: options.php:1058 +#: options.php:1052 msgid "Chevereto (https://chevereto.com)" msgstr "" -#: options.php:1062 +#: options.php:1056 msgid "Imgur Client ID" msgstr "" -#: options.php:1063 +#: options.php:1057 msgid "" "Register your application here, note we only need the Client ID here." @@ -1617,48 +1582,48 @@ msgstr "" "在这里注册你的 " "application , 注意此处只需要填写 Client ID." -#: options.php:1069 +#: options.php:1063 msgid "SM.MS Secret Token" msgstr "" -#: options.php:1070 +#: options.php:1064 msgid "" "Register your application here." msgstr "在这里获取 key." -#: options.php:1076 +#: options.php:1070 msgid "Chevereto API v1 key" msgstr "" -#: options.php:1077 +#: options.php:1071 msgid "Get your API key here: " msgstr "在这里获取你的 API key: " -#: options.php:1083 +#: options.php:1077 msgid "Chevereto URL" msgstr "" -#: options.php:1084 +#: options.php:1078 msgid "" "Your Chevereto homepage url, no slash in the end, eg. https://your.cherverto." "com" msgstr "" "你的 Chevereto 首页 url, 注意结尾没有 /, 例如:https://your.cherverto.com" -#: options.php:1090 +#: options.php:1084 msgid "Comment images proxy" msgstr "评论图片代理" -#: options.php:1091 +#: options.php:1085 msgid "" "A front-ed proxy for the uploaded images. Leave it blank if you do not need." msgstr "前端显示的图片的代理。" -#: options.php:1097 +#: options.php:1091 msgid "Imgur upload proxy" msgstr "Imgur 上传代理" -#: options.php:1098 +#: options.php:1092 msgid "" "A back-ed proxy to upload images. You may set a self hosted proxy with " "Nginx, following my https://api.imgur.com/3/image/】" -#: options.php:1104 +#: options.php:1098 msgid "Enable live search" msgstr "启用实时搜索" -#: options.php:1105 +#: options.php:1099 msgid "" "Real-time search in the foreground, call the Rest API to update the cache " "every hour, you can manually set the cache time in api.php" @@ -1685,21 +1650,21 @@ msgstr "" "前台实现实时搜索,调用 Rest API 每小时更新一次缓存,可在 api.php 里手动设置缓" "存时间" -#: options.php:1111 +#: options.php:1105 msgid "Include comments in live search" msgstr "实时搜索包含评论" -#: options.php:1112 +#: options.php:1106 msgid "" "Search for comments in real-time search (not recommended if there are too " "many comments on the site)" msgstr "在实时搜索中搜索评论(如果网站评论数量太多不建议开启)" -#: options.php:1118 +#: options.php:1112 msgid "Enable baguetteBox" msgstr "启用 baguetteBox" -#: options.php:1119 +#: options.php:1113 msgid "" "Default off,please read wiki" @@ -1707,33 +1672,33 @@ msgstr "" "默认禁用,请阅" "读说明" -#: options.php:1125 +#: options.php:1119 msgid "Enable lazyload in posts" msgstr "文章内图片启用 lazyload" -#: options.php:1132 +#: options.php:1126 msgid "lazyload spinner" msgstr "lazyload 占位图" -#: options.php:1133 +#: options.php:1127 msgid "The placeholder to display when the image loads, fill in the image url" msgstr "图片加载时要显示的占位图,填写图片 url" -#: options.php:1139 +#: options.php:1133 msgid "Whether to enable the clipboard copyright" msgstr "是否开启剪贴板版权标识" -#: options.php:1140 +#: options.php:1134 msgid "" "Automatically add a copyright to the clipboard when copying more than 30 " "bytes, which is enabled by default." msgstr "复制超过30个字节时自动向剪贴板添加版权标识,默认开启。" -#: options.php:1146 +#: options.php:1140 msgid "Email address prefix" msgstr "发件地址前缀" -#: options.php:1147 +#: options.php:1141 msgid "" "For sending system mail, the sender address displayed in the user's mailbox, " "do not use Chinese, the default system email address is bibi@your_domain_name" @@ -1741,11 +1706,11 @@ msgstr "" "用于发送系统邮件,在用户的邮箱中显示的发件人地址,不要使用中文,默认系统邮件" "地址为 bibi@你的域名" -#: options.php:1153 +#: options.php:1147 msgid "Comments reply notification" msgstr "邮件回复通知" -#: options.php:1154 +#: options.php:1148 msgid "" "WordPress will use email to notify users when their comments receive a reply " "by default. Tick this item allows users to set their own comments reply " @@ -1754,78 +1719,78 @@ msgstr "" "WordPress默认会使用邮件通知用户评论收到回复,开启此项允许用户设置自己的评论收" "到回复时是否使用邮件通知" -#: options.php:1160 +#: options.php:1154 msgid "Administrator comment notification" msgstr "邮件回复通知管理员" -#: options.php:1161 +#: options.php:1155 msgid "" "Whether to use email notification when the administrator's comments receive " "a reply" msgstr "当管理员评论收到回复时是否使用邮件通知" -#: options.php:1167 +#: options.php:1161 msgid "Enable private comment" msgstr "允许私密评论" -#: options.php:1168 +#: options.php:1162 msgid "Allow users to set their own comments to be invisible to others" msgstr "允许用户设置自己的评论对其他人不可见" -#: options.php:1174 +#: options.php:1168 msgid "Human verification" msgstr "机器人验证" -#: options.php:1175 +#: options.php:1169 msgid "Enable human verification" msgstr "开启机器人验证" -#: options.php:1181 +#: options.php:1175 msgid "QQ avatar link encryption" msgstr "QQ头像链接加密" -#: options.php:1182 +#: options.php:1176 msgid "Do not display the user's qq avatar links directly." msgstr "不直接暴露用户QQ头像链接。" -#: options.php:1187 +#: options.php:1181 msgid "Off (default)" msgstr "关闭(默认)" -#: options.php:1188 +#: options.php:1182 msgid "use redirect (general security)" msgstr "使用重定向(安全性低)" -#: options.php:1189 +#: options.php:1183 msgid "fetch data at backend (high security)" msgstr "后端获取头像数据(安全性高)" -#: options.php:1190 +#: options.php:1184 msgid "fetch data at backend (high security,slow)" msgstr "后端解析QQ头像接口(安全性高,慢)" -#: options.php:1194 +#: options.php:1188 msgid "Comment UA infomation" msgstr "评论UA信息" -#: options.php:1195 +#: options.php:1189 msgid "" "Check to enable, display the user's browser, operating system information" msgstr "勾选开启,显示用户的浏览器,操作系统信息" -#: options.php:1201 +#: options.php:1195 msgid "Enable disqus" msgstr "开启多说插件支持" -#: options.php:1202 +#: options.php:1196 msgid "Enable disqus for comment" msgstr "多说已经凉了~~" -#: options.php:1208 +#: options.php:1202 msgid "Time Zone adjustment" msgstr "时区调整" -#: options.php:1209 +#: options.php:1203 msgid "" "If the comment has a time difference problem adjust here, fill in an " "integer, the calculation method: actual_time = display_error_time - " @@ -1961,6 +1926,39 @@ msgstr "注册成功!正在跳转......" msgid "Registration is not open yet." msgstr "暂未开放注册。" +#~ msgid "Transparent" +#~ msgstr "全透明" + +#~ msgid "Transparency 0.1" +#~ msgstr "透明度0.1" + +#~ msgid "Transparency 0.2" +#~ msgstr "明度0.2" + +#~ msgid "Transparency 0.3" +#~ msgstr "透明度0.3" + +#~ msgid "Transparency 0.4" +#~ msgstr "透明度0.4" + +#~ msgid "Transparency 0.5" +#~ msgstr "透明度0.5" + +#~ msgid "Transparency 0.6" +#~ msgstr "透明度0.6" + +#~ msgid "Transparency 0.7" +#~ msgstr "透明度0.7" + +#~ msgid "Transparency 0.8" +#~ msgstr "透明度0.8" + +#~ msgid "Transparency 0.9" +#~ msgstr "透明度0.9" + +#~ msgid "Opaque" +#~ msgstr "Opaque" + #~ msgid "G+ address" #~ msgstr "G+地址" diff --git a/options.php b/options.php index 8624ac3..2e1e648 100644 --- a/options.php +++ b/options.php @@ -134,23 +134,10 @@ function optionsframework_options() $options[] = array( 'name' => __('Theme scheme tool transparency', 'sakura'), /*切换主题菜单透明度*/ - 'desc' => __('Adjust the theme scheme menu transparency, the smaller the value, the more transparent. The default value is 0.8', 'sakura'), /*调整切换主题菜单透明度,值越小越透明。默认透明度0.8*/ + 'desc' => __('Adjust the theme scheme menu transparency, fill in decimals between 0 and 1, the smaller the value, the more transparent. The default value is 0.8', 'sakura'), /*调整切换主题菜单透明度,值越小越透明。默认透明度0.8*/ 'id' => 'sakura_skin_alpha', 'std' => '0.8', - 'type' => 'select', - 'options' => array( - '0' => __('Transparent', 'sakura'), /*全透明*/ - '0.1' => __('Transparency 0.1', 'sakura'), /*透明度0.1*/ - '0.2' => __('Transparency 0.2', 'sakura'), /*透明度0.2*/ - '0.3' => __('Transparency 0.3', 'sakura'), /*透明度0.3*/ - '0.4' => __('Transparency 0.4', 'sakura'), /*透明度0.4*/ - '0.5' => __('Transparency 0.5', 'sakura'), /*透明度0.5*/ - '0.6' => __('Transparency 0.6', 'sakura'), /*透明度0.6*/ - '0.7' => __('Transparency 0.7', 'sakura'), /*透明度0.7*/ - '0.8' => __('Transparency 0.8', 'sakura'), /*透明度0.8*/ - '0.9' => __('Transparency 0.9', 'sakura'), /*透明度0.9*/ - '1' => __('Opaque', 'sakura'), /*不透明*/ - )); + 'type' => 'text'); $options[] = array( 'name' => __('Change web background', 'sakura'), /*切换网页背景*/ @@ -159,6 +146,13 @@ function optionsframework_options() 'std' => 'none,https://cdn.jsdelivr.net/gh/spirit1431007/cdn@1.6/img/sakura.png,https://cdn.jsdelivr.net/gh/spirit1431007/cdn@1.6/img/plaid2dbf8.jpg,https://cdn.jsdelivr.net/gh/spirit1431007/cdn@1.6/img/star02.png,https://cdn.jsdelivr.net/gh/spirit1431007/cdn@1.6/img/kyotoanimation.png,https://cdn.jsdelivr.net/gh/spirit1431007/cdn@1.6/img/dot_orange.gif,https://api.mashiro.top/bing/,https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.2/other-sites/api-index/images/me.png', 'type' => 'textarea'); + $options[] = array( + 'name' => __('Darkmode', 'sakura'), + 'desc' => __('Automatically turn on dark mode from 10:00 p.m. to 06:00 a.m.', 'sakura'), + 'id' => 'darkmode', + 'std' => '1', + 'type' => 'checkbox'); + $options[] = array( 'name' => __('Personal avatar', 'sakura'), /*个人头像*/ 'desc' => __('The best size is 130px*130px.', 'sakura'), /*最佳尺寸130px*130px。*/ diff --git a/style.css b/style.css index ce049ae..fb063fc 100644 --- a/style.css +++ b/style.css @@ -1278,12 +1278,20 @@ a:hover { padding: 40px 0 0 } +.site-content.notransition { + -webkit-transition: none !important; + -moz-transition: none !important; + -o-transition: none !important; + -ms-transition: none !important; + transition: none !important; +} + .site-content { max-width: 800px; padding: 0 10px; margin-left: auto; margin-right: auto; - background-color: #fff + background-color: rgba(255, 255, 255, .8) } .post-list {