Translation 201911012106
This commit is contained in:
parent
f02595bf5c
commit
cc92606327
|
@ -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()): ?>
|
||||
|
||||
|
|
|
@ -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.
|
@ -2,14 +2,14 @@ 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 16:38+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"
|
||||
|
@ -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
|
||||
|
@ -222,11 +222,11 @@ msgstr ""
|
|||
#: 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 +395,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"
|
||||
|
@ -1388,6 +1388,7 @@ msgstr ""
|
|||
msgid "Enable NProgress progress bar"
|
||||
msgstr ""
|
||||
|
||||
#: options.php:960
|
||||
#: options.php:953
|
||||
msgid "Default off, check on"
|
||||
msgstr ""
|
||||
|
@ -1396,10 +1397,6 @@ msgstr ""
|
|||
msgid "Enable Announcement"
|
||||
msgstr ""
|
||||
|
||||
#: options.php:960
|
||||
msgid "Default off, check o"
|
||||
msgstr ""
|
||||
|
||||
#: options.php:966
|
||||
msgid "Announcement content"
|
||||
msgstr ""
|
||||
|
@ -1585,21 +1582,21 @@ 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] ""
|
||||
|
|
|
@ -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
|
||||
|
@ -395,7 +395,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"
|
||||
|
@ -1386,6 +1386,7 @@ msgstr ""
|
|||
msgid "Enable NProgress progress bar"
|
||||
msgstr ""
|
||||
|
||||
#: options.php:960
|
||||
#: options.php:953
|
||||
msgid "Default off, check on"
|
||||
msgstr ""
|
||||
|
@ -1394,10 +1395,6 @@ msgstr ""
|
|||
msgid "Enable Announcement"
|
||||
msgstr ""
|
||||
|
||||
#: options.php:960
|
||||
msgid "Default off, check o"
|
||||
msgstr ""
|
||||
|
||||
#: options.php:966
|
||||
msgid "Announcement content"
|
||||
msgstr ""
|
||||
|
@ -1589,15 +1586,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] ""
|
||||
|
|
Binary file not shown.
File diff suppressed because it is too large
Load Diff
|
@ -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');
|
||||
|
|
|
@ -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)); ?> <?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)); ?> <?php echo get_post_views(get_the_ID()).' '. _n('View','Views',get_post_views(get_the_ID()),'sakura')/*次阅读*/?> </p>
|
||||
<hr>
|
||||
</header><!-- .entry-header -->
|
||||
<?php } ?>
|
||||
|
|
|
@ -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 -->
|
||||
|
|
Loading…
Reference in New Issue