diff --git a/inc/api.php b/inc/api.php index 7771f77..d96742b 100755 --- a/inc/api.php +++ b/inc/api.php @@ -120,7 +120,12 @@ function cover_gallery() { * @rest api接口路径:https://sakura.2heng.xin/wp-json/sakura/v1/image/feature */ function feature_gallery() { - return cover_gallery(); + $imgurl = Images::feature_gallery(); + $data = array('feature image'); + $response = new WP_REST_Response($data); + $response->set_status(302); + $response->header('Location', $imgurl); + return $response; } /* diff --git a/inc/classes/Images.php b/inc/classes/Images.php index 6ba6ccd..dfa1177 100644 --- a/inc/classes/Images.php +++ b/inc/classes/Images.php @@ -162,4 +162,13 @@ class Images } return $imgurl; } + + public static function feature_gallery() { + if (akina_option('post_cover_options') == "type_2") { + $imgurl = akina_option('post_cover'); + } else { + $imgurl = self::cover_gallery(); + } + return $imgurl; + } } \ No newline at end of file diff --git a/languages/en_US.mo b/languages/en_US.mo index 9e6c94e..88a8afb 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 4cfa46d..e05e861 100644 --- a/languages/en_US.po +++ b/languages/en_US.po @@ -1,8 +1,8 @@ msgid "" msgstr "" "Project-Id-Version: Sakura\n" -"POT-Creation-Date: 2020-08-04 23:34+0800\n" -"PO-Revision-Date: 2020-08-04 23:34+0800\n" +"POT-Creation-Date: 2020-08-06 17:39+0800\n" +"PO-Revision-Date: 2020-08-06 17:39+0800\n" "Last-Translator: \n" "Language-Team: \n" "Language: en_US\n" @@ -185,7 +185,7 @@ msgstr "" msgid "All expand/collapse" msgstr "" -#: functions.php:1356 options.php:961 +#: functions.php:1356 options.php:980 msgid " " msgstr "" @@ -205,11 +205,11 @@ msgstr "" msgid "QQ" msgstr "" -#: functions.php:1789 +#: functions.php:1779 msgid "Sidebar" msgstr "" -#: functions.php:1902 +#: functions.php:1892 msgid "" " For a better experience, please do not set permalink as plain. To do this, you may need to " @@ -439,31 +439,31 @@ msgstr "" msgid "View comments" msgstr "" -#: options.php:34 options.php:45 options.php:293 +#: options.php:34 options.php:45 options.php:312 msgid "1" msgstr "" -#: options.php:35 options.php:46 options.php:294 +#: options.php:35 options.php:46 options.php:313 msgid "2" msgstr "" -#: options.php:36 options.php:47 options.php:295 +#: options.php:36 options.php:47 options.php:314 msgid "3" msgstr "" -#: options.php:37 options.php:48 options.php:296 +#: options.php:37 options.php:48 options.php:315 msgid "4" msgstr "" -#: options.php:38 options.php:49 options.php:297 +#: options.php:38 options.php:49 options.php:316 msgid "5" msgstr "" -#: options.php:39 options.php:298 +#: options.php:39 options.php:317 msgid "6" msgstr "" -#: options.php:40 options.php:299 +#: options.php:40 options.php:318 msgid "7" msgstr "" @@ -605,13 +605,13 @@ msgstr "" msgid "Search button" msgstr "" -#: options.php:223 options.php:264 options.php:568 options.php:578 -#: options.php:588 options.php:598 +#: options.php:223 options.php:283 options.php:587 options.php:597 +#: options.php:607 options.php:617 msgid "Open" msgstr "" -#: options.php:224 options.php:265 options.php:569 options.php:579 -#: options.php:589 options.php:599 +#: options.php:224 options.php:284 options.php:588 options.php:598 +#: options.php:608 options.php:618 msgid "Close" msgstr "" @@ -627,187 +627,201 @@ msgstr "" msgid "Graphic" msgstr "" -#: options.php:238 -msgid "Home article feature images (only valid for standard mode)" +#: options.php:238 options.php:390 +msgid "Cover manifest" msgstr "" -#: options.php:243 -msgid "Round" +#: options.php:239 +msgid "" +"Select how to call the post featue image, only for the post without feature " +"image" msgstr "" #: options.php:244 +msgid "same as the cover of the first screen (default)" +msgstr "" + +#: options.php:245 options.php:398 +msgid "custom api (advanced)" +msgstr "" + +#: options.php:250 options.php:403 +msgid "Cover images url" +msgstr "Remove image" + +#: options.php:251 +msgid "Fill in the custom image api url." +msgstr "" + +#: options.php:257 +msgid "Home article feature images (only valid for standard mode)" +msgstr "" + +#: options.php:262 +msgid "Round" +msgstr "" + +#: options.php:263 msgid "Square" msgstr "" -#: options.php:248 +#: options.php:267 msgid "" "Home article feature images alignment (only for graphic mode, default left " "and right alternate)" msgstr "" -#: options.php:253 +#: options.php:272 msgid "Left" msgstr "" -#: options.php:254 +#: options.php:273 msgid "Right" msgstr "" -#: options.php:255 +#: options.php:274 msgid "Alternate" msgstr "" -#: options.php:259 +#: options.php:278 msgid "Comment shrink" msgstr "" -#: options.php:269 +#: options.php:288 msgid "Display author information at the end of the article?" msgstr "" -#: options.php:270 +#: options.php:289 msgid "Check to enable" msgstr "" -#: options.php:276 +#: options.php:295 msgid "Paging mode" msgstr "" -#: options.php:281 +#: options.php:300 msgid "Ajax load" msgstr "" -#: options.php:282 +#: options.php:301 msgid "Previous and next page" msgstr "" -#: options.php:286 +#: options.php:305 msgid "Automatically load the next page" msgstr "" -#: options.php:287 +#: options.php:306 msgid "" "(seconds) Set to automatically load the next page time, the default is not " "automatically loaded" msgstr "" -#: options.php:292 +#: options.php:311 msgid "0" msgstr "" -#: options.php:300 +#: options.php:319 msgid "8" msgstr "" -#: options.php:301 +#: options.php:320 msgid "9" msgstr "" -#: options.php:302 +#: options.php:321 msgid "10" msgstr "" -#: options.php:303 +#: options.php:322 msgid "Do not load automatically" msgstr "" -#: options.php:307 +#: options.php:326 msgid "Blogger description" msgstr "" -#: options.php:308 +#: options.php:327 msgid "A self-described statement" msgstr "" -#: options.php:314 +#: options.php:333 msgid "Footer info" msgstr "" -#: options.php:315 +#: options.php:334 msgid "Footer description, support for HTML code" msgstr "" -#: options.php:321 +#: options.php:340 msgid "Google analytics" msgstr "" -#: options.php:322 +#: options.php:341 msgid "UA-xxxxx-x" msgstr "" -#: options.php:328 +#: options.php:347 msgid "CNZZ Statistics (not recommand)" msgstr "" -#: options.php:329 +#: options.php:348 msgid "Statistics code, which will be invisible in web page." msgstr "" -#: options.php:335 +#: options.php:354 msgid "Customize CSS styles" msgstr "" -#: options.php:336 +#: options.php:355 msgid "Fill in the CSS code directly, no need to write style tags" msgstr "" -#: options.php:343 +#: options.php:362 msgid "First screen" msgstr "Above The Fold" -#: options.php:347 +#: options.php:366 msgid "Main switch" msgstr "" -#: options.php:348 options.php:392 +#: options.php:367 options.php:411 msgid "Default on, check off" msgstr "" -#: options.php:354 +#: options.php:373 msgid "Social information" msgstr "" -#: options.php:355 +#: options.php:374 msgid "Enable by default, check off, display avatar, signature, SNS" msgstr "" -#: options.php:361 +#: options.php:380 msgid "Social information style" msgstr "" -#: options.php:366 +#: options.php:385 msgid "Merge with signature" msgstr "" -#: options.php:367 +#: options.php:386 msgid "Independent line" msgstr "" -#: options.php:371 -msgid "Cover manifest" -msgstr "" - -#: options.php:372 +#: options.php:391 msgid "Select how to call the cover random image" msgstr "" -#: options.php:377 +#: options.php:396 msgid "webp images (optimization)" msgstr "" -#: options.php:378 +#: options.php:397 msgid "built-in api (default)" msgstr "" -#: options.php:379 -msgid "custom api (advanced)" -msgstr "" - -#: options.php:384 -msgid "Cover images url" -msgstr "Remove image" - -#: options.php:385 +#: options.php:404 #, php-format msgid "" "Fill in the manifest path for random picture display, please refer to here, note we only need the Client ID here." msgstr "" -#: options.php:768 +#: options.php:787 msgid "SM.MS Secret Token" msgstr "" -#: options.php:769 +#: options.php:788 msgid "" "Register your application here." msgstr "" -#: options.php:775 +#: options.php:794 msgid "Chevereto API v1 key" msgstr "" -#: options.php:776 +#: options.php:795 msgid "Get your API key here: " msgstr "" -#: options.php:782 +#: options.php:801 msgid "Chevereto URL" msgstr "" -#: options.php:783 +#: options.php:802 msgid "" "Your Chevereto homepage url, no slash in the end, eg. https://your.cherverto." "com" msgstr "" -#: options.php:789 +#: options.php:808 msgid "Comment images proxy" msgstr "" -#: options.php:790 +#: options.php:809 msgid "" "A front-ed proxy for the uploaded images. Leave it blank if you do not need." msgstr "" -#: options.php:796 +#: options.php:815 msgid "Imgur upload proxy" msgstr "" -#: options.php:797 +#: options.php:816 msgid "" "A back-ed proxy to upload images. You may set a self hosted proxy with " "Nginx, following my 】" msgstr "" -#: options.php:803 +#: options.php:822 msgid "Comments reply notification" msgstr "" -#: options.php:804 +#: options.php:823 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:810 +#: options.php:829 msgid "Administrator comment notification" msgstr "" -#: options.php:811 +#: options.php:830 msgid "" "Whether to use email notification when the administrator's comments receive " "a reply" msgstr "" -#: options.php:817 +#: options.php:836 msgid "Enable private comment" msgstr "" -#: options.php:818 +#: options.php:837 msgid "Allow users to set their own comments to be invisible to others" msgstr "" -#: options.php:824 +#: options.php:843 msgid "Human verification" msgstr "" -#: options.php:825 +#: options.php:844 msgid "Enable human verification" msgstr "" -#: options.php:831 +#: options.php:850 msgid "QQ avatar link encryption" msgstr "" -#: options.php:832 +#: options.php:851 msgid "Do not display the user's qq avatar links directly." msgstr "" -#: options.php:837 +#: options.php:856 msgid "Off (default)" msgstr "" -#: options.php:838 +#: options.php:857 msgid "use redirect (general security)" msgstr "" -#: options.php:839 +#: options.php:858 msgid "fetch data at backend (high security)" msgstr "" -#: options.php:840 +#: options.php:859 msgid "fetch data at backend (high security,slow)" msgstr "" -#: options.php:844 +#: options.php:863 msgid "Comment UA infomation" msgstr "" -#: options.php:845 +#: options.php:864 msgid "" "Check to enable, display the user's browser, operating system information" msgstr "" -#: options.php:851 +#: options.php:870 msgid "Comment location infomation" msgstr "" -#: options.php:852 +#: options.php:871 msgid "Check to enable, display the user's location info" msgstr "" -#: options.php:858 +#: options.php:877 msgid "Enable disqus" msgstr "" -#: options.php:859 +#: options.php:878 msgid "Enable disqus for comment" msgstr "" -#: options.php:865 +#: options.php:884 msgid "Time Zone adjustment" msgstr "" -#: options.php:866 +#: options.php:885 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)" msgstr "" -#: options.php:872 +#: options.php:891 msgid "Dashboard configuration" msgstr "Dashboard" -#: options.php:877 +#: options.php:896 msgid "Dashboard panel custom color scheme" msgstr "" -#: options.php:878 +#: options.php:897 msgid "" "You can design the dashboard panel (/wp-admin/) style yourself below, but " "before you start, please go to here to " @@ -1357,79 +1371,79 @@ msgid "" "you." msgstr "" -#: options.php:884 +#: options.php:903 msgid "Panel main color A" msgstr "" -#: options.php:887 options.php:895 options.php:903 options.php:911 +#: options.php:906 options.php:914 options.php:922 options.php:930 msgid "" "(array) (optional) An array of CSS color definitions which are used " "to give the user a feel for the theme." msgstr "" -#: options.php:892 +#: options.php:911 msgid "Panel main color B" msgstr "" -#: options.php:900 +#: options.php:919 msgid "Panel main color C" msgstr "" -#: options.php:908 +#: options.php:927 msgid "Panel main color D" msgstr "" -#: options.php:916 +#: options.php:935 msgid "Panel icon color——base" msgstr "" -#: options.php:919 options.php:927 options.php:935 +#: options.php:938 options.php:946 options.php:954 msgid "" "(array) (optional) An array of CSS color definitions used to color " "any SVG icons." msgstr "" -#: options.php:924 +#: options.php:943 msgid "Panel icon color——focus" msgstr "" -#: options.php:932 +#: options.php:951 msgid "Panel icon color——current" msgstr "" -#: options.php:940 +#: options.php:959 msgid "Other custom panel styles(CSS)" msgstr "" -#: options.php:941 +#: options.php:960 msgid "If you need to adjust other styles of the panel, put the style here." msgstr "" -#: options.php:947 +#: options.php:966 msgid "Login interface background image" msgstr "" -#: options.php:948 +#: options.php:967 msgid "Use the default image if left this blank" msgstr "" -#: options.php:953 +#: options.php:972 msgid "Login interface logo" msgstr "" -#: options.php:954 +#: options.php:973 msgid "Used for login interface display" msgstr "" -#: options.php:960 +#: options.php:979 msgid "Login/registration related settings" msgstr "" -#: options.php:967 +#: options.php:986 msgid "Specify login address" msgstr "" -#: options.php:968 +#: options.php:987 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 " @@ -1437,82 +1451,82 @@ msgid "" "background or other problems happening" msgstr "" -#: options.php:974 +#: options.php:993 msgid "Specify registered address" msgstr "" -#: options.php:975 +#: options.php:994 msgid "This link is used on the login page as a registration entry" msgstr "" -#: options.php:981 +#: options.php:1000 msgid "Allow users to register" msgstr "" -#: options.php:982 +#: options.php:1001 msgid "Check to allow users to register at the frontend" msgstr "" -#: options.php:988 +#: options.php:1007 msgid "Automatically redirect after login" msgstr "" -#: options.php:989 +#: options.php:1008 msgid "" "After checken, the administrator redirects to the background and the user " "redirects to the home page." msgstr "" -#: options.php:995 +#: options.php:1014 msgid "Registration verification (frontend only, backend forced open)" msgstr "" -#: options.php:996 +#: options.php:1015 msgid "Check to enable slide verification" msgstr "" -#: options.php:1003 +#: options.php:1022 msgid "CDN" msgstr "" -#: options.php:1007 +#: options.php:1026 msgid "Images CDN" msgstr "" -#: options.php:1008 +#: options.php:1027 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:1014 +#: options.php:1033 msgid "Use the front-end library locally (lib.js、lib.css)" msgstr "" -#: options.php:1015 +#: options.php:1034 msgid "The front-end library don't load from jsDelivr, not recommand" msgstr "" -#: options.php:1021 +#: options.php:1040 msgid "Use js and css file of the theme (sakura-app.js、style.css) locally" msgstr "" -#: options.php:1022 +#: options.php:1041 msgid "" "The js and css files of the theme do not load from jsDelivr, please open " "when DIY" msgstr "" -#: options.php:1029 +#: options.php:1048 msgid "Others" msgstr "" -#: options.php:1033 +#: options.php:1052 msgid "About" msgstr "" -#: options.php:1034 +#: options.php:1053 #, php-format msgid "" "Theme Sakura v %s | Theme " @@ -1522,228 +1536,228 @@ msgid "" "square\" alt=\"GitHub release\">" msgstr "" -#: options.php:1040 +#: options.php:1059 msgid "Check for Updates" msgstr "" -#: options.php:1052 +#: options.php:1071 msgid "Footer float music player" msgstr "" -#: options.php:1053 +#: options.php:1072 msgid "Choose which platform you'll use." msgstr "" -#: options.php:1058 +#: options.php:1077 msgid "Netease Cloud Music (default)" msgstr "" -#: options.php:1059 +#: options.php:1078 msgid "Xiami Music" msgstr "" -#: options.php:1060 +#: options.php:1079 msgid "KuGou Music" msgstr "" -#: options.php:1061 +#: options.php:1080 msgid "Baidu Music" msgstr "" -#: options.php:1062 +#: options.php:1081 msgid "QQ Music (may fail) " msgstr "" -#: options.php:1063 +#: options.php:1082 msgid "Off" msgstr "" -#: options.php:1067 +#: options.php:1086 msgid "Song list ID" msgstr "" -#: options.php:1068 +#: options.php:1087 msgid "" "Fill in the \"song list\" ID, eg: https://music.163.com/#/playlist?" "id=2288037900 The ID is 2288037900" msgstr "" -#: options.php:1074 +#: options.php:1093 msgid "Netease Cloud Music cookie" msgstr "" -#: options.php:1075 +#: options.php:1094 msgid "" "For Netease Cloud Music, fill in your vip account's cookies if you want to " "play special tracks.If you don't know what does mean, left it blank." msgstr "" -#: options.php:1081 +#: options.php:1100 msgid "Version Control" msgstr "" -#: options.php:1082 +#: options.php:1101 msgid "" "Used to update frontend cookies and browser caches, any string can be used" msgstr "" -#: options.php:1088 +#: options.php:1107 msgid "Enable PJAX (recommand on)" msgstr "" -#: options.php:1089 +#: options.php:1108 msgid "The principle is the same as Ajax" msgstr "" -#: options.php:1095 +#: options.php:1114 msgid "Enable NProgress progress bar" msgstr "" -#: options.php:1096 options.php:1103 options.php:1110 +#: options.php:1115 options.php:1122 options.php:1129 msgid "Default off, check on" msgstr "" -#: options.php:1102 +#: options.php:1121 msgid "Enable sidebar widget" msgstr "" -#: options.php:1109 +#: options.php:1128 msgid "Enable Announcement" msgstr "" -#: options.php:1116 +#: options.php:1135 msgid "Announcement content" msgstr "" -#: options.php:1117 +#: options.php:1136 msgid "" "Announcement content, the text exceeds 142 bytes will be scrolled display " "(mobile device is invalid)" msgstr "" -#: options.php:1122 +#: options.php:1141 msgid "Bilibili UID" msgstr "" -#: options.php:1123 +#: options.php:1142 msgid "" "Fill in your UID, eg.https://space.bilibili.com/13972644/, only fill in with " "the number part." msgstr "" -#: options.php:1129 +#: options.php:1148 msgid "Bilibili Cookie" msgstr "" -#: options.php:1130 +#: options.php:1149 msgid "" "Fill in your Cookies, go to your bilibili homepage, you can get cookies in " "brownser network pannel with pressing F12. If left this blank, you'll not " "get the progress." msgstr "" -#: options.php:1135 +#: options.php:1154 msgid "The categories of articles that don't not show on homepage" msgstr "" -#: options.php:1136 options.php:1143 +#: options.php:1155 options.php:1162 msgid "Fill in category ID, multiple IDs are divided by a comma \",\"" msgstr "" -#: options.php:1142 +#: options.php:1161 msgid "Images category" msgstr "" -#: options.php:1149 +#: options.php:1168 msgid "Statistics Interface" msgstr "" -#: options.php:1154 +#: options.php:1173 msgid "" "WP-Statistics plugin (Professional statistics, can exclude invalid access)" msgstr "" -#: options.php:1155 +#: options.php:1174 msgid "Theme built-in (simple statistics, calculate each page access request)" msgstr "" -#: options.php:1159 +#: options.php:1178 msgid "Statistical data display format" msgstr "" -#: options.php:1164 +#: options.php:1183 msgid "23333 Views (default)" msgstr "" -#: options.php:1165 +#: options.php:1184 msgid "23,333 Views (britain)" msgstr "" -#: options.php:1166 +#: options.php:1185 msgid "23 333 Views (french)" msgstr "" -#: options.php:1167 +#: options.php:1186 msgid "23k Views (chinese)" msgstr "" -#: options.php:1171 +#: options.php:1190 msgid "Enable live search" msgstr "" -#: options.php:1172 +#: options.php:1191 msgid "" "Real-time search in the foreground, call the Rest API to update the cache " "every hour, you can manually set the cache time in api.php" msgstr "" -#: options.php:1178 +#: options.php:1197 msgid "Include comments in live search" msgstr "" -#: options.php:1179 +#: options.php:1198 msgid "" "Search for comments in real-time search (not recommended if there are too " "many comments on the site)" msgstr "" -#: options.php:1185 +#: options.php:1204 msgid "Enable baguetteBox" msgstr "" -#: options.php:1186 +#: options.php:1205 msgid "" "Default off,please read wiki" msgstr "" -#: options.php:1192 +#: options.php:1211 msgid "Enable lazyload in posts" msgstr "" -#: options.php:1199 +#: options.php:1218 msgid "lazyload spinner" msgstr "" -#: options.php:1200 +#: options.php:1219 msgid "The placeholder to display when the image loads, fill in the image url" msgstr "" -#: options.php:1206 +#: options.php:1225 msgid "Whether to enable the clipboard copyright" msgstr "" -#: options.php:1207 +#: options.php:1226 msgid "" "Automatically add a copyright to the clipboard when copying more than 30 " "bytes, which is enabled by default." msgstr "" -#: options.php:1213 +#: options.php:1232 msgid "Email address prefix" msgstr "" -#: options.php:1214 +#: options.php:1233 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" @@ -1758,17 +1772,17 @@ msgstr "Search result: %s" msgid "NOTHING" msgstr "" -#: tpl/content-image.php:35 tpl/content-status.php:31 tpl/content-thumb.php:56 +#: tpl/content-image.php:35 tpl/content-status.php:31 tpl/content-thumb.php:43 #: tpl/content.php:34 msgid "Comment" msgstr "" -#: tpl/content-image.php:35 tpl/content-status.php:31 tpl/content-thumb.php:56 +#: tpl/content-image.php:35 tpl/content-status.php:31 tpl/content-thumb.php:43 #: tpl/content.php:34 msgid "Comments" msgstr "" -#: tpl/content-image.php:38 tpl/content-status.php:34 tpl/content-thumb.php:55 +#: tpl/content-image.php:38 tpl/content-status.php:34 tpl/content-thumb.php:42 #: tpl/content.php:37 msgid "Hit" msgid_plural "Hits" diff --git a/languages/sakura.pot b/languages/sakura.pot index f66dba2..b585a2c 100644 --- a/languages/sakura.pot +++ b/languages/sakura.pot @@ -3,7 +3,7 @@ msgid "" msgstr "" "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" "Project-Id-Version: Sakura\n" -"POT-Creation-Date: 2020-08-04 23:33+0800\n" +"POT-Creation-Date: 2020-08-06 17:39+0800\n" "PO-Revision-Date: 2019-11-01 14:27+0800\n" "Last-Translator: \n" "Language-Team: \n" @@ -181,7 +181,7 @@ msgstr "" msgid "All expand/collapse" msgstr "" -#: functions.php:1356 options.php:961 +#: functions.php:1356 options.php:980 msgid " " msgstr "" @@ -201,11 +201,11 @@ msgstr "" msgid "QQ" msgstr "" -#: functions.php:1789 +#: functions.php:1779 msgid "Sidebar" msgstr "" -#: functions.php:1902 +#: functions.php:1892 msgid " For a better experience, please do not set permalink as plain. To do this, you may need to configure pseudo-static . " msgstr "" @@ -431,31 +431,31 @@ msgstr "" msgid "View comments" msgstr "" -#: options.php:34 options.php:45 options.php:293 +#: options.php:34 options.php:45 options.php:312 msgid "1" msgstr "" -#: options.php:35 options.php:46 options.php:294 +#: options.php:35 options.php:46 options.php:313 msgid "2" msgstr "" -#: options.php:36 options.php:47 options.php:295 +#: options.php:36 options.php:47 options.php:314 msgid "3" msgstr "" -#: options.php:37 options.php:48 options.php:296 +#: options.php:37 options.php:48 options.php:315 msgid "4" msgstr "" -#: options.php:38 options.php:49 options.php:297 +#: options.php:38 options.php:49 options.php:316 msgid "5" msgstr "" -#: options.php:39 options.php:298 +#: options.php:39 options.php:317 msgid "6" msgstr "" -#: options.php:40 options.php:299 +#: options.php:40 options.php:318 msgid "7" msgstr "" @@ -583,13 +583,13 @@ msgstr "" msgid "Search button" msgstr "" -#: options.php:223 options.php:264 options.php:568 options.php:578 -#: options.php:588 options.php:598 +#: options.php:223 options.php:283 options.php:587 options.php:597 +#: options.php:607 options.php:617 msgid "Open" msgstr "" -#: options.php:224 options.php:265 options.php:569 options.php:579 -#: options.php:589 options.php:599 +#: options.php:224 options.php:284 options.php:588 options.php:598 +#: options.php:608 options.php:618 msgid "Close" msgstr "" @@ -605,1038 +605,1045 @@ msgstr "" msgid "Graphic" msgstr "" -#: options.php:238 -msgid "Home article feature images (only valid for standard mode)" -msgstr "" - -#: options.php:243 -msgid "Round" -msgstr "" - -#: options.php:244 -msgid "Square" -msgstr "" - -#: options.php:248 -msgid "Home article feature images alignment (only for graphic mode, default left and right alternate)" -msgstr "" - -#: options.php:253 -msgid "Left" -msgstr "" - -#: options.php:254 -msgid "Right" -msgstr "" - -#: options.php:255 -msgid "Alternate" -msgstr "" - -#: options.php:259 -msgid "Comment shrink" -msgstr "" - -#: options.php:269 -msgid "Display author information at the end of the article?" -msgstr "" - -#: options.php:270 -msgid "Check to enable" -msgstr "" - -#: options.php:276 -msgid "Paging mode" -msgstr "" - -#: options.php:281 -msgid "Ajax load" -msgstr "" - -#: options.php:282 -msgid "Previous and next page" -msgstr "" - -#: options.php:286 -msgid "Automatically load the next page" -msgstr "" - -#: options.php:287 -msgid "(seconds) Set to automatically load the next page time, the default is not automatically loaded" -msgstr "" - -#: options.php:292 -msgid "0" -msgstr "" - -#: options.php:300 -msgid "8" -msgstr "" - -#: options.php:301 -msgid "9" -msgstr "" - -#: options.php:302 -msgid "10" -msgstr "" - -#: options.php:303 -msgid "Do not load automatically" -msgstr "" - -#: options.php:307 -msgid "Blogger description" -msgstr "" - -#: options.php:308 -msgid "A self-described statement" -msgstr "" - -#: options.php:314 -msgid "Footer info" -msgstr "" - -#: options.php:315 -msgid "Footer description, support for HTML code" -msgstr "" - -#: options.php:321 -msgid "Google analytics" -msgstr "" - -#: options.php:322 -msgid "UA-xxxxx-x" -msgstr "" - -#: options.php:328 -msgid "CNZZ Statistics (not recommand)" -msgstr "" - -#: options.php:329 -msgid "Statistics code, which will be invisible in web page." -msgstr "" - -#: options.php:335 -msgid "Customize CSS styles" -msgstr "" - -#: options.php:336 -msgid "Fill in the CSS code directly, no need to write style tags" -msgstr "" - -#: options.php:343 -msgid "First screen" -msgstr "" - -#: options.php:347 -msgid "Main switch" -msgstr "" - -#: options.php:348 options.php:392 -msgid "Default on, check off" -msgstr "" - -#: options.php:354 -msgid "Social information" -msgstr "" - -#: options.php:355 -msgid "Enable by default, check off, display avatar, signature, SNS" -msgstr "" - -#: options.php:361 -msgid "Social information style" -msgstr "" - -#: options.php:366 -msgid "Merge with signature" -msgstr "" - -#: options.php:367 -msgid "Independent line" -msgstr "" - -#: options.php:371 +#: options.php:238 options.php:390 msgid "Cover manifest" msgstr "" -#: options.php:372 -msgid "Select how to call the cover random image" +#: options.php:239 +msgid "Select how to call the post featue image, only for the post without feature image" msgstr "" -#: options.php:377 -msgid "webp images (optimization)" +#: options.php:244 +msgid "same as the cover of the first screen (default)" msgstr "" -#: options.php:378 -msgid "built-in api (default)" -msgstr "" - -#: options.php:379 +#: options.php:245 options.php:398 msgid "custom api (advanced)" msgstr "" -#: options.php:384 +#: options.php:250 options.php:403 msgid "Cover images url" msgstr "" +#: options.php:251 +msgid "Fill in the custom image api url." +msgstr "" + +#: options.php:257 +msgid "Home article feature images (only valid for standard mode)" +msgstr "" + +#: options.php:262 +msgid "Round" +msgstr "" + +#: options.php:263 +msgid "Square" +msgstr "" + +#: options.php:267 +msgid "Home article feature images alignment (only for graphic mode, default left and right alternate)" +msgstr "" + +#: options.php:272 +msgid "Left" +msgstr "" + +#: options.php:273 +msgid "Right" +msgstr "" + +#: options.php:274 +msgid "Alternate" +msgstr "" + +#: options.php:278 +msgid "Comment shrink" +msgstr "" + +#: options.php:288 +msgid "Display author information at the end of the article?" +msgstr "" + +#: options.php:289 +msgid "Check to enable" +msgstr "" + +#: options.php:295 +msgid "Paging mode" +msgstr "" + +#: options.php:300 +msgid "Ajax load" +msgstr "" + +#: options.php:301 +msgid "Previous and next page" +msgstr "" + +#: options.php:305 +msgid "Automatically load the next page" +msgstr "" + +#: options.php:306 +msgid "(seconds) Set to automatically load the next page time, the default is not automatically loaded" +msgstr "" + +#: options.php:311 +msgid "0" +msgstr "" + +#: options.php:319 +msgid "8" +msgstr "" + +#: options.php:320 +msgid "9" +msgstr "" + +#: options.php:321 +msgid "10" +msgstr "" + +#: options.php:322 +msgid "Do not load automatically" +msgstr "" + +#: options.php:326 +msgid "Blogger description" +msgstr "" + +#: options.php:327 +msgid "A self-described statement" +msgstr "" + +#: options.php:333 +msgid "Footer info" +msgstr "" + +#: options.php:334 +msgid "Footer description, support for HTML code" +msgstr "" + +#: options.php:340 +msgid "Google analytics" +msgstr "" + +#: options.php:341 +msgid "UA-xxxxx-x" +msgstr "" + +#: options.php:347 +msgid "CNZZ Statistics (not recommand)" +msgstr "" + +#: options.php:348 +msgid "Statistics code, which will be invisible in web page." +msgstr "" + +#: options.php:354 +msgid "Customize CSS styles" +msgstr "" + +#: options.php:355 +msgid "Fill in the CSS code directly, no need to write style tags" +msgstr "" + +#: options.php:362 +msgid "First screen" +msgstr "" + +#: options.php:366 +msgid "Main switch" +msgstr "" + +#: options.php:367 options.php:411 +msgid "Default on, check off" +msgstr "" + +#: options.php:373 +msgid "Social information" +msgstr "" + +#: options.php:374 +msgid "Enable by default, check off, display avatar, signature, SNS" +msgstr "" + +#: options.php:380 +msgid "Social information style" +msgstr "" + #: options.php:385 +msgid "Merge with signature" +msgstr "" + +#: options.php:386 +msgid "Independent line" +msgstr "" + +#: options.php:391 +msgid "Select how to call the cover random image" +msgstr "" + +#: options.php:396 +msgid "webp images (optimization)" +msgstr "" + +#: options.php:397 +msgid "built-in api (default)" +msgstr "" + +#: options.php:404 #, 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:391 +#: options.php:410 msgid "full-screen display" msgstr "" -#: options.php:398 +#: options.php:417 msgid "Enable video" msgstr "" -#: options.php:399 +#: options.php:418 msgid "Check on" msgstr "" -#: options.php:405 +#: options.php:424 msgid "Live" msgstr "" -#: options.php:406 +#: options.php:425 msgid "Check to enable, the video will continue to play automatically, you need to enable Pjax" msgstr "" -#: options.php:412 +#: options.php:431 msgid "Video address" msgstr "" -#: options.php:413 +#: options.php:432 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:419 +#: options.php:438 msgid "Video name" msgstr "" -#: options.php:420 +#: options.php:439 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:426 +#: options.php:445 msgid "Background image filter" msgstr "" -#: options.php:431 +#: options.php:450 msgid "Nothing" msgstr "" -#: options.php:432 +#: options.php:451 msgid "Undertint" msgstr "" -#: options.php:433 +#: options.php:452 msgid "Dim" msgstr "" -#: options.php:434 +#: options.php:453 msgid "Grid" msgstr "" -#: options.php:435 +#: options.php:454 msgid "Dot" msgstr "" -#: options.php:439 +#: options.php:458 msgid "Whether to turn on the top-feature" msgstr "" -#: options.php:440 options.php:1193 +#: options.php:459 options.php:1212 msgid "Default on" msgstr "" -#: options.php:446 +#: options.php:465 msgid "Top-feature style" msgstr "" -#: options.php:451 +#: options.php:470 msgid "Alternate left and right" msgstr "" -#: options.php:452 +#: options.php:471 msgid "From bottom to top" msgstr "" -#: options.php:456 +#: options.php:475 msgid "Top-feature title" msgstr "" -#: options.php:457 +#: options.php:476 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:464 +#: options.php:483 msgid "Top-feature 1 image" msgstr "" -#: options.php:465 options.php:493 options.php:521 +#: options.php:484 options.php:512 options.php:540 msgid "size 257px*160px" msgstr "" -#: options.php:471 options.php:472 +#: options.php:490 options.php:491 msgid "Top-feature 1 title" msgstr "" -#: options.php:478 options.php:479 +#: options.php:497 options.php:498 msgid "Top-feature 1 description" msgstr "" -#: options.php:485 options.php:486 +#: options.php:504 options.php:505 msgid "Top-feature 1 link" msgstr "" -#: options.php:492 +#: options.php:511 msgid "Top-feature 2 image" msgstr "" -#: options.php:499 options.php:500 +#: options.php:518 options.php:519 msgid "Top-feature 2 title" msgstr "" -#: options.php:506 options.php:507 +#: options.php:525 options.php:526 msgid "Top-feature 2 description" msgstr "" -#: options.php:513 options.php:514 +#: options.php:532 options.php:533 msgid "Top-feature 2 link" msgstr "" -#: options.php:520 +#: options.php:539 msgid "Top-feature 3 image" msgstr "" -#: options.php:527 options.php:528 +#: options.php:546 options.php:547 msgid "Top-feature 3 title" msgstr "" -#: options.php:534 options.php:535 +#: options.php:553 options.php:554 msgid "Top-feature 3 description" msgstr "" -#: options.php:541 options.php:542 +#: options.php:560 options.php:561 msgid "Top-feature 3 link" msgstr "" -#: options.php:549 +#: options.php:568 msgid "Post page" msgstr "" -#: options.php:553 +#: options.php:572 msgid "Post style" msgstr "" -#: options.php:558 +#: options.php:577 msgid "Sakura" msgstr "" -#: options.php:559 options.php:654 +#: options.php:578 options.php:673 msgid "GitHub" msgstr "" -#: options.php:563 +#: options.php:582 msgid "Post like" msgstr "" -#: options.php:573 +#: options.php:592 msgid "Post share" msgstr "" -#: options.php:583 +#: options.php:602 msgid "Previous and Next" msgstr "" -#: options.php:593 +#: options.php:612 msgid "Author profile" msgstr "" -#: options.php:603 +#: options.php:622 msgid "Alipay reward" msgstr "" -#: options.php:604 +#: options.php:623 msgid "Alipay qrcode" msgstr "" -#: options.php:609 +#: options.php:628 msgid "Wechat reward" msgstr "" -#: options.php:610 +#: options.php:629 msgid "Wechat qrcode " msgstr "" -#: options.php:616 +#: options.php:635 msgid "Social network" msgstr "" -#: options.php:620 +#: options.php:639 msgid "Wechat" msgstr "" -#: options.php:621 +#: options.php:640 msgid "Wechat qrcode" msgstr "" -#: options.php:626 +#: options.php:645 msgid "Sina Weibo" msgstr "" -#: options.php:627 +#: options.php:646 msgid "Sina Weibo address" msgstr "" -#: options.php:633 +#: options.php:652 msgid "Tencent QQ" msgstr "" -#: options.php:634 +#: options.php:653 msgid "tencent://message/?uin={{QQ number}}. for example, tencent://message/?uin=123456" msgstr "" -#: options.php:640 +#: options.php:659 msgid "Telegram" msgstr "" -#: options.php:641 +#: options.php:660 msgid "Telegram link" msgstr "" -#: options.php:647 +#: options.php:666 msgid "Qzone" msgstr "" -#: options.php:648 +#: options.php:667 msgid "Qzone address" msgstr "" -#: options.php:655 +#: options.php:674 msgid "GitHub address" msgstr "" -#: options.php:661 +#: options.php:680 msgid "Lofter" msgstr "" -#: options.php:662 +#: options.php:681 msgid "Lofter address" msgstr "" -#: options.php:668 +#: options.php:687 msgid "BiliBili" msgstr "" -#: options.php:669 +#: options.php:688 msgid "BiliBili address" msgstr "" -#: options.php:675 +#: options.php:694 msgid "Youku video" msgstr "" -#: options.php:676 +#: options.php:695 msgid "Youku video address" msgstr "" -#: options.php:682 +#: options.php:701 msgid "Netease Cloud Music" msgstr "" -#: options.php:683 +#: options.php:702 msgid "Netease Cloud Music address" msgstr "" -#: options.php:689 +#: options.php:708 msgid "Twitter" msgstr "" -#: options.php:690 +#: options.php:709 msgid "Twitter address" msgstr "" -#: options.php:696 +#: options.php:715 msgid "Facebook" msgstr "" -#: options.php:697 +#: options.php:716 msgid "Facebook address" msgstr "" -#: options.php:703 +#: options.php:722 msgid "Jianshu" msgstr "" -#: options.php:704 +#: options.php:723 msgid "Jianshu address" msgstr "" -#: options.php:710 +#: options.php:729 msgid "CSDN" msgstr "" -#: options.php:711 +#: options.php:730 msgid "CSND community address" msgstr "" -#: options.php:717 +#: options.php:736 msgid "Zhihu" msgstr "" -#: options.php:718 +#: options.php:737 msgid "Zhihu address" msgstr "" -#: options.php:724 +#: options.php:743 msgid "Email-name" msgstr "" -#: options.php:725 +#: options.php:744 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:731 +#: options.php:750 msgid "Email-domain" msgstr "" -#: options.php:732 +#: options.php:751 msgid "The domain.com part of name@domain.com" msgstr "" -#: tpl/content-image.php:35 tpl/content-status.php:31 tpl/content-thumb.php:56 -#: tpl/content.php:34 -msgid "Comments" -msgstr "" - -#: options.php:739 +#: options.php:758 msgid "Comment field" msgstr "" -#: options.php:743 +#: options.php:762 msgid "Gravatar avatar proxy" msgstr "" -#: options.php:744 +#: options.php:763 msgid "A front-ed proxy for Gravatar, eg. gravatar.2heng.xin/avatar . Leave it blank if you do not need." msgstr "" -#: options.php:750 +#: options.php:769 msgid "Comment image upload API" msgstr "" -#: options.php:755 +#: options.php:774 msgid "Imgur (https://imgur.com)" msgstr "" -#: options.php:756 +#: options.php:775 msgid "SM.MS (https://sm.ms)" msgstr "" -#: options.php:757 +#: options.php:776 msgid "Chevereto (https://chevereto.com)" msgstr "" -#: options.php:761 +#: options.php:780 msgid "Imgur Client ID" msgstr "" -#: options.php:762 +#: options.php:781 msgid "Register your application here, note we only need the Client ID here." msgstr "" -#: options.php:768 +#: options.php:787 msgid "SM.MS Secret Token" msgstr "" -#: options.php:769 +#: options.php:788 msgid "Register your application here." msgstr "" -#: options.php:775 +#: options.php:794 msgid "Chevereto API v1 key" msgstr "" -#: options.php:776 +#: options.php:795 msgid "Get your API key here: " msgstr "" -#: options.php:782 +#: options.php:801 msgid "Chevereto URL" msgstr "" -#: options.php:783 +#: options.php:802 msgid "Your Chevereto homepage url, no slash in the end, eg. https://your.cherverto.com" msgstr "" -#: options.php:789 +#: options.php:808 msgid "Comment images proxy" msgstr "" -#: options.php:790 +#: options.php:809 msgid "A front-ed proxy for the uploaded images. Leave it blank if you do not need." msgstr "" -#: options.php:796 +#: options.php:815 msgid "Imgur upload proxy" msgstr "" -#: options.php:797 +#: options.php:816 msgid "A back-ed proxy to upload images. You may set a self hosted proxy with Nginx, following my turtal. This feature is mainly for Chinese who cannot access to Imgur due to the GFW. The default and official setting is 【https://api.imgur.com/3/image/】" msgstr "" -#: options.php:803 +#: options.php:822 msgid "Comments reply notification" msgstr "" -#: options.php:804 +#: options.php:823 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:810 +#: options.php:829 msgid "Administrator comment notification" msgstr "" -#: options.php:811 +#: options.php:830 msgid "Whether to use email notification when the administrator's comments receive a reply" msgstr "" -#: options.php:817 +#: options.php:836 msgid "Enable private comment" msgstr "" -#: options.php:818 +#: options.php:837 msgid "Allow users to set their own comments to be invisible to others" msgstr "" -#: options.php:824 +#: options.php:843 msgid "Human verification" msgstr "" -#: options.php:825 +#: options.php:844 msgid "Enable human verification" msgstr "" -#: options.php:831 +#: options.php:850 msgid "QQ avatar link encryption" msgstr "" -#: options.php:832 +#: options.php:851 msgid "Do not display the user's qq avatar links directly." msgstr "" -#: options.php:837 +#: options.php:856 msgid "Off (default)" msgstr "" -#: options.php:838 +#: options.php:857 msgid "use redirect (general security)" msgstr "" -#: options.php:839 +#: options.php:858 msgid "fetch data at backend (high security)" msgstr "" -#: options.php:840 +#: options.php:859 msgid "fetch data at backend (high security,slow)" msgstr "" -#: options.php:844 +#: options.php:863 msgid "Comment UA infomation" msgstr "" -#: options.php:845 +#: options.php:864 msgid "Check to enable, display the user's browser, operating system information" msgstr "" -#: options.php:851 +#: options.php:870 msgid "Comment location infomation" msgstr "" -#: options.php:852 +#: options.php:871 msgid "Check to enable, display the user's location info" msgstr "" -#: options.php:858 +#: options.php:877 msgid "Enable disqus" msgstr "" -#: options.php:859 +#: options.php:878 msgid "Enable disqus for comment" msgstr "" -#: options.php:865 +#: options.php:884 msgid "Time Zone adjustment" msgstr "" -#: options.php:866 +#: options.php:885 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)" msgstr "" -#: options.php:872 +#: options.php:891 msgid "Dashboard configuration" msgstr "" -#: options.php:877 +#: options.php:896 msgid "Dashboard panel custom color scheme" msgstr "" -#: options.php:878 +#: options.php:897 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.(Custom).
Tip: How to match colors? Maybe this can help you." msgstr "" -#: options.php:884 +#: options.php:903 msgid "Panel main color A" msgstr "" -#: options.php:887 options.php:895 options.php:903 options.php:911 +#: options.php:906 options.php:914 options.php:922 options.php:930 msgid "(array) (optional) An array of CSS color definitions which are used to give the user a feel for the theme." msgstr "" -#: options.php:892 +#: options.php:911 msgid "Panel main color B" msgstr "" -#: options.php:900 +#: options.php:919 msgid "Panel main color C" msgstr "" -#: options.php:908 +#: options.php:927 msgid "Panel main color D" msgstr "" -#: options.php:916 +#: options.php:935 msgid "Panel icon color——base" msgstr "" -#: options.php:919 options.php:927 options.php:935 +#: options.php:938 options.php:946 options.php:954 msgid "(array) (optional) An array of CSS color definitions used to color any SVG icons." msgstr "" -#: options.php:924 +#: options.php:943 msgid "Panel icon color——focus" msgstr "" -#: options.php:932 +#: options.php:951 msgid "Panel icon color——current" msgstr "" -#: options.php:940 +#: options.php:959 msgid "Other custom panel styles(CSS)" msgstr "" -#: options.php:941 +#: options.php:960 msgid "If you need to adjust other styles of the panel, put the style here." msgstr "" -#: options.php:947 +#: options.php:966 msgid "Login interface background image" msgstr "" -#: options.php:948 +#: options.php:967 msgid "Use the default image if left this blank" msgstr "" -#: options.php:953 +#: options.php:972 msgid "Login interface logo" msgstr "" -#: options.php:954 +#: options.php:973 msgid "Used for login interface display" msgstr "" -#: options.php:960 +#: options.php:979 msgid "Login/registration related settings" msgstr "" -#: options.php:967 +#: options.php:986 msgid "Specify login address" msgstr "" -#: options.php:968 +#: options.php:987 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:974 +#: options.php:993 msgid "Specify registered address" msgstr "" -#: options.php:975 +#: options.php:994 msgid "This link is used on the login page as a registration entry" msgstr "" -#: options.php:981 +#: options.php:1000 msgid "Allow users to register" msgstr "" -#: options.php:982 +#: options.php:1001 msgid "Check to allow users to register at the frontend" msgstr "" -#: options.php:988 +#: options.php:1007 msgid "Automatically redirect after login" msgstr "" -#: options.php:989 +#: options.php:1008 msgid "After checken, the administrator redirects to the background and the user redirects to the home page." msgstr "" -#: options.php:995 +#: options.php:1014 msgid "Registration verification (frontend only, backend forced open)" msgstr "" -#: options.php:996 +#: options.php:1015 msgid "Check to enable slide verification" msgstr "" -#: options.php:1003 +#: options.php:1022 msgid "CDN" msgstr "" -#: options.php:1007 +#: options.php:1026 msgid "Images CDN" msgstr "" -#: options.php:1008 +#: options.php:1027 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:1014 +#: options.php:1033 msgid "Use the front-end library locally (lib.js、lib.css)" msgstr "" -#: options.php:1015 +#: options.php:1034 msgid "The front-end library don't load from jsDelivr, not recommand" msgstr "" -#: options.php:1021 +#: options.php:1040 msgid "Use js and css file of the theme (sakura-app.js、style.css) locally" msgstr "" -#: options.php:1022 +#: options.php:1041 msgid "The js and css files of the theme do not load from jsDelivr, please open when DIY" msgstr "" -#: options.php:1029 +#: options.php:1048 msgid "Others" msgstr "" -#: options.php:1033 +#: options.php:1052 msgid "About" msgstr "" -#: options.php:1034 +#: options.php:1053 #, php-format msgid "Theme Sakura v %s | Theme document | Source code\"GitHub" msgstr "" -#: options.php:1040 +#: options.php:1059 msgid "Check for Updates" msgstr "" -#: options.php:1052 +#: options.php:1071 msgid "Footer float music player" msgstr "" -#: options.php:1053 +#: options.php:1072 msgid "Choose which platform you'll use." msgstr "" -#: options.php:1058 +#: options.php:1077 msgid "Netease Cloud Music (default)" msgstr "" -#: options.php:1059 +#: options.php:1078 msgid "Xiami Music" msgstr "" -#: options.php:1060 +#: options.php:1079 msgid "KuGou Music" msgstr "" -#: options.php:1061 +#: options.php:1080 msgid "Baidu Music" msgstr "" -#: options.php:1062 +#: options.php:1081 msgid "QQ Music (may fail) " msgstr "" -#: options.php:1063 +#: options.php:1082 msgid "Off" msgstr "" -#: options.php:1067 +#: options.php:1086 msgid "Song list ID" msgstr "" -#: options.php:1068 +#: options.php:1087 msgid "Fill in the \"song list\" ID, eg: https://music.163.com/#/playlist?id=2288037900 The ID is 2288037900" msgstr "" -#: options.php:1074 +#: options.php:1093 msgid "Netease Cloud Music cookie" msgstr "" -#: options.php:1075 +#: options.php:1094 msgid "For Netease Cloud Music, fill in your vip account's cookies if you want to play special tracks.If you don't know what does mean, left it blank." msgstr "" -#: options.php:1081 +#: options.php:1100 msgid "Version Control" msgstr "" -#: options.php:1082 +#: options.php:1101 msgid "Used to update frontend cookies and browser caches, any string can be used" msgstr "" -#: options.php:1088 +#: options.php:1107 msgid "Enable PJAX (recommand on)" msgstr "" -#: options.php:1089 +#: options.php:1108 msgid "The principle is the same as Ajax" msgstr "" -#: options.php:1095 +#: options.php:1114 msgid "Enable NProgress progress bar" msgstr "" -#: options.php:1096 options.php:1103 options.php:1110 +#: options.php:1115 options.php:1122 options.php:1129 msgid "Default off, check on" msgstr "" -#: options.php:1102 +#: options.php:1121 msgid "Enable sidebar widget" msgstr "" -#: options.php:1109 +#: options.php:1128 msgid "Enable Announcement" msgstr "" -#: options.php:1116 +#: options.php:1135 msgid "Announcement content" msgstr "" -#: options.php:1117 +#: options.php:1136 msgid "Announcement content, the text exceeds 142 bytes will be scrolled display (mobile device is invalid)" msgstr "" -#: options.php:1122 +#: options.php:1141 msgid "Bilibili UID" msgstr "" -#: options.php:1123 +#: options.php:1142 msgid "Fill in your UID, eg.https://space.bilibili.com/13972644/, only fill in with the number part." msgstr "" -#: options.php:1129 +#: options.php:1148 msgid "Bilibili Cookie" msgstr "" -#: options.php:1130 +#: options.php:1149 msgid "Fill in your Cookies, go to your bilibili homepage, you can get cookies in brownser network pannel with pressing F12. If left this blank, you'll not get the progress." msgstr "" -#: options.php:1135 +#: options.php:1154 msgid "The categories of articles that don't not show on homepage" msgstr "" -#: options.php:1136 options.php:1143 +#: options.php:1155 options.php:1162 msgid "Fill in category ID, multiple IDs are divided by a comma \",\"" msgstr "" -#: options.php:1142 +#: options.php:1161 msgid "Images category" msgstr "" -#: options.php:1149 +#: options.php:1168 msgid "Statistics Interface" msgstr "" -#: options.php:1154 +#: options.php:1173 msgid "WP-Statistics plugin (Professional statistics, can exclude invalid access)" msgstr "" -#: options.php:1155 +#: options.php:1174 msgid "Theme built-in (simple statistics, calculate each page access request)" msgstr "" -#: options.php:1159 +#: options.php:1178 msgid "Statistical data display format" msgstr "" -#: options.php:1164 +#: options.php:1183 msgid "23333 Views (default)" msgstr "" -#: options.php:1165 +#: options.php:1184 msgid "23,333 Views (britain)" msgstr "" -#: options.php:1166 +#: options.php:1185 msgid "23 333 Views (french)" msgstr "" -#: options.php:1167 +#: options.php:1186 msgid "23k Views (chinese)" msgstr "" -#: options.php:1171 +#: options.php:1190 msgid "Enable live search" msgstr "" -#: options.php:1172 +#: options.php:1191 msgid "Real-time search in the foreground, call the Rest API to update the cache every hour, you can manually set the cache time in api.php" msgstr "" -#: options.php:1178 +#: options.php:1197 msgid "Include comments in live search" msgstr "" -#: options.php:1179 +#: options.php:1198 msgid "Search for comments in real-time search (not recommended if there are too many comments on the site)" msgstr "" -#: options.php:1185 +#: options.php:1204 msgid "Enable baguetteBox" msgstr "" -#: options.php:1186 +#: options.php:1205 msgid "Default off,please read wiki" msgstr "" -#: options.php:1192 +#: options.php:1211 msgid "Enable lazyload in posts" msgstr "" -#: options.php:1199 +#: options.php:1218 msgid "lazyload spinner" msgstr "" -#: options.php:1200 +#: options.php:1219 msgid "The placeholder to display when the image loads, fill in the image url" msgstr "" -#: options.php:1206 +#: options.php:1225 msgid "Whether to enable the clipboard copyright" msgstr "" -#: options.php:1207 +#: options.php:1226 msgid "Automatically add a copyright to the clipboard when copying more than 30 bytes, which is enabled by default." msgstr "" -#: options.php:1213 +#: options.php:1232 msgid "Email address prefix" msgstr "" -#: options.php:1214 +#: options.php:1233 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 "" @@ -1649,12 +1656,17 @@ msgstr "" msgid "NOTHING" msgstr "" -#: tpl/content-image.php:35 tpl/content-status.php:31 tpl/content-thumb.php:56 +#: tpl/content-image.php:35 tpl/content-status.php:31 tpl/content-thumb.php:43 #: tpl/content.php:34 msgid "Comment" msgstr "" -#: tpl/content-image.php:38 tpl/content-status.php:34 tpl/content-thumb.php:55 +#: tpl/content-image.php:35 tpl/content-status.php:31 tpl/content-thumb.php:43 +#: tpl/content.php:34 +msgid "Comments" +msgstr "" + +#: tpl/content-image.php:38 tpl/content-status.php:34 tpl/content-thumb.php:42 #: tpl/content.php:37 msgid "Hit" msgid_plural "Hits" diff --git a/languages/zh_CN.mo b/languages/zh_CN.mo index 16cef74..6c3001b 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 e0f1b22..0333a4d 100644 --- a/languages/zh_CN.po +++ b/languages/zh_CN.po @@ -1,8 +1,8 @@ msgid "" msgstr "" "Project-Id-Version: Sakura\n" -"POT-Creation-Date: 2020-08-04 23:33+0800\n" -"PO-Revision-Date: 2020-08-04 23:33+0800\n" +"POT-Creation-Date: 2020-08-06 17:39+0800\n" +"PO-Revision-Date: 2020-08-06 17:42+0800\n" "Last-Translator: \n" "Language-Team: \n" "Language: zh_CN\n" @@ -187,7 +187,7 @@ msgstr "这家伙好懒╮(╯▽╰)╭" msgid "All expand/collapse" msgstr "全部展开/收缩" -#: functions.php:1356 options.php:961 +#: functions.php:1356 options.php:980 msgid " " msgstr "" @@ -207,11 +207,11 @@ msgstr "" msgid "QQ" msgstr "" -#: functions.php:1789 +#: functions.php:1779 msgid "Sidebar" msgstr "侧栏" -#: functions.php:1902 +#: functions.php:1892 msgid "" " For a better experience, please do not set permalink as plain. To do this, you may need to " @@ -443,31 +443,31 @@ msgstr "退出登录" msgid "View comments" msgstr "查看评论" -#: options.php:34 options.php:45 options.php:293 +#: options.php:34 options.php:45 options.php:312 msgid "1" msgstr "" -#: options.php:35 options.php:46 options.php:294 +#: options.php:35 options.php:46 options.php:313 msgid "2" msgstr "" -#: options.php:36 options.php:47 options.php:295 +#: options.php:36 options.php:47 options.php:314 msgid "3" msgstr "" -#: options.php:37 options.php:48 options.php:296 +#: options.php:37 options.php:48 options.php:315 msgid "4" msgstr "" -#: options.php:38 options.php:49 options.php:297 +#: options.php:38 options.php:49 options.php:316 msgid "5" msgstr "" -#: options.php:39 options.php:298 +#: options.php:39 options.php:317 msgid "6" msgstr "" -#: options.php:40 options.php:299 +#: options.php:40 options.php:318 msgid "7" msgstr "" @@ -616,13 +616,13 @@ msgstr "默认开启,勾选关闭,显示在文章页面,独立页面以及 msgid "Search button" msgstr "搜索按钮" -#: options.php:223 options.php:264 options.php:568 options.php:578 -#: options.php:588 options.php:598 +#: options.php:223 options.php:283 options.php:587 options.php:597 +#: options.php:607 options.php:617 msgid "Open" msgstr "启用" -#: options.php:224 options.php:265 options.php:569 options.php:579 -#: options.php:589 options.php:599 +#: options.php:224 options.php:284 options.php:588 options.php:598 +#: options.php:608 options.php:618 msgid "Close" msgstr "关闭" @@ -638,187 +638,201 @@ msgstr "标准" msgid "Graphic" msgstr "图文" -#: options.php:238 +#: options.php:238 options.php:390 +msgid "Cover manifest" +msgstr "封面图片库选项" + +#: options.php:239 +msgid "" +"Select how to call the post featue image, only for the post without feature " +"image" +msgstr "选择文章特色图的调用方式,只对没有设置特色图像的文章生效" + +#: options.php:244 +msgid "same as the cover of the first screen (default)" +msgstr "跟随第一屏封面" + +#: options.php:245 options.php:398 +msgid "custom api (advanced)" +msgstr "外部随机图API" + +#: options.php:250 options.php:403 +msgid "Cover images url" +msgstr "封面图片库url" + +#: options.php:251 +msgid "Fill in the custom image api url." +msgstr "填写图片库API地址" + +#: options.php:257 msgid "Home article feature images (only valid for standard mode)" msgstr "首页文章特色图(仅对标准风格生效)" -#: options.php:243 +#: options.php:262 msgid "Round" msgstr "圆形" -#: options.php:244 +#: options.php:263 msgid "Square" msgstr "方形" -#: options.php:248 +#: options.php:267 msgid "" "Home article feature images alignment (only for graphic mode, default left " "and right alternate)" msgstr "首页文章特色图对齐方式(仅对图文风格生效,默认左右交替)" -#: options.php:253 +#: options.php:272 msgid "Left" msgstr "向左对齐" -#: options.php:254 +#: options.php:273 msgid "Right" msgstr "向右对齐" -#: options.php:255 +#: options.php:274 msgid "Alternate" msgstr "左右交替" -#: options.php:259 +#: options.php:278 msgid "Comment shrink" msgstr "评论收缩" -#: options.php:269 +#: options.php:288 msgid "Display author information at the end of the article?" msgstr "文章末尾显示作者信息?" -#: options.php:270 +#: options.php:289 msgid "Check to enable" msgstr "勾选启用" -#: options.php:276 +#: options.php:295 msgid "Paging mode" msgstr "分页模式" -#: options.php:281 +#: options.php:300 msgid "Ajax load" msgstr "Ajax 加载" -#: options.php:282 +#: options.php:301 msgid "Previous and next page" msgstr "上一页和下一页" -#: options.php:286 +#: options.php:305 msgid "Automatically load the next page" msgstr "自动加载下一页" -#: options.php:287 +#: options.php:306 msgid "" "(seconds) Set to automatically load the next page time, the default is not " "automatically loaded" msgstr "(秒)设置自动加载下一页时间,默认不自动加载" -#: options.php:292 +#: options.php:311 msgid "0" msgstr "" -#: options.php:300 +#: options.php:319 msgid "8" msgstr "" -#: options.php:301 +#: options.php:320 msgid "9" msgstr "" -#: options.php:302 +#: options.php:321 msgid "10" msgstr "" -#: options.php:303 +#: options.php:322 msgid "Do not load automatically" msgstr "不自动加载" -#: options.php:307 +#: options.php:326 msgid "Blogger description" msgstr "博主描述" -#: options.php:308 +#: options.php:327 msgid "A self-described statement" msgstr "一段自我描述的话" -#: options.php:314 +#: options.php:333 msgid "Footer info" msgstr "页脚信息" -#: options.php:315 +#: options.php:334 msgid "Footer description, support for HTML code" msgstr "页脚说明文字,支持HTML代码" -#: options.php:321 +#: options.php:340 msgid "Google analytics" msgstr "Google 统计代码" -#: options.php:322 +#: options.php:341 msgid "UA-xxxxx-x" msgstr "" -#: options.php:328 +#: options.php:347 msgid "CNZZ Statistics (not recommand)" msgstr "站长统计(不建议使用)" -#: options.php:329 +#: options.php:348 msgid "Statistics code, which will be invisible in web page." msgstr "填写统计代码,将被隐藏。" -#: options.php:335 +#: options.php:354 msgid "Customize CSS styles" msgstr "自定义CSS样式" -#: options.php:336 +#: options.php:355 msgid "Fill in the CSS code directly, no need to write style tags" msgstr "直接填写CSS代码,不需要写style标签" -#: options.php:343 +#: options.php:362 msgid "First screen" msgstr "第一屏" -#: options.php:347 +#: options.php:366 msgid "Main switch" msgstr "总开关" -#: options.php:348 options.php:392 +#: options.php:367 options.php:411 msgid "Default on, check off" msgstr "默认开启,勾选关闭" -#: options.php:354 +#: options.php:373 msgid "Social information" msgstr "社交信息" -#: options.php:355 +#: options.php:374 msgid "Enable by default, check off, display avatar, signature, SNS" msgstr "默认开启,勾选关闭,显示头像、签名、SNS" -#: options.php:361 +#: options.php:380 msgid "Social information style" msgstr "社交信息样式" -#: options.php:366 +#: options.php:385 msgid "Merge with signature" msgstr "与签名合并" -#: options.php:367 +#: options.php:386 msgid "Independent line" msgstr "独立成行" -#: options.php:371 -msgid "Cover manifest" -msgstr "封面图片库选项" - -#: options.php:372 +#: options.php:391 msgid "Select how to call the cover random image" msgstr "选择封面随机图的调用方式" -#: options.php:377 +#: options.php:396 msgid "webp images (optimization)" msgstr "webp优化随机图" -#: options.php:378 +#: options.php:397 msgid "built-in api (default)" msgstr "内置原图随机图(默认)" -#: options.php:379 -msgid "custom api (advanced)" -msgstr "外部随机图API" - -#: options.php:384 -msgid "Cover images url" -msgstr "封面图片库url" - -#: options.php:385 +#: options.php:404 #, php-format msgid "" "Fill in the manifest path for random picture display, please refer to Wiki,,如果你在上面选择了webp优化,点击这里更新 manifest" -#: options.php:391 +#: options.php:410 msgid "full-screen display" msgstr "全屏显示" -#: options.php:398 +#: options.php:417 msgid "Enable video" msgstr "开启视频" -#: options.php:399 +#: options.php:418 msgid "Check on" msgstr "勾选开启" -#: options.php:405 +#: options.php:424 msgid "Live" msgstr "" -#: options.php:406 +#: options.php:425 msgid "" "Check to enable, the video will continue to play automatically, you need to " "enable Pjax" msgstr "选开启,视频自动续播,需要开启Pjax功能" -#: options.php:412 +#: options.php:431 msgid "Video address" msgstr "视频地址" -#: options.php:413 +#: options.php:432 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:419 +#: options.php:438 msgid "Video name" msgstr "视频名称" -#: options.php:420 +#: options.php:439 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 " @@ -875,287 +889,287 @@ msgstr "" "abc.mp4 ,只需要填写视频文件名 abc 即可,多个用英文逗号隔开如 abc,efg ,无需" "在意顺序,因为加载是随机的抽取的" -#: options.php:426 +#: options.php:445 msgid "Background image filter" msgstr "背景图滤镜" -#: options.php:431 +#: options.php:450 msgid "Nothing" msgstr "无" -#: options.php:432 +#: options.php:451 msgid "Undertint" msgstr "浅色" -#: options.php:433 +#: options.php:452 msgid "Dim" msgstr "暗淡" -#: options.php:434 +#: options.php:453 msgid "Grid" msgstr "网格" -#: options.php:435 +#: options.php:454 msgid "Dot" msgstr "点点" -#: options.php:439 +#: options.php:458 msgid "Whether to turn on the top-feature" msgstr "是否开启聚焦" -#: options.php:440 options.php:1193 +#: options.php:459 options.php:1212 msgid "Default on" msgstr "默认开启" -#: options.php:446 +#: options.php:465 msgid "Top-feature style" msgstr "聚焦样式" -#: options.php:451 +#: options.php:470 msgid "Alternate left and right" msgstr "左右交替" -#: options.php:452 +#: options.php:471 msgid "From bottom to top" msgstr "从下往上" -#: options.php:456 +#: options.php:475 msgid "Top-feature title" msgstr "聚焦标题" -#: options.php:457 +#: options.php:476 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:464 +#: options.php:483 msgid "Top-feature 1 image" msgstr "聚焦图一" -#: options.php:465 options.php:493 options.php:521 +#: options.php:484 options.php:512 options.php:540 msgid "size 257px*160px" msgstr "尺寸257px*160px" -#: options.php:471 options.php:472 +#: options.php:490 options.php:491 msgid "Top-feature 1 title" msgstr "聚焦图一标题" -#: options.php:478 options.php:479 +#: options.php:497 options.php:498 msgid "Top-feature 1 description" msgstr "聚焦图一描述" -#: options.php:485 options.php:486 +#: options.php:504 options.php:505 msgid "Top-feature 1 link" msgstr "聚焦图一链接" -#: options.php:492 +#: options.php:511 msgid "Top-feature 2 image" msgstr "聚焦图二" -#: options.php:499 options.php:500 +#: options.php:518 options.php:519 msgid "Top-feature 2 title" msgstr "聚焦图二标题" -#: options.php:506 options.php:507 +#: options.php:525 options.php:526 msgid "Top-feature 2 description" msgstr "聚焦图二描述" -#: options.php:513 options.php:514 +#: options.php:532 options.php:533 msgid "Top-feature 2 link" msgstr "聚焦图二链接" -#: options.php:520 +#: options.php:539 msgid "Top-feature 3 image" msgstr "聚焦图三" -#: options.php:527 options.php:528 +#: options.php:546 options.php:547 msgid "Top-feature 3 title" msgstr "聚焦图三标题" -#: options.php:534 options.php:535 +#: options.php:553 options.php:554 msgid "Top-feature 3 description" msgstr "聚焦图三描述" -#: options.php:541 options.php:542 +#: options.php:560 options.php:561 msgid "Top-feature 3 link" msgstr "聚焦图三链接" -#: options.php:549 +#: options.php:568 msgid "Post page" msgstr "文章页" -#: options.php:553 +#: options.php:572 msgid "Post style" msgstr "文章样式" -#: options.php:558 +#: options.php:577 msgid "Sakura" msgstr "默认样式" -#: options.php:559 options.php:654 +#: options.php:578 options.php:673 msgid "GitHub" msgstr "" -#: options.php:563 +#: options.php:582 msgid "Post like" msgstr "文章点赞" -#: options.php:573 +#: options.php:592 msgid "Post share" msgstr "文章分享" -#: options.php:583 +#: options.php:602 msgid "Previous and Next" msgstr "上一篇下一篇" -#: options.php:593 +#: options.php:612 msgid "Author profile" msgstr "博主信息" -#: options.php:603 +#: options.php:622 msgid "Alipay reward" msgstr "支付宝打赏" -#: options.php:604 +#: options.php:623 msgid "Alipay qrcode" msgstr "支付宝二维码" -#: options.php:609 +#: options.php:628 msgid "Wechat reward" msgstr "微信打赏" -#: options.php:610 +#: options.php:629 msgid "Wechat qrcode " msgstr "微信二维码 " -#: options.php:616 +#: options.php:635 msgid "Social network" msgstr "社交网络" -#: options.php:620 +#: options.php:639 msgid "Wechat" msgstr "微信" -#: options.php:621 +#: options.php:640 msgid "Wechat qrcode" msgstr "微信二维码" -#: options.php:626 +#: options.php:645 msgid "Sina Weibo" msgstr "新浪微博" -#: options.php:627 +#: options.php:646 msgid "Sina Weibo address" msgstr "新浪微博地址" -#: options.php:633 +#: options.php:652 msgid "Tencent QQ" msgstr "腾讯QQ" -#: options.php:634 +#: options.php:653 msgid "" "tencent://message/?uin={{QQ number}}. for example, tencent://message/?" "uin=123456" msgstr "tencent://message/?uin={{QQ号码}},如tencent://message/?uin=123456" -#: options.php:640 +#: options.php:659 msgid "Telegram" msgstr "" -#: options.php:641 +#: options.php:660 msgid "Telegram link" msgstr "Telegram链接" -#: options.php:647 +#: options.php:666 msgid "Qzone" msgstr "QQ空间" -#: options.php:648 +#: options.php:667 msgid "Qzone address" msgstr "QQ空间地址" -#: options.php:655 +#: options.php:674 msgid "GitHub address" msgstr "GitHub地址" -#: options.php:661 +#: options.php:680 msgid "Lofter" msgstr "" -#: options.php:662 +#: options.php:681 msgid "Lofter address" msgstr "Lofter 地址" -#: options.php:668 +#: options.php:687 msgid "BiliBili" msgstr "" -#: options.php:669 +#: options.php:688 msgid "BiliBili address" msgstr "B站地址" -#: options.php:675 +#: options.php:694 msgid "Youku video" msgstr "优酷视频" -#: options.php:676 +#: options.php:695 msgid "Youku video address" msgstr "优酷地址" -#: options.php:682 +#: options.php:701 msgid "Netease Cloud Music" msgstr "网易云音乐" -#: options.php:683 +#: options.php:702 msgid "Netease Cloud Music address" msgstr "网易云音乐地址" -#: options.php:689 +#: options.php:708 msgid "Twitter" msgstr "" -#: options.php:690 +#: options.php:709 msgid "Twitter address" msgstr "推特地址" -#: options.php:696 +#: options.php:715 msgid "Facebook" msgstr "" -#: options.php:697 +#: options.php:716 msgid "Facebook address" msgstr "脸书地址" -#: options.php:703 +#: options.php:722 msgid "Jianshu" msgstr "简书" -#: options.php:704 +#: options.php:723 msgid "Jianshu address" msgstr "简书地址" -#: options.php:710 +#: options.php:729 msgid "CSDN" msgstr "" -#: options.php:711 +#: options.php:730 msgid "CSND community address" msgstr "CSND社区地址" -#: options.php:717 +#: options.php:736 msgid "Zhihu" msgstr "知乎" -#: options.php:718 +#: options.php:737 msgid "Zhihu address" msgstr "知乎地址" -#: options.php:724 +#: options.php:743 msgid "Email-name" msgstr "邮箱-用户名" -#: options.php:725 +#: options.php:744 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" @@ -1163,23 +1177,23 @@ msgstr "" "name@domain.com 的 name 部分,前端仅具有 js 运行环境时才能获取完整地址,可放" "心填写" -#: options.php:731 +#: options.php:750 msgid "Email-domain" msgstr "邮箱-域名" -#: options.php:732 +#: options.php:751 msgid "The domain.com part of name@domain.com" msgstr "name@domain.com 的 domain.com部分" -#: options.php:739 +#: options.php:758 msgid "Comment field" msgstr "评论区" -#: options.php:743 +#: options.php:762 msgid "Gravatar avatar proxy" msgstr "Gravatar头像代理" -#: options.php:744 +#: options.php:763 msgid "" "A front-ed proxy for Gravatar, eg. gravatar.2heng.xin/avatar . Leave it " "blank if you do not need." @@ -1187,27 +1201,27 @@ msgstr "" "填写Gravatar头像的代理地址,例如:gravatar.2heng.xin/avatar。留空则不使用代" "理。" -#: options.php:750 +#: options.php:769 msgid "Comment image upload API" msgstr "评论上传图片接口" -#: options.php:755 +#: options.php:774 msgid "Imgur (https://imgur.com)" msgstr "" -#: options.php:756 +#: options.php:775 msgid "SM.MS (https://sm.ms)" msgstr "" -#: options.php:757 +#: options.php:776 msgid "Chevereto (https://chevereto.com)" msgstr "" -#: options.php:761 +#: options.php:780 msgid "Imgur Client ID" msgstr "" -#: options.php:762 +#: options.php:781 msgid "" "Register your application here, note we only need the Client ID here." @@ -1215,48 +1229,48 @@ msgstr "" "在这里注册你的 " "application , 注意此处只需要填写 Client ID." -#: options.php:768 +#: options.php:787 msgid "SM.MS Secret Token" msgstr "" -#: options.php:769 +#: options.php:788 msgid "" "Register your application here." msgstr "在这里获取 key." -#: options.php:775 +#: options.php:794 msgid "Chevereto API v1 key" msgstr "" -#: options.php:776 +#: options.php:795 msgid "Get your API key here: " msgstr "在这里获取你的 API key: " -#: options.php:782 +#: options.php:801 msgid "Chevereto URL" msgstr "" -#: options.php:783 +#: options.php:802 msgid "" "Your Chevereto homepage url, no slash in the end, eg. https://your.cherverto." "com" msgstr "" "你的 Chevereto 首页 url, 注意结尾没有 /, 例如:https://your.cherverto.com" -#: options.php:789 +#: options.php:808 msgid "Comment images proxy" msgstr "评论图片代理" -#: options.php:790 +#: options.php:809 msgid "" "A front-ed proxy for the uploaded images. Leave it blank if you do not need." msgstr "前端显示的图片的代理。" -#: options.php:796 +#: options.php:815 msgid "Imgur upload proxy" msgstr "Imgur 上传代理" -#: options.php:797 +#: options.php:816 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:803 +#: options.php:822 msgid "Comments reply notification" msgstr "邮件回复通知" -#: options.php:804 +#: options.php:823 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 " @@ -1284,86 +1298,86 @@ msgstr "" "WordPress默认会使用邮件通知用户评论收到回复,开启此项允许用户设置自己的评论收" "到回复时是否使用邮件通知" -#: options.php:810 +#: options.php:829 msgid "Administrator comment notification" msgstr "邮件回复通知管理员" -#: options.php:811 +#: options.php:830 msgid "" "Whether to use email notification when the administrator's comments receive " "a reply" msgstr "当管理员评论收到回复时是否使用邮件通知" -#: options.php:817 +#: options.php:836 msgid "Enable private comment" msgstr "允许私密评论" -#: options.php:818 +#: options.php:837 msgid "Allow users to set their own comments to be invisible to others" msgstr "允许用户设置自己的评论对其他人不可见" -#: options.php:824 +#: options.php:843 msgid "Human verification" msgstr "机器人验证" -#: options.php:825 +#: options.php:844 msgid "Enable human verification" msgstr "开启机器人验证" -#: options.php:831 +#: options.php:850 msgid "QQ avatar link encryption" msgstr "QQ头像链接加密" -#: options.php:832 +#: options.php:851 msgid "Do not display the user's qq avatar links directly." msgstr "不直接暴露用户QQ头像链接。" -#: options.php:837 +#: options.php:856 msgid "Off (default)" msgstr "关闭(默认)" -#: options.php:838 +#: options.php:857 msgid "use redirect (general security)" msgstr "使用重定向(安全性低)" -#: options.php:839 +#: options.php:858 msgid "fetch data at backend (high security)" msgstr "后端获取头像数据(安全性高)" -#: options.php:840 +#: options.php:859 msgid "fetch data at backend (high security,slow)" msgstr "后端解析QQ头像接口(安全性高,慢)" -#: options.php:844 +#: options.php:863 msgid "Comment UA infomation" msgstr "评论UA信息" -#: options.php:845 +#: options.php:864 msgid "" "Check to enable, display the user's browser, operating system information" msgstr "勾选开启,显示用户的浏览器,操作系统信息" -#: options.php:851 +#: options.php:870 msgid "Comment location infomation" msgstr "评论位置信息" -#: options.php:852 +#: options.php:871 msgid "Check to enable, display the user's location info" msgstr "勾选开启,显示用户的位置信息" -#: options.php:858 +#: options.php:877 msgid "Enable disqus" msgstr "开启多说插件支持" -#: options.php:859 +#: options.php:878 msgid "Enable disqus for comment" msgstr "多说已经凉了~~" -#: options.php:865 +#: options.php:884 msgid "Time Zone adjustment" msgstr "时区调整" -#: options.php:866 +#: options.php:885 msgid "" "If the comment has a time difference problem adjust here, fill in an " "integer, the calculation method: actual_time = display_error_time - " @@ -1372,15 +1386,15 @@ msgstr "" "如果评论出现时差问题在这里调整,填入一个整数,计算方法:实际时间=显示错误的时" "间-你输入的整数(单位:小时)" -#: options.php:872 +#: options.php:891 msgid "Dashboard configuration" msgstr "后台配置" -#: options.php:877 +#: options.php:896 msgid "Dashboard panel custom color scheme" msgstr "后台面板自定义配色方案" -#: options.php:878 +#: options.php:897 msgid "" "You can design the dashboard panel (/wp-admin/) style yourself below, but " "before you start, please go to here to " @@ -1393,79 +1407,79 @@ msgstr "" "b>如何搭配颜色?或许这个可以" "帮到你。" -#: options.php:884 +#: options.php:903 msgid "Panel main color A" msgstr "面板主色调A" -#: options.php:887 options.php:895 options.php:903 options.php:911 +#: options.php:906 options.php:914 options.php:922 options.php:930 msgid "" "(array) (optional) An array of CSS color definitions which are used " "to give the user a feel for the theme." msgstr "" -#: options.php:892 +#: options.php:911 msgid "Panel main color B" msgstr "面板主色调B" -#: options.php:900 +#: options.php:919 msgid "Panel main color C" msgstr "面板主色调C" -#: options.php:908 +#: options.php:927 msgid "Panel main color D" msgstr "面板主色调D" -#: options.php:916 +#: options.php:935 msgid "Panel icon color——base" msgstr "面板图标配色——base" -#: options.php:919 options.php:927 options.php:935 +#: options.php:938 options.php:946 options.php:954 msgid "" "(array) (optional) An array of CSS color definitions used to color " "any SVG icons." msgstr "" -#: options.php:924 +#: options.php:943 msgid "Panel icon color——focus" msgstr "面板图标配色——focus" -#: options.php:932 +#: options.php:951 msgid "Panel icon color——current" msgstr "面板图标配色——current" -#: options.php:940 +#: options.php:959 msgid "Other custom panel styles(CSS)" msgstr "其他自定义面板样式(CSS)" -#: options.php:941 +#: options.php:960 msgid "If you need to adjust other styles of the panel, put the style here." msgstr "如果还需要对面板其他样式进行调整可以把style放到这里。" -#: options.php:947 +#: options.php:966 msgid "Login interface background image" msgstr "后台登陆界面背景图" -#: options.php:948 +#: options.php:967 msgid "Use the default image if left this blank" msgstr "该地址为空则使用默认图片" -#: options.php:953 +#: options.php:972 msgid "Login interface logo" msgstr "后台登陆界面logo" -#: options.php:954 +#: options.php:973 msgid "Used for login interface display" msgstr "用于登录界面显示" -#: options.php:960 +#: options.php:979 msgid "Login/registration related settings" msgstr "登陆/注册相关设定" -#: options.php:967 +#: options.php:986 msgid "Specify login address" msgstr "指定登录地址" -#: options.php:968 +#: options.php:987 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 " @@ -1476,49 +1490,49 @@ msgstr "" "login【注意】填写前先测试下你新建的页面是可以正常打开的,以免造成无法进入后台" "等情况" -#: options.php:974 +#: options.php:993 msgid "Specify registered address" msgstr "指定注册地址" -#: options.php:975 +#: options.php:994 msgid "This link is used on the login page as a registration entry" msgstr "该链接使用在登录页面作为注册入口,建议填写" -#: options.php:981 +#: options.php:1000 msgid "Allow users to register" msgstr "允许用户注册" -#: options.php:982 +#: options.php:1001 msgid "Check to allow users to register at the frontend" msgstr "勾选开启,允许用户在前台注册" -#: options.php:988 +#: options.php:1007 msgid "Automatically redirect after login" msgstr "登录后自动跳转" -#: options.php:989 +#: options.php:1008 msgid "" "After checken, the administrator redirects to the background and the user " "redirects to the home page." msgstr "勾选开启,管理员跳转至后台,用户跳转至主页。" -#: options.php:995 +#: options.php:1014 msgid "Registration verification (frontend only, backend forced open)" msgstr "注册验证(仅前端,后端强制开启)" -#: options.php:996 +#: options.php:1015 msgid "Check to enable slide verification" msgstr "勾选开启滑动验证" -#: options.php:1003 +#: options.php:1022 msgid "CDN" msgstr "" -#: options.php:1007 +#: options.php:1026 msgid "Images CDN" msgstr "图片库" -#: options.php:1008 +#: options.php:1027 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." @@ -1528,33 +1542,33 @@ msgstr "" "domain/wp-content/uploads/2018/05/xx.png 的图片将从 http://你的CDN域" "名/2018/05/xx.png 加载" -#: options.php:1014 +#: options.php:1033 msgid "Use the front-end library locally (lib.js、lib.css)" msgstr "本地调用前端库(lib.js、lib.css)" -#: options.php:1015 +#: options.php:1034 msgid "The front-end library don't load from jsDelivr, not recommand" msgstr "前端库不走 jsDelivr,不建议启用" -#: options.php:1021 +#: options.php:1040 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:1022 +#: options.php:1041 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:1029 +#: options.php:1048 msgid "Others" msgstr "其他" -#: options.php:1033 +#: options.php:1052 msgid "About" msgstr "关于" -#: options.php:1034 +#: options.php:1053 #, php-format msgid "" "Theme Sakura v %s | Theme " @@ -1569,47 +1583,47 @@ msgstr "" "img.shields.io/github/release/mashirozx/Sakura.svg?style=flat-square\" alt=" "\"GitHub release\">" -#: options.php:1040 +#: options.php:1059 msgid "Check for Updates" msgstr "检查更新" -#: options.php:1052 +#: options.php:1071 msgid "Footer float music player" msgstr "页脚悬浮播放器" -#: options.php:1053 +#: options.php:1072 msgid "Choose which platform you'll use." msgstr "选择你要使用的平台。" -#: options.php:1058 +#: options.php:1077 msgid "Netease Cloud Music (default)" msgstr "网易云音乐(默认)" -#: options.php:1059 +#: options.php:1078 msgid "Xiami Music" msgstr "虾米音乐" -#: options.php:1060 +#: options.php:1079 msgid "KuGou Music" msgstr "酷狗音乐" -#: options.php:1061 +#: options.php:1080 msgid "Baidu Music" msgstr "百度音乐" -#: options.php:1062 +#: options.php:1081 msgid "QQ Music (may fail) " msgstr "QQ音乐(可能解析失败) " -#: options.php:1063 +#: options.php:1082 msgid "Off" msgstr "关闭" -#: options.php:1067 +#: options.php:1086 msgid "Song list ID" msgstr "「歌单」ID" -#: options.php:1068 +#: options.php:1087 msgid "" "Fill in the \"song list\" ID, eg: https://music.163.com/#/playlist?" "id=2288037900 The ID is 2288037900" @@ -1617,11 +1631,11 @@ msgstr "" "填写「歌单」ID,eg:https://music.163.com/#/playlist?id=2288037900的ID是" "2288037900" -#: options.php:1074 +#: options.php:1093 msgid "Netease Cloud Music cookie" msgstr "网易云音乐 Cookies" -#: options.php:1075 +#: options.php:1094 msgid "" "For Netease Cloud Music, fill in your vip account's cookies if you want to " "play special tracks.If you don't know what does mean, left it blank." @@ -1629,44 +1643,44 @@ msgstr "" "针对网易云音乐,如果你想播放特殊曲目,填入你的vip帐号Cookies。如果不知道这" "是什么意思,忽略即可。" -#: options.php:1081 +#: options.php:1100 msgid "Version Control" msgstr "版本控制" -#: options.php:1082 +#: options.php:1101 msgid "" "Used to update frontend cookies and browser caches, any string can be used" msgstr "用于更新前端 cookie 及浏览器缓存,可使用任意字符串" -#: options.php:1088 +#: options.php:1107 msgid "Enable PJAX (recommand on)" msgstr "开启PJAX局部刷新(建议开启)" -#: options.php:1089 +#: options.php:1108 msgid "The principle is the same as Ajax" msgstr "原理与Ajax相同" -#: options.php:1095 +#: options.php:1114 msgid "Enable NProgress progress bar" msgstr "开启NProgress加载进度条" -#: options.php:1096 options.php:1103 options.php:1110 +#: options.php:1115 options.php:1122 options.php:1129 msgid "Default off, check on" msgstr "默认不开启,勾选开启" -#: options.php:1102 +#: options.php:1121 msgid "Enable sidebar widget" msgstr "支持侧栏小部件" -#: options.php:1109 +#: options.php:1128 msgid "Enable Announcement" msgstr "开启公告" -#: options.php:1116 +#: options.php:1135 msgid "Announcement content" msgstr "公告内容" -#: options.php:1117 +#: options.php:1136 msgid "" "Announcement content, the text exceeds 142 bytes will be scrolled display " "(mobile device is invalid)" @@ -1674,22 +1688,22 @@ msgstr "" "公告内容,文字超出142个字节将会被滚动显示(移动端无效),一个汉字 = 3字节,一" "个字母 = 1字节,自己计算吧" -#: options.php:1122 +#: options.php:1141 msgid "Bilibili UID" msgstr "" -#: options.php:1123 +#: options.php:1142 msgid "" "Fill in your UID, eg.https://space.bilibili.com/13972644/, only fill in with " "the number part." msgstr "" "填写你的UID,,例如:https://space.bilibili.com/13972644/,只需填写数字部分。" -#: options.php:1129 +#: options.php:1148 msgid "Bilibili Cookie" msgstr "" -#: options.php:1130 +#: options.php:1149 msgid "" "Fill in your Cookies, go to your bilibili homepage, you can get cookies in " "brownser network pannel with pressing F12. If left this blank, you'll not " @@ -1698,56 +1712,56 @@ msgstr "" "填写你的帐号Cookies。F12打开浏览器网络面板,前往你的B站主页获取Cookies。如果" "留空,将不会显示追番进度。" -#: options.php:1135 +#: options.php:1154 msgid "The categories of articles that don't not show on homepage" msgstr "首页不显示的分类文章" -#: options.php:1136 options.php:1143 +#: options.php:1155 options.php:1162 msgid "Fill in category ID, multiple IDs are divided by a comma \",\"" msgstr "填写分类ID,多个用英文“ , ”分开" -#: options.php:1142 +#: options.php:1161 msgid "Images category" msgstr "图片展示分类" -#: options.php:1149 +#: options.php:1168 msgid "Statistics Interface" msgstr "统计接口" -#: options.php:1154 +#: options.php:1173 msgid "" "WP-Statistics plugin (Professional statistics, can exclude invalid access)" msgstr "WP-Statistics 插件(专业性统计,可排除无效访问)" -#: options.php:1155 +#: options.php:1174 msgid "Theme built-in (simple statistics, calculate each page access request)" msgstr "主题内建(简单的统计,计算每一次页面访问请求)" -#: options.php:1159 +#: options.php:1178 msgid "Statistical data display format" msgstr "统计数据显示格式" -#: options.php:1164 +#: options.php:1183 msgid "23333 Views (default)" msgstr "23333 次访问(默认)" -#: options.php:1165 +#: options.php:1184 msgid "23,333 Views (britain)" msgstr "23,333 次访问(英式)" -#: options.php:1166 +#: options.php:1185 msgid "23 333 Views (french)" msgstr "23 333 次访问(法式)" -#: options.php:1167 +#: options.php:1186 msgid "23k Views (chinese)" msgstr "23k 次访问(中式)" -#: options.php:1171 +#: options.php:1190 msgid "Enable live search" msgstr "启用实时搜索" -#: options.php:1172 +#: options.php:1191 msgid "" "Real-time search in the foreground, call the Rest API to update the cache " "every hour, you can manually set the cache time in api.php" @@ -1755,21 +1769,21 @@ msgstr "" "前台实现实时搜索,调用 Rest API 每小时更新一次缓存,可在 api.php 里手动设置缓" "存时间" -#: options.php:1178 +#: options.php:1197 msgid "Include comments in live search" msgstr "实时搜索包含评论" -#: options.php:1179 +#: options.php:1198 msgid "" "Search for comments in real-time search (not recommended if there are too " "many comments on the site)" msgstr "在实时搜索中搜索评论(如果网站评论数量太多不建议开启)" -#: options.php:1185 +#: options.php:1204 msgid "Enable baguetteBox" msgstr "启用 baguetteBox" -#: options.php:1186 +#: options.php:1205 msgid "" "Default off,please read wiki" @@ -1777,33 +1791,33 @@ msgstr "" "默认禁用,请阅" "读说明" -#: options.php:1192 +#: options.php:1211 msgid "Enable lazyload in posts" msgstr "文章内图片启用 lazyload" -#: options.php:1199 +#: options.php:1218 msgid "lazyload spinner" msgstr "lazyload 占位图" -#: options.php:1200 +#: options.php:1219 msgid "The placeholder to display when the image loads, fill in the image url" msgstr "图片加载时要显示的占位图,填写图片 url" -#: options.php:1206 +#: options.php:1225 msgid "Whether to enable the clipboard copyright" msgstr "是否开启剪贴板版权标识" -#: options.php:1207 +#: options.php:1226 msgid "" "Automatically add a copyright to the clipboard when copying more than 30 " "bytes, which is enabled by default." msgstr "复制超过30个字节时自动向剪贴板添加版权标识,默认开启。" -#: options.php:1213 +#: options.php:1232 msgid "Email address prefix" msgstr "发件地址前缀" -#: options.php:1214 +#: options.php:1233 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" @@ -1820,17 +1834,17 @@ msgstr "关于 %s 的搜索结果:" msgid "NOTHING" msgstr "啥也没有呀" -#: tpl/content-image.php:35 tpl/content-status.php:31 tpl/content-thumb.php:56 +#: tpl/content-image.php:35 tpl/content-status.php:31 tpl/content-thumb.php:43 #: tpl/content.php:34 msgid "Comment" msgstr "条评论" -#: tpl/content-image.php:35 tpl/content-status.php:31 tpl/content-thumb.php:56 +#: tpl/content-image.php:35 tpl/content-status.php:31 tpl/content-thumb.php:43 #: tpl/content.php:34 msgid "Comments" msgstr "条评论" -#: tpl/content-image.php:38 tpl/content-status.php:34 tpl/content-thumb.php:55 +#: tpl/content-image.php:38 tpl/content-status.php:34 tpl/content-thumb.php:42 #: tpl/content.php:37 msgid "Hit" msgid_plural "Hits" diff --git a/options.php b/options.php index 7dbc11c..3b99b61 100644 --- a/options.php +++ b/options.php @@ -234,6 +234,25 @@ function optionsframework_options() 'imageflow' => __('Graphic', 'sakura'), /*图文*/ )); + $options[] = array( + 'name' => __('Cover manifest', 'sakura'), /*首页文章特色图选项*/ + 'desc' => __('Select how to call the post featue image, only for the post without feature image', 'sakura'), /*选择文章特色图的调用方式,只对没有设置特色图像的文章生效*/ + 'id' => 'post_cover_options', + 'std' => "type_1", + 'type' => "select", + 'options' => array( + 'type_1' => __('same as the cover of the first screen (default)', 'sakura'), /*跟随第一屏封面图*/ + 'type_2' => __('custom api (advanced)', 'sakura'), /*外部随机图API*/ + ) + ); + + $options[] = array( + 'name' => __('Cover images url', 'sakura'), /*图片库url*/ + 'desc' => __('Fill in the custom image api url.', 'sakura'), + 'id' => 'post_cover', + 'std' => '', + 'type' => 'text'); + $options[] = array( 'name' => __('Home article feature images (only valid for standard mode)', 'sakura'), /*首页文章特色图(仅对标准风格生效)*/ 'id' => 'list_type',