Translation 201911010020

pull/122/head
spirit 2019-11-01 00:20:57 +08:00
parent e3361060ef
commit 75046c75cc
4 changed files with 5 additions and 5 deletions

View File

@ -1269,9 +1269,9 @@ function memory_archives_list() {
}
if ($mon != $mon_tmp) {
$mon = $mon_tmp;
$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 class="al_li"><span class="al_mon"><span style="color:#0bf;">'.get_the_time('M').'</span> (<span id="post-num"></span>'.__(" post(s)","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;
wp_reset_postdata();
$output .= '</ul></li></ul> <!--<ul class="al_mon_list"><li><ul class="al_post_list" style="display: block;"><li>博客已经萌萌哒运行了<span id="monitorday"></span>天</li></ul></li></ul>--></div>';

View File

@ -32,7 +32,7 @@
</div>
<div class="info-meta">
<div class="comnum">
<span><i class="iconfont icon-mark"></i><?php comments_popup_link('NOTHING', '1 '.__("comment","sakura")/*条评论*/, '% '.__("comments","sakura")/*条评论*/); ?></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()).' '._n('Hit','Hits',get_post_views(get_the_ID()),'sakura')/*热度*/?></span>

View File

@ -28,7 +28,7 @@
<footer class="entry-footer">
<div class="info-meta">
<div class="comnum">
<span><i class="iconfont icon-mark"></i><?php comments_popup_link('NOTHING', '1 '.__("comment","sakura")/*条评论*/, '% '.__("comments","sakura")/*条评论*/); ?></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()).' '._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>
<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 class="comments-number"><i class="iconfont icon-mark"></i><?php comments_popup_link('NOTHING', '1 '.__("comment","sakura")/*条评论*/, '% '.__("comments","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>
</div>