Merge pull request #123 from spirit1431007/pr-branch

Translation
pull/124/head
Mashiro 2019-11-01 23:26:17 +08:00 committed by GitHub
commit 0fed673d5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 644 additions and 727 deletions

View File

@ -19,12 +19,12 @@
<div class="commentwrap comments-hidden">
<div class="notification"><i class="iconfont icon-mark"></i><?php _e('view comments', 'sakura'); /*查看评论*/?> -
<span class="noticom"><?php comments_number('NOTHING', __('1 comment','sakura'), __('% comments','sakura')); ?> </span>
<span class="noticom"><?php comments_number('NOTHING', '1'.__(" comment","sakura"), '%'.__(" comments","sakura")); ?> </span>
</div>
</div>
<div class="comments-main">
<h3 id="comments-list-title">Comments | <span class="noticom"><?php comments_number('NOTHING', __('1 comment','sakura'), __('% comments','sakura')); ?> </span></h3>
<h3 id="comments-list-title">Comments | <span class="noticom"><?php comments_number('NOTHING', '1'.__(" comment","sakura"), '%'.__(" comments","sakura")); ?> </span></h3>
<div id="loading-comments"><span></span></div>
<?php if(have_comments()): ?>

View File

@ -399,7 +399,7 @@ if(!function_exists('akina_comment_format')){
$flag .= __('No', 'mashiro').' <i class="fa fa-unlock" aria-hidden="true"></i>';
}
$flag .= '</span></a>';
$flag .= edit_comment_link(__('<i class="fa fa-pencil-square-o" aria-hidden="true"></i> '.__('Edit', 'mashiro').''), ' <span style="color:rgba(0,0,0,.35)>', '</span>');
$flag .= edit_comment_link('<i class="fa fa-pencil-square-o" aria-hidden="true"></i> '.__("Edit", "mashiro"), ' <span style="color:rgba(0,0,0,.35)">', '</span>');
echo $flag;
} ?></div>
</div>

View File

