Translation 201911012106

This commit is contained in:
spirit 2019-11-01 21:06:51 +08:00
parent f02595bf5c
commit cc92606327
10 changed files with 401 additions and 375 deletions

View File

@ -19,12 +19,12 @@
<div class="commentwrap comments-hidden"> <div class="commentwrap comments-hidden">
<div class="notification"><i class="iconfont icon-mark"></i><?php _e('view comments', 'sakura'); /*查看评论*/?> - <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> </div>
<div class="comments-main"> <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> <div id="loading-comments"><span></span></div>
<?php if(have_comments()): ?> <?php if(have_comments()): ?>

View File

@ -351,7 +351,7 @@ function the_video_headPattern_hls(){
$edit_this_post_link = ''; $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 .= 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; endwhile; endif;
}elseif(is_page()){ }elseif(is_page()){
$full_image_url = $full_image_url[0]; $full_image_url = $full_image_url[0];

Binary file not shown.

View File

@ -2,14 +2,14 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Sakura\n" "Project-Id-Version: Sakura\n"
"POT-Creation-Date: 2019-11-01 15:09+0800\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 16:38+0800\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
"Language: en_US\n" "Language: en_US\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\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-Basepath: ..\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Poedit-Flags-xgettext: --add-comments=translators:\n" "X-Poedit-Flags-xgettext: --add-comments=translators:\n"
@ -28,11 +28,11 @@ msgstr ""
#: 404.php:46 #: 404.php:46
msgid "return to previous page" msgid "return to previous page"
msgstr "" msgstr "Return to previous page"
#: 404.php:47 #: 404.php:47
msgid "return to home page" msgid "return to home page"
msgstr "" msgstr "Return to home page"
#: 404.php:50 #: 404.php:50
msgid "Don't worry, search in site?" msgid "Don't worry, search in site?"
@ -48,15 +48,15 @@ msgstr "Previous"
#: comments.php:21 #: comments.php:21
msgid "view comments" msgid "view comments"
msgstr "" msgstr "View comments"
#: comments.php:22 comments.php:27 #: comments.php:22 comments.php:27
msgid "1 comment" msgid " comment"
msgstr "" msgstr ""
#: comments.php:22 comments.php:27 #: comments.php:22 comments.php:27
#, php-format #, php-format
msgid "% comments" msgid " comments"
msgstr "" msgstr ""
#: comments.php:43 #: comments.php:43
@ -222,11 +222,11 @@ msgstr ""
#: inc/categories-images.php:48 inc/categories-images.php:68 #: inc/categories-images.php:48 inc/categories-images.php:68
#: inc/categories-images.php:197 #: inc/categories-images.php:197
msgid "add image" msgid "add image"
msgstr "" msgstr "Add image"
#: inc/categories-images.php:69 inc/categories-images.php:198 #: inc/categories-images.php:69 inc/categories-images.php:198
msgid "remove image" msgid "remove image"
msgstr "" msgstr "Remove image"
#: inc/categories-images.php:211 #: inc/categories-images.php:211
msgid "image" msgid "image"
@ -395,7 +395,7 @@ msgstr ""
msgid "Sign out? " msgid "Sign out? "
msgstr "" 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 #: tpl/single-image.php:18
msgid "View" msgid "View"
msgid_plural "Views" msgid_plural "Views"
@ -1388,6 +1388,7 @@ msgstr ""
msgid "Enable NProgress progress bar" msgid "Enable NProgress progress bar"
msgstr "" msgstr ""
#: options.php:960
#: options.php:953 #: options.php:953
msgid "Default off, check on" msgid "Default off, check on"
msgstr "" msgstr ""
@ -1396,10 +1397,6 @@ msgstr ""
msgid "Enable Announcement" msgid "Enable Announcement"
msgstr "" msgstr ""
#: options.php:960
msgid "Default off, check o"
msgstr ""
#: options.php:966 #: options.php:966
msgid "Announcement content" msgid "Announcement content"
msgstr "" msgstr ""
@ -1585,21 +1582,21 @@ msgstr ""
#: search.php:19 #: search.php:19
#, php-format #, php-format
msgid "search result: %s" msgid "search result: %s"
msgstr "" msgstr "Search result: %s"
#: tpl/content-category.php:30 #: tpl/content-category.php:30
msgid "NOTHING" msgid "NOTHING"
msgstr "" 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" msgid "Comment"
msgstr "" 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" msgid "Comments"
msgstr "" 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 "Hit"
msgid_plural "Hits" msgid_plural "Hits"
msgstr[0] "" msgstr[0] ""

View File

@ -51,12 +51,12 @@ msgid "view comments"
msgstr "" msgstr ""
#: comments.php:22 comments.php:27 #: comments.php:22 comments.php:27
msgid "1 comment" msgid " comment"
msgstr "" msgstr ""
#: comments.php:22 comments.php:27 #: comments.php:22 comments.php:27
#, php-format #, php-format
msgid "% comments" msgid " comments"
msgstr "" msgstr ""
#: comments.php:43 #: comments.php:43
@ -395,7 +395,7 @@ msgstr ""
msgid "Sign out? " msgid "Sign out? "
msgstr "" 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 #: tpl/single-image.php:18
msgid "View" msgid "View"
msgid_plural "Views" msgid_plural "Views"
@ -1386,6 +1386,7 @@ msgstr ""
msgid "Enable NProgress progress bar" msgid "Enable NProgress progress bar"
msgstr "" msgstr ""
#: options.php:960
#: options.php:953 #: options.php:953
msgid "Default off, check on" msgid "Default off, check on"
msgstr "" msgstr ""
@ -1394,10 +1395,6 @@ msgstr ""
msgid "Enable Announcement" msgid "Enable Announcement"
msgstr "" msgstr ""
#: options.php:960
msgid "Default off, check o"
msgstr ""
#: options.php:966 #: options.php:966
msgid "Announcement content" msgid "Announcement content"
msgstr "" msgstr ""
@ -1589,15 +1586,15 @@ msgstr ""
msgid "NOTHING" msgid "NOTHING"
msgstr "" 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" msgid "Comment"
msgstr "" 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" msgid "Comments"
msgstr "" 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 "Hit"
msgid_plural "Hits" msgid_plural "Hits"
msgstr[0] "" msgstr[0] ""

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

View File

@ -13,7 +13,7 @@
<?php if(akina_option('patternimg') || !get_post_thumbnail_id(get_the_ID())) { ?> <?php if(akina_option('patternimg') || !get_post_thumbnail_id(get_the_ID())) { ?>
<header class="entry-header"> <header class="entry-header">
<h1 class="entry-title"><?php the_title(); ?></h1> <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> <hr>
</header><!-- .entry-header --> </header><!-- .entry-header -->
<?php } ?> <?php } ?>

View File

@ -31,10 +31,10 @@
</div> </div>
<div class="info-meta"> <div class="info-meta">
<div class="comnum"> <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>
<div class="views"> <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>
</div> </div>
</footer><!-- .entry-footer --> </footer><!-- .entry-footer -->