Translation 201910312203

This commit is contained in:
spirit 2019-10-31 22:03:39 +08:00
parent ff23013144
commit e3361060ef
6 changed files with 287 additions and 288 deletions

View File

@ -1269,7 +1269,7 @@ function memory_archives_list() {
} }
if ($mon != $mon_tmp) { if ($mon != $mon_tmp) {
$mon = $mon_tmp; $mon = $mon_tmp;
$output .= '<li class="al_li"><span class="al_mon">'.$mon. __("","sakura"). /*月*/' (<span id="post-num"></span>'._n(" article"," articles","sakura") /*篇文章*/.')</span><ul class="al_post_list">'; //输出月份 $output .= '<li class="al_li"><span class="al_mon">'.$mon. __("","sakura"). /*月*/' (<span id="post-num"></span>'.__(" articles","sakura") /*篇文章*/.')</span><ul class="al_post_list">'; //输出月份
} }
$output .= '<li>'.'<a href="'. get_permalink() .'"><span style="color:#0bf;">'.get_the_time('d'.__("","sakura")) /*日*/.'</span>'. get_the_title() .' <span>('.get_post_views(get_the_ID()).' <span class="fa fa-fire" aria-hidden="true"></span> / '. get_comments_number('0', '1', '%') .' <span class="fa fa-commenting" aria-hidden="true"></span>)</span></a></li>'; //输出文章日期和标题 $output .= '<li>'.'<a href="'. get_permalink() .'"><span style="color:#0bf;">'.get_the_time('d'.__("","sakura")) /*日*/.'</span>'. get_the_title() .' <span>('.get_post_views(get_the_ID()).' <span class="fa fa-fire" aria-hidden="true"></span> / '. get_comments_number('0', '1', '%') .' <span class="fa fa-commenting" aria-hidden="true"></span>)</span></a></li>'; //输出文章日期和标题
endwhile; endwhile;

View File

@ -17,7 +17,7 @@ mashiro_option.qq_api_url = "https://api.2heng.xin/qqinfo/";
mashiro_option.qq_avatar_api_url = "https://api.2heng.xin/qqinfo/"; mashiro_option.qq_avatar_api_url = "https://api.2heng.xin/qqinfo/";
mashiro_option.live_search = <?php if ( akina_option('live_search') ){ echo 'true'; } else { echo 'false'; } ?>; mashiro_option.live_search = <?php if ( akina_option('live_search') ){ echo 'true'; } else { echo 'false'; } ?>;
<?php if( akina_option('sakura_skin_bg' )){ $bg_arry=explode(" ", akina_option('sakura_skin_bg' ));?> <?php if( akina_option('sakura_skin_bg' )){ $bg_arry=explode(",", akina_option('sakura_skin_bg' ));?>
mashiro_option.skin_bg0 = "<?php echo $bg_arry[0] ?>"; mashiro_option.skin_bg0 = "<?php echo $bg_arry[0] ?>";
mashiro_option.skin_bg1 = "<?php echo $bg_arry[1] ?>"; mashiro_option.skin_bg1 = "<?php echo $bg_arry[1] ?>";
mashiro_option.skin_bg2 = "<?php echo $bg_arry[2] ?>"; mashiro_option.skin_bg2 = "<?php echo $bg_arry[2] ?>";

File diff suppressed because it is too large Load Diff

View File

@ -32,7 +32,7 @@
</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 '.__("comment"."sakura")/*条评论*/, '% '.__("comment"."sakura")/*条评论*/); ?></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()).' '._n('Hit','Hits',get_post_views(get_the_ID()),'sakura')/*热度*/?></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>

View File

@ -28,7 +28,7 @@
<footer class="entry-footer"> <footer class="entry-footer">
<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 '.__("comment"."sakura")/*条评论*/, '% '.__("comment"."sakura")/*条评论*/); ?></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()).' '._n('Hit','Hits',get_post_views(get_the_ID()),'sakura')/*热度*/?></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>

View File

@ -50,7 +50,7 @@ $the_cat = get_the_category();
<a href="<?php the_permalink(); ?>" class="post-title"><h3><?php the_title();?></h3></a> <a href="<?php the_permalink(); ?>" class="post-title"><h3><?php the_title();?></h3></a>
<div class="post-meta"> <div class="post-meta">
<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> <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>
<span class="comments-number"><i class="iconfont icon-mark"></i><?php comments_popup_link('NOTHING', '1 '.__("comment"."sakura")/*条评论*/, '% '.__("comment"."sakura")/*条评论*/); ?></span> <span class="comments-number"><i class="iconfont icon-mark"></i><?php comments_popup_link('NOTHING', '1 '.__("comment","sakura")/*条评论*/, '% '.__("comments","sakura")/*条评论*/); ?></span>
<span><i class="iconfont icon-file"></i><a href="<?php echo esc_url(get_category_link($the_cat[0]->cat_ID)); ?>"><?php echo $the_cat[0]->cat_name; ?></a> <span><i class="iconfont icon-file"></i><a href="<?php echo esc_url(get_category_link($the_cat[0]->cat_ID)); ?>"><?php echo $the_cat[0]->cat_name; ?></a>
</span> </span>
</div> </div>