@ -351,7 +351,7 @@ function the_video_headPattern_hls(){
$edit_this_post_link = '';
}
$t .= the_title( '<h1 class="entry-title">', '<button id="coverVideo-btn" class=".constant-width-to-height-ratio" onclick="coverVideo()"><i class="fa fa-pause" aria-hidden="true"></i></button></h1>', false);
$t .= '<p class="entry-census"><span><a href="'. esc_url(get_author_posts_url(get_the_author_meta('ID'),get_the_author_meta( 'user_nicename' ))) .'"><img src="'. get_avatar_url( get_the_author_meta('ID'), 64 )/*$ava*/ .'"></a></span><span><a href="'. esc_url(get_author_posts_url(get_the_author_meta('ID'),get_the_author_meta( 'user_nicename' ))) .'">'. get_the_author() .'</a></span><span class="bull">·</span>'. poi_time_since(get_post_time('U', true),false,true) .'<span class="bull">·</span>'. get_post_views(get_the_ID()) .' 次阅读'.$edit_this_post_link.'</p>';
$t .= '<p class="entry-census"><span><a href="'. esc_url(get_author_posts_url(get_the_author_meta('ID'),get_the_author_meta( 'user_nicename' ))) .'"><img src="'. get_avatar_url( get_the_author_meta('ID'), 64 )/*$ava*/ .'"></a></span><span><a href="'. esc_url(get_author_posts_url(get_the_author_meta('ID'),get_the_author_meta( 'user_nicename' ))) .'">'. get_the_author() .'</a></span><span class="bull">·</span>'. poi_time_since(get_post_time('U', true),false,true) .'<span class="bull">·</span>'. get_post_views(get_the_ID()) .' '._n("View","Views",get_post_views(get_the_ID()),"sakura")/*次阅读*/.$edit_this_post_link.'</p>';
endwhile; endif;
}elseif(is_page()){
$full_image_url = $full_image_url[0];

Binary file not shown.

View File

@ -2,22 +2,22 @@ msgid ""
msgstr ""
"Project-Id-Version: Sakura\n"
"POT-Creation-Date: 2019-11-01 15:09+0800\n"
"PO-Revision-Date: 2019-11-01 15:10+0800\n"
"PO-Revision-Date: 2019-11-01 22:45+0800\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: en_US\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 2.2\n"
"X-Generator: Poedit 2.2.4\n"
"X-Poedit-Basepath: ..\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Poedit-Flags-xgettext: --add-comments=translators:\n"
"X-Poedit-WPHeader: style.css\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;esc_attr_e;"
"esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;_nx_noop:3c,1,2;"
"__ngettext_noop:1,2\n"
"X-Poedit-SearchPath-0: .\n"
"X-Poedit-SearchPathExcluded-0: *.js\n"
@ -28,11 +28,11 @@ msgstr ""
#: 404.php:46
msgid "return to previous page"
msgstr ""
msgstr "Return to previous page"
#: 404.php:47
msgid "return to home page"
msgstr ""
msgstr "Return to home page"
#: 404.php:50
msgid "Don't worry, search in site?"
@ -48,15 +48,15 @@ msgstr "Previous"
#: comments.php:21
msgid "view comments"
msgstr ""
msgstr "View comments"
#: comments.php:22 comments.php:27
msgid "1 comment"
msgid " comment"
msgstr ""
#: comments.php:22 comments.php:27
#, php-format
msgid "% comments"
msgid " comments"
msgstr ""
#: comments.php:43
@ -143,8 +143,7 @@ msgstr ""
msgid "Nav Menus"
msgstr ""
#: functions.php:387 inc/theme_plus.php:187 layouts/authorprofile.php:11
#: options.php:123
#: functions.php:387 inc/theme_plus.php:187 layouts/authorprofile.php:11 options.php:123
msgid "Author"
msgstr ""
@ -172,14 +171,10 @@ msgstr ""
msgid "Edit"
msgstr ""
#: functions.php:402
msgid "<i class=\"fa fa-pencil-square-o\" aria-hidden=\"true\"></i> "
msgstr ""
#: functions.php:483
msgid ""
"Please install pulgin <a href=\"https://wordpress.org/plugins/wp-statistics/"
"\" target=\"_blank\">WP-Statistics</a>"
"Please install pulgin <a href=\"https://wordpress.org/plugins/wp-statistics/\" target=\"_blank"
"\">WP-Statistics</a>"
msgstr ""
#: functions.php:536
@ -219,14 +214,13 @@ msgstr ""
msgid "category/tag image"
msgstr ""
#: inc/categories-images.php:48 inc/categories-images.php:68
#: inc/categories-images.php:197
#: inc/categories-images.php:48 inc/categories-images.php:68 inc/categories-images.php:197
msgid "add image"
msgstr ""
msgstr "Add image"
#: inc/categories-images.php:69 inc/categories-images.php:198
msgid "remove image"
msgstr ""
msgstr "Remove image"
#: inc/categories-images.php:211
msgid "image"
@ -395,7 +389,7 @@ msgstr ""
msgid "Sign out? "
msgstr ""
#: inc/theme_plus.php:299 inc/theme_plus.php:422 tpl/content-single.php:16
#: inc/theme_plus.php:299 inc/theme_plus.php:354 inc/theme_plus.php:422 tpl/content-single.php:16
#: tpl/single-image.php:18
msgid "View"
msgid_plural "Views"
@ -485,8 +479,8 @@ msgstr ""
#: options.php:139
msgid ""
"Adjust the theme scheme menu transparency, the smaller the value, the more "
"transparent. The default value is 0.8"
"Adjust the theme scheme menu transparency, the smaller the value, the more transparent. The "
"default value is 0.8"
msgstr ""
#: options.php:144
@ -539,13 +533,12 @@ msgstr ""
#: options.php:159
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 is from left to right, top to "
"bottom). If no background is needed, fill in the corresponding position as "
"none.<strong>Note: If the theme is updated from v3.2.3 and below, be sure to "
"change the [Version Control] parameter under the [Other] tab of this "
"configuration page to any new value!</strong>"
"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 "
"is from left to right, top to bottom). If no background is needed, fill in the corresponding "
"position as none.<strong>Note: If the theme is updated from v3.2.3 and below, be sure to "
"change the [Version Control] parameter under the [Other] tab of this configuration page to any "
"new value!</strong>"
msgstr ""
#: options.php:165
@ -562,9 +555,9 @@ msgstr ""
#: options.php:172
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."
"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
@ -621,21 +614,20 @@ msgstr ""
#: options.php:220
msgid ""
"Enable by default, check off, display on the article page, separate page and "
"category page"
"Enable by default, check off, display on the article page, separate page and category page"
msgstr ""
#: options.php:226
msgid "Search button"
msgstr ""
#: options.php:231 options.php:279 options.php:572 options.php:582
#: options.php:592 options.php:602
#: options.php:231 options.php:279 options.php:572 options.php:582 options.php:592
#: options.php:602
msgid "Open"
msgstr ""
#: options.php:232 options.php:280 options.php:573 options.php:583
#: options.php:593 options.php:603
#: options.php:232 options.php:280 options.php:573 options.php:583 options.php:593
#: options.php:603
msgid "Close"
msgstr ""
@ -665,8 +657,7 @@ msgstr ""
#: options.php:256
msgid ""
"Home article feature images alignment (only for graphic mode, default left "
"and right alternate)"
"Home article feature images alignment (only for graphic mode, default left and right alternate)"
msgstr ""
#: options.php:261
@ -687,9 +678,9 @@ msgstr ""
#: options.php:268
msgid ""
"The default image displayed without the article feature image set, use "
"random cover if left blank (the image to be displayed is placed in the /wp-"
"content/themes/Sakura/feature/gallery/ directory)"
"The default image displayed without the article feature image set, use random cover if left "
"blank (the image to be displayed is placed in the /wp-content/themes/Sakura/feature/gallery/ "
"directory)"
msgstr ""
#: options.php:274
@ -722,8 +713,7 @@ msgstr ""
#: options.php:302
msgid ""
"(seconds) Set to automatically load the next page time, the default is not "
"automatically loaded"
"(seconds) Set to automatically load the next page time, the default is not automatically loaded"
msgstr ""
#: options.php:307
@ -835,9 +825,7 @@ msgid "Live"
msgstr ""
#: options.php:402
msgid ""
"Check to enable, the video will continue to play automatically, you need to "
"enable Pjax"
msgid "Check to enable, the video will continue to play automatically, you need to enable Pjax"
msgstr ""
#: options.php:408
@ -846,8 +834,8 @@ msgstr ""
#: options.php:409
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"
"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:415
@ -856,9 +844,8 @@ msgstr ""
#: options.php:416
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"
"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:422
@ -867,8 +854,8 @@ msgstr ""
#: options.php:423
msgid ""
"Leave this blank to use the built-in API (put the images that need to be "
"randomly displayed into the /cover/gallery/ directory)"
"Leave this blank to use the built-in API (put the images that need to be randomly displayed "
"into the /cover/gallery/ directory)"
msgstr ""
#: options.php:429
@ -921,8 +908,8 @@ msgstr ""
#: options.php:460
msgid ""
"Default is Discovery, you can also change it to other, of course you can't "
"use it as an advertisement!Not allowed!!"
"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:467
@ -1053,9 +1040,7 @@ msgid "Tencent QQ"
msgstr ""
#: options.php:639
msgid ""
"tencent://message/?uin={{QQ number}}. for example, tencent://message/?"
"uin=123456"
msgid "tencent://message/?uin={{QQ number}}. for example, tencent://message/?uin=123456"
msgstr ""
#: options.php:645
@ -1164,8 +1149,8 @@ msgstr ""
#: options.php:737
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"
"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:743
@ -1186,11 +1171,10 @@ msgstr ""
#: options.php:757
msgid ""
"You can design the background panel (/wp-admin/) style yourself below, but "
"before you start, please go to <a href=\"/wp-admin/profile.php\">here</a> to "
"change the color scheme to custom.(Custom).<br><b>Tip: </b>How to match "
"colors? Maybe <a href=\"https://mashiro.top/color-thief/\">this</a> can help "
"you."
"You can design the background panel (/wp-admin/) style yourself below, but before you start, "
"please go to <a href=\"/wp-admin/profile.php\">here</a> to change the color scheme to custom."
"(Custom).<br><b>Tip: </b>How to match colors? Maybe <a href=\"https://mashiro.top/color-thief/"
"\">this</a> can help you."
msgstr ""
#: options.php:763
@ -1199,8 +1183,8 @@ msgstr ""
#: options.php:766 options.php:774 options.php:782 options.php:790
msgid ""
"<i>(array) (optional)</i> An array of CSS color definitions which are used "
"to give the user a feel for the theme."
"<i>(array) (optional)</i> An array of CSS color definitions which are used to give the user a "
"feel for the theme."
msgstr ""
#: options.php:771
@ -1220,9 +1204,7 @@ msgid "Panel icon color——base"
msgstr ""
#: options.php:798 options.php:806 options.php:814
msgid ""
"<i>(array) (optional)</i> An array of CSS color definitions used to color "
"any SVG icons."
msgid "<i>(array) (optional)</i> An array of CSS color definitions used to color any SVG icons."
msgstr ""
#: options.php:803
@ -1267,10 +1249,9 @@ msgstr ""
#: options.php:847
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"
"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:853
@ -1295,8 +1276,8 @@ msgstr ""
#: options.php:868
msgid ""
"After checken, the administrator redirects to the background and the user "
"redirects to the home page."
"After checken, the administrator redirects to the background and the user redirects to the "
"home page."
msgstr ""
#: options.php:874
@ -1317,9 +1298,9 @@ msgstr ""
#: options.php:887
msgid ""
"Note: Fill in the format http(s)://your CDN domain name/. <br>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"
"Note: Fill in the format http(s)://your CDN domain name/. <br>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:893
@ -1335,9 +1316,7 @@ msgid "Use js and css file of the theme (sakura-app.js、style.css) locally"
msgstr ""
#: options.php:901
msgid ""
"The js and css files of the theme do not load from jsDelivr, please open "
"when DIY"
msgid "The js and css files of the theme do not load from jsDelivr, please open when DIY"
msgstr ""
#: options.php:908
@ -1362,9 +1341,8 @@ msgstr ""
#: options.php:932
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"
"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:938
@ -1372,8 +1350,7 @@ msgid "Version Control"
msgstr ""
#: options.php:939
msgid ""
"Used to update frontend cookies and browser caches, any string can be used"
msgid "Used to update frontend cookies and browser caches, any string can be used"
msgstr ""
#: options.php:945
@ -1388,7 +1365,7 @@ msgstr ""
msgid "Enable NProgress progress bar"
msgstr ""
#: options.php:953
#: options.php:960 options.php:953
msgid "Default off, check on"
msgstr ""
@ -1396,18 +1373,14 @@ msgstr ""
msgid "Enable Announcement"
msgstr ""
#: options.php:960
msgid "Default off, check o"
msgstr ""
#: options.php:966
msgid "Announcement content"
msgstr ""
#: options.php:967
msgid ""
"Announcement content, the text exceeds 142 bytes will be scrolled display "
"(mobile device is invalid)"
"Announcement content, the text exceeds 142 bytes will be scrolled display (mobile device is "
"invalid)"
msgstr ""
#: options.php:973
@ -1427,8 +1400,7 @@ msgid "Statistics Interface"
msgstr ""
#: options.php:992
msgid ""
"WP-Statistics plugin (Professional statistics, can exclude invalid access)"
msgid "WP-Statistics plugin (Professional statistics, can exclude invalid access)"
msgstr ""
#: options.php:993
@ -1461,8 +1433,8 @@ msgstr ""
#: options.php:1010
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"
"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:1016
@ -1471,8 +1443,8 @@ msgstr ""
#: options.php:1017
msgid ""
"Search for comments in real-time search (not recommended if there are too "
"many comments on the site)"
"Search for comments in real-time search (not recommended if there are too many comments on the "
"site)"
msgstr ""
#: options.php:1023
@ -1481,8 +1453,7 @@ msgstr ""
#: options.php:1024
msgid ""
"Default off<a href=\"https://github.com/mashirozx/Sakura/wiki/Fancybox"
"\">please read wiki</a>"
"Default off<a href=\"https://github.com/mashirozx/Sakura/wiki/Fancybox\">please read wiki</a>"
msgstr ""
#: options.php:1030
@ -1503,8 +1474,8 @@ msgstr ""
#: options.php:1045
msgid ""
"Automatically add a copyright to the clipboard when copying more than 30 "
"bytes, which is enabled by default."
"Automatically add a copyright to the clipboard when copying more than 30 bytes, which is "
"enabled by default."
msgstr ""
#: options.php:1051
@ -1513,8 +1484,8 @@ msgstr ""
#: options.php:1052
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"
"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:1058
@ -1523,9 +1494,8 @@ msgstr ""
#: options.php:1059
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"
"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:1065
@ -1533,9 +1503,7 @@ msgid "Administrator comment notification"
msgstr ""
#: options.php:1066
msgid ""
"Whether to use email notification when the administrator's comments receive "
"a reply"
msgid "Whether to use email notification when the administrator's comments receive a reply"
msgstr ""
#: options.php:1072
@ -1559,8 +1527,7 @@ msgid "Comment UA infomation"
msgstr ""
#: options.php:1087
msgid ""
"Check to enable, display the user's browser, operating system information"
msgid "Check to enable, display the user's browser, operating system information"
msgstr ""
#: options.php:1093
@ -1577,29 +1544,28 @@ msgstr ""
#: options.php:1101
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)"
"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 ""
#: search.php:19
#, php-format
msgid "search result: %s"
msgstr ""
msgstr "Search result: %s"
#: tpl/content-category.php:30
msgid "NOTHING"
msgstr ""
#: tpl/content-image.php:35 tpl/content-status.php:31 tpl/content-thumb.php:53
#: tpl/content-image.php:35 tpl/content-status.php:31 tpl/content.php:34 tpl/content-thumb.php:53
msgid "Comment"
msgstr ""
#: tpl/content-image.php:35 tpl/content-status.php:31 tpl/content-thumb.php:53
#: tpl/content-image.php:35 tpl/content-status.php:31 tpl/content.php:34 tpl/content-thumb.php:53
msgid "Comments"
msgstr ""
#: tpl/content-image.php:38 tpl/content-status.php:34 tpl/content-thumb.php:52
#: tpl/content-image.php:38 tpl/content-status.php:34 tpl/content.php:37 tpl/content-thumb.php:52
msgid "Hit"
msgid_plural "Hits"
msgstr[0] ""
@ -1611,8 +1577,7 @@ msgstr ""
#: tpl/content-none.php:21
#, php-format
msgid ""
"Ready to post your first article? <a href=\"%1$s\">Click here to start</a>."
msgid "Ready to post your first article? <a href=\"%1$s\">Click here to start</a>."
msgstr ""
#: tpl/content-none.php:25
@ -1635,11 +1600,10 @@ msgstr ""
msgid "Remember Me"
msgstr ""
#: user/page-register.php:14 user/page-register.php:16
#: user/page-register.php:19 user/page-register.php:24
#: user/page-register.php:26 user/page-register.php:29
#: user/page-register.php:34 user/page-register.php:36
#: user/page-register.php:41 user/page-register.php:47
#: user/page-register.php:14 user/page-register.php:16 user/page-register.php:19
#: user/page-register.php:24 user/page-register.php:26 user/page-register.php:29
#: user/page-register.php:34 user/page-register.php:36 user/page-register.php:41
#: user/page-register.php:47
msgid "Error"
msgstr ""
@ -1752,9 +1716,7 @@ msgstr ""
#~ msgstr "\"Switch theme button\" transparency"
#~ msgid "调整切换主题菜单透明度,值越小越透明,默认透明度0.8"
#~ msgstr ""
#~ "The smaller the value, the more transparent, the default transparency is "
#~ "0.8"
#~ msgstr "The smaller the value, the more transparent, the default transparency is 0.8"
#~ msgid "全透明"
#~ msgstr "Fully transparent 0"

