diff --git a/functions.php b/functions.php index abbcefa..61728fa 100644 --- a/functions.php +++ b/functions.php @@ -1860,7 +1860,7 @@ function create_sakura_table() if (!$wpdb->get_var("SELECT COUNT(*) FROM $sakura_table_name WHERE mate_key = 'manifest_json'")) { $manifest = array( "mate_key" => "manifest_json", - "mate_value" => file_get_contents(get_stylesheet_directory() . "/manifest/manifest.json"), + "mate_value" => file_get_contents(get_template_directory() . "/manifest/manifest.json"), ); $wpdb->insert($sakura_table_name, $manifest); } diff --git a/inc/api.php b/inc/api.php index 8ff4fdb..a640a08 100644 --- a/inc/api.php +++ b/inc/api.php @@ -355,29 +355,7 @@ function cover_gallery() { * @rest api接口路径:https://sakura.2heng.xin/wp-json/sakura/v1/image/feature */ function feature_gallery() { - if(akina_option('cover_cdn_options')=="type_2"){ - $img_array = glob(get_template_directory() . "/manifest/gallery/*.{gif,jpg,png}",GLOB_BRACE); - $img = array_rand($img_array); - $imgurl = trim($img_array[$img]); - $imgurl = str_replace(get_template_directory(), get_template_directory_uri(), $imgurl); - }elseif(akina_option('cover_cdn_options')=="type_3"){ - $imgurl = akina_option('cover_cdn'); - }else{ - global $sakura_image_array; - $img_array = json_decode($sakura_image_array, true); - $img = array_rand($img_array); - $img_domain = akina_option('cover_cdn') ? akina_option('cover_cdn') : get_template_directory_uri(); - if(strpos($_SERVER['HTTP_ACCEPT'], 'image/webp')) { - $imgurl = $img_domain . "/manifest/" . $img_array[$img]["webp"][0]; - } else { - $imgurl = $img_domain . "/manifest/" . $img_array[$img]["jpeg"][0]; - } - } - $data = array('cover image'); - $response = new WP_REST_Response($data); - $response->set_status(302); - $response->header('Location', $imgurl); - return $response; + return cover_gallery(); } /* @@ -385,30 +363,34 @@ function feature_gallery() { * @rest api接口路径:https://sakura.2heng.xin/wp-json/sakura/v1/database/update */ function update_database() { - global $wpdb; - $sakura_table_name = $wpdb->base_prefix.'sakura'; - $img_domain = akina_option('cover_cdn') ? akina_option('cover_cdn') : get_template_directory(); - $manifest = file_get_contents($img_domain . "/manifest/manifest.json"); - if($manifest) { - $manifest = array( - "mate_key" => "manifest_json", - "mate_value" => $manifest - ); - $time = array( - "mate_key" => "json_time", - "mate_value" => date("Y-m-d H:i:s",time()) - ); - - $wpdb->query("DELETE FROM $sakura_table_name WHERE `mate_key` ='manifest_json'"); - $wpdb->query("DELETE FROM $sakura_table_name WHERE `mate_key` ='json_time'"); - $wpdb->insert($sakura_table_name,$manifest); - $wpdb->insert($sakura_table_name,$time); - $output = "manifest.json has been stored into database."; + if(akina_option('cover_cdn_options')=="type_1"){ + global $wpdb; + $sakura_table_name = $wpdb->base_prefix.'sakura'; + $img_domain = akina_option('cover_cdn') ? akina_option('cover_cdn') : get_template_directory(); + $manifest = file_get_contents($img_domain . "/manifest/manifest.json"); + if($manifest) { + $manifest = array( + "mate_key" => "manifest_json", + "mate_value" => $manifest + ); + $time = array( + "mate_key" => "json_time", + "mate_value" => date("Y-m-d H:i:s",time()) + ); + + $wpdb->query("DELETE FROM $sakura_table_name WHERE `mate_key` ='manifest_json'"); + $wpdb->query("DELETE FROM $sakura_table_name WHERE `mate_key` ='json_time'"); + $wpdb->insert($sakura_table_name,$manifest); + $wpdb->insert($sakura_table_name,$time); + $output = "manifest.json has been stored into database."; + }else{ + $output = "manifest.json not found, please ensure your url ($img_domain) is corrent."; + } + $result = new WP_REST_Response($output, 200); + return $result; }else{ - $output = "manifest.json not found, please ensure your url ($img_domain) is corrent."; + return new WP_REST_Response("Invalid access", 200); } - $result = new WP_REST_Response($output, 200); - return $result; } /** diff --git a/languages/en_US.mo b/languages/en_US.mo index 4b562dc..e906949 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 d0c89ab..34958bd 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: 2019-12-25 10:43+0800\n" -"PO-Revision-Date: 2019-12-25 10:43+0800\n" +"POT-Creation-Date: 2020-01-07 17:27+0800\n" +"PO-Revision-Date: 2020-01-07 17:27+0800\n" "Last-Translator: \n" "Language-Team: \n" "Language: en_US\n" @@ -142,73 +142,81 @@ msgstr "" msgid "Nav Menus" msgstr "" -#: functions.php:389 inc/theme_plus.php:186 layouts/authorprofile.php:11 -#: options.php:123 +#: functions.php:420 inc/theme_plus.php:186 layouts/authorprofile.php:11 +#: options.php:121 msgid "Author" msgstr "" -#: functions.php:389 +#: functions.php:420 msgid "Blogger" msgstr "" -#: functions.php:393 +#: functions.php:424 msgid "Location" msgstr "" -#: functions.php:397 +#: functions.php:428 msgid "Private" msgstr "" -#: functions.php:399 +#: functions.php:430 msgid "Yes" msgstr "" -#: functions.php:401 +#: functions.php:432 msgid "No" msgstr "" -#: functions.php:404 +#: functions.php:435 msgid "Edit" msgstr "" -#: functions.php:486 +#: functions.php:524 msgid "" "Please install pulgin WP-Statistics" msgstr "" -#: functions.php:536 +#: functions.php:574 msgid "This guy is so lazy ╮(╯▽╰)╭" msgstr "" -#: functions.php:1246 +#: functions.php:1327 msgid "All expand/collapse" msgstr "" -#: functions.php:1257 options.php:826 +#: functions.php:1348 options.php:834 msgid " " msgstr "" -#: functions.php:1261 +#: functions.php:1352 msgid " post(s)" msgstr "" -#: functions.php:1283 functions.php:1286 inc/theme_plus.php:478 +#: functions.php:1375 functions.php:1378 inc/theme_plus.php:478 msgid "Dashboard" msgstr "" -#: functions.php:1499 +#: functions.php:1604 msgid "ERROR: This email domain (@" msgstr "" -#: functions.php:1603 +#: functions.php:1709 msgid "QQ" msgstr "" -#: functions.php:1665 +#: functions.php:1779 msgid "Sidebar" msgstr "" +#: functions.php:1891 +msgid "" +" For a better experience, please do not set permalink as plain. To do this, you may need to " +"configure pseudo-static . " +msgstr "" + #: header.php:35 #, php-format msgid "page %s " @@ -431,117 +439,117 @@ msgstr "" msgid "View comments" msgstr "" -#: options.php:34 options.php:46 options.php:301 +#: options.php:34 options.php:45 options.php:299 msgid "1" msgstr "" -#: options.php:35 options.php:47 options.php:302 +#: options.php:35 options.php:46 options.php:300 msgid "2" msgstr "" -#: options.php:36 options.php:48 options.php:303 +#: options.php:36 options.php:47 options.php:301 msgid "3" msgstr "" -#: options.php:37 options.php:49 options.php:304 +#: options.php:37 options.php:48 options.php:302 msgid "4" msgstr "" -#: options.php:38 options.php:50 options.php:305 +#: options.php:38 options.php:49 options.php:303 msgid "5" msgstr "" -#: options.php:39 options.php:306 +#: options.php:39 options.php:304 msgid "6" msgstr "" -#: options.php:40 options.php:307 +#: options.php:40 options.php:305 msgid "7" msgstr "" -#: options.php:112 +#: options.php:110 msgid "Basic settings" msgstr "Basic" -#: options.php:116 +#: options.php:114 msgid "Site title" msgstr "" -#: options.php:117 +#: options.php:115 msgid "Mashiro's Blog" msgstr "" -#: options.php:124 +#: options.php:122 msgid "Mashiro" msgstr "" -#: options.php:130 +#: options.php:128 msgid "Theme style" msgstr "" -#: options.php:133 +#: options.php:131 msgid "Custom theme color" msgstr "" -#: options.php:138 +#: options.php:136 msgid "Theme scheme tool transparency" msgstr "" -#: options.php:139 +#: options.php:137 msgid "" "Adjust the theme scheme menu transparency, the smaller the value, the more " "transparent. The default value is 0.8" msgstr "" -#: options.php:144 +#: options.php:142 msgid "Transparent" msgstr "" -#: options.php:145 +#: options.php:143 msgid "Transparency 0.1" msgstr "" -#: options.php:146 +#: options.php:144 msgid "Transparency 0.2" msgstr "" -#: options.php:147 +#: options.php:145 msgid "Transparency 0.3" msgstr "" -#: options.php:148 +#: options.php:146 msgid "Transparency 0.4" msgstr "" -#: options.php:149 +#: options.php:147 msgid "Transparency 0.5" msgstr "" -#: options.php:150 +#: options.php:148 msgid "Transparency 0.6" msgstr "" -#: options.php:151 +#: options.php:149 msgid "Transparency 0.7" msgstr "" -#: options.php:152 +#: options.php:150 msgid "Transparency 0.8" msgstr "" -#: options.php:153 +#: options.php:151 msgid "Transparency 0.9" msgstr "" -#: options.php:154 +#: options.php:152 msgid "Opaque" msgstr "" -#: options.php:158 +#: options.php:156 msgid "Change web background" msgstr "" -#: options.php:159 +#: options.php:157 msgid "" "The foreground switches the background of the webpage. There are 8 urls " "separated by commas. The order corresponds to the foreground scheme tool " @@ -552,619 +560,644 @@ msgid "" "configuration page to any new value!" msgstr "" -#: options.php:165 +#: options.php:163 msgid "Personal avatar" msgstr "" -#: options.php:166 +#: options.php:164 msgid "The best size is 130px*130px." msgstr "" -#: options.php:171 +#: options.php:169 msgid "Text LOGO" msgstr "" -#: options.php:172 +#: options.php:170 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:178 +#: options.php:176 msgid "logo" msgstr "" -#: options.php:179 +#: options.php:177 msgid "The best height size is 40px。" msgstr "" -#: options.php:184 +#: options.php:182 msgid "Favicon" msgstr "" -#: options.php:185 +#: options.php:183 msgid "It is the small logo on the browser tab, fill in the url" msgstr "" -#: options.php:191 +#: options.php:189 msgid "Custom keywords and descriptions " msgstr "" -#: options.php:192 +#: options.php:190 msgid "Customize keywords and descriptions after opening" msgstr "" -#: options.php:198 +#: options.php:196 msgid "Site keywords" msgstr "" -#: options.php:199 +#: options.php:197 msgid "Each keyword is divided by a comma \",\" and the number is within 5." msgstr "" -#: options.php:205 +#: options.php:203 msgid "Site descriptions" msgstr "" -#: options.php:206 +#: options.php:204 msgid "Describe the site in concise text, with a maximum of 120 words." msgstr "" -#: options.php:212 +#: options.php:210 msgid "Expand the nav menu" msgstr "" -#: options.php:213 +#: options.php:211 msgid "Check to enable, default shrink" msgstr "" -#: options.php:219 +#: options.php:217 msgid "Head decoration" msgstr "" -#: options.php:220 +#: options.php:218 msgid "" "Enable by default, check off, display on the article page, separate page and " "category page" msgstr "" -#: options.php:226 +#: options.php:224 msgid "Search button" msgstr "" -#: options.php:231 options.php:272 options.php:558 options.php:568 -#: options.php:578 options.php:588 +#: options.php:229 options.php:270 options.php:574 options.php:584 +#: options.php:594 options.php:604 msgid "Open" msgstr "" -#: options.php:232 options.php:273 options.php:559 options.php:569 -#: options.php:579 options.php:589 +#: options.php:230 options.php:271 options.php:575 options.php:585 +#: options.php:595 options.php:605 msgid "Close" msgstr "" -#: options.php:236 +#: options.php:234 msgid "Home article style" msgstr "" -#: options.php:241 +#: options.php:239 msgid "Standard" msgstr "" -#: options.php:242 +#: options.php:240 msgid "Graphic" msgstr "" -#: options.php:246 +#: options.php:244 msgid "Home article feature images (only valid for standard mode)" msgstr "" -#: options.php:251 +#: options.php:249 msgid "Round" msgstr "" -#: options.php:252 +#: options.php:250 msgid "Square" msgstr "" -#: options.php:256 +#: options.php:254 msgid "" "Home article feature images alignment (only for graphic mode, default left " "and right alternate)" msgstr "" -#: options.php:261 +#: options.php:259 msgid "Left" msgstr "" -#: options.php:262 +#: options.php:260 msgid "Right" msgstr "" -#: options.php:263 +#: options.php:261 msgid "Alternate" msgstr "" -#: options.php:267 +#: options.php:265 msgid "Comment shrink" msgstr "" -#: options.php:277 +#: options.php:275 msgid "Display author information at the end of the article?" msgstr "" -#: options.php:278 +#: options.php:276 msgid "Check to enable" msgstr "" -#: options.php:284 +#: options.php:282 msgid "Paging mode" msgstr "" -#: options.php:289 +#: options.php:287 msgid "Ajax load" msgstr "" -#: options.php:290 +#: options.php:288 msgid "Previous and next page" msgstr "" -#: options.php:294 +#: options.php:292 msgid "Automatically load the next page" msgstr "" -#: options.php:295 +#: options.php:293 msgid "" "(seconds) Set to automatically load the next page time, the default is not " "automatically loaded" msgstr "" -#: options.php:300 +#: options.php:298 msgid "0" msgstr "" -#: options.php:308 +#: options.php:306 msgid "8" msgstr "" -#: options.php:309 +#: options.php:307 msgid "9" msgstr "" -#: options.php:310 +#: options.php:308 msgid "10" msgstr "" -#: options.php:311 +#: options.php:309 msgid "Do not load automatically" msgstr "" -#: options.php:315 +#: options.php:313 msgid "Blogger description" msgstr "" -#: options.php:316 +#: options.php:314 msgid "A self-described statement" msgstr "" -#: options.php:322 +#: options.php:320 msgid "Footer info" msgstr "" -#: options.php:323 +#: options.php:321 msgid "Footer description, support for HTML code" msgstr "" -#: options.php:329 +#: options.php:327 msgid "Google analytics" msgstr "" -#: options.php:330 +#: options.php:328 msgid "UA-xxxxx-x" msgstr "" -#: options.php:336 +#: options.php:334 msgid "CNZZ Statistics (not recommand)" msgstr "" -#: options.php:337 +#: options.php:335 msgid "Statistics code, which will be invisible in web page." msgstr "" -#: options.php:343 +#: options.php:341 msgid "Customize CSS styles" msgstr "" -#: options.php:344 +#: options.php:342 msgid "Fill in the CSS code directly, no need to write style tags" msgstr "" -#: options.php:352 +#: options.php:349 msgid "First screen" msgstr "Above The Fold" -#: options.php:356 +#: options.php:353 msgid "Main switch" msgstr "" -#: options.php:357 options.php:381 +#: options.php:354 options.php:398 msgid "Default on, check off" msgstr "" -#: options.php:363 +#: options.php:360 msgid "Social information" msgstr "" -#: options.php:364 +#: options.php:361 msgid "Enable by default, check off, display avatar, signature, SNS" msgstr "" -#: options.php:370 +#: options.php:367 msgid "Social information style" msgstr "" -#: options.php:375 +#: options.php:372 msgid "Merge with signature" msgstr "" -#: options.php:376 +#: options.php:373 msgid "Independent line" msgstr "" -#: options.php:380 +#: options.php:377 +msgid "Cover manifest" +msgstr "" + +#: options.php:378 +msgid "Select how to call the cover random image" +msgstr "" + +#: options.php:383 +msgid "webp images (optimization)" +msgstr "" + +#: options.php:384 +msgid "built-in api (default)" +msgstr "" + +#: options.php:385 +msgid "custom api (advanced)" +msgstr "" + +#: options.php:390 +msgid "Cover images url" +msgstr "Remove image" + +#: options.php:391 +#, php-format +msgid "" +"Fill in the manifest path for random picture display, please refer to Wiki . If " +"you select webp images above, click here to update " +"manifest" +msgstr "" + +#: options.php:397 msgid "full-screen display" msgstr "" -#: options.php:387 +#: options.php:404 msgid "Enable video" msgstr "" -#: options.php:388 +#: options.php:405 msgid "Check on" msgstr "" -#: options.php:394 +#: options.php:411 msgid "Live" msgstr "" -#: options.php:395 +#: options.php:412 msgid "" "Check to enable, the video will continue to play automatically, you need to " "enable Pjax" msgstr "" -#: options.php:401 +#: options.php:418 msgid "Video address" msgstr "" -#: options.php:402 +#: options.php:419 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:408 +#: options.php:425 msgid "Video name" msgstr "" -#: options.php:409 +#: options.php:426 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:415 +#: options.php:432 msgid "Background image filter" msgstr "" -#: options.php:420 +#: options.php:437 msgid "Nothing" msgstr "" -#: options.php:421 +#: options.php:438 msgid "Undertint" msgstr "" -#: options.php:422 +#: options.php:439 msgid "Dim" msgstr "" -#: options.php:423 +#: options.php:440 msgid "Grid" msgstr "" -#: options.php:424 +#: options.php:441 msgid "Dot" msgstr "" -#: options.php:428 +#: options.php:445 msgid "Whether to turn on the top-feature" msgstr "" -#: options.php:429 options.php:1084 +#: options.php:446 options.php:1085 msgid "Default on" msgstr "" -#: options.php:435 +#: options.php:452 msgid "Top-feature style" msgstr "" -#: options.php:440 +#: options.php:457 msgid "Alternate left and right" msgstr "" -#: options.php:441 +#: options.php:458 msgid "From bottom to top" msgstr "" -#: options.php:445 +#: options.php:462 msgid "Top-feature title" msgstr "" -#: options.php:446 +#: options.php:463 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:453 +#: options.php:470 msgid "Top-feature 1 image" msgstr "" -#: options.php:454 options.php:482 options.php:510 +#: options.php:471 options.php:499 options.php:527 msgid "size 257px*160px" msgstr "" -#: options.php:460 options.php:461 +#: options.php:477 options.php:478 msgid "Top-feature 1 title" msgstr "" -#: options.php:467 options.php:468 +#: options.php:484 options.php:485 msgid "Top-feature 1 description" msgstr "" -#: options.php:474 options.php:475 +#: options.php:491 options.php:492 msgid "Top-feature 1 link" msgstr "" -#: options.php:481 +#: options.php:498 msgid "Top-feature 2 image" msgstr "" -#: options.php:488 options.php:489 +#: options.php:505 options.php:506 msgid "Top-feature 2 title" msgstr "" -#: options.php:495 options.php:496 +#: options.php:512 options.php:513 msgid "Top-feature 2 description" msgstr "" -#: options.php:502 options.php:503 +#: options.php:519 options.php:520 msgid "Top-feature 2 link" msgstr "" -#: options.php:509 +#: options.php:526 msgid "Top-feature 3 image" msgstr "" -#: options.php:516 options.php:517 +#: options.php:533 options.php:534 msgid "Top-feature 3 title" msgstr "" -#: options.php:523 options.php:524 +#: options.php:540 options.php:541 msgid "Top-feature 3 description" msgstr "" -#: options.php:530 options.php:531 +#: options.php:547 options.php:548 msgid "Top-feature 3 link" msgstr "" -#: options.php:539 +#: options.php:555 msgid "Post page" msgstr "Post" -#: options.php:543 +#: options.php:559 msgid "Post style" msgstr "" -#: options.php:548 +#: options.php:564 msgid "Sakura" msgstr "" -#: options.php:549 options.php:645 +#: options.php:565 options.php:660 msgid "GitHub" msgstr "" -#: options.php:553 +#: options.php:569 msgid "Post like" msgstr "" -#: options.php:563 +#: options.php:579 msgid "Post share" msgstr "" -#: options.php:573 +#: options.php:589 msgid "Previous and Next" msgstr "Previous" -#: options.php:583 +#: options.php:599 msgid "Author profile" msgstr "" -#: options.php:593 +#: options.php:609 msgid "Alipay reward" msgstr "" -#: options.php:594 +#: options.php:610 msgid "Alipay qrcode" msgstr "" -#: options.php:599 +#: options.php:615 msgid "Wechat reward" msgstr "" -#: options.php:600 +#: options.php:616 msgid "Wechat qrcode " msgstr "" -#: options.php:607 +#: options.php:622 msgid "Social network" msgstr "Social" -#: options.php:611 +#: options.php:626 msgid "Wechat" msgstr "" -#: options.php:612 +#: options.php:627 msgid "Wechat qrcode" msgstr "" -#: options.php:617 +#: options.php:632 msgid "Sina Weibo" msgstr "" -#: options.php:618 +#: options.php:633 msgid "Sina Weibo address" msgstr "" -#: options.php:624 +#: options.php:639 msgid "Tencent QQ" msgstr "" -#: options.php:625 +#: options.php:640 msgid "" "tencent://message/?uin={{QQ number}}. for example, tencent://message/?" "uin=123456" msgstr "" -#: options.php:631 +#: options.php:646 msgid "Telegram" msgstr "" -#: options.php:632 +#: options.php:647 msgid "Telegram link" msgstr "" -#: options.php:638 +#: options.php:653 msgid "Qzone" msgstr "" -#: options.php:639 +#: options.php:654 msgid "Qzone address" msgstr "" -#: options.php:646 +#: options.php:661 msgid "GitHub address" msgstr "" -#: options.php:652 +#: options.php:667 msgid "Lofter" msgstr "" -#: options.php:653 +#: options.php:668 msgid "Lofter address" msgstr "" -#: options.php:659 +#: options.php:674 msgid "BiliBili" msgstr "" -#: options.php:660 +#: options.php:675 msgid "BiliBili address" msgstr "" -#: options.php:666 +#: options.php:681 msgid "Youku video" msgstr "" -#: options.php:667 +#: options.php:682 msgid "Youku video address" msgstr "" -#: options.php:673 +#: options.php:688 msgid "Netease Cloud Music" msgstr "" -#: options.php:674 +#: options.php:689 msgid "Netease Cloud Music address" msgstr "" -#: options.php:680 +#: options.php:695 msgid "Twitter" msgstr "" -#: options.php:681 +#: options.php:696 msgid "Twitter address" msgstr "" -#: options.php:687 +#: options.php:702 msgid "Facebook" msgstr "" -#: options.php:688 +#: options.php:703 msgid "Facebook address" msgstr "" -#: options.php:694 -msgid "Google+" -msgstr "" - -#: options.php:695 -msgid "G+ address" -msgstr "" - -#: options.php:701 +#: options.php:709 msgid "Jianshu" msgstr "" -#: options.php:702 +#: options.php:710 msgid "Jianshu address" msgstr "" -#: options.php:708 +#: options.php:716 msgid "CSDN" msgstr "" -#: options.php:709 +#: options.php:717 msgid "CSND community address" msgstr "" -#: options.php:715 +#: options.php:723 msgid "Zhihu" msgstr "" -#: options.php:716 +#: options.php:724 msgid "Zhihu address" msgstr "" -#: options.php:722 +#: options.php:730 msgid "Email-name" msgstr "" -#: options.php:723 +#: options.php:731 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:729 +#: options.php:737 msgid "Email-domain" msgstr "" -#: options.php:730 +#: options.php:738 msgid "The domain.com part of name@domain.com" msgstr "" -#: options.php:737 +#: options.php:745 msgid "Dashboard configuration" msgstr "Dashboard" -#: options.php:742 +#: options.php:750 msgid "Dashboard panel custom color scheme" msgstr "" -#: options.php:743 +#: options.php:751 msgid "" "You can design the dashboard panel (/wp-admin/) style yourself below, but " "before you start, please go to here to " @@ -1173,79 +1206,79 @@ msgid "" "you." msgstr "" -#: options.php:749 +#: options.php:757 msgid "Panel main color A" msgstr "" -#: options.php:752 options.php:760 options.php:768 options.php:776 +#: options.php:760 options.php:768 options.php:776 options.php:784 msgid "" "(array) (optional) An array of CSS color definitions which are used " "to give the user a feel for the theme." msgstr "" -#: options.php:757 +#: options.php:765 msgid "Panel main color B" msgstr "" -#: options.php:765 +#: options.php:773 msgid "Panel main color C" msgstr "" -#: options.php:773 +#: options.php:781 msgid "Panel main color D" msgstr "" -#: options.php:781 +#: options.php:789 msgid "Panel icon color——base" msgstr "" -#: options.php:784 options.php:792 options.php:800 +#: options.php:792 options.php:800 options.php:808 msgid "" "(array) (optional) An array of CSS color definitions used to color " "any SVG icons." msgstr "" -#: options.php:789 +#: options.php:797 msgid "Panel icon color——focus" msgstr "" -#: options.php:797 +#: options.php:805 msgid "Panel icon color——current" msgstr "" -#: options.php:805 +#: options.php:813 msgid "Other custom panel styles(CSS)" msgstr "" -#: options.php:806 +#: options.php:814 msgid "If you need to adjust other styles of the panel, put the style here." msgstr "" -#: options.php:812 +#: options.php:820 msgid "Login interface background image" msgstr "" -#: options.php:813 +#: options.php:821 msgid "Use the default image if left this blank" msgstr "" -#: options.php:818 +#: options.php:826 msgid "Login interface logo" msgstr "" -#: options.php:819 +#: options.php:827 msgid "Used for login interface display" msgstr "" -#: options.php:825 +#: options.php:833 msgid "Login/registration related settings" msgstr "" -#: options.php:832 +#: options.php:840 msgid "Specify login address" msgstr "" -#: options.php:833 +#: options.php:841 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 " @@ -1253,95 +1286,82 @@ msgid "" "background or other problems happening" msgstr "" -#: options.php:839 +#: options.php:847 msgid "Specify registered address" msgstr "" -#: options.php:840 +#: options.php:848 msgid "This link is used on the login page as a registration entry" msgstr "" -#: options.php:846 +#: options.php:854 msgid "Allow users to register" msgstr "" -#: options.php:847 +#: options.php:855 msgid "Check to allow users to register at the frontend" msgstr "" -#: options.php:853 +#: options.php:861 msgid "Automatically redirect after login" msgstr "" -#: options.php:854 +#: options.php:862 msgid "" "After checken, the administrator redirects to the background and the user " "redirects to the home page." msgstr "" -#: options.php:860 +#: options.php:868 msgid "Registration verification (frontend only, backend forced open)" msgstr "" -#: options.php:861 +#: options.php:869 msgid "Check to enable slide verification" msgstr "" -#: options.php:868 +#: options.php:876 msgid "CDN" msgstr "" -#: options.php:872 +#: options.php:880 msgid "Images CDN" msgstr "" -#: options.php:873 +#: options.php:881 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:879 -msgid "Cover manifest" -msgstr "" - -#: options.php:880 -#, php-format -msgid "" -"Fill in the manifest path for random picture display, without adding a slash " -"at the end, for example: https://cdn.jsdelivr.net/gh/mashirozx/sakura@3.3.3, " -"please refer to Wiki . Click here to update manifest" -msgstr "" - -#: options.php:886 +#: options.php:887 msgid "Use the front-end library locally (lib.js、lib.css)" msgstr "" -#: options.php:887 +#: options.php:888 msgid "The front-end library don't load from jsDelivr, not recommand" msgstr "" -#: options.php:893 +#: options.php:894 msgid "Use js and css file of the theme (sakura-app.js、style.css) locally" msgstr "" -#: options.php:894 +#: options.php:895 msgid "" "The js and css files of the theme do not load from jsDelivr, please open " "when DIY" msgstr "" -#: options.php:901 +#: options.php:902 msgid "Others" msgstr "" -#: options.php:905 +#: options.php:906 msgid "About" msgstr "" -#: options.php:906 +#: options.php:907 #, php-format msgid "" "Theme Sakura v %s | Theme " @@ -1351,176 +1371,176 @@ msgid "" "square\" alt=\"GitHub release\">" msgstr "" -#: options.php:912 +#: options.php:913 msgid "Check for Updates" msgstr "" -#: options.php:924 +#: options.php:925 msgid "Footer float music player" msgstr "" -#: options.php:925 +#: options.php:926 msgid "" "If you don't need the player just leave it blank.Fill in the \"song list\" " "ID of Netease Cloud Music, eg: https://music.163.com/#/playlist?" "id=2288037900 The ID is 2288037900" msgstr "" -#: options.php:931 +#: options.php:932 msgid "Version Control" msgstr "" -#: options.php:932 +#: options.php:933 msgid "" "Used to update frontend cookies and browser caches, any string can be used" msgstr "" -#: options.php:938 +#: options.php:939 msgid "Enable PJAX (recommand on)" msgstr "" -#: options.php:939 +#: options.php:940 msgid "The principle is the same as Ajax" msgstr "" -#: options.php:945 +#: options.php:946 msgid "Enable NProgress progress bar" msgstr "" -#: options.php:946 options.php:953 options.php:960 +#: options.php:947 options.php:954 options.php:961 msgid "Default off, check on" msgstr "" -#: options.php:952 +#: options.php:953 msgid "Enable sidebar widget" msgstr "" -#: options.php:959 +#: options.php:960 msgid "Enable Announcement" msgstr "" -#: options.php:966 +#: options.php:967 msgid "Announcement content" msgstr "" -#: options.php:967 +#: options.php:968 msgid "" "Announcement content, the text exceeds 142 bytes will be scrolled display " "(mobile device is invalid)" msgstr "" -#: options.php:973 +#: options.php:974 msgid "The categories of articles that don't not show on homepage" msgstr "" -#: options.php:974 options.php:981 +#: options.php:975 options.php:982 msgid "Fill in category ID, multiple IDs are divided by a comma \",\"" msgstr "" -#: options.php:980 +#: options.php:981 msgid "Images category" msgstr "" -#: options.php:987 +#: options.php:988 msgid "Statistics Interface" msgstr "" -#: options.php:992 +#: options.php:993 msgid "" "WP-Statistics plugin (Professional statistics, can exclude invalid access)" msgstr "" -#: options.php:993 +#: options.php:994 msgid "Theme built-in (simple statistics, calculate each page access request)" msgstr "" -#: options.php:997 +#: options.php:998 msgid "Statistical data display format" msgstr "" -#: options.php:1002 +#: options.php:1003 msgid "23333 Views (default)" msgstr "" -#: options.php:1003 +#: options.php:1004 msgid "23,333 Views (britain)" msgstr "" -#: options.php:1004 +#: options.php:1005 msgid "23 333 Views (french)" msgstr "" -#: options.php:1005 +#: options.php:1006 msgid "23k Views (chinese)" msgstr "" -#: options.php:1009 +#: options.php:1010 msgid "Comment image upload API" msgstr "" -#: options.php:1014 +#: options.php:1015 msgid "Imgur (https://imgur.com)" msgstr "" -#: options.php:1015 +#: options.php:1016 msgid "SM.MS (https://sm.ms)" msgstr "" -#: options.php:1016 +#: options.php:1017 msgid "Chevereto (https://chevereto.com)" msgstr "" -#: options.php:1020 +#: options.php:1021 msgid "Imgur Client ID" msgstr "" -#: options.php:1021 +#: options.php:1022 msgid "" "Register your application here, note we only need the Client ID here." msgstr "" -#: options.php:1027 +#: options.php:1028 msgid "SM.MS Secret Token" msgstr "" -#: options.php:1028 +#: options.php:1029 msgid "" "Register your application here." msgstr "" -#: options.php:1034 +#: options.php:1035 msgid "Chevereto API v1 key" msgstr "" -#: options.php:1035 +#: options.php:1036 msgid "Get your API key here: " msgstr "" -#: options.php:1041 +#: options.php:1042 msgid "Chevereto URL" msgstr "" -#: options.php:1042 +#: options.php:1043 msgid "" "Your Chevereto homepage url, no slash in the end, eg. https://your.cherverto." "com" msgstr "" -#: options.php:1048 +#: options.php:1049 msgid "Comment images proxy" msgstr "" -#: options.php:1049 +#: options.php:1050 msgid "" "A front-ed proxy for the uploaded images. Leave it blank if you do not need." msgstr "" -#: options.php:1055 +#: options.php:1056 msgid "Imgur upload proxy" msgstr "" -#: options.php:1056 +#: options.php:1057 msgid "" "A back-ed proxy to upload images. You may set a self hosted proxy with " "Nginx, following my 】" msgstr "" -#: options.php:1062 +#: options.php:1063 msgid "Enable live search" msgstr "" -#: options.php:1063 +#: options.php:1064 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 functions.php" msgstr "" -#: options.php:1069 +#: options.php:1070 msgid "Include comments in live search" msgstr "" -#: options.php:1070 +#: options.php:1071 msgid "" "Search for comments in real-time search (not recommended if there are too " "many comments on the site)" msgstr "" -#: options.php:1076 +#: options.php:1077 msgid "Enable baguetteBox" msgstr "" -#: options.php:1077 +#: options.php:1078 msgid "" "Default off,please read wiki" msgstr "" -#: options.php:1083 +#: options.php:1084 msgid "Enable lazyload in posts" msgstr "" -#: options.php:1090 +#: options.php:1091 msgid "lazyload spinner" msgstr "" -#: options.php:1091 +#: options.php:1092 msgid "The placeholder to display when the image loads, fill in the image url" msgstr "" -#: options.php:1097 +#: options.php:1098 msgid "Whether to enable the clipboard copyright" msgstr "" -#: options.php:1098 +#: options.php:1099 msgid "" "Automatically add a copyright to the clipboard when copying more than 30 " "bytes, which is enabled by default." msgstr "" -#: options.php:1104 +#: options.php:1105 msgid "Email address prefix" msgstr "" -#: options.php:1105 +#: options.php:1106 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:1111 +#: options.php:1112 msgid "Comments reply notification" msgstr "" -#: options.php:1112 +#: options.php:1113 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:1118 +#: options.php:1119 msgid "Administrator comment notification" msgstr "" -#: options.php:1119 +#: options.php:1120 msgid "" "Whether to use email notification when the administrator's comments receive " "a reply" msgstr "" -#: options.php:1125 +#: options.php:1126 msgid "Enable private comment" msgstr "" -#: options.php:1126 +#: options.php:1127 msgid "Allow users to set their own comments to be invisible to others" msgstr "" -#: options.php:1132 +#: options.php:1133 msgid "Human verification" msgstr "" -#: options.php:1133 +#: options.php:1134 msgid "Enable human verification" msgstr "" -#: options.php:1139 +#: options.php:1140 msgid "QQ avatar link encryption" msgstr "" -#: options.php:1140 +#: options.php:1141 msgid "Do not display the user's qq avatar links directly." msgstr "" -#: options.php:1145 +#: options.php:1146 msgid "Off (default)" msgstr "" -#: options.php:1146 +#: options.php:1147 msgid "use redirect (general security)" msgstr "" -#: options.php:1147 +#: options.php:1148 msgid "fetch data at backend (high security)" msgstr "" -#: options.php:1148 +#: options.php:1149 msgid "fetch data at backend (high security,slow)" msgstr "" -#: options.php:1152 +#: options.php:1153 msgid "Comment UA infomation" msgstr "" -#: options.php:1153 +#: options.php:1154 msgid "" "Check to enable, display the user's browser, operating system information" msgstr "" -#: options.php:1159 +#: options.php:1160 msgid "Enable disqus" msgstr "" -#: options.php:1160 +#: options.php:1161 msgid "Enable disqus for comment" msgstr "" -#: options.php:1166 +#: options.php:1167 msgid "Time Zone adjustment" msgstr "" -#: options.php:1167 +#: options.php:1168 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 05e0aa8..54cb12a 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: 2019-12-25 10:43+0800\n" +"POT-Creation-Date: 2020-01-07 17:27+0800\n" "PO-Revision-Date: 2019-11-01 14:27+0800\n" "Last-Translator: \n" "Language-Team: \n" @@ -142,72 +142,79 @@ msgstr "" msgid "Nav Menus" msgstr "" -#: functions.php:389 inc/theme_plus.php:186 layouts/authorprofile.php:11 options.php:123 +#: functions.php:420 inc/theme_plus.php:186 layouts/authorprofile.php:11 options.php:121 msgid "Author" msgstr "" -#: functions.php:389 +#: functions.php:420 msgid "Blogger" msgstr "" -#: functions.php:393 +#: functions.php:424 msgid "Location" msgstr "" -#: functions.php:397 +#: functions.php:428 msgid "Private" msgstr "" -#: functions.php:399 +#: functions.php:430 msgid "Yes" msgstr "" -#: functions.php:401 +#: functions.php:432 msgid "No" msgstr "" -#: functions.php:404 +#: functions.php:435 msgid "Edit" msgstr "" -#: functions.php:486 +#: functions.php:524 msgid "" "Please install pulgin WP-Statistics" msgstr "" -#: functions.php:536 +#: functions.php:574 msgid "This guy is so lazy ╮(╯▽╰)╭" msgstr "" -#: functions.php:1246 +#: functions.php:1327 msgid "All expand/collapse" msgstr "" -#: functions.php:1257 options.php:826 +#: functions.php:1348 options.php:834 msgid " " msgstr "" -#: functions.php:1261 +#: functions.php:1352 msgid " post(s)" msgstr "" -#: functions.php:1283 functions.php:1286 inc/theme_plus.php:478 +#: functions.php:1375 functions.php:1378 inc/theme_plus.php:478 msgid "Dashboard" msgstr "" -#: functions.php:1499 +#: functions.php:1604 msgid "ERROR: This email domain (@" msgstr "" -#: functions.php:1603 +#: functions.php:1709 msgid "QQ" msgstr "" -#: functions.php:1665 +#: functions.php:1779 msgid "Sidebar" msgstr "" +#: functions.php:1891 +msgid "" +" For a better experience, please do not set " +"permalink as plain. To do this, you may need to configure pseudo-static . " +msgstr "" + #: header.php:35 #, php-format msgid "page %s " @@ -428,117 +435,117 @@ msgstr "" msgid "View comments" msgstr "" -#: options.php:34 options.php:46 options.php:301 +#: options.php:34 options.php:45 options.php:299 msgid "1" msgstr "" -#: options.php:35 options.php:47 options.php:302 +#: options.php:35 options.php:46 options.php:300 msgid "2" msgstr "" -#: options.php:36 options.php:48 options.php:303 +#: options.php:36 options.php:47 options.php:301 msgid "3" msgstr "" -#: options.php:37 options.php:49 options.php:304 +#: options.php:37 options.php:48 options.php:302 msgid "4" msgstr "" -#: options.php:38 options.php:50 options.php:305 +#: options.php:38 options.php:49 options.php:303 msgid "5" msgstr "" -#: options.php:39 options.php:306 +#: options.php:39 options.php:304 msgid "6" msgstr "" -#: options.php:40 options.php:307 +#: options.php:40 options.php:305 msgid "7" msgstr "" -#: options.php:112 +#: options.php:110 msgid "Basic settings" msgstr "" -#: options.php:116 +#: options.php:114 msgid "Site title" msgstr "" -#: options.php:117 +#: options.php:115 msgid "Mashiro's Blog" msgstr "" -#: options.php:124 +#: options.php:122 msgid "Mashiro" msgstr "" -#: options.php:130 +#: options.php:128 msgid "Theme style" msgstr "" -#: options.php:133 +#: options.php:131 msgid "Custom theme color" msgstr "" -#: options.php:138 +#: options.php:136 msgid "Theme scheme tool transparency" msgstr "" -#: options.php:139 +#: options.php:137 msgid "" "Adjust the theme scheme menu transparency, the smaller the value, the more transparent. The " "default value is 0.8" msgstr "" -#: options.php:144 +#: options.php:142 msgid "Transparent" msgstr "" -#: options.php:145 +#: options.php:143 msgid "Transparency 0.1" msgstr "" -#: options.php:146 +#: options.php:144 msgid "Transparency 0.2" msgstr "" -#: options.php:147 +#: options.php:145 msgid "Transparency 0.3" msgstr "" -#: options.php:148 +#: options.php:146 msgid "Transparency 0.4" msgstr "" -#: options.php:149 +#: options.php:147 msgid "Transparency 0.5" msgstr "" -#: options.php:150 +#: options.php:148 msgid "Transparency 0.6" msgstr "" -#: options.php:151 +#: options.php:149 msgid "Transparency 0.7" msgstr "" -#: options.php:152 +#: options.php:150 msgid "Transparency 0.8" msgstr "" -#: options.php:153 +#: options.php:151 msgid "Transparency 0.9" msgstr "" -#: options.php:154 +#: options.php:152 msgid "Opaque" msgstr "" -#: options.php:158 +#: options.php:156 msgid "Change web background" msgstr "" -#: options.php:159 +#: options.php:157 msgid "" "The foreground switches the background of the webpage. There are 8 urls separated by commas. " "The order corresponds to the foreground scheme tool button position (the order of the buttons " @@ -548,611 +555,635 @@ msgid "" "new value!" msgstr "" -#: options.php:165 +#: options.php:163 msgid "Personal avatar" msgstr "" -#: options.php:166 +#: options.php:164 msgid "The best size is 130px*130px." msgstr "" -#: options.php:171 +#: options.php:169 msgid "Text LOGO" msgstr "" -#: options.php:172 +#: options.php:170 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:178 +#: options.php:176 msgid "logo" msgstr "" -#: options.php:179 +#: options.php:177 msgid "The best height size is 40px。" msgstr "" -#: options.php:184 +#: options.php:182 msgid "Favicon" msgstr "" -#: options.php:185 +#: options.php:183 msgid "It is the small logo on the browser tab, fill in the url" msgstr "" -#: options.php:191 +#: options.php:189 msgid "Custom keywords and descriptions " msgstr "" -#: options.php:192 +#: options.php:190 msgid "Customize keywords and descriptions after opening" msgstr "" -#: options.php:198 +#: options.php:196 msgid "Site keywords" msgstr "" -#: options.php:199 +#: options.php:197 msgid "Each keyword is divided by a comma \",\" and the number is within 5." msgstr "" -#: options.php:205 +#: options.php:203 msgid "Site descriptions" msgstr "" -#: options.php:206 +#: options.php:204 msgid "Describe the site in concise text, with a maximum of 120 words." msgstr "" -#: options.php:212 +#: options.php:210 msgid "Expand the nav menu" msgstr "" -#: options.php:213 +#: options.php:211 msgid "Check to enable, default shrink" msgstr "" -#: options.php:219 +#: options.php:217 msgid "Head decoration" msgstr "" -#: options.php:220 +#: options.php:218 msgid "" "Enable by default, check off, display on the article page, separate page and category page" msgstr "" -#: options.php:226 +#: options.php:224 msgid "Search button" msgstr "" -#: options.php:231 options.php:272 options.php:558 options.php:568 options.php:578 -#: options.php:588 +#: options.php:229 options.php:270 options.php:574 options.php:584 options.php:594 +#: options.php:604 msgid "Open" msgstr "" -#: options.php:232 options.php:273 options.php:559 options.php:569 options.php:579 -#: options.php:589 +#: options.php:230 options.php:271 options.php:575 options.php:585 options.php:595 +#: options.php:605 msgid "Close" msgstr "" -#: options.php:236 +#: options.php:234 msgid "Home article style" msgstr "" -#: options.php:241 +#: options.php:239 msgid "Standard" msgstr "" -#: options.php:242 +#: options.php:240 msgid "Graphic" msgstr "" -#: options.php:246 +#: options.php:244 msgid "Home article feature images (only valid for standard mode)" msgstr "" -#: options.php:251 +#: options.php:249 msgid "Round" msgstr "" -#: options.php:252 +#: options.php:250 msgid "Square" msgstr "" -#: options.php:256 +#: options.php:254 msgid "" "Home article feature images alignment (only for graphic mode, default left and right alternate)" msgstr "" -#: options.php:261 +#: options.php:259 msgid "Left" msgstr "" -#: options.php:262 +#: options.php:260 msgid "Right" msgstr "" -#: options.php:263 +#: options.php:261 msgid "Alternate" msgstr "" -#: options.php:267 +#: options.php:265 msgid "Comment shrink" msgstr "" -#: options.php:277 +#: options.php:275 msgid "Display author information at the end of the article?" msgstr "" -#: options.php:278 +#: options.php:276 msgid "Check to enable" msgstr "" -#: options.php:284 +#: options.php:282 msgid "Paging mode" msgstr "" -#: options.php:289 +#: options.php:287 msgid "Ajax load" msgstr "" -#: options.php:290 +#: options.php:288 msgid "Previous and next page" msgstr "" -#: options.php:294 +#: options.php:292 msgid "Automatically load the next page" msgstr "" -#: options.php:295 +#: options.php:293 msgid "" "(seconds) Set to automatically load the next page time, the default is not automatically loaded" msgstr "" -#: options.php:300 +#: options.php:298 msgid "0" msgstr "" -#: options.php:308 +#: options.php:306 msgid "8" msgstr "" -#: options.php:309 +#: options.php:307 msgid "9" msgstr "" -#: options.php:310 +#: options.php:308 msgid "10" msgstr "" -#: options.php:311 +#: options.php:309 msgid "Do not load automatically" msgstr "" -#: options.php:315 +#: options.php:313 msgid "Blogger description" msgstr "" -#: options.php:316 +#: options.php:314 msgid "A self-described statement" msgstr "" -#: options.php:322 +#: options.php:320 msgid "Footer info" msgstr "" -#: options.php:323 +#: options.php:321 msgid "Footer description, support for HTML code" msgstr "" -#: options.php:329 +#: options.php:327 msgid "Google analytics" msgstr "" -#: options.php:330 +#: options.php:328 msgid "UA-xxxxx-x" msgstr "" -#: options.php:336 +#: options.php:334 msgid "CNZZ Statistics (not recommand)" msgstr "" -#: options.php:337 +#: options.php:335 msgid "Statistics code, which will be invisible in web page." msgstr "" -#: options.php:343 +#: options.php:341 msgid "Customize CSS styles" msgstr "" -#: options.php:344 +#: options.php:342 msgid "Fill in the CSS code directly, no need to write style tags" msgstr "" -#: options.php:352 +#: options.php:349 msgid "First screen" msgstr "" -#: options.php:356 +#: options.php:353 msgid "Main switch" msgstr "" -#: options.php:357 options.php:381 +#: options.php:354 options.php:398 msgid "Default on, check off" msgstr "" -#: options.php:363 +#: options.php:360 msgid "Social information" msgstr "" -#: options.php:364 +#: options.php:361 msgid "Enable by default, check off, display avatar, signature, SNS" msgstr "" -#: options.php:370 +#: options.php:367 msgid "Social information style" msgstr "" -#: options.php:375 +#: options.php:372 msgid "Merge with signature" msgstr "" -#: options.php:376 +#: options.php:373 msgid "Independent line" msgstr "" -#: options.php:380 +#: options.php:377 +msgid "Cover manifest" +msgstr "" + +#: options.php:378 +msgid "Select how to call the cover random image" +msgstr "" + +#: options.php:383 +msgid "webp images (optimization)" +msgstr "" + +#: options.php:384 +msgid "built-in api (default)" +msgstr "" + +#: options.php:385 +msgid "custom api (advanced)" +msgstr "" + +#: options.php:390 +msgid "Cover images url" +msgstr "" + +#: options.php:391 +#, php-format +msgid "" +"Fill in the manifest path for random picture display, please refer to Wiki . If you select webp images above, click " +"here to update manifest" +msgstr "" + +#: options.php:397 msgid "full-screen display" msgstr "" -#: options.php:387 +#: options.php:404 msgid "Enable video" msgstr "" -#: options.php:388 +#: options.php:405 msgid "Check on" msgstr "" -#: options.php:394 +#: options.php:411 msgid "Live" msgstr "" -#: options.php:395 +#: options.php:412 msgid "Check to enable, the video will continue to play automatically, you need to enable Pjax" msgstr "" -#: options.php:401 +#: options.php:418 msgid "Video address" msgstr "" -#: options.php:402 +#: options.php:419 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:408 +#: options.php:425 msgid "Video name" msgstr "" -#: options.php:409 +#: options.php:426 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:415 +#: options.php:432 msgid "Background image filter" msgstr "" -#: options.php:420 +#: options.php:437 msgid "Nothing" msgstr "" -#: options.php:421 +#: options.php:438 msgid "Undertint" msgstr "" -#: options.php:422 +#: options.php:439 msgid "Dim" msgstr "" -#: options.php:423 +#: options.php:440 msgid "Grid" msgstr "" -#: options.php:424 +#: options.php:441 msgid "Dot" msgstr "" -#: options.php:428 +#: options.php:445 msgid "Whether to turn on the top-feature" msgstr "" -#: options.php:429 options.php:1084 +#: options.php:446 options.php:1085 msgid "Default on" msgstr "" -#: options.php:435 +#: options.php:452 msgid "Top-feature style" msgstr "" -#: options.php:440 +#: options.php:457 msgid "Alternate left and right" msgstr "" -#: options.php:441 +#: options.php:458 msgid "From bottom to top" msgstr "" -#: options.php:445 +#: options.php:462 msgid "Top-feature title" msgstr "" -#: options.php:446 +#: options.php:463 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:453 +#: options.php:470 msgid "Top-feature 1 image" msgstr "" -#: options.php:454 options.php:482 options.php:510 +#: options.php:471 options.php:499 options.php:527 msgid "size 257px*160px" msgstr "" -#: options.php:460 options.php:461 +#: options.php:477 options.php:478 msgid "Top-feature 1 title" msgstr "" -#: options.php:467 options.php:468 +#: options.php:484 options.php:485 msgid "Top-feature 1 description" msgstr "" -#: options.php:474 options.php:475 +#: options.php:491 options.php:492 msgid "Top-feature 1 link" msgstr "" -#: options.php:481 +#: options.php:498 msgid "Top-feature 2 image" msgstr "" -#: options.php:488 options.php:489 +#: options.php:505 options.php:506 msgid "Top-feature 2 title" msgstr "" -#: options.php:495 options.php:496 +#: options.php:512 options.php:513 msgid "Top-feature 2 description" msgstr "" -#: options.php:502 options.php:503 +#: options.php:519 options.php:520 msgid "Top-feature 2 link" msgstr "" -#: options.php:509 +#: options.php:526 msgid "Top-feature 3 image" msgstr "" -#: options.php:516 options.php:517 +#: options.php:533 options.php:534 msgid "Top-feature 3 title" msgstr "" -#: options.php:523 options.php:524 +#: options.php:540 options.php:541 msgid "Top-feature 3 description" msgstr "" -#: options.php:530 options.php:531 +#: options.php:547 options.php:548 msgid "Top-feature 3 link" msgstr "" -#: options.php:539 +#: options.php:555 msgid "Post page" msgstr "" -#: options.php:543 +#: options.php:559 msgid "Post style" msgstr "" -#: options.php:548 +#: options.php:564 msgid "Sakura" msgstr "" -#: options.php:549 options.php:645 +#: options.php:565 options.php:660 msgid "GitHub" msgstr "" -#: options.php:553 +#: options.php:569 msgid "Post like" msgstr "" -#: options.php:563 +#: options.php:579 msgid "Post share" msgstr "" -#: options.php:573 +#: options.php:589 msgid "Previous and Next" msgstr "" -#: options.php:583 +#: options.php:599 msgid "Author profile" msgstr "" -#: options.php:593 +#: options.php:609 msgid "Alipay reward" msgstr "" -#: options.php:594 +#: options.php:610 msgid "Alipay qrcode" msgstr "" -#: options.php:599 +#: options.php:615 msgid "Wechat reward" msgstr "" -#: options.php:600 +#: options.php:616 msgid "Wechat qrcode " msgstr "" -#: options.php:607 +#: options.php:622 msgid "Social network" msgstr "" -#: options.php:611 +#: options.php:626 msgid "Wechat" msgstr "" -#: options.php:612 +#: options.php:627 msgid "Wechat qrcode" msgstr "" -#: options.php:617 +#: options.php:632 msgid "Sina Weibo" msgstr "" -#: options.php:618 +#: options.php:633 msgid "Sina Weibo address" msgstr "" -#: options.php:624 +#: options.php:639 msgid "Tencent QQ" msgstr "" -#: options.php:625 +#: options.php:640 msgid "tencent://message/?uin={{QQ number}}. for example, tencent://message/?uin=123456" msgstr "" -#: options.php:631 +#: options.php:646 msgid "Telegram" msgstr "" -#: options.php:632 +#: options.php:647 msgid "Telegram link" msgstr "" -#: options.php:638 +#: options.php:653 msgid "Qzone" msgstr "" -#: options.php:639 +#: options.php:654 msgid "Qzone address" msgstr "" -#: options.php:646 +#: options.php:661 msgid "GitHub address" msgstr "" -#: options.php:652 +#: options.php:667 msgid "Lofter" msgstr "" -#: options.php:653 +#: options.php:668 msgid "Lofter address" msgstr "" -#: options.php:659 +#: options.php:674 msgid "BiliBili" msgstr "" -#: options.php:660 +#: options.php:675 msgid "BiliBili address" msgstr "" -#: options.php:666 +#: options.php:681 msgid "Youku video" msgstr "" -#: options.php:667 +#: options.php:682 msgid "Youku video address" msgstr "" -#: options.php:673 +#: options.php:688 msgid "Netease Cloud Music" msgstr "" -#: options.php:674 +#: options.php:689 msgid "Netease Cloud Music address" msgstr "" -#: options.php:680 +#: options.php:695 msgid "Twitter" msgstr "" -#: options.php:681 +#: options.php:696 msgid "Twitter address" msgstr "" -#: options.php:687 +#: options.php:702 msgid "Facebook" msgstr "" -#: options.php:688 +#: options.php:703 msgid "Facebook address" msgstr "" -#: options.php:694 -msgid "Google+" -msgstr "" - -#: options.php:695 -msgid "G+ address" -msgstr "" - -#: options.php:701 +#: options.php:709 msgid "Jianshu" msgstr "" -#: options.php:702 +#: options.php:710 msgid "Jianshu address" msgstr "" -#: options.php:708 +#: options.php:716 msgid "CSDN" msgstr "" -#: options.php:709 +#: options.php:717 msgid "CSND community address" msgstr "" -#: options.php:715 +#: options.php:723 msgid "Zhihu" msgstr "" -#: options.php:716 +#: options.php:724 msgid "Zhihu address" msgstr "" -#: options.php:722 +#: options.php:730 msgid "Email-name" msgstr "" -#: options.php:723 +#: options.php:731 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:729 +#: options.php:737 msgid "Email-domain" msgstr "" -#: options.php:730 +#: options.php:738 msgid "The domain.com part of name@domain.com" msgstr "" -#: options.php:737 +#: options.php:745 msgid "Dashboard configuration" msgstr "" -#: options.php:742 +#: options.php:750 msgid "Dashboard panel custom color scheme" msgstr "" -#: options.php:743 +#: options.php:751 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." @@ -1160,170 +1191,157 @@ msgid "" "\">this can help you." msgstr "" -#: options.php:749 +#: options.php:757 msgid "Panel main color A" msgstr "" -#: options.php:752 options.php:760 options.php:768 options.php:776 +#: options.php:760 options.php:768 options.php:776 options.php:784 msgid "" "(array) (optional) An array of CSS color definitions which are used to give the user a " "feel for the theme." msgstr "" -#: options.php:757 +#: options.php:765 msgid "Panel main color B" msgstr "" -#: options.php:765 +#: options.php:773 msgid "Panel main color C" msgstr "" -#: options.php:773 +#: options.php:781 msgid "Panel main color D" msgstr "" -#: options.php:781 +#: options.php:789 msgid "Panel icon color——base" msgstr "" -#: options.php:784 options.php:792 options.php:800 +#: options.php:792 options.php:800 options.php:808 msgid "(array) (optional) An array of CSS color definitions used to color any SVG icons." msgstr "" -#: options.php:789 +#: options.php:797 msgid "Panel icon color——focus" msgstr "" -#: options.php:797 +#: options.php:805 msgid "Panel icon color——current" msgstr "" -#: options.php:805 +#: options.php:813 msgid "Other custom panel styles(CSS)" msgstr "" -#: options.php:806 +#: options.php:814 msgid "If you need to adjust other styles of the panel, put the style here." msgstr "" -#: options.php:812 +#: options.php:820 msgid "Login interface background image" msgstr "" -#: options.php:813 +#: options.php:821 msgid "Use the default image if left this blank" msgstr "" -#: options.php:818 +#: options.php:826 msgid "Login interface logo" msgstr "" -#: options.php:819 +#: options.php:827 msgid "Used for login interface display" msgstr "" -#: options.php:825 +#: options.php:833 msgid "Login/registration related settings" msgstr "" -#: options.php:832 +#: options.php:840 msgid "Specify login address" msgstr "" -#: options.php:833 +#: options.php:841 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:839 +#: options.php:847 msgid "Specify registered address" msgstr "" -#: options.php:840 +#: options.php:848 msgid "This link is used on the login page as a registration entry" msgstr "" -#: options.php:846 +#: options.php:854 msgid "Allow users to register" msgstr "" -#: options.php:847 +#: options.php:855 msgid "Check to allow users to register at the frontend" msgstr "" -#: options.php:853 +#: options.php:861 msgid "Automatically redirect after login" msgstr "" -#: options.php:854 +#: options.php:862 msgid "" "After checken, the administrator redirects to the background and the user redirects to the " "home page." msgstr "" -#: options.php:860 +#: options.php:868 msgid "Registration verification (frontend only, backend forced open)" msgstr "" -#: options.php:861 +#: options.php:869 msgid "Check to enable slide verification" msgstr "" -#: options.php:868 +#: options.php:876 msgid "CDN" msgstr "" -#: options.php:872 +#: options.php:880 msgid "Images CDN" msgstr "" -#: options.php:873 +#: options.php:881 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:879 -msgid "Cover manifest" -msgstr "" - -#: options.php:880 -#, php-format -msgid "" -"Fill in the manifest path for random picture display, without adding a slash at the end, for " -"example: https://cdn.jsdelivr.net/gh/mashirozx/sakura@3.3.3, please refer to Wiki . Click here to update manifest" -msgstr "" - -#: options.php:886 +#: options.php:887 msgid "Use the front-end library locally (lib.js、lib.css)" msgstr "" -#: options.php:887 +#: options.php:888 msgid "The front-end library don't load from jsDelivr, not recommand" msgstr "" -#: options.php:893 +#: options.php:894 msgid "Use js and css file of the theme (sakura-app.js、style.css) locally" msgstr "" -#: options.php:894 +#: options.php:895 msgid "The js and css files of the theme do not load from jsDelivr, please open when DIY" msgstr "" -#: options.php:901 +#: options.php:902 msgid "Others" msgstr "" -#: options.php:905 +#: options.php:906 msgid "About" msgstr "" -#: options.php:906 +#: options.php:907 #, php-format msgid "" "Theme Sakura v %s | Theme document | " msgstr "" -#: options.php:912 +#: options.php:913 msgid "Check for Updates" msgstr "" -#: options.php:924 +#: options.php:925 msgid "Footer float music player" msgstr "" -#: options.php:925 +#: options.php:926 msgid "" "If you don't need the player just leave it blank.Fill in the \"song list\" ID of Netease Cloud " "Music, eg: https://music.163.com/#/playlist?id=2288037900 The ID is 2288037900" msgstr "" -#: options.php:931 +#: options.php:932 msgid "Version Control" msgstr "" -#: options.php:932 +#: options.php:933 msgid "Used to update frontend cookies and browser caches, any string can be used" msgstr "" -#: options.php:938 +#: options.php:939 msgid "Enable PJAX (recommand on)" msgstr "" -#: options.php:939 +#: options.php:940 msgid "The principle is the same as Ajax" msgstr "" -#: options.php:945 +#: options.php:946 msgid "Enable NProgress progress bar" msgstr "" -#: options.php:946 options.php:953 options.php:960 +#: options.php:947 options.php:954 options.php:961 msgid "Default off, check on" msgstr "" -#: options.php:952 +#: options.php:953 msgid "Enable sidebar widget" msgstr "" -#: options.php:959 +#: options.php:960 msgid "Enable Announcement" msgstr "" -#: options.php:966 +#: options.php:967 msgid "Announcement content" msgstr "" -#: options.php:967 +#: options.php:968 msgid "" "Announcement content, the text exceeds 142 bytes will be scrolled display (mobile device is " "invalid)" msgstr "" -#: options.php:973 +#: options.php:974 msgid "The categories of articles that don't not show on homepage" msgstr "" -#: options.php:974 options.php:981 +#: options.php:975 options.php:982 msgid "Fill in category ID, multiple IDs are divided by a comma \",\"" msgstr "" -#: options.php:980 +#: options.php:981 msgid "Images category" msgstr "" -#: options.php:987 +#: options.php:988 msgid "Statistics Interface" msgstr "" -#: options.php:992 +#: options.php:993 msgid "WP-Statistics plugin (Professional statistics, can exclude invalid access)" msgstr "" -#: options.php:993 +#: options.php:994 msgid "Theme built-in (simple statistics, calculate each page access request)" msgstr "" -#: options.php:997 +#: options.php:998 msgid "Statistical data display format" msgstr "" -#: options.php:1002 +#: options.php:1003 msgid "23333 Views (default)" msgstr "" -#: options.php:1003 +#: options.php:1004 msgid "23,333 Views (britain)" msgstr "" -#: options.php:1004 +#: options.php:1005 msgid "23 333 Views (french)" msgstr "" -#: options.php:1005 +#: options.php:1006 msgid "23k Views (chinese)" msgstr "" -#: options.php:1009 +#: options.php:1010 msgid "Comment image upload API" msgstr "" -#: options.php:1014 +#: options.php:1015 msgid "Imgur (https://imgur.com)" msgstr "" -#: options.php:1015 +#: options.php:1016 msgid "SM.MS (https://sm.ms)" msgstr "" -#: options.php:1016 +#: options.php:1017 msgid "Chevereto (https://chevereto.com)" msgstr "" -#: options.php:1020 +#: options.php:1021 msgid "Imgur Client ID" msgstr "" -#: options.php:1021 +#: options.php:1022 msgid "" "Register your application here, note we " "only need the Client ID here." msgstr "" -#: options.php:1027 +#: options.php:1028 msgid "SM.MS Secret Token" msgstr "" -#: options.php:1028 +#: options.php:1029 msgid "Register your application here." msgstr "" -#: options.php:1034 +#: options.php:1035 msgid "Chevereto API v1 key" msgstr "" -#: options.php:1035 +#: options.php:1036 msgid "Get your API key here: " msgstr "" -#: options.php:1041 +#: options.php:1042 msgid "Chevereto URL" msgstr "" -#: options.php:1042 +#: options.php:1043 msgid "Your Chevereto homepage url, no slash in the end, eg. https://your.cherverto.com" msgstr "" -#: options.php:1048 +#: options.php:1049 msgid "Comment images proxy" msgstr "" -#: options.php:1049 +#: options.php:1050 msgid "A front-ed proxy for the uploaded images. Leave it blank if you do not need." msgstr "" -#: options.php:1055 +#: options.php:1056 msgid "Imgur upload proxy" msgstr "" -#: options.php:1056 +#: options.php:1057 msgid "" "A back-ed proxy to upload images. You may set a self hosted proxy with Nginx, following my turtal. " @@ -1503,146 +1521,146 @@ msgid "" "】" msgstr "" -#: options.php:1062 +#: options.php:1063 msgid "Enable live search" msgstr "" -#: options.php:1063 +#: options.php:1064 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 functions.php" msgstr "" -#: options.php:1069 +#: options.php:1070 msgid "Include comments in live search" msgstr "" -#: options.php:1070 +#: options.php:1071 msgid "" "Search for comments in real-time search (not recommended if there are too many comments on the " "site)" msgstr "" -#: options.php:1076 +#: options.php:1077 msgid "Enable baguetteBox" msgstr "" -#: options.php:1077 +#: options.php:1078 msgid "" "Default off,please read wiki" msgstr "" -#: options.php:1083 +#: options.php:1084 msgid "Enable lazyload in posts" msgstr "" -#: options.php:1090 +#: options.php:1091 msgid "lazyload spinner" msgstr "" -#: options.php:1091 +#: options.php:1092 msgid "The placeholder to display when the image loads, fill in the image url" msgstr "" -#: options.php:1097 +#: options.php:1098 msgid "Whether to enable the clipboard copyright" msgstr "" -#: options.php:1098 +#: options.php:1099 msgid "" "Automatically add a copyright to the clipboard when copying more than 30 bytes, which is " "enabled by default." msgstr "" -#: options.php:1104 +#: options.php:1105 msgid "Email address prefix" msgstr "" -#: options.php:1105 +#: options.php:1106 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:1111 +#: options.php:1112 msgid "Comments reply notification" msgstr "" -#: options.php:1112 +#: options.php:1113 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:1118 +#: options.php:1119 msgid "Administrator comment notification" msgstr "" -#: options.php:1119 +#: options.php:1120 msgid "Whether to use email notification when the administrator's comments receive a reply" msgstr "" -#: options.php:1125 +#: options.php:1126 msgid "Enable private comment" msgstr "" -#: options.php:1126 +#: options.php:1127 msgid "Allow users to set their own comments to be invisible to others" msgstr "" -#: options.php:1132 +#: options.php:1133 msgid "Human verification" msgstr "" -#: options.php:1133 +#: options.php:1134 msgid "Enable human verification" msgstr "" -#: options.php:1139 +#: options.php:1140 msgid "QQ avatar link encryption" msgstr "" -#: options.php:1140 +#: options.php:1141 msgid "Do not display the user's qq avatar links directly." msgstr "" -#: options.php:1145 +#: options.php:1146 msgid "Off (default)" msgstr "" -#: options.php:1146 +#: options.php:1147 msgid "use redirect (general security)" msgstr "" -#: options.php:1147 +#: options.php:1148 msgid "fetch data at backend (high security)" msgstr "" -#: options.php:1148 +#: options.php:1149 msgid "fetch data at backend (high security,slow)" msgstr "" -#: options.php:1152 +#: options.php:1153 msgid "Comment UA infomation" msgstr "" -#: options.php:1153 +#: options.php:1154 msgid "Check to enable, display the user's browser, operating system information" msgstr "" -#: options.php:1159 +#: options.php:1160 msgid "Enable disqus" msgstr "" -#: options.php:1160 +#: options.php:1161 msgid "Enable disqus for comment" msgstr "" -#: options.php:1166 +#: options.php:1167 msgid "Time Zone adjustment" msgstr "" -#: options.php:1167 +#: options.php:1168 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 4a049ff..f450ad9 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 a635e1f..da5ad02 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: 2019-12-25 10:43+0800\n" -"PO-Revision-Date: 2019-12-25 10:44+0800\n" +"POT-Creation-Date: 2020-01-07 17:29+0800\n" +"PO-Revision-Date: 2020-01-07 17:32+0800\n" "Last-Translator: \n" "Language-Team: \n" "Language: zh_CN\n" @@ -142,36 +142,36 @@ msgstr "小工具" msgid "Nav Menus" msgstr "导航菜单" -#: functions.php:389 inc/theme_plus.php:186 layouts/authorprofile.php:11 -#: options.php:123 +#: functions.php:420 inc/theme_plus.php:186 layouts/authorprofile.php:11 +#: options.php:121 msgid "Author" msgstr "作者" -#: functions.php:389 +#: functions.php:420 msgid "Blogger" msgstr "博主" -#: functions.php:393 +#: functions.php:424 msgid "Location" msgstr "来自" -#: functions.php:397 +#: functions.php:428 msgid "Private" msgstr "私密" -#: functions.php:399 +#: functions.php:430 msgid "Yes" msgstr "是" -#: functions.php:401 +#: functions.php:432 msgid "No" msgstr "否" -#: functions.php:404 +#: functions.php:435 msgid "Edit" msgstr "编辑" -#: functions.php:486 +#: functions.php:524 msgid "" "Please install pulgin WP-Statistics" @@ -179,38 +179,49 @@ msgstr "" "请安装插件 WP-Statistics" -#: functions.php:536 +#: functions.php:574 msgid "This guy is so lazy ╮(╯▽╰)╭" msgstr "这家伙好懒╮(╯▽╰)╭" -#: functions.php:1246 +#: functions.php:1327 msgid "All expand/collapse" msgstr "全部展开/收缩" -#: functions.php:1257 options.php:826 +#: functions.php:1348 options.php:834 msgid " " msgstr "" -#: functions.php:1261 +#: functions.php:1352 msgid " post(s)" msgstr " 篇文章" -#: functions.php:1283 functions.php:1286 inc/theme_plus.php:478 +#: functions.php:1375 functions.php:1378 inc/theme_plus.php:478 msgid "Dashboard" msgstr "管理中心" -#: functions.php:1499 +#: functions.php:1604 msgid "ERROR: This email domain (@" msgstr "" -#: functions.php:1603 +#: functions.php:1709 msgid "QQ" msgstr "" -#: functions.php:1665 +#: functions.php:1779 msgid "Sidebar" msgstr "侧栏" +#: functions.php:1891 +msgid "" +" For a better experience, please do not set permalink as plain. To do this, you may need to " +"configure pseudo-static . " +msgstr "" +" 为了更好的使用体验,请不要将" +"固定链接设置为朴素。为此,您可能需要配置伪静态" + #: header.php:35 #, php-format msgid "page %s " @@ -432,117 +443,117 @@ msgstr "退出登录" msgid "View comments" msgstr "查看评论" -#: options.php:34 options.php:46 options.php:301 +#: options.php:34 options.php:45 options.php:299 msgid "1" msgstr "" -#: options.php:35 options.php:47 options.php:302 +#: options.php:35 options.php:46 options.php:300 msgid "2" msgstr "" -#: options.php:36 options.php:48 options.php:303 +#: options.php:36 options.php:47 options.php:301 msgid "3" msgstr "" -#: options.php:37 options.php:49 options.php:304 +#: options.php:37 options.php:48 options.php:302 msgid "4" msgstr "" -#: options.php:38 options.php:50 options.php:305 +#: options.php:38 options.php:49 options.php:303 msgid "5" msgstr "" -#: options.php:39 options.php:306 +#: options.php:39 options.php:304 msgid "6" msgstr "" -#: options.php:40 options.php:307 +#: options.php:40 options.php:305 msgid "7" msgstr "" -#: options.php:112 +#: options.php:110 msgid "Basic settings" msgstr "基本设置" -#: options.php:116 +#: options.php:114 msgid "Site title" msgstr "站点名称" -#: options.php:117 +#: options.php:115 msgid "Mashiro's Blog" msgstr "樱花庄的白猫" -#: options.php:124 +#: options.php:122 msgid "Mashiro" msgstr "" -#: options.php:130 +#: options.php:128 msgid "Theme style" msgstr "主题风格" -#: options.php:133 +#: options.php:131 msgid "Custom theme color" msgstr "自定义主题颜色" -#: options.php:138 +#: options.php:136 msgid "Theme scheme tool transparency" msgstr "切换主题菜单透明度" -#: options.php:139 +#: 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:144 +#: options.php:142 msgid "Transparent" msgstr "全透明" -#: options.php:145 +#: options.php:143 msgid "Transparency 0.1" msgstr "透明度0.1" -#: options.php:146 +#: options.php:144 msgid "Transparency 0.2" msgstr "明度0.2" -#: options.php:147 +#: options.php:145 msgid "Transparency 0.3" msgstr "透明度0.3" -#: options.php:148 +#: options.php:146 msgid "Transparency 0.4" msgstr "透明度0.4" -#: options.php:149 +#: options.php:147 msgid "Transparency 0.5" msgstr "透明度0.5" -#: options.php:150 +#: options.php:148 msgid "Transparency 0.6" msgstr "透明度0.6" -#: options.php:151 +#: options.php:149 msgid "Transparency 0.7" msgstr "透明度0.7" -#: options.php:152 +#: options.php:150 msgid "Transparency 0.8" msgstr "透明度0.8" -#: options.php:153 +#: options.php:151 msgid "Transparency 0.9" msgstr "透明度0.9" -#: options.php:154 +#: options.php:152 msgid "Opaque" msgstr "Opaque" -#: options.php:158 +#: options.php:156 msgid "Change web background" msgstr "切换网页背景" -#: options.php:159 +#: options.php:157 msgid "" "The foreground switches the background of the webpage. There are 8 urls " "separated by commas. The order corresponds to the foreground scheme tool " @@ -557,19 +568,19 @@ msgstr "" "意:如果主题是从v3.2.3及以下更新过来的,请务必将本配置页的【其他】标签下的" "【版本控制】参数修改为任意新值!" -#: options.php:165 +#: options.php:163 msgid "Personal avatar" msgstr "个人头像" -#: options.php:166 +#: options.php:164 msgid "The best size is 130px*130px." msgstr "最佳尺寸130px*130px。" -#: options.php:171 +#: options.php:169 msgid "Text LOGO" msgstr "文字版LOGO" -#: options.php:172 +#: options.php:170 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 " @@ -578,283 +589,319 @@ msgstr "" "首页不显示上方的头像,而是显示一段文字(此处留空则使用上方的头像)。文字建议" "不要过长,16个字节左右为宜。" -#: options.php:178 +#: options.php:176 msgid "logo" msgstr "" -#: options.php:179 +#: options.php:177 msgid "The best height size is 40px。" msgstr "最佳高度尺寸40px。" -#: options.php:184 +#: options.php:182 msgid "Favicon" msgstr "" -#: options.php:185 +#: options.php:183 msgid "It is the small logo on the browser tab, fill in the url" msgstr "就是浏览器标签栏上那个小 logo,填写url" -#: options.php:191 +#: options.php:189 msgid "Custom keywords and descriptions " msgstr "自定义关键词和描述 " -#: options.php:192 +#: options.php:190 msgid "Customize keywords and descriptions after opening" msgstr "开启之后可自定义填写关键词和描述" -#: options.php:198 +#: options.php:196 msgid "Site keywords" msgstr "网站关键词" -#: options.php:199 +#: options.php:197 msgid "Each keyword is divided by a comma \",\" and the number is within 5." msgstr "各关键字间用半角逗号\",\"分割,数量在5个以内最佳。" -#: options.php:205 +#: options.php:203 msgid "Site descriptions" msgstr "网站描述" -#: options.php:206 +#: options.php:204 msgid "Describe the site in concise text, with a maximum of 120 words." msgstr "用简洁的文字描述本站点,字数建议在120个字以内。" -#: options.php:212 +#: options.php:210 msgid "Expand the nav menu" msgstr "展开导航菜单" -#: options.php:213 +#: options.php:211 msgid "Check to enable, default shrink" msgstr "勾选开启,默认收缩" -#: options.php:219 +#: options.php:217 msgid "Head decoration" msgstr "头部装饰图" -#: options.php:220 +#: options.php:218 msgid "" "Enable by default, check off, display on the article page, separate page and " "category page" msgstr "默认开启,勾选关闭,显示在文章页面,独立页面以及分类页" -#: options.php:226 +#: options.php:224 msgid "Search button" msgstr "搜索按钮" -#: options.php:231 options.php:272 options.php:558 options.php:568 -#: options.php:578 options.php:588 +#: options.php:229 options.php:270 options.php:574 options.php:584 +#: options.php:594 options.php:604 msgid "Open" msgstr "启用" -#: options.php:232 options.php:273 options.php:559 options.php:569 -#: options.php:579 options.php:589 +#: options.php:230 options.php:271 options.php:575 options.php:585 +#: options.php:595 options.php:605 msgid "Close" msgstr "关闭" -#: options.php:236 +#: options.php:234 msgid "Home article style" msgstr "首页文章风格" -#: options.php:241 +#: options.php:239 msgid "Standard" msgstr "标准" -#: options.php:242 +#: options.php:240 msgid "Graphic" msgstr "图文" -#: options.php:246 +#: options.php:244 msgid "Home article feature images (only valid for standard mode)" msgstr "首页文章特色图(仅对标准风格生效)" -#: options.php:251 +#: options.php:249 msgid "Round" msgstr "圆形" -#: options.php:252 +#: options.php:250 msgid "Square" msgstr "方形" -#: options.php:256 +#: options.php:254 msgid "" "Home article feature images alignment (only for graphic mode, default left " "and right alternate)" msgstr "首页文章特色图对齐方式(仅对图文风格生效,默认左右交替)" -#: options.php:261 +#: options.php:259 msgid "Left" msgstr "向左对齐" -#: options.php:262 +#: options.php:260 msgid "Right" msgstr "向右对齐" -#: options.php:263 +#: options.php:261 msgid "Alternate" msgstr "左右交替" -#: options.php:267 +#: options.php:265 msgid "Comment shrink" msgstr "评论收缩" -#: options.php:277 +#: options.php:275 msgid "Display author information at the end of the article?" msgstr "文章末尾显示作者信息?" -#: options.php:278 +#: options.php:276 msgid "Check to enable" msgstr "勾选启用" -#: options.php:284 +#: options.php:282 msgid "Paging mode" msgstr "分页模式" -#: options.php:289 +#: options.php:287 msgid "Ajax load" msgstr "Ajax 加载" -#: options.php:290 +#: options.php:288 msgid "Previous and next page" msgstr "上一页和下一页" -#: options.php:294 +#: options.php:292 msgid "Automatically load the next page" msgstr "自动加载下一页" -#: options.php:295 +#: options.php:293 msgid "" "(seconds) Set to automatically load the next page time, the default is not " "automatically loaded" msgstr "(秒)设置自动加载下一页时间,默认不自动加载" -#: options.php:300 +#: options.php:298 msgid "0" msgstr "" -#: options.php:308 +#: options.php:306 msgid "8" msgstr "" -#: options.php:309 +#: options.php:307 msgid "9" msgstr "" -#: options.php:310 +#: options.php:308 msgid "10" msgstr "" -#: options.php:311 +#: options.php:309 msgid "Do not load automatically" msgstr "不自动加载" -#: options.php:315 +#: options.php:313 msgid "Blogger description" msgstr "博主描述" -#: options.php:316 +#: options.php:314 msgid "A self-described statement" msgstr "一段自我描述的话" -#: options.php:322 +#: options.php:320 msgid "Footer info" msgstr "页脚信息" -#: options.php:323 +#: options.php:321 msgid "Footer description, support for HTML code" msgstr "页脚说明文字,支持HTML代码" -#: options.php:329 +#: options.php:327 msgid "Google analytics" msgstr "Google 统计代码" -#: options.php:330 +#: options.php:328 msgid "UA-xxxxx-x" msgstr "" -#: options.php:336 +#: options.php:334 msgid "CNZZ Statistics (not recommand)" -msgstr "站长统计(不建议使用)填写统计代码,将被隐藏" +msgstr "站长统计(不建议使用)" -#: options.php:337 +#: options.php:335 msgid "Statistics code, which will be invisible in web page." msgstr "填写统计代码,将被隐藏。" -#: options.php:343 +#: options.php:341 msgid "Customize CSS styles" msgstr "自定义CSS样式" -#: options.php:344 +#: options.php:342 msgid "Fill in the CSS code directly, no need to write style tags" msgstr "直接填写CSS代码,不需要写style标签" -#: options.php:352 +#: options.php:349 msgid "First screen" msgstr "第一屏" -#: options.php:356 +#: options.php:353 msgid "Main switch" msgstr "总开关" -#: options.php:357 options.php:381 +#: options.php:354 options.php:398 msgid "Default on, check off" msgstr "默认开启,勾选关闭" -#: options.php:363 +#: options.php:360 msgid "Social information" msgstr "社交信息" -#: options.php:364 +#: options.php:361 msgid "Enable by default, check off, display avatar, signature, SNS" msgstr "默认开启,勾选关闭,显示头像、签名、SNS" -#: options.php:370 +#: options.php:367 msgid "Social information style" msgstr "社交信息样式" -#: options.php:375 +#: options.php:372 msgid "Merge with signature" msgstr "与签名合并" -#: options.php:376 +#: options.php:373 msgid "Independent line" msgstr "独立成行" -#: options.php:380 +#: options.php:377 +msgid "Cover manifest" +msgstr "封面图片库选项" + +#: options.php:378 +msgid "Select how to call the cover random image" +msgstr "选择封面随机图的调用方式" + +#: options.php:383 +msgid "webp images (optimization)" +msgstr "webp优化随机图" + +#: options.php:384 +msgid "built-in api (default)" +msgstr "内置原图随机图(默认)" + +#: options.php:385 +msgid "custom api (advanced)" +msgstr "外部随机图API" + +#: options.php:390 +msgid "Cover images url" +msgstr "封面图片库url" + +#: options.php:391 +#, php-format +msgid "" +"Fill in the manifest path for random picture display, please refer to Wiki . If " +"you select webp images above, click here to update " +"manifest" +msgstr "" +"填写 manifest 路径,更多信息请参考Wiki,,如果你在上面选择了webp优化,点击这里更新 manifest" + +#: options.php:397 msgid "full-screen display" msgstr "全屏显示" -#: options.php:387 +#: options.php:404 msgid "Enable video" msgstr "开启视频" -#: options.php:388 +#: options.php:405 msgid "Check on" msgstr "勾选开启" -#: options.php:394 +#: options.php:411 msgid "Live" msgstr "" -#: options.php:395 +#: options.php:412 msgid "" "Check to enable, the video will continue to play automatically, you need to " "enable Pjax" msgstr "选开启,视频自动续播,需要开启Pjax功能" -#: options.php:401 +#: options.php:418 msgid "Video address" msgstr "视频地址" -#: options.php:402 +#: options.php:419 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:408 +#: options.php:425 msgid "Video name" msgstr "视频名称" -#: options.php:409 +#: options.php:426 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 " @@ -863,295 +910,287 @@ msgstr "" "abc.mp4 ,只需要填写视频文件名 abc 即可,多个用英文逗号隔开如 abc,efg ,无需" "在意顺序,因为加载是随机的抽取的" -#: options.php:415 +#: options.php:432 msgid "Background image filter" msgstr "背景图滤镜" -#: options.php:420 +#: options.php:437 msgid "Nothing" msgstr "无" -#: options.php:421 +#: options.php:438 msgid "Undertint" msgstr "浅色" -#: options.php:422 +#: options.php:439 msgid "Dim" msgstr "暗淡" -#: options.php:423 +#: options.php:440 msgid "Grid" msgstr "网格" -#: options.php:424 +#: options.php:441 msgid "Dot" msgstr "点点" -#: options.php:428 +#: options.php:445 msgid "Whether to turn on the top-feature" msgstr "是否开启聚焦" -#: options.php:429 options.php:1084 +#: options.php:446 options.php:1085 msgid "Default on" msgstr "默认开启" -#: options.php:435 +#: options.php:452 msgid "Top-feature style" msgstr "聚焦样式" -#: options.php:440 +#: options.php:457 msgid "Alternate left and right" msgstr "左右交替" -#: options.php:441 +#: options.php:458 msgid "From bottom to top" msgstr "从下往上" -#: options.php:445 +#: options.php:462 msgid "Top-feature title" msgstr "聚焦标题" -#: options.php:446 +#: options.php:463 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:453 +#: options.php:470 msgid "Top-feature 1 image" msgstr "聚焦图一" -#: options.php:454 options.php:482 options.php:510 +#: options.php:471 options.php:499 options.php:527 msgid "size 257px*160px" msgstr "尺寸257px*160px" -#: options.php:460 options.php:461 +#: options.php:477 options.php:478 msgid "Top-feature 1 title" msgstr "聚焦图一标题" -#: options.php:467 options.php:468 +#: options.php:484 options.php:485 msgid "Top-feature 1 description" msgstr "聚焦图一描述" -#: options.php:474 options.php:475 +#: options.php:491 options.php:492 msgid "Top-feature 1 link" msgstr "聚焦图一链接" -#: options.php:481 +#: options.php:498 msgid "Top-feature 2 image" msgstr "聚焦图二" -#: options.php:488 options.php:489 +#: options.php:505 options.php:506 msgid "Top-feature 2 title" msgstr "聚焦图二标题" -#: options.php:495 options.php:496 +#: options.php:512 options.php:513 msgid "Top-feature 2 description" msgstr "聚焦图二描述" -#: options.php:502 options.php:503 +#: options.php:519 options.php:520 msgid "Top-feature 2 link" msgstr "聚焦图二链接" -#: options.php:509 +#: options.php:526 msgid "Top-feature 3 image" msgstr "聚焦图三" -#: options.php:516 options.php:517 +#: options.php:533 options.php:534 msgid "Top-feature 3 title" msgstr "聚焦图三标题" -#: options.php:523 options.php:524 +#: options.php:540 options.php:541 msgid "Top-feature 3 description" msgstr "聚焦图三描述" -#: options.php:530 options.php:531 +#: options.php:547 options.php:548 msgid "Top-feature 3 link" msgstr "聚焦图三链接" -#: options.php:539 +#: options.php:555 msgid "Post page" msgstr "文章页" -#: options.php:543 +#: options.php:559 msgid "Post style" msgstr "文章样式" -#: options.php:548 +#: options.php:564 msgid "Sakura" msgstr "默认样式" -#: options.php:549 options.php:645 +#: options.php:565 options.php:660 msgid "GitHub" msgstr "" -#: options.php:553 +#: options.php:569 msgid "Post like" msgstr "文章点赞" -#: options.php:563 +#: options.php:579 msgid "Post share" msgstr "文章分享" -#: options.php:573 +#: options.php:589 msgid "Previous and Next" msgstr "上一篇下一篇" -#: options.php:583 +#: options.php:599 msgid "Author profile" msgstr "博主信息" -#: options.php:593 +#: options.php:609 msgid "Alipay reward" msgstr "支付宝打赏" -#: options.php:594 +#: options.php:610 msgid "Alipay qrcode" msgstr "支付宝二维码" -#: options.php:599 +#: options.php:615 msgid "Wechat reward" msgstr "微信打赏" -#: options.php:600 +#: options.php:616 msgid "Wechat qrcode " msgstr "微信二维码 " -#: options.php:607 +#: options.php:622 msgid "Social network" msgstr "社交网络" -#: options.php:611 +#: options.php:626 msgid "Wechat" msgstr "微信" -#: options.php:612 +#: options.php:627 msgid "Wechat qrcode" msgstr "微信二维码" -#: options.php:617 +#: options.php:632 msgid "Sina Weibo" msgstr "新浪微博" -#: options.php:618 +#: options.php:633 msgid "Sina Weibo address" msgstr "新浪微博地址" -#: options.php:624 +#: options.php:639 msgid "Tencent QQ" msgstr "腾讯QQ" -#: options.php:625 +#: options.php:640 msgid "" "tencent://message/?uin={{QQ number}}. for example, tencent://message/?" "uin=123456" msgstr "tencent://message/?uin={{QQ号码}},如tencent://message/?uin=123456" -#: options.php:631 +#: options.php:646 msgid "Telegram" msgstr "" -#: options.php:632 +#: options.php:647 msgid "Telegram link" msgstr "Telegram链接" -#: options.php:638 +#: options.php:653 msgid "Qzone" msgstr "QQ空间" -#: options.php:639 +#: options.php:654 msgid "Qzone address" msgstr "QQ空间地址" -#: options.php:646 +#: options.php:661 msgid "GitHub address" msgstr "GitHub地址" -#: options.php:652 +#: options.php:667 msgid "Lofter" msgstr "" -#: options.php:653 +#: options.php:668 msgid "Lofter address" -msgstr "lofter地址" +msgstr "Lofter 地址" -#: options.php:659 +#: options.php:674 msgid "BiliBili" msgstr "" -#: options.php:660 +#: options.php:675 msgid "BiliBili address" msgstr "B站地址" -#: options.php:666 +#: options.php:681 msgid "Youku video" msgstr "优酷视频" -#: options.php:667 +#: options.php:682 msgid "Youku video address" msgstr "优酷地址" -#: options.php:673 +#: options.php:688 msgid "Netease Cloud Music" msgstr "网易云音乐" -#: options.php:674 +#: options.php:689 msgid "Netease Cloud Music address" msgstr "网易云音乐地址" -#: options.php:680 +#: options.php:695 msgid "Twitter" msgstr "" -#: options.php:681 +#: options.php:696 msgid "Twitter address" msgstr "推特地址" -#: options.php:687 +#: options.php:702 msgid "Facebook" msgstr "" -#: options.php:688 +#: options.php:703 msgid "Facebook address" msgstr "脸书地址" -#: options.php:694 -msgid "Google+" -msgstr "" - -#: options.php:695 -msgid "G+ address" -msgstr "G+地址" - -#: options.php:701 +#: options.php:709 msgid "Jianshu" msgstr "简书" -#: options.php:702 +#: options.php:710 msgid "Jianshu address" msgstr "简书地址" -#: options.php:708 +#: options.php:716 msgid "CSDN" msgstr "" -#: options.php:709 +#: options.php:717 msgid "CSND community address" msgstr "CSND社区地址" -#: options.php:715 +#: options.php:723 msgid "Zhihu" msgstr "知乎" -#: options.php:716 +#: options.php:724 msgid "Zhihu address" msgstr "知乎地址" -#: options.php:722 +#: options.php:730 msgid "Email-name" msgstr "邮箱-用户名" -#: options.php:723 +#: options.php:731 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" @@ -1159,23 +1198,23 @@ msgstr "" "name@domain.com 的 name 部分,前端仅具有 js 运行环境时才能获取完整地址,可放" "心填写" -#: options.php:729 +#: options.php:737 msgid "Email-domain" msgstr "邮箱-域名" -#: options.php:730 +#: options.php:738 msgid "The domain.com part of name@domain.com" msgstr "name@domain.com 的 domain.com部分" -#: options.php:737 +#: options.php:745 msgid "Dashboard configuration" msgstr "后台配置" -#: options.php:742 +#: options.php:750 msgid "Dashboard panel custom color scheme" msgstr "后台面板自定义配色方案" -#: options.php:743 +#: options.php:751 msgid "" "You can design the dashboard panel (/wp-admin/) style yourself below, but " "before you start, please go to here to " @@ -1188,79 +1227,79 @@ msgstr "" "b>如何搭配颜色?或许这个可以" "帮到你。" -#: options.php:749 +#: options.php:757 msgid "Panel main color A" msgstr "面板主色调A" -#: options.php:752 options.php:760 options.php:768 options.php:776 +#: options.php:760 options.php:768 options.php:776 options.php:784 msgid "" "(array) (optional) An array of CSS color definitions which are used " "to give the user a feel for the theme." msgstr "" -#: options.php:757 +#: options.php:765 msgid "Panel main color B" msgstr "面板主色调B" -#: options.php:765 +#: options.php:773 msgid "Panel main color C" msgstr "面板主色调C" -#: options.php:773 +#: options.php:781 msgid "Panel main color D" msgstr "面板主色调D" -#: options.php:781 +#: options.php:789 msgid "Panel icon color——base" msgstr "面板图标配色——base" -#: options.php:784 options.php:792 options.php:800 +#: options.php:792 options.php:800 options.php:808 msgid "" "(array) (optional) An array of CSS color definitions used to color " "any SVG icons." msgstr "" -#: options.php:789 +#: options.php:797 msgid "Panel icon color——focus" msgstr "面板图标配色——focus" -#: options.php:797 +#: options.php:805 msgid "Panel icon color——current" msgstr "面板图标配色——current" -#: options.php:805 +#: options.php:813 msgid "Other custom panel styles(CSS)" msgstr "其他自定义面板样式(CSS)" -#: options.php:806 +#: options.php:814 msgid "If you need to adjust other styles of the panel, put the style here." msgstr "如果还需要对面板其他样式进行调整可以把style放到这里。" -#: options.php:812 +#: options.php:820 msgid "Login interface background image" msgstr "后台登陆界面背景图" -#: options.php:813 +#: options.php:821 msgid "Use the default image if left this blank" msgstr "该地址为空则使用默认图片" -#: options.php:818 +#: options.php:826 msgid "Login interface logo" msgstr "后台登陆界面logo" -#: options.php:819 +#: options.php:827 msgid "Used for login interface display" msgstr "用于登录界面显示" -#: options.php:825 +#: options.php:833 msgid "Login/registration related settings" msgstr "登陆/注册相关设定" -#: options.php:832 +#: options.php:840 msgid "Specify login address" msgstr "指定登录地址" -#: options.php:833 +#: options.php:841 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 " @@ -1271,49 +1310,49 @@ msgstr "" "login【注意】填写前先测试下你新建的页面是可以正常打开的,以免造成无法进入后台" "等情况" -#: options.php:839 +#: options.php:847 msgid "Specify registered address" msgstr "指定注册地址" -#: options.php:840 +#: options.php:848 msgid "This link is used on the login page as a registration entry" msgstr "该链接使用在登录页面作为注册入口,建议填写" -#: options.php:846 +#: options.php:854 msgid "Allow users to register" msgstr "允许用户注册" -#: options.php:847 +#: options.php:855 msgid "Check to allow users to register at the frontend" msgstr "勾选开启,允许用户在前台注册" -#: options.php:853 +#: options.php:861 msgid "Automatically redirect after login" msgstr "登录后自动跳转" -#: options.php:854 +#: options.php:862 msgid "" "After checken, the administrator redirects to the background and the user " "redirects to the home page." msgstr "勾选开启,管理员跳转至后台,用户跳转至主页。" -#: options.php:860 +#: options.php:868 msgid "Registration verification (frontend only, backend forced open)" msgstr "注册验证(仅前端,后端强制开启)" -#: options.php:861 +#: options.php:869 msgid "Check to enable slide verification" msgstr "勾选开启滑动验证" -#: options.php:868 +#: options.php:876 msgid "CDN" msgstr "" -#: options.php:872 +#: options.php:880 msgid "Images CDN" msgstr "图片库" -#: options.php:873 +#: options.php:881 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." @@ -1323,50 +1362,33 @@ msgstr "" "domain/wp-content/uploads/2018/05/xx.png 的图片将从 http://你的CDN域" "名/2018/05/xx.png 加载" -#: options.php:879 -msgid "Cover manifest" -msgstr "" - -#: options.php:880 -#, php-format -msgid "" -"Fill in the manifest path for random picture display, without adding a slash " -"at the end, for example: https://cdn.jsdelivr.net/gh/mashirozx/sakura@3.3.3, " -"please refer to Wiki . Click here to update manifest" -msgstr "" -"填写 manifest 路径,用于随机图片展示,最后不用加斜杠,例:https://cdn." -"jsdelivr.net/gh/mashirozx/sakura@3.3.3 ,更多信息请参考Wiki。点击这里" -"更新manifest" - -#: options.php:886 +#: options.php:887 msgid "Use the front-end library locally (lib.js、lib.css)" msgstr "本地调用前端库(lib.js、lib.css)" -#: options.php:887 +#: options.php:888 msgid "The front-end library don't load from jsDelivr, not recommand" msgstr "前端库不走 jsDelivr,不建议启用" -#: options.php:893 +#: options.php:894 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:894 +#: options.php:895 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:901 +#: options.php:902 msgid "Others" msgstr "其他" -#: options.php:905 +#: options.php:906 msgid "About" msgstr "关于" -#: options.php:906 +#: options.php:907 #, php-format msgid "" "Theme Sakura v %s | Theme " @@ -1381,15 +1403,15 @@ msgstr "" "img.shields.io/github/release/mashirozx/Sakura.svg?style=flat-square\" alt=" "\"GitHub release\">" -#: options.php:912 +#: options.php:913 msgid "Check for Updates" msgstr "检查更新" -#: options.php:924 +#: options.php:925 msgid "Footer float music player" msgstr "页脚悬浮播放器" -#: options.php:925 +#: options.php:926 msgid "" "If you don't need the player just leave it blank.Fill in the \"song list\" " "ID of Netease Cloud Music, eg: https://music.163.com/#/playlist?" @@ -1398,44 +1420,44 @@ msgstr "" "如果不需要播放器留空即可。填写网易云音乐的「歌单」ID,eg:https://music.163." "com/#/playlist?id=2288037900的ID是2288037900" -#: options.php:931 +#: options.php:932 msgid "Version Control" msgstr "版本控制" -#: options.php:932 +#: options.php:933 msgid "" "Used to update frontend cookies and browser caches, any string can be used" msgstr "用于更新前端 cookie 及浏览器缓存,可使用任意字符串" -#: options.php:938 +#: options.php:939 msgid "Enable PJAX (recommand on)" msgstr "开启PJAX局部刷新(建议开启)" -#: options.php:939 +#: options.php:940 msgid "The principle is the same as Ajax" msgstr "原理与Ajax相同" -#: options.php:945 +#: options.php:946 msgid "Enable NProgress progress bar" msgstr "开启NProgress加载进度条" -#: options.php:946 options.php:953 options.php:960 +#: options.php:947 options.php:954 options.php:961 msgid "Default off, check on" msgstr "默认不开启,勾选开启" -#: options.php:952 +#: options.php:953 msgid "Enable sidebar widget" msgstr "支持侧栏小部件" -#: options.php:959 +#: options.php:960 msgid "Enable Announcement" msgstr "开启公告" -#: options.php:966 +#: options.php:967 msgid "Announcement content" msgstr "公告内容" -#: options.php:967 +#: options.php:968 msgid "" "Announcement content, the text exceeds 142 bytes will be scrolled display " "(mobile device is invalid)" @@ -1443,72 +1465,72 @@ msgstr "" "公告内容,文字超出142个字节将会被滚动显示(移动端无效),一个汉字 = 3字节,一" "个字母 = 1字节,自己计算吧" -#: options.php:973 +#: options.php:974 msgid "The categories of articles that don't not show on homepage" msgstr "首页不显示的分类文章" -#: options.php:974 options.php:981 +#: options.php:975 options.php:982 msgid "Fill in category ID, multiple IDs are divided by a comma \",\"" msgstr "填写分类ID,多个用英文“ , ”分开" -#: options.php:980 +#: options.php:981 msgid "Images category" msgstr "图片展示分类" -#: options.php:987 +#: options.php:988 msgid "Statistics Interface" msgstr "统计接口" -#: options.php:992 +#: options.php:993 msgid "" "WP-Statistics plugin (Professional statistics, can exclude invalid access)" msgstr "WP-Statistics 插件(专业性统计,可排除无效访问)" -#: options.php:993 +#: options.php:994 msgid "Theme built-in (simple statistics, calculate each page access request)" msgstr "主题内建(简单的统计,计算每一次页面访问请求)" -#: options.php:997 +#: options.php:998 msgid "Statistical data display format" msgstr "统计数据显示格式" -#: options.php:1002 +#: options.php:1003 msgid "23333 Views (default)" msgstr "23333 次访问(默认)" -#: options.php:1003 +#: options.php:1004 msgid "23,333 Views (britain)" msgstr "23,333 次访问(英式)" -#: options.php:1004 +#: options.php:1005 msgid "23 333 Views (french)" msgstr "23 333 次访问(法式)" -#: options.php:1005 +#: options.php:1006 msgid "23k Views (chinese)" msgstr "23k 次访问(中式)" -#: options.php:1009 +#: options.php:1010 msgid "Comment image upload API" msgstr "评论上传图片接口" -#: options.php:1014 +#: options.php:1015 msgid "Imgur (https://imgur.com)" msgstr "" -#: options.php:1015 +#: options.php:1016 msgid "SM.MS (https://sm.ms)" msgstr "" -#: options.php:1016 +#: options.php:1017 msgid "Chevereto (https://chevereto.com)" msgstr "" -#: options.php:1020 +#: options.php:1021 msgid "Imgur Client ID" msgstr "" -#: options.php:1021 +#: options.php:1022 msgid "" "Register your application here, note we only need the Client ID here." @@ -1516,48 +1538,48 @@ msgstr "" "在这里注册你的 " "application , 注意此处只需要填写 Client ID." -#: options.php:1027 +#: options.php:1028 msgid "SM.MS Secret Token" msgstr "" -#: options.php:1028 +#: options.php:1029 msgid "" "Register your application here." msgstr "在这里获取 key." -#: options.php:1034 +#: options.php:1035 msgid "Chevereto API v1 key" msgstr "" -#: options.php:1035 +#: options.php:1036 msgid "Get your API key here: " msgstr "在这里获取你的 API key: " -#: options.php:1041 +#: options.php:1042 msgid "Chevereto URL" msgstr "" -#: options.php:1042 +#: options.php:1043 msgid "" "Your Chevereto homepage url, no slash in the end, eg. https://your.cherverto." "com" msgstr "" "你的 Chevereto 首页 url, 注意结尾没有 /, 例如:https://your.cherverto.com" -#: options.php:1048 +#: options.php:1049 msgid "Comment images proxy" msgstr "评论图片代理" -#: options.php:1049 +#: options.php:1050 msgid "" "A front-ed proxy for the uploaded images. Leave it blank if you do not need." msgstr "前端显示的图片的代理。" -#: options.php:1055 +#: options.php:1056 msgid "Imgur upload proxy" msgstr "Imgur 上传代理" -#: options.php:1056 +#: options.php:1057 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:1062 +#: options.php:1063 msgid "Enable live search" msgstr "启用实时搜索" -#: options.php:1063 +#: options.php:1064 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 functions.php" @@ -1584,21 +1606,21 @@ msgstr "" "前台实现实时搜索,调用 Rest API 每小时更新一次缓存,可在 functions.php 里手动" "设置缓存时间" -#: options.php:1069 +#: options.php:1070 msgid "Include comments in live search" msgstr "实时搜索包含评论" -#: options.php:1070 +#: options.php:1071 msgid "" "Search for comments in real-time search (not recommended if there are too " "many comments on the site)" msgstr "在实时搜索中搜索评论(如果网站评论数量太多不建议开启)" -#: options.php:1076 +#: options.php:1077 msgid "Enable baguetteBox" msgstr "启用 baguetteBox" -#: options.php:1077 +#: options.php:1078 msgid "" "Default off,please read wiki" @@ -1606,33 +1628,33 @@ msgstr "" "默认禁用,请阅" "读说明" -#: options.php:1083 +#: options.php:1084 msgid "Enable lazyload in posts" msgstr "文章内图片启用 lazyload" -#: options.php:1090 +#: options.php:1091 msgid "lazyload spinner" msgstr "lazyload 占位图" -#: options.php:1091 +#: options.php:1092 msgid "The placeholder to display when the image loads, fill in the image url" msgstr "图片加载时要显示的占位图,填写图片 url" -#: options.php:1097 +#: options.php:1098 msgid "Whether to enable the clipboard copyright" msgstr "是否开启剪贴板版权标识" -#: options.php:1098 +#: options.php:1099 msgid "" "Automatically add a copyright to the clipboard when copying more than 30 " "bytes, which is enabled by default." msgstr "复制超过30个字节时自动向剪贴板添加版权标识,默认开启。" -#: options.php:1104 +#: options.php:1105 msgid "Email address prefix" msgstr "发件地址前缀" -#: options.php:1105 +#: options.php:1106 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" @@ -1640,11 +1662,11 @@ msgstr "" "用于发送系统邮件,在用户的邮箱中显示的发件人地址,不要使用中文,默认系统邮件" "地址为 bibi@你的域名" -#: options.php:1111 +#: options.php:1112 msgid "Comments reply notification" msgstr "邮件回复通知" -#: options.php:1112 +#: options.php:1113 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 " @@ -1653,78 +1675,78 @@ msgstr "" "WordPress默认会使用邮件通知用户评论收到回复,开启此项允许用户设置自己的评论收" "到回复时是否使用邮件通知" -#: options.php:1118 +#: options.php:1119 msgid "Administrator comment notification" msgstr "邮件回复通知管理员" -#: options.php:1119 +#: options.php:1120 msgid "" "Whether to use email notification when the administrator's comments receive " "a reply" msgstr "当管理员评论收到回复时是否使用邮件通知" -#: options.php:1125 +#: options.php:1126 msgid "Enable private comment" msgstr "允许私密评论" -#: options.php:1126 +#: options.php:1127 msgid "Allow users to set their own comments to be invisible to others" msgstr "允许用户设置自己的评论对其他人不可见" -#: options.php:1132 +#: options.php:1133 msgid "Human verification" msgstr "机器人验证" -#: options.php:1133 +#: options.php:1134 msgid "Enable human verification" msgstr "开启机器人验证" -#: options.php:1139 +#: options.php:1140 msgid "QQ avatar link encryption" msgstr "QQ头像链接加密" -#: options.php:1140 +#: options.php:1141 msgid "Do not display the user's qq avatar links directly." msgstr "不直接暴露用户QQ头像链接" -#: options.php:1145 +#: options.php:1146 msgid "Off (default)" msgstr "关闭(默认)" -#: options.php:1146 +#: options.php:1147 msgid "use redirect (general security)" msgstr "使用重定向(安全性低)" -#: options.php:1147 +#: options.php:1148 msgid "fetch data at backend (high security)" msgstr "后端获取头像数据(安全性高)" -#: options.php:1148 +#: options.php:1149 msgid "fetch data at backend (high security,slow)" msgstr "后端解析QQ头像接口(安全性高,慢)" -#: options.php:1152 +#: options.php:1153 msgid "Comment UA infomation" msgstr "评论UA信息" -#: options.php:1153 +#: options.php:1154 msgid "" "Check to enable, display the user's browser, operating system information" msgstr "勾选开启,显示用户的浏览器,操作系统信息" -#: options.php:1159 +#: options.php:1160 msgid "Enable disqus" msgstr "开启多说插件支持" -#: options.php:1160 +#: options.php:1161 msgid "Enable disqus for comment" msgstr "多说已经凉了~~" -#: options.php:1166 +#: options.php:1167 msgid "Time Zone adjustment" msgstr "时区调整" -#: options.php:1167 +#: options.php:1168 msgid "" "If the comment has a time difference problem adjust here, fill in an " "integer, the calculation method: actual_time = display_error_time - " @@ -1852,6 +1874,9 @@ msgstr "注 册" msgid "Registration is not open yet." msgstr "暂未开放注册。" +#~ msgid "G+ address" +#~ msgstr "G+地址" + #~ msgid "Cover CDN" #~ msgstr "封面图图片库" diff --git a/layouts/imgbox.php b/layouts/imgbox.php index 532b181..b2d774e 100644 --- a/layouts/imgbox.php +++ b/layouts/imgbox.php @@ -117,9 +117,6 @@
  • - -
  • -
  • diff --git a/options.php b/options.php index 456217a..bee81a6 100644 --- a/options.php +++ b/options.php @@ -377,11 +377,11 @@ function optionsframework_options() 'name' => __('Cover manifest', 'sakura'), /*封面图片库选项*/ 'desc' => __('Select how to call the cover random image', 'sakura'), /*选择封面随机图的调用方式*/ 'id' => 'cover_cdn_options', - 'std' => "type_1", + 'std' => "type_2", 'type' => "select", 'options' => array( 'type_1' => __('webp images (optimization)', 'sakura'), /*webp优化随机图*/ - 'type_2' => __('built-in api (easiest)', 'sakura'), /*内置原图随机图*/ + 'type_2' => __('built-in api (default)', 'sakura'), /*内置原图随机图*/ 'type_3' => __('custom api (advanced)', 'sakura'), /*外部随机图API*/ ) ); @@ -704,14 +704,7 @@ function optionsframework_options() 'id' => 'facebook', 'std' => '', 'type' => 'text'); - /* - $options[] = array( - 'name' => __('Google+', 'sakura'), - 'desc' => __('G+ address', 'sakura'), - 'id' => 'googleplus', - 'std' => '', - 'type' => 'text'); - */ + $options[] = array( 'name' => __('Jianshu', 'sakura'), /*简书*/ 'desc' => __('Jianshu address', 'sakura'), /*简书地址*/