View File

@ -3,21 +3,21 @@ msgid ""
msgstr ""
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
"Project-Id-Version: Sakura\n"
"POT-Creation-Date: 2019-11-01 15:09+0800\n"
"POT-Creation-Date: 2019-11-01 22:45+0800\n"
"PO-Revision-Date: 2019-11-01 14:27+0800\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 2.2\n"
"X-Generator: Poedit 2.2.4\n"
"X-Poedit-Basepath: ..\n"
"X-Poedit-Flags-xgettext: --add-comments=translators:\n"
"X-Poedit-WPHeader: style.css\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;esc_attr_e;"
"esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;_nx_noop:3c,1,2;"
"__ngettext_noop:1,2\n"
"X-Poedit-SearchPath-0: .\n"
"X-Poedit-SearchPathExcluded-0: *.js\n"
@ -51,12 +51,12 @@ msgid "view comments"
msgstr ""
#: comments.php:22 comments.php:27
msgid "1 comment"
msgid " comment"
msgstr ""
#: comments.php:22 comments.php:27
#, php-format
msgid "% comments"
msgid " comments"
msgstr ""
#: comments.php:43
@ -143,8 +143,7 @@ msgstr ""
msgid "Nav Menus"
msgstr ""
#: functions.php:387 inc/theme_plus.php:187 layouts/authorprofile.php:11
#: options.php:123
#: functions.php:387 inc/theme_plus.php:187 layouts/authorprofile.php:11 options.php:123
msgid "Author"
msgstr ""
@ -172,14 +171,10 @@ msgstr ""
msgid "Edit"
msgstr ""
#: functions.php:402
msgid "<i class=\"fa fa-pencil-square-o\" aria-hidden=\"true\"></i> "
msgstr ""
#: functions.php:483
msgid ""
"Please install pulgin <a href=\"https://wordpress.org/plugins/wp-statistics/"
"\" target=\"_blank\">WP-Statistics</a>"
"Please install pulgin <a href=\"https://wordpress.org/plugins/wp-statistics/\" target=\"_blank"
"\">WP-Statistics</a>"
msgstr ""
#: functions.php:536
@ -219,8 +214,7 @@ msgstr ""
msgid "category/tag image"
msgstr ""
#: inc/categories-images.php:48 inc/categories-images.php:68
#: inc/categories-images.php:197
#: inc/categories-images.php:48 inc/categories-images.php:68 inc/categories-images.php:197
msgid "add image"
msgstr ""
@ -395,7 +389,7 @@ msgstr ""
msgid "Sign out? "
msgstr ""
#: inc/theme_plus.php:299 inc/theme_plus.php:422 tpl/content-single.php:16
#: inc/theme_plus.php:299 inc/theme_plus.php:354 inc/theme_plus.php:422 tpl/content-single.php:16
#: tpl/single-image.php:18
msgid "View"
msgid_plural "Views"
@ -485,8 +479,8 @@ msgstr ""
#: options.php:139
msgid ""
"Adjust the theme scheme menu transparency, the smaller the value, the more "
"transparent. The default value is 0.8"
"Adjust the theme scheme menu transparency, the smaller the value, the more transparent. The "
"default value is 0.8"
msgstr ""
#: options.php:144
@ -539,13 +533,12 @@ msgstr ""
#: options.php:159
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 is from left to right, top to "
"bottom). If no background is needed, fill in the corresponding position as "
"none.<strong>Note: If the theme is updated from v3.2.3 and below, be sure to "
"change the [Version Control] parameter under the [Other] tab of this "
"configuration page to any new value!</strong>"
"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 "
"is from left to right, top to bottom). If no background is needed, fill in the corresponding "
"position as none.<strong>Note: If the theme is updated from v3.2.3 and below, be sure to "
"change the [Version Control] parameter under the [Other] tab of this configuration page to any "
"new value!</strong>"
msgstr ""
#: options.php:165
@ -562,9 +555,9 @@ msgstr ""
#: options.php:172
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."
"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
@ -621,21 +614,20 @@ msgstr ""
#: options.php:220
msgid ""
"Enable by default, check off, display on the article page, separate page and "
"category page"
"Enable by default, check off, display on the article page, separate page and category page"
msgstr ""
#: options.php:226
msgid "Search button"
msgstr ""
#: options.php:231 options.php:279 options.php:572 options.php:582
#: options.php:592 options.php:602
#: options.php:231 options.php:279 options.php:572 options.php:582 options.php:592
#: options.php:602
msgid "Open"
msgstr ""
#: options.php:232 options.php:280 options.php:573 options.php:583
#: options.php:593 options.php:603
#: options.php:232 options.php:280 options.php:573 options.php:583 options.php:593
#: options.php:603
msgid "Close"
msgstr ""
@ -665,8 +657,7 @@ msgstr ""
#: options.php:256
msgid ""
"Home article feature images alignment (only for graphic mode, default left "
"and right alternate)"
"Home article feature images alignment (only for graphic mode, default left and right alternate)"
msgstr ""
#: options.php:261
@ -687,9 +678,9 @@ msgstr ""
#: options.php:268
msgid ""
"The default image displayed without the article feature image set, use "
"random cover if left blank (the image to be displayed is placed in the /wp-"
"content/themes/Sakura/feature/gallery/ directory)"
"The default image displayed without the article feature image set, use random cover if left "
"blank (the image to be displayed is placed in the /wp-content/themes/Sakura/feature/gallery/ "
"directory)"
msgstr ""
#: options.php:274
@ -722,8 +713,7 @@ msgstr ""
#: options.php:302
msgid ""
"(seconds) Set to automatically load the next page time, the default is not "
"automatically loaded"
"(seconds) Set to automatically load the next page time, the default is not automatically loaded"
msgstr ""
#: options.php:307
@ -835,9 +825,7 @@ msgid "Live"
msgstr ""
#: options.php:402
msgid ""
"Check to enable, the video will continue to play automatically, you need to "
"enable Pjax"
msgid "Check to enable, the video will continue to play automatically, you need to enable Pjax"
msgstr ""
#: options.php:408
@ -846,8 +834,8 @@ msgstr ""
#: options.php:409
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"
"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:415
@ -856,9 +844,8 @@ msgstr ""
#: options.php:416
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"
"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:422
@ -867,8 +854,8 @@ msgstr ""
#: options.php:423
msgid ""
"Leave this blank to use the built-in API (put the images that need to be "
"randomly displayed into the /cover/gallery/ directory)"
"Leave this blank to use the built-in API (put the images that need to be randomly displayed "
"into the /cover/gallery/ directory)"
msgstr ""
#: options.php:429
@ -921,8 +908,8 @@ msgstr ""
#: options.php:460
msgid ""
"Default is Discovery, you can also change it to other, of course you can't "
"use it as an advertisement!Not allowed!!"
"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:467
@ -1051,9 +1038,7 @@ msgid "Tencent QQ"
msgstr ""
#: options.php:639
msgid ""
"tencent://message/?uin={{QQ number}}. for example, tencent://message/?"
"uin=123456"
msgid "tencent://message/?uin={{QQ number}}. for example, tencent://message/?uin=123456"
msgstr ""
#: options.php:645
@ -1162,8 +1147,8 @@ msgstr ""
#: options.php:737
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"
"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:743
@ -1184,11 +1169,10 @@ msgstr ""
#: options.php:757
msgid ""
"You can design the background panel (/wp-admin/) style yourself below, but "
"before you start, please go to <a href=\"/wp-admin/profile.php\">here</a> to "
"change the color scheme to custom.(Custom).<br><b>Tip: </b>How to match "
"colors? Maybe <a href=\"https://mashiro.top/color-thief/\">this</a> can help "
"you."
"You can design the background panel (/wp-admin/) style yourself below, but before you start, "
"please go to <a href=\"/wp-admin/profile.php\">here</a> to change the color scheme to custom."
"(Custom).<br><b>Tip: </b>How to match colors? Maybe <a href=\"https://mashiro.top/color-thief/"
"\">this</a> can help you."
msgstr ""
#: options.php:763
@ -1197,8 +1181,8 @@ msgstr ""
#: options.php:766 options.php:774 options.php:782 options.php:790
msgid ""
"<i>(array) (optional)</i> An array of CSS color definitions which are used "
"to give the user a feel for the theme."
"<i>(array) (optional)</i> An array of CSS color definitions which are used to give the user a "
"feel for the theme."
msgstr ""
#: options.php:771
@ -1218,9 +1202,7 @@ msgid "Panel icon color——base"
msgstr ""
#: options.php:798 options.php:806 options.php:814
msgid ""
"<i>(array) (optional)</i> An array of CSS color definitions used to color "
"any SVG icons."
msgid "<i>(array) (optional)</i> An array of CSS color definitions used to color any SVG icons."
msgstr ""
#: options.php:803
@ -1265,10 +1247,9 @@ msgstr ""
#: options.php:847
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"
"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:853
@ -1293,8 +1274,8 @@ msgstr ""
#: options.php:868
msgid ""
"After checken, the administrator redirects to the background and the user "
"redirects to the home page."
"After checken, the administrator redirects to the background and the user redirects to the "
"home page."
msgstr ""
#: options.php:874
@ -1315,9 +1296,9 @@ msgstr ""
#: options.php:887
msgid ""
"Note: Fill in the format http(s)://your CDN domain name/. <br>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"
"Note: Fill in the format http(s)://your CDN domain name/. <br>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:893
@ -1333,9 +1314,7 @@ msgid "Use js and css file of the theme (sakura-app.js、style.css) locally"
msgstr ""
#: options.php:901
msgid ""
"The js and css files of the theme do not load from jsDelivr, please open "
"when DIY"
msgid "The js and css files of the theme do not load from jsDelivr, please open when DIY"
msgstr ""
#: options.php:908
@ -1360,9 +1339,8 @@ msgstr ""
#: options.php:932
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"
"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:938
@ -1370,8 +1348,7 @@ msgid "Version Control"
msgstr ""
#: options.php:939
msgid ""
"Used to update frontend cookies and browser caches, any string can be used"
msgid "Used to update frontend cookies and browser caches, any string can be used"
msgstr ""
#: options.php:945
@ -1386,7 +1363,7 @@ msgstr ""
msgid "Enable NProgress progress bar"
msgstr ""
#: options.php:953
#: options.php:960 options.php:953
msgid "Default off, check on"
msgstr ""
@ -1394,18 +1371,14 @@ msgstr ""
msgid "Enable Announcement"
msgstr ""
#: options.php:960
msgid "Default off, check o"
msgstr ""
#: options.php:966
msgid "Announcement content"
msgstr ""
#: options.php:967
msgid ""
"Announcement content, the text exceeds 142 bytes will be scrolled display "
"(mobile device is invalid)"
"Announcement content, the text exceeds 142 bytes will be scrolled display (mobile device is "
"invalid)"
msgstr ""
#: options.php:973
@ -1425,8 +1398,7 @@ msgid "Statistics Interface"
msgstr ""
#: options.php:992
msgid ""
"WP-Statistics plugin (Professional statistics, can exclude invalid access)"
msgid "WP-Statistics plugin (Professional statistics, can exclude invalid access)"
msgstr ""
#: options.php:993
@ -1459,8 +1431,8 @@ msgstr ""
#: options.php:1010
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"
"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:1016
@ -1469,8 +1441,8 @@ msgstr ""
#: options.php:1017
msgid ""
"Search for comments in real-time search (not recommended if there are too "
"many comments on the site)"
"Search for comments in real-time search (not recommended if there are too many comments on the "
"site)"
msgstr ""
#: options.php:1023
@ -1479,8 +1451,7 @@ msgstr ""
#: options.php:1024
msgid ""
"Default off<a href=\"https://github.com/mashirozx/Sakura/wiki/Fancybox"
"\">please read wiki</a>"
"Default off<a href=\"https://github.com/mashirozx/Sakura/wiki/Fancybox\">please read wiki</a>"
msgstr ""
#: options.php:1030
@ -1501,8 +1472,8 @@ msgstr ""
#: options.php:1045
msgid ""
"Automatically add a copyright to the clipboard when copying more than 30 "
"bytes, which is enabled by default."
"Automatically add a copyright to the clipboard when copying more than 30 bytes, which is "
"enabled by default."
msgstr ""
#: options.php:1051
@ -1511,8 +1482,8 @@ msgstr ""
#: options.php:1052
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"
"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:1058
@ -1521,9 +1492,8 @@ msgstr ""
#: options.php:1059
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"
"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:1065
@ -1531,9 +1501,7 @@ msgid "Administrator comment notification"
msgstr ""
#: options.php:1066
msgid ""
"Whether to use email notification when the administrator's comments receive "
"a reply"
msgid "Whether to use email notification when the administrator's comments receive a reply"
msgstr ""
#: options.php:1072
@ -1557,8 +1525,7 @@ msgid "Comment UA infomation"
msgstr ""
#: options.php:1087
msgid ""
"Check to enable, display the user's browser, operating system information"
msgid "Check to enable, display the user's browser, operating system information"
msgstr ""
#: options.php:1093
@ -1575,9 +1542,8 @@ msgstr ""
#: options.php:1101
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)"
"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 ""
#: search.php:19
@ -1589,15 +1555,15 @@ msgstr ""
msgid "NOTHING"
msgstr ""
#: tpl/content-image.php:35 tpl/content-status.php:31 tpl/content-thumb.php:53
#: tpl/content-image.php:35 tpl/content-status.php:31 tpl/content.php:34 tpl/content-thumb.php:53
msgid "Comment"
msgstr ""
#: tpl/content-image.php:35 tpl/content-status.php:31 tpl/content-thumb.php:53
#: tpl/content-image.php:35 tpl/content-status.php:31 tpl/content.php:34 tpl/content-thumb.php:53
msgid "Comments"
msgstr ""
#: tpl/content-image.php:38 tpl/content-status.php:34 tpl/content-thumb.php:52
#: tpl/content-image.php:38 tpl/content-status.php:34 tpl/content.php:37 tpl/content-thumb.php:52
msgid "Hit"
msgid_plural "Hits"
msgstr[0] ""
@ -1609,8 +1575,7 @@ msgstr ""
#: tpl/content-none.php:21
#, php-format
msgid ""
"Ready to post your first article? <a href=\"%1$s\">Click here to start</a>."
msgid "Ready to post your first article? <a href=\"%1$s\">Click here to start</a>."
msgstr ""
#: tpl/content-none.php:25
@ -1633,11 +1598,10 @@ msgstr ""
msgid "Remember Me"
msgstr ""
#: user/page-register.php:14 user/page-register.php:16
#: user/page-register.php:19 user/page-register.php:24
#: user/page-register.php:26 user/page-register.php:29
#: user/page-register.php:34 user/page-register.php:36
#: user/page-register.php:41 user/page-register.php:47
#: user/page-register.php:14 user/page-register.php:16 user/page-register.php:19
#: user/page-register.php:24 user/page-register.php:26 user/page-register.php:29
#: user/page-register.php:34 user/page-register.php:36 user/page-register.php:41
#: user/page-register.php:47
msgid "Error"
msgstr ""

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -957,7 +957,7 @@ function optionsframework_options() {
$options[] = array(
'name' => __('Enable Announcement', 'sakura'),
'desc' => __('Default off, check o', 'sakura'),/*默认不显示,勾选开启*/
'desc' => __('Default off, check on', 'sakura'),/*默认不显示,勾选开启*/
'id' => 'head_notice',
'std' => '0',
'type' => 'checkbox');
@ -1104,4 +1104,4 @@ function optionsframework_options() {
'type' => 'text');
return $options;
}
}

View File

@ -13,7 +13,7 @@
<?php if(akina_option('patternimg') || !get_post_thumbnail_id(get_the_ID())) { ?>
<header class="entry-header">
<h1 class="entry-title"><?php the_title(); ?></h1>
<p class="entry-census"><?php echo poi_time_since(strtotime($post->post_date_gmt)); ?>&nbsp;&nbsp;<?php echo get_post_views(get_the_ID()).' '; _n('View','Views',get_post_views(get_the_ID()),'sakura')/*次阅读*/?> </p>
<p class="entry-census"><?php echo poi_time_since(strtotime($post->post_date_gmt)); ?>&nbsp;&nbsp;<?php echo get_post_views(get_the_ID()).' '. _n('View','Views',get_post_views(get_the_ID()),'sakura')/*次阅读*/?> </p>
<hr>
</header><!-- .entry-header -->
<?php } ?>

View File

@ -31,10 +31,10 @@
</div>
<div class="info-meta">
<div class="comnum">
<span><i class="iconfont icon-mark"></i><?php comments_popup_link('NOTHING', '1 条评论', '% 条评论'); ?></span>
<span><i class="iconfont icon-mark"></i><?php comments_popup_link('NOTHING', '1 '.__("Comment","sakura")/*条评论*/, '% '.__("Comments","sakura")/*条评论*/); ?></span>
</div>
<div class="views">
<span><i class="iconfont icon-attention"></i><?php echo get_post_views(get_the_ID()); ?> 热度</span>
<span><i class="iconfont icon-attention"></i><?php echo get_post_views(get_the_ID()).' '._n('Hit','Hits',get_post_views(get_the_ID()),'sakura')/*热度*/?></span>
</div>
</div>
</footer><!-- .entry-footer -->