Merge pull request #132 from spirit1431007/pr-branch

Support sidebar widget
This commit is contained in:
Mashiro 2019-11-16 00:58:24 +08:00 committed by GitHub
commit e01ff461c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
13 changed files with 405 additions and 338 deletions

View File

@ -38,6 +38,15 @@
</div> </div>
</div><!-- .site-info --> </div><!-- .site-info -->
</footer><!-- #colophon --> </footer><!-- #colophon -->
<aside id="secondary" class="widget-area" role="complementary" style="left: -400px;">
<button class="show_hide">
<i class="fa fa-magic" aria-hidden="true"></i>
</button>
<div class="heading"><?php _e('Widget') /*小工具*/ ?></div>
<div class="sakura_widget">
<?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('sakura_widget')) : endif; ?>
</div>
</aside>
<div class="openNav no-select"> <div class="openNav no-select">
<div class="iconflat no-select"> <div class="iconflat no-select">
<div class="icon"></div> <div class="icon"></div>
@ -72,7 +81,7 @@
<?php if(akina_option('live_search')){ ?> <?php if(akina_option('live_search')){ ?>
<div class="micro"> <div class="micro">
<i class="iconfont icon-search"></i> <i class="iconfont icon-search"></i>
<input id="search-input" class="text-input" type="search" name="s" placeholder="<?php _e('Want to find something', 'sakura') /*想要找点什么呢*/?>" required> <input id="search-input" class="text-input" type="search" name="s" placeholder="<?php _e('Want to find something?', 'sakura') /*想要找点什么呢*/?>" required>
</div> </div>
<div class="ins-section-wrapper"> <div class="ins-section-wrapper">
<a id="Ty" href="#"></a> <a id="Ty" href="#"></a>
@ -80,7 +89,7 @@
</div> </div>
<?php }else{ ?> <?php }else{ ?>
<div class="micro"> <div class="micro">
<p class="micro mb-"><?php _e('Want to find something', 'sakura') /*想要找点什么呢*/?></p> <p class="micro mb-"><?php _e('Want to find something?', 'sakura') /*想要找点什么呢*/?></p>
<i class="iconfont icon-search"></i> <i class="iconfont icon-search"></i>
<input class="text-input" type="search" name="s" placeholder="<?php _e('Search', 'sakura') ?>" required> <input class="text-input" type="search" name="s" placeholder="<?php _e('Search', 'sakura') ?>" required>
</div> </div>

View File

@ -203,7 +203,9 @@ function sakura_scripts() {
'ajaxurl' => admin_url('admin-ajax.php'), 'ajaxurl' => admin_url('admin-ajax.php'),
'order' => get_option('comment_order'), // ajax comments 'order' => get_option('comment_order'), // ajax comments
'formpostion' => 'bottom', // ajax comments 默认为bottom如果你的表单在顶部则设置为top。 'formpostion' => 'bottom', // ajax comments 默认为bottom如果你的表单在顶部则设置为top。
'reply_link_version' => $reply_link_version 'reply_link_version' => $reply_link_version,
'api' => esc_url_raw( rest_url() ),
'nonce' => wp_create_nonce( 'wp_rest' )
)); ));
} }
add_action( 'wp_enqueue_scripts', 'sakura_scripts' ); add_action( 'wp_enqueue_scripts', 'sakura_scripts' );
@ -385,19 +387,19 @@ if(!function_exists('akina_comment_format')){
<div class="commentinfo"> <div class="commentinfo">
<section class="commeta"> <section class="commeta">
<div class="left"> <div class="left">
<h4 class="author"><a href="<?php comment_author_url(); ?>" target="_blank" rel="nofollow"><?php echo get_avatar( $comment->comment_author_email, '24', '', get_comment_author() ); ?><span class="bb-comment isauthor" title="<?php _e('Author', 'mashiro'); ?>"><?php _e('Blogger', 'mashiro'); /*博主*/?></span> <?php comment_author(); ?> <?php echo get_author_class($comment->comment_author_email,$comment->user_id); ?></a></h4> <h4 class="author"><a href="<?php comment_author_url(); ?>" target="_blank" rel="nofollow"><?php echo get_avatar( $comment->comment_author_email, '24', '', get_comment_author() ); ?><span class="bb-comment isauthor" title="<?php _e('Author', 'sakura'); ?>"><?php _e('Blogger', 'sakura'); /*博主*/?></span> <?php comment_author(); ?> <?php echo get_author_class($comment->comment_author_email,$comment->user_id); ?></a></h4>
</div> </div>
<?php comment_reply_link(array_merge($args, array('depth' => $depth, 'max_depth' => $args['max_depth']))); ?> <?php comment_reply_link(array_merge($args, array('depth' => $depth, 'max_depth' => $args['max_depth']))); ?>
<div class="right"> <div class="right">
<div class="info"><time datetime="<?php comment_date('Y-m-d'); ?>"><?php echo poi_time_since(strtotime($comment->comment_date_gmt), true );//comment_date(get_option('date_format')); ?></time><?php echo siren_get_useragent($comment->comment_agent); ?><?php echo mobile_get_useragent_icon($comment->comment_agent); ?>&nbsp;<?php _e('Location', 'mashiro'); /*来自*/?>: <?php echo convertip(get_comment_author_ip()); ?> <div class="info"><time datetime="<?php comment_date('Y-m-d'); ?>"><?php echo poi_time_since(strtotime($comment->comment_date_gmt), true );//comment_date(get_option('date_format')); ?></time><?php echo siren_get_useragent($comment->comment_agent); ?><?php echo mobile_get_useragent_icon($comment->comment_agent); ?>&nbsp;<?php _e('Location', 'sakura'); /*来自*/?>: <?php echo convertip(get_comment_author_ip()); ?>
<?php if (current_user_can('manage_options') and (wp_is_mobile() == false) ) { <?php if (current_user_can('manage_options') and (wp_is_mobile() == false) ) {
$comment_ID = $comment->comment_ID; $comment_ID = $comment->comment_ID;
$i_private = get_comment_meta($comment_ID, '_private', true); $i_private = get_comment_meta($comment_ID, '_private', true);
$flag .= ' <i class="fa fa-snowflake-o" aria-hidden="true"></i> <a href="javascript:;" data-actionp="set_private" data-idp="' . get_comment_id() . '" id="sp" class="sm" style="color:rgba(0,0,0,.35)">'.__('Private', 'mashiro').': <span class="has_set_private">'; $flag .= ' <i class="fa fa-snowflake-o" aria-hidden="true"></i> <a href="javascript:;" data-actionp="set_private" data-idp="' . get_comment_id() . '" id="sp" class="sm" style="color:rgba(0,0,0,.35)">'.__("Private", "sakura").': <span class="has_set_private">';
if (!empty($i_private)) { if (!empty($i_private)) {
$flag .= __('Yes', 'mashiro').' <i class="fa fa-lock" aria-hidden="true"></i>'; $flag .= __("Yes", "sakura").' <i class="fa fa-lock" aria-hidden="true"></i>';
} else { } else {
$flag .= __('No', 'mashiro').' <i class="fa fa-unlock" aria-hidden="true"></i>'; $flag .= __("No", "sakura").' <i class="fa fa-unlock" aria-hidden="true"></i>';
} }
$flag .= '</span></a>'; $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>');
@ -426,7 +428,7 @@ if(!function_exists('akina_comment_format')){
$author_count = count($wpdb->get_results( $author_count = count($wpdb->get_results(
"SELECT comment_ID as author_count FROM $wpdb->comments WHERE comment_author_email = '$comment_author_email' ")); "SELECT comment_ID as author_count FROM $wpdb->comments WHERE comment_author_email = '$comment_author_email' "));
if($author_count>=1 && $author_count< 5 )//数字可自行修改,代表评论次数。 if($author_count>=1 && $author_count< 5 )//数字可自行修改,代表评论次数。
echo '<span class="showGrade0" title="萌萌哒新人~"><img src="https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/images/level/level_0.svg" style="height: 1.5em; max-height: 1.5em; display: inline-block;"></span>'; echo '<span class="showGrade0" title="Lv0"><img src="https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/images/level/level_0.svg" style="height: 1.5em; max-height: 1.5em; display: inline-block;"></span>';
else if($author_count>=6 && $author_count< 10) else if($author_count>=6 && $author_count< 10)
echo '<span class="showGrade1" title="Lv1"><img src="https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/images/level/level_1.svg" style="height: 1.5em; max-height: 1.5em; display: inline-block;"></span>'; echo '<span class="showGrade1" title="Lv1"><img src="https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/images/level/level_1.svg" style="height: 1.5em; max-height: 1.5em; display: inline-block;"></span>';
else if($author_count>=10 && $author_count< 20) else if($author_count>=10 && $author_count< 20)
@ -434,7 +436,7 @@ if(!function_exists('akina_comment_format')){
else if($author_count>=20 && $author_count< 40) else if($author_count>=20 && $author_count< 40)
echo '<span class="showGrade3" title="Lv3"><img src="https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/images/level/level_3.svg" style="height: 1.5em; max-height: 1.5em; display: inline-block;"></span>'; echo '<span class="showGrade3" title="Lv3"><img src="https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/images/level/level_3.svg" style="height: 1.5em; max-height: 1.5em; display: inline-block;"></span>';
else if($author_count>=40 && $author_count< 80) else if($author_count>=40 && $author_count< 80)
echo '<span class="showGrade4" title="Lv4 orz"><img src="https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/images/level/level_4.svg" style="height: 1.5em; max-height: 1.5em; display: inline-block;"></span>'; echo '<span class="showGrade4" title="Lv4"><img src="https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/images/level/level_4.svg" style="height: 1.5em; max-height: 1.5em; display: inline-block;"></span>';
else if($author_count>=80 && $author_count< 160) else if($author_count>=80 && $author_count< 160)
echo '<span class="showGrade5" title="Lv5"><img src="https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/images/level/level_5.svg" style="height: 1.5em; max-height: 1.5em; display: inline-block;"></span>'; echo '<span class="showGrade5" title="Lv5"><img src="https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/images/level/level_5.svg" style="height: 1.5em; max-height: 1.5em; display: inline-block;"></span>';
else if($author_count>=160) else if($author_count>=160)
@ -643,19 +645,19 @@ function wpjam_custom_upload_dir( $uploads ) {
* 删除自带小工具 * 删除自带小工具
*/ */
function unregister_default_widgets() { function unregister_default_widgets() {
unregister_widget("WP_Widget_Pages"); //unregister_widget("WP_Widget_Pages");
unregister_widget("WP_Widget_Calendar"); unregister_widget("WP_Widget_Calendar");
unregister_widget("WP_Widget_Archives"); //unregister_widget("WP_Widget_Archives");
unregister_widget("WP_Widget_Links"); unregister_widget("WP_Widget_Links");
unregister_widget("WP_Widget_Meta"); unregister_widget("WP_Widget_Meta");
unregister_widget("WP_Widget_Search"); //unregister_widget("WP_Widget_Search");
unregister_widget("WP_Widget_Text"); unregister_widget("WP_Widget_Text");
unregister_widget("WP_Widget_Categories"); //unregister_widget("WP_Widget_Categories");
unregister_widget("WP_Widget_Recent_Posts"); //unregister_widget("WP_Widget_Recent_Posts");
unregister_widget("WP_Widget_Recent_Comments"); unregister_widget("WP_Widget_Recent_Comments");
unregister_widget("WP_Widget_RSS"); unregister_widget("WP_Widget_RSS");
unregister_widget("WP_Widget_Tag_Cloud"); unregister_widget("WP_Widget_Tag_Cloud");
unregister_widget("WP_Nav_Menu_Widget"); //unregister_widget("WP_Nav_Menu_Widget");
} }
add_action("widgets_init", "unregister_default_widgets", 11); add_action("widgets_init", "unregister_default_widgets", 11);
@ -1266,7 +1268,7 @@ function memory_archives_list() {
if ($year != $year_tmp && $year > 0) $output .= '</ul>'; if ($year != $year_tmp && $year > 0) $output .= '</ul>';
if ($year != $year_tmp) { if ($year != $year_tmp) {
$year = $year_tmp; $year = $year_tmp;
$output .= '<h3 class="al_year">'. $year . __("","sakura"). /*年*/' </h3><ul class="al_mon_list">'; //输出年份 $output .= '<h3 class="al_year">'. $year . __(" ","year","sakura"). /*年*/' </h3><ul class="al_mon_list">'; //输出年份
} }
if ($mon != $mon_tmp) { if ($mon != $mon_tmp) {
$mon = $mon_tmp; $mon = $mon_tmp;
@ -1640,4 +1642,17 @@ function sakura_comment_notify($comment_id){
} }
add_action('comment_post', 'sakura_comment_notify'); add_action('comment_post', 'sakura_comment_notify');
//侧栏小工具
if (akina_option('sakura_widget')) {
if (function_exists('register_sidebar')) {
register_sidebar(array(
'name' => __('Sidebar'),//侧栏
'id' => 'sakura_widget',
'before_widget' => '<div class="widget %2$s">',
'after_widget' => '</div>',
'before_title' => '<div class="title"><h2>',
'after_title' => '</h2></div>'
));
}
}
//code end //code end

View File

@ -77,7 +77,7 @@ window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments)}
</script> </script>
<?php endif; ?> <?php endif; ?>
</head> </head>
<body nonce-data="<?php echo wp_create_nonce( 'wp_rest' ); ?>" <?php body_class(); ?>> <body <?php body_class(); ?>>
<?php if(get_template_directory_uri() != get_site_url().'/wp-content/themes/Sakura') echo '<div style="position:fixed;height:100%;width:100%;top:0;left:0;font-size:20px;z-index:999999;background-color: #fff;">Plz rename the theme folder name as <span style="color:red">Sakura</span>!<br>请将主题文件夹名改为 <span style="color:red">Sakura</span></div>'; ?> <?php if(get_template_directory_uri() != get_site_url().'/wp-content/themes/Sakura') echo '<div style="position:fixed;height:100%;width:100%;top:0;left:0;font-size:20px;z-index:999999;background-color: #fff;">Plz rename the theme folder name as <span style="color:red">Sakura</span>!<br>请将主题文件夹名改为 <span style="color:red">Sakura</span></div>'; ?>
<?php if(!function_exists('curl_exec')) echo '<div style="position:fixed;height:100%;width:100%;top:0;left:0;font-size:20px;z-index:999999;background-color: #fff;">主题需要 PHP 的 curl 支持!请在 `php.ini` 里开启或者联系你的主机商。<br>The theme requires PHP\'s curl support! Please turn on in `php.ini` or contact your hosting provider.</div>'; ?> <?php if(!function_exists('curl_exec')) echo '<div style="position:fixed;height:100%;width:100%;top:0;left:0;font-size:20px;z-index:999999;background-color: #fff;">主题需要 PHP 的 curl 支持!请在 `php.ini` 里开启或者联系你的主机商。<br>The theme requires PHP\'s curl support! Please turn on in `php.ini` or contact your hosting provider.</div>'; ?>
<div class="scrollbar" id="bar"></div> <div class="scrollbar" id="bar"></div>

View File

@ -215,7 +215,7 @@ function SMMS_API($image)
/* /*
* 定制实时搜索 rest api * 定制实时搜索 rest api
* @rest api接口路径https://sakura.2heng.xin/wp-json/cache_search/v1/json/ * @rest api接口路径https://sakura.2heng.xin/wp-json/sakura/v1/cache_search/json
* @可在cache_search_json()函数末尾通过设置 HTTP header 控制 json 缓存时间 * @可在cache_search_json()函数末尾通过设置 HTTP header 控制 json 缓存时间
*/ */
function cache_search_json() function cache_search_json()

View File

@ -182,7 +182,7 @@ function attach_image() {
var formData = new FormData(); var formData = new FormData();
formData.append('cmt_img_file', f); formData.append('cmt_img_file', f);
$.ajax({ $.ajax({
url: '/wp-json/sakura/v1/image/upload/?_wpnonce='+$('body').attr('nonce-data'), url: Poi.api + 'sakura/v1/image/upload?_wpnonce=' + Poi.nonce,
type: 'POST', type: 'POST',
processData: false, processData: false,
contentType: false, contentType: false,
@ -976,6 +976,17 @@ function mail_me() {
window.open(mail); window.open(mail);
} }
function activate_widget(){
if (document.body.clientWidth > 860) {
$('.show_hide').on('click', function() {
$("#secondary").toggleClass("active")
});
}else{
$("#secondary").remove();
}
}
activate_widget();
mashiro_global.ini.normalize(); mashiro_global.ini.normalize();
loadCSS(mashiro_option.jsdelivr_css_src); loadCSS(mashiro_option.jsdelivr_css_src);
loadCSS(mashiro_option.entry_content_theme_src); loadCSS(mashiro_option.entry_content_theme_src);
@ -1376,7 +1387,7 @@ var home = location.href,
$('html').css('overflow-y', 'hidden'); $('html').css('overflow-y', 'hidden');
if (mashiro_option.live_search) { if (mashiro_option.live_search) {
var QueryStorage = []; var QueryStorage = [];
search_a("https://" + document.domain + "/wp-json/sakura/v1/cache_search/json"); search_a(Poi.api + "sakura/v1/cache_search/json");
var otxt = addComment.I("search-input"), var otxt = addComment.I("search-input"),
list = addComment.I("PostlistBox"), list = addComment.I("PostlistBox"),

Binary file not shown.

View File

@ -1,15 +1,15 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Sakura\n" "Project-Id-Version: Sakura\n"
"POT-Creation-Date: 2019-11-14 19:31+0800\n" "POT-Creation-Date: 2019-11-15 23:51+0800\n"
"PO-Revision-Date: 2019-11-14 19:31+0800\n" "PO-Revision-Date: 2019-11-15 23:51+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"
@ -38,7 +38,7 @@ msgstr "Return to home page"
msgid "Don't worry, search in site?" msgid "Don't worry, search in site?"
msgstr "" msgstr ""
#: 404.php:53 footer.php:62 search.php:42 #: 404.php:53 footer.php:71 search.php:42
msgid "Search..." msgid "Search..."
msgstr "Search..." msgstr "Search..."
@ -130,11 +130,15 @@ msgstr ""
msgid "Site" msgid "Site"
msgstr "" msgstr ""
#: footer.php:75 footer.php:83 #: footer.php:45
msgid "Want to find something" msgid "Widget"
msgstr "" msgstr ""
#: footer.php:85 #: footer.php:84 footer.php:92
msgid "Want to find something?"
msgstr ""
#: footer.php:94
msgid "Search" msgid "Search"
msgstr "" msgstr ""
@ -142,71 +146,79 @@ msgstr ""
msgid "Nav Menus" msgid "Nav Menus"
msgstr "" msgstr ""
#: functions.php:388 inc/theme_plus.php:187 layouts/authorprofile.php:11 #: functions.php:390 inc/theme_plus.php:187 layouts/authorprofile.php:11
#: options.php:123 #: options.php:123
msgid "Author" msgid "Author"
msgstr "" msgstr ""
#: functions.php:388 #: functions.php:390
msgid "Blogger" msgid "Blogger"
msgstr "" msgstr ""
#: functions.php:392 #: functions.php:394
msgid "Location" msgid "Location"
msgstr "" msgstr ""
#: functions.php:396 #: functions.php:398
msgid "Private" msgid "Private"
msgstr "" msgstr ""
#: functions.php:398 #: functions.php:400
msgid "Yes" msgid "Yes"
msgstr "" msgstr ""
#: functions.php:400 #: functions.php:402
msgid "No" msgid "No"
msgstr "" msgstr ""
#: functions.php:403 #: functions.php:405
msgid "Edit" msgid "Edit"
msgstr "" msgstr ""
#: functions.php:484 #: functions.php:486
msgid "" msgid ""
"Please install pulgin <a href=\"https://wordpress.org/plugins/wp-statistics/" "Please install pulgin <a href=\"https://wordpress.org/plugins/wp-statistics/"
"\" target=\"_blank\">WP-Statistics</a>" "\" target=\"_blank\">WP-Statistics</a>"
msgstr "" msgstr ""
#: functions.php:537 #: functions.php:539
msgid "This guy is so lazy ╮(╯▽╰)╭" msgid "This guy is so lazy ╮(╯▽╰)╭"
msgstr "" msgstr ""
#: functions.php:1258 #: functions.php:1260
msgid "All expand/collapse" msgid "All expand/collapse"
msgstr "" msgstr ""
#: functions.php:1273 #: functions.php:1271 options.php:840
msgid " "
msgstr ""
#: functions.php:1275
msgid " post(s)" msgid " post(s)"
msgstr "" msgstr ""
#: functions.php:1295 functions.php:1298 inc/theme_plus.php:479 #: functions.php:1297 functions.php:1300 inc/theme_plus.php:479
msgid "Dashboard" msgid "Dashboard"
msgstr "" msgstr ""
#: functions.php:1511 #: functions.php:1513
msgid "<b>ERROR</b>: This email domain (<b>@" msgid "<b>ERROR</b>: This email domain (<b>@"
msgstr "" msgstr ""
#: functions.php:1591 #: functions.php:1593
msgid "QQ" msgid "QQ"
msgstr "" msgstr ""
#: functions.php:1649
msgid "Sidebar"
msgstr ""
#: header.php:35 #: header.php:35
#, php-format #, php-format
msgid "page %s " msgid "page %s "
msgstr "" msgstr ""
#: inc/api.php:241 inc/theme_plus.php:728 #: inc/api.php:253 inc/theme_plus.php:728
msgid "The comment is private" msgid "The comment is private"
msgstr "" msgstr ""
@ -894,7 +906,7 @@ msgstr ""
msgid "Whether to turn on the top-feature" msgid "Whether to turn on the top-feature"
msgstr "" msgstr ""
#: options.php:443 options.php:1084 #: options.php:443 options.php:1091
msgid "Default on" msgid "Default on"
msgstr "" msgstr ""
@ -980,7 +992,6 @@ msgstr ""
msgid "Post style" msgid "Post style"
msgstr "" msgstr ""
#. Theme Name of the plugin/theme
#: options.php:562 #: options.php:562
msgid "Sakura" msgid "Sakura"
msgstr "" msgstr ""
@ -1383,136 +1394,140 @@ msgstr ""
msgid "Enable NProgress progress bar" msgid "Enable NProgress progress bar"
msgstr "" msgstr ""
#: options.php:953 options.php:960 #: options.php:953 options.php:960 options.php:967
msgid "Default off, check on" msgid "Default off, check on"
msgstr "" msgstr ""
#: options.php:959 #: options.php:959
msgid "Enable Announcement" msgid "Enable sidebar widget"
msgstr "" msgstr ""
#: options.php:966 #: options.php:966
msgid "Enable Announcement"
msgstr ""
#: options.php:973
msgid "Announcement content" msgid "Announcement content"
msgstr "" msgstr ""
#: options.php:967 #: options.php:974
msgid "" msgid ""
"Announcement content, the text exceeds 142 bytes will be scrolled display " "Announcement content, the text exceeds 142 bytes will be scrolled display "
"(mobile device is invalid)" "(mobile device is invalid)"
msgstr "" msgstr ""
#: options.php:973 #: options.php:980
msgid "The categories of articles that don\\t not show on homepage" msgid "The categories of articles that don\\t not show on homepage"
msgstr "" msgstr ""
#: options.php:974 options.php:981 #: options.php:981 options.php:988
msgid "Fill in category ID, multiple IDs are divided by a comma \",\"" msgid "Fill in category ID, multiple IDs are divided by a comma \",\""
msgstr "" msgstr ""
#: options.php:980 #: options.php:987
msgid "Images category" msgid "Images category"
msgstr "" msgstr ""
#: options.php:987 #: options.php:994
msgid "Statistics Interface" msgid "Statistics Interface"
msgstr "" msgstr ""
#: options.php:992 #: options.php:999
msgid "" msgid ""
"WP-Statistics plugin (Professional statistics, can exclude invalid access)" "WP-Statistics plugin (Professional statistics, can exclude invalid access)"
msgstr "" msgstr ""
#: options.php:993 #: options.php:1000
msgid "Theme built-in (simple statistics, calculate each page access request)" msgid "Theme built-in (simple statistics, calculate each page access request)"
msgstr "" msgstr ""
#: options.php:997 #: options.php:1004
msgid "Statistical data display format" msgid "Statistical data display format"
msgstr "" msgstr ""
#: options.php:1002 #: options.php:1009
msgid "23333 Views (default)" msgid "23333 Views (default)"
msgstr "" msgstr ""
#: options.php:1003 #: options.php:1010
msgid "23,333 Views (britain)" msgid "23,333 Views (britain)"
msgstr "" msgstr ""
#: options.php:1004 #: options.php:1011
msgid "23 333 Views (french)" msgid "23 333 Views (french)"
msgstr "" msgstr ""
#: options.php:1005 #: options.php:1012
msgid "23k Views (chinese)" msgid "23k Views (chinese)"
msgstr "" msgstr ""
#: options.php:1009 #: options.php:1016
msgid "Comment image upload API" msgid "Comment image upload API"
msgstr "" msgstr ""
#: options.php:1014 #: options.php:1021
msgid "Imgur (https://imgur.com)" msgid "Imgur (https://imgur.com)"
msgstr "" msgstr ""
#: options.php:1015 #: options.php:1022
msgid "SM.MS (https://sm.ms)" msgid "SM.MS (https://sm.ms)"
msgstr "" msgstr ""
#: options.php:1016 #: options.php:1023
msgid "Chevereto (https://chevereto.com)" msgid "Chevereto (https://chevereto.com)"
msgstr "" msgstr ""
#: options.php:1020 #: options.php:1027
msgid "Imgur Client ID" msgid "Imgur Client ID"
msgstr "" msgstr ""
#: options.php:1021 #: options.php:1028
msgid "" msgid ""
"Register your application <a href=\"https://api.imgur.com/oauth2/addclient" "Register your application <a href=\"https://api.imgur.com/oauth2/addclient"
"\">here</a>, note we only need the Client ID here." "\">here</a>, note we only need the Client ID here."
msgstr "" msgstr ""
#: options.php:1027 #: options.php:1034
msgid "SM.MS Secret Token" msgid "SM.MS Secret Token"
msgstr "" msgstr ""
#: options.php:1028 #: options.php:1035
msgid "" msgid ""
"Register your application <a href=\"https://sm.ms/home/apitoken\">here</a>." "Register your application <a href=\"https://sm.ms/home/apitoken\">here</a>."
msgstr "" msgstr ""
#: options.php:1034 #: options.php:1041
msgid "Chevereto API v1 key" msgid "Chevereto API v1 key"
msgstr "" msgstr ""
#: options.php:1035 #: options.php:1042
msgid "Get your API key here " msgid "Get your API key here "
msgstr "" msgstr ""
#: options.php:1041 #: options.php:1048
msgid "Chevereto URL" msgid "Chevereto URL"
msgstr "" msgstr ""
#: options.php:1042 #: options.php:1049
msgid "" msgid ""
"Your Chevereto homepage url, no slash in the end, eg. https://your.cherverto." "Your Chevereto homepage url, no slash in the end, eg. https://your.cherverto."
"com" "com"
msgstr "" msgstr ""
#: options.php:1048 #: options.php:1055
msgid "Comment images proxy" msgid "Comment images proxy"
msgstr "" msgstr ""
#: options.php:1049 #: options.php:1056
msgid "" msgid ""
"A front-ed proxy for the uploaded images. Leave it blank if you do not need." "A front-ed proxy for the uploaded images. Leave it blank if you do not need."
msgstr "" msgstr ""
#: options.php:1055 #: options.php:1062
msgid "Imgur upload proxy" msgid "Imgur upload proxy"
msgstr "" msgstr ""
#: options.php:1056 #: options.php:1063
msgid "" msgid ""
"A back-ed proxy to upload images. You may set a self hosted proxy with " "A back-ed proxy to upload images. You may set a self hosted proxy with "
"Nginx, following my <a href=\"https://2heng.xin/2018/06/06/javascript-upload-" "Nginx, following my <a href=\"https://2heng.xin/2018/06/06/javascript-upload-"
@ -1522,127 +1537,127 @@ msgid ""
"a>】" "a>】"
msgstr "" msgstr ""
#: options.php:1062 #: options.php:1069
msgid "Enable live search" msgid "Enable live search"
msgstr "" msgstr ""
#: options.php:1063 #: options.php:1070
msgid "" msgid ""
"Real-time search in the foreground, call the Rest API to update the cache " "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" "every hour, you can manually set the cache time in functions.php"
msgstr "" msgstr ""
#: options.php:1069 #: options.php:1076
msgid "Include comments in live search" msgid "Include comments in live search"
msgstr "" msgstr ""
#: options.php:1070 #: options.php:1077
msgid "" msgid ""
"Search for comments in real-time search (not recommended if there are too " "Search for comments in real-time search (not recommended if there are too "
"many comments on the site)" "many comments on the site)"
msgstr "" msgstr ""
#: options.php:1076 #: options.php:1083
msgid "Enable baguetteBox" msgid "Enable baguetteBox"
msgstr "" msgstr ""
#: options.php:1077 #: options.php:1084
msgid "" msgid ""
"Default off<a href=\"https://github.com/mashirozx/Sakura/wiki/Fancybox" "Default off<a href=\"https://github.com/mashirozx/Sakura/wiki/Fancybox"
"\">please read wiki</a>" "\">please read wiki</a>"
msgstr "" msgstr ""
#: options.php:1083 #: options.php:1090
msgid "Enable lazyload in posts" msgid "Enable lazyload in posts"
msgstr "" msgstr ""
#: options.php:1090 #: options.php:1097
msgid "lazyload spinner" msgid "lazyload spinner"
msgstr "" msgstr ""
#: options.php:1091 #: options.php:1098
msgid "The placeholder to display when the image loads, fill in the image url" msgid "The placeholder to display when the image loads, fill in the image url"
msgstr "" msgstr ""
#: options.php:1097 #: options.php:1104
msgid "Whether to enable the clipboard copyright" msgid "Whether to enable the clipboard copyright"
msgstr "" msgstr ""
#: options.php:1098 #: options.php:1105
msgid "" msgid ""
"Automatically add a copyright to the clipboard when copying more than 30 " "Automatically add a copyright to the clipboard when copying more than 30 "
"bytes, which is enabled by default." "bytes, which is enabled by default."
msgstr "" msgstr ""
#: options.php:1104 #: options.php:1111
msgid "Email address prefix" msgid "Email address prefix"
msgstr "" msgstr ""
#: options.php:1105 #: options.php:1112
msgid "" msgid ""
"For sending system mail, the sender address displayed in the user's mailbox, " "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" "do not use Chinese, the default system email address is bibi@your_domain_name"
msgstr "" msgstr ""
#: options.php:1111 #: options.php:1118
msgid "Comments reply notification" msgid "Comments reply notification"
msgstr "" msgstr ""
#: options.php:1112 #: options.php:1119
msgid "" msgid ""
"WordPress will use email to notify users when their comments receive a reply " "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 " "by default. Tick this item allows users to set their own comments reply "
"notification" "notification"
msgstr "" msgstr ""
#: options.php:1118 #: options.php:1125
msgid "Administrator comment notification" msgid "Administrator comment notification"
msgstr "" msgstr ""
#: options.php:1119 #: options.php:1126
msgid "" msgid ""
"Whether to use email notification when the administrator's comments receive " "Whether to use email notification when the administrator's comments receive "
"a reply" "a reply"
msgstr "" msgstr ""
#: options.php:1125 #: options.php:1132
msgid "Enable private comment" msgid "Enable private comment"
msgstr "" msgstr ""
#: options.php:1126 #: options.php:1133
msgid "Allow users to set their own comments to be invisible to others" msgid "Allow users to set their own comments to be invisible to others"
msgstr "" msgstr ""
#: options.php:1132 #: options.php:1139
msgid "Human verification" msgid "Human verification"
msgstr "" msgstr ""
#: options.php:1133 #: options.php:1140
msgid "Enable human verification" msgid "Enable human verification"
msgstr "" msgstr ""
#: options.php:1139 #: options.php:1146
msgid "Comment UA infomation" msgid "Comment UA infomation"
msgstr "" msgstr ""
#: options.php:1140 #: options.php:1147
msgid "" msgid ""
"Check to enable, display the user's browser, operating system information" "Check to enable, display the user's browser, operating system information"
msgstr "" msgstr ""
#: options.php:1146 #: options.php:1153
msgid "Enable disqus" msgid "Enable disqus"
msgstr "" msgstr ""
#: options.php:1147 #: options.php:1154
msgid "Enable disqus for comment" msgid "Enable disqus for comment"
msgstr "" msgstr ""
#: options.php:1153 #: options.php:1160
msgid "Time Zone adjustment" msgid "Time Zone adjustment"
msgstr "" msgstr ""
#: options.php:1154 #: options.php:1161
msgid "" msgid ""
"If the comment has a time difference problem adjust here, fill in an " "If the comment has a time difference problem adjust here, fill in an "
"integer, the calculation method: actual_time = display_error_time - " "integer, the calculation method: actual_time = display_error_time - "
@ -1769,30 +1784,6 @@ msgstr ""
msgid "Registration is not open yet" msgid "Registration is not open yet"
msgstr "" msgstr ""
#. Theme URI of the plugin/theme
msgid "https://2heng.xin/theme-sakura/"
msgstr ""
#. Description of the plugin/theme
msgid "A branch of theme Akina"
msgstr ""
#. Author of the plugin/theme
msgid "Mashiro, Louie, Fuzzz"
msgstr ""
#. Author URI of the plugin/theme
msgid "http://2heng.xin"
msgstr ""
#. Template Name of the plugin/theme
msgid "archive"
msgstr ""
#. Template Name of the plugin/theme
msgid "links"
msgstr ""
#, php-format #, php-format
#~ msgid "第 %s 页" #~ msgid "第 %s 页"
#~ msgstr "Page %s" #~ msgstr "Page %s"

View File

@ -3,14 +3,14 @@ msgid ""
msgstr "" msgstr ""
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
"Project-Id-Version: Sakura\n" "Project-Id-Version: Sakura\n"
"POT-Creation-Date: 2019-11-14 19:18+0800\n" "POT-Creation-Date: 2019-11-15 23:51+0800\n"
"PO-Revision-Date: 2019-11-01 14:27+0800\n" "PO-Revision-Date: 2019-11-01 14:27+0800\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \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"
"X-Poedit-Flags-xgettext: --add-comments=translators:\n" "X-Poedit-Flags-xgettext: --add-comments=translators:\n"
"X-Poedit-WPHeader: style.css\n" "X-Poedit-WPHeader: style.css\n"
@ -38,7 +38,7 @@ msgstr ""
msgid "Don't worry, search in site?" msgid "Don't worry, search in site?"
msgstr "" msgstr ""
#: 404.php:53 footer.php:62 search.php:42 #: 404.php:53 footer.php:71 search.php:42
msgid "Search..." msgid "Search..."
msgstr "" msgstr ""
@ -130,11 +130,15 @@ msgstr ""
msgid "Site" msgid "Site"
msgstr "" msgstr ""
#: footer.php:75 footer.php:83 #: footer.php:45
msgid "Want to find something" msgid "Widget"
msgstr "" msgstr ""
#: footer.php:85 #: footer.php:84 footer.php:92
msgid "Want to find something?"
msgstr ""
#: footer.php:94
msgid "Search" msgid "Search"
msgstr "" msgstr ""
@ -142,70 +146,78 @@ msgstr ""
msgid "Nav Menus" msgid "Nav Menus"
msgstr "" msgstr ""
#: functions.php:388 inc/theme_plus.php:187 layouts/authorprofile.php:11 options.php:123 #: functions.php:390 inc/theme_plus.php:187 layouts/authorprofile.php:11 options.php:123
msgid "Author" msgid "Author"
msgstr "" msgstr ""
#: functions.php:388 #: functions.php:390
msgid "Blogger" msgid "Blogger"
msgstr "" msgstr ""
#: functions.php:392 #: functions.php:394
msgid "Location" msgid "Location"
msgstr "" msgstr ""
#: functions.php:396 #: functions.php:398
msgid "Private" msgid "Private"
msgstr "" msgstr ""
#: functions.php:398 #: functions.php:400
msgid "Yes" msgid "Yes"
msgstr "" msgstr ""
#: functions.php:400 #: functions.php:402
msgid "No" msgid "No"
msgstr "" msgstr ""
#: functions.php:403 #: functions.php:405
msgid "Edit" msgid "Edit"
msgstr "" msgstr ""
#: functions.php:484 #: functions.php:486
msgid "" msgid ""
"Please install pulgin <a href=\"https://wordpress.org/plugins/wp-statistics/\" target=\"_blank" "Please install pulgin <a href=\"https://wordpress.org/plugins/wp-statistics/\" target=\"_blank"
"\">WP-Statistics</a>" "\">WP-Statistics</a>"
msgstr "" msgstr ""
#: functions.php:537 #: functions.php:539
msgid "This guy is so lazy ╮(╯▽╰)╭" msgid "This guy is so lazy ╮(╯▽╰)╭"
msgstr "" msgstr ""
#: functions.php:1258 #: functions.php:1260
msgid "All expand/collapse" msgid "All expand/collapse"
msgstr "" msgstr ""
#: functions.php:1273 #: functions.php:1271 options.php:840
msgid " "
msgstr ""
#: functions.php:1275
msgid " post(s)" msgid " post(s)"
msgstr "" msgstr ""
#: functions.php:1295 functions.php:1298 inc/theme_plus.php:479 #: functions.php:1297 functions.php:1300 inc/theme_plus.php:479
msgid "Dashboard" msgid "Dashboard"
msgstr "" msgstr ""
#: functions.php:1511 #: functions.php:1513
msgid "<b>ERROR</b>: This email domain (<b>@" msgid "<b>ERROR</b>: This email domain (<b>@"
msgstr "" msgstr ""
#: functions.php:1591 #: functions.php:1593
msgid "QQ" msgid "QQ"
msgstr "" msgstr ""
#: functions.php:1649
msgid "Sidebar"
msgstr ""
#: header.php:35 #: header.php:35
#, php-format #, php-format
msgid "page %s " msgid "page %s "
msgstr "" msgstr ""
#: inc/api.php:241 inc/theme_plus.php:728 #: inc/api.php:253 inc/theme_plus.php:728
msgid "The comment is private" msgid "The comment is private"
msgstr "" msgstr ""
@ -885,7 +897,7 @@ msgstr ""
msgid "Whether to turn on the top-feature" msgid "Whether to turn on the top-feature"
msgstr "" msgstr ""
#: options.php:443 options.php:1084 #: options.php:443 options.php:1091
msgid "Default on" msgid "Default on"
msgstr "" msgstr ""
@ -971,7 +983,6 @@ msgstr ""
msgid "Post style" msgid "Post style"
msgstr "" msgstr ""
#. Theme Name of the plugin/theme
#: options.php:562 #: options.php:562
msgid "Sakura" msgid "Sakura"
msgstr "" msgstr ""
@ -1362,131 +1373,135 @@ msgstr ""
msgid "Enable NProgress progress bar" msgid "Enable NProgress progress bar"
msgstr "" msgstr ""
#: options.php:953 options.php:960 #: options.php:953 options.php:960 options.php:967
msgid "Default off, check on" msgid "Default off, check on"
msgstr "" msgstr ""
#: options.php:959 #: options.php:959
msgid "Enable Announcement" msgid "Enable sidebar widget"
msgstr "" msgstr ""
#: options.php:966 #: options.php:966
msgid "Enable Announcement"
msgstr ""
#: options.php:973
msgid "Announcement content" msgid "Announcement content"
msgstr "" msgstr ""
#: options.php:967 #: options.php:974
msgid "" msgid ""
"Announcement content, the text exceeds 142 bytes will be scrolled display (mobile device is " "Announcement content, the text exceeds 142 bytes will be scrolled display (mobile device is "
"invalid)" "invalid)"
msgstr "" msgstr ""
#: options.php:973 #: options.php:980
msgid "The categories of articles that don\\t not show on homepage" msgid "The categories of articles that don\\t not show on homepage"
msgstr "" msgstr ""
#: options.php:974 options.php:981 #: options.php:981 options.php:988
msgid "Fill in category ID, multiple IDs are divided by a comma \",\"" msgid "Fill in category ID, multiple IDs are divided by a comma \",\""
msgstr "" msgstr ""
#: options.php:980 #: options.php:987
msgid "Images category" msgid "Images category"
msgstr "" msgstr ""
#: options.php:987 #: options.php:994
msgid "Statistics Interface" msgid "Statistics Interface"
msgstr "" msgstr ""
#: options.php:992 #: options.php:999
msgid "WP-Statistics plugin (Professional statistics, can exclude invalid access)" msgid "WP-Statistics plugin (Professional statistics, can exclude invalid access)"
msgstr "" msgstr ""
#: options.php:993 #: options.php:1000
msgid "Theme built-in (simple statistics, calculate each page access request)" msgid "Theme built-in (simple statistics, calculate each page access request)"
msgstr "" msgstr ""
#: options.php:997 #: options.php:1004
msgid "Statistical data display format" msgid "Statistical data display format"
msgstr "" msgstr ""
#: options.php:1002 #: options.php:1009
msgid "23333 Views (default)" msgid "23333 Views (default)"
msgstr "" msgstr ""
#: options.php:1003 #: options.php:1010
msgid "23,333 Views (britain)" msgid "23,333 Views (britain)"
msgstr "" msgstr ""
#: options.php:1004 #: options.php:1011
msgid "23 333 Views (french)" msgid "23 333 Views (french)"
msgstr "" msgstr ""
#: options.php:1005 #: options.php:1012
msgid "23k Views (chinese)" msgid "23k Views (chinese)"
msgstr "" msgstr ""
#: options.php:1009 #: options.php:1016
msgid "Comment image upload API" msgid "Comment image upload API"
msgstr "" msgstr ""
#: options.php:1014 #: options.php:1021
msgid "Imgur (https://imgur.com)" msgid "Imgur (https://imgur.com)"
msgstr "" msgstr ""
#: options.php:1015 #: options.php:1022
msgid "SM.MS (https://sm.ms)" msgid "SM.MS (https://sm.ms)"
msgstr "" msgstr ""
#: options.php:1016 #: options.php:1023
msgid "Chevereto (https://chevereto.com)" msgid "Chevereto (https://chevereto.com)"
msgstr "" msgstr ""
#: options.php:1020 #: options.php:1027
msgid "Imgur Client ID" msgid "Imgur Client ID"
msgstr "" msgstr ""
#: options.php:1021 #: options.php:1028
msgid "" msgid ""
"Register your application <a href=\"https://api.imgur.com/oauth2/addclient\">here</a>, note we " "Register your application <a href=\"https://api.imgur.com/oauth2/addclient\">here</a>, note we "
"only need the Client ID here." "only need the Client ID here."
msgstr "" msgstr ""
#: options.php:1027 #: options.php:1034
msgid "SM.MS Secret Token" msgid "SM.MS Secret Token"
msgstr "" msgstr ""
#: options.php:1028 #: options.php:1035
msgid "Register your application <a href=\"https://sm.ms/home/apitoken\">here</a>." msgid "Register your application <a href=\"https://sm.ms/home/apitoken\">here</a>."
msgstr "" msgstr ""
#: options.php:1034 #: options.php:1041
msgid "Chevereto API v1 key" msgid "Chevereto API v1 key"
msgstr "" msgstr ""
#: options.php:1035 #: options.php:1042
msgid "Get your API key here " msgid "Get your API key here "
msgstr "" msgstr ""
#: options.php:1041 #: options.php:1048
msgid "Chevereto URL" msgid "Chevereto URL"
msgstr "" msgstr ""
#: options.php:1042 #: options.php:1049
msgid "Your Chevereto homepage url, no slash in the end, eg. https://your.cherverto.com" msgid "Your Chevereto homepage url, no slash in the end, eg. https://your.cherverto.com"
msgstr "" msgstr ""
#: options.php:1048 #: options.php:1055
msgid "Comment images proxy" msgid "Comment images proxy"
msgstr "" msgstr ""
#: options.php:1049 #: options.php:1056
msgid "A front-ed proxy for the uploaded images. Leave it blank if you do not need." msgid "A front-ed proxy for the uploaded images. Leave it blank if you do not need."
msgstr "" msgstr ""
#: options.php:1055 #: options.php:1062
msgid "Imgur upload proxy" msgid "Imgur upload proxy"
msgstr "" msgstr ""
#: options.php:1056 #: options.php:1063
msgid "" msgid ""
"A back-ed proxy to upload images. You may set a self hosted proxy with Nginx, following my <a " "A back-ed proxy to upload images. You may set a self hosted proxy with Nginx, following my <a "
"href=\"https://2heng.xin/2018/06/06/javascript-upload-images-with-imgur-api/\">turtal</a>. " "href=\"https://2heng.xin/2018/06/06/javascript-upload-images-with-imgur-api/\">turtal</a>. "
@ -1495,122 +1510,122 @@ msgid ""
"</a>】" "</a>】"
msgstr "" msgstr ""
#: options.php:1062 #: options.php:1069
msgid "Enable live search" msgid "Enable live search"
msgstr "" msgstr ""
#: options.php:1063 #: options.php:1070
msgid "" msgid ""
"Real-time search in the foreground, call the Rest API to update the cache every hour, you can " "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" "manually set the cache time in functions.php"
msgstr "" msgstr ""
#: options.php:1069 #: options.php:1076
msgid "Include comments in live search" msgid "Include comments in live search"
msgstr "" msgstr ""
#: options.php:1070 #: options.php:1077
msgid "" msgid ""
"Search for comments in real-time search (not recommended if there are too many comments on the " "Search for comments in real-time search (not recommended if there are too many comments on the "
"site)" "site)"
msgstr "" msgstr ""
#: options.php:1076 #: options.php:1083
msgid "Enable baguetteBox" msgid "Enable baguetteBox"
msgstr "" msgstr ""
#: options.php:1077 #: options.php:1084
msgid "" 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 "" msgstr ""
#: options.php:1083 #: options.php:1090
msgid "Enable lazyload in posts" msgid "Enable lazyload in posts"
msgstr "" msgstr ""
#: options.php:1090 #: options.php:1097
msgid "lazyload spinner" msgid "lazyload spinner"
msgstr "" msgstr ""
#: options.php:1091 #: options.php:1098
msgid "The placeholder to display when the image loads, fill in the image url" msgid "The placeholder to display when the image loads, fill in the image url"
msgstr "" msgstr ""
#: options.php:1097 #: options.php:1104
msgid "Whether to enable the clipboard copyright" msgid "Whether to enable the clipboard copyright"
msgstr "" msgstr ""
#: options.php:1098 #: options.php:1105
msgid "" msgid ""
"Automatically add a copyright to the clipboard when copying more than 30 bytes, which is " "Automatically add a copyright to the clipboard when copying more than 30 bytes, which is "
"enabled by default." "enabled by default."
msgstr "" msgstr ""
#: options.php:1104 #: options.php:1111
msgid "Email address prefix" msgid "Email address prefix"
msgstr "" msgstr ""
#: options.php:1105 #: options.php:1112
msgid "" msgid ""
"For sending system mail, the sender address displayed in the user's mailbox, do not use " "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" "Chinese, the default system email address is bibi@your_domain_name"
msgstr "" msgstr ""
#: options.php:1111 #: options.php:1118
msgid "Comments reply notification" msgid "Comments reply notification"
msgstr "" msgstr ""
#: options.php:1112 #: options.php:1119
msgid "" msgid ""
"WordPress will use email to notify users when their comments receive a reply by default. Tick " "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" "this item allows users to set their own comments reply notification"
msgstr "" msgstr ""
#: options.php:1118 #: options.php:1125
msgid "Administrator comment notification" msgid "Administrator comment notification"
msgstr "" msgstr ""
#: options.php:1119 #: options.php:1126
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 "" msgstr ""
#: options.php:1125 #: options.php:1132
msgid "Enable private comment" msgid "Enable private comment"
msgstr "" msgstr ""
#: options.php:1126 #: options.php:1133
msgid "Allow users to set their own comments to be invisible to others" msgid "Allow users to set their own comments to be invisible to others"
msgstr "" msgstr ""
#: options.php:1132 #: options.php:1139
msgid "Human verification" msgid "Human verification"
msgstr "" msgstr ""
#: options.php:1133 #: options.php:1140
msgid "Enable human verification" msgid "Enable human verification"
msgstr "" msgstr ""
#: options.php:1139 #: options.php:1146
msgid "Comment UA infomation" msgid "Comment UA infomation"
msgstr "" msgstr ""
#: options.php:1140 #: options.php:1147
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 "" msgstr ""
#: options.php:1146 #: options.php:1153
msgid "Enable disqus" msgid "Enable disqus"
msgstr "" msgstr ""
#: options.php:1147 #: options.php:1154
msgid "Enable disqus for comment" msgid "Enable disqus for comment"
msgstr "" msgstr ""
#: options.php:1153 #: options.php:1160
msgid "Time Zone adjustment" msgid "Time Zone adjustment"
msgstr "" msgstr ""
#: options.php:1154 #: options.php:1161
msgid "" msgid ""
"If the comment has a time difference problem adjust here, fill in an integer, the calculation " "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)" "method: actual_time = display_error_time - the_integer_you_entered (unit: hour)"
@ -1730,27 +1745,3 @@ msgstr ""
#: user/page-register.php:92 #: user/page-register.php:92
msgid "Registration is not open yet" msgid "Registration is not open yet"
msgstr "" msgstr ""
#. Theme URI of the plugin/theme
msgid "https://2heng.xin/theme-sakura/"
msgstr ""
#. Description of the plugin/theme
msgid "A branch of theme Akina"
msgstr ""
#. Author of the plugin/theme
msgid "Mashiro, Louie, Fuzzz"
msgstr ""
#. Author URI of the plugin/theme
msgid "http://2heng.xin"
msgstr ""
#. Template Name of the plugin/theme
msgid "archive"
msgstr ""
#. Template Name of the plugin/theme
msgid "links"
msgstr ""

Binary file not shown.

View File

@ -1,15 +1,15 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Sakura\n" "Project-Id-Version: Sakura\n"
"POT-Creation-Date: 2019-11-14 19:18+0800\n" "POT-Creation-Date: 2019-11-15 23:50+0800\n"
"PO-Revision-Date: 2019-11-14 19:31+0800\n" "PO-Revision-Date: 2019-11-15 23:50+0800\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
"Language: zh_CN\n" "Language: zh_CN\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=1; plural=0;\n" "Plural-Forms: nplurals=1; plural=0;\n"
"X-Poedit-Flags-xgettext: --add-comments=translators:\n" "X-Poedit-Flags-xgettext: --add-comments=translators:\n"
@ -38,7 +38,7 @@ msgstr "返回首页"
msgid "Don't worry, search in site?" msgid "Don't worry, search in site?"
msgstr "别着急,试试站内检索?" msgstr "别着急,试试站内检索?"
#: 404.php:53 footer.php:62 search.php:42 #: 404.php:53 footer.php:71 search.php:42
msgid "Search..." msgid "Search..."
msgstr "搜索..." msgstr "搜索..."
@ -130,11 +130,15 @@ msgstr "禁止小广告😀"
msgid "Site" msgid "Site"
msgstr "网站" msgstr "网站"
#: footer.php:75 footer.php:83 #: footer.php:45
msgid "Want to find something" msgid "Widget"
msgstr "小工具"
#: footer.php:84 footer.php:92
msgid "Want to find something?"
msgstr "想要找点什么呢?" msgstr "想要找点什么呢?"
#: footer.php:85 #: footer.php:94
msgid "Search" msgid "Search"
msgstr "搜索" msgstr "搜索"
@ -142,36 +146,36 @@ msgstr "搜索"
msgid "Nav Menus" msgid "Nav Menus"
msgstr "导航菜单" msgstr "导航菜单"
#: functions.php:388 inc/theme_plus.php:187 layouts/authorprofile.php:11 #: functions.php:390 inc/theme_plus.php:187 layouts/authorprofile.php:11
#: options.php:123 #: options.php:123
msgid "Author" msgid "Author"
msgstr "作者" msgstr "作者"
#: functions.php:388 #: functions.php:390
msgid "Blogger" msgid "Blogger"
msgstr "博主" msgstr "博主"
#: functions.php:392 #: functions.php:394
msgid "Location" msgid "Location"
msgstr "来自" msgstr "来自"
#: functions.php:396 #: functions.php:398
msgid "Private" msgid "Private"
msgstr "私密" msgstr "私密"
#: functions.php:398 #: functions.php:400
msgid "Yes" msgid "Yes"
msgstr "是" msgstr "是"
#: functions.php:400 #: functions.php:402
msgid "No" msgid "No"
msgstr "否" msgstr "否"
#: functions.php:403 #: functions.php:405
msgid "Edit" msgid "Edit"
msgstr "编辑" msgstr "编辑"
#: functions.php:484 #: functions.php:486
msgid "" msgid ""
"Please install pulgin <a href=\"https://wordpress.org/plugins/wp-statistics/" "Please install pulgin <a href=\"https://wordpress.org/plugins/wp-statistics/"
"\" target=\"_blank\">WP-Statistics</a>" "\" target=\"_blank\">WP-Statistics</a>"
@ -179,36 +183,44 @@ msgstr ""
"请安装插件 <a href=\"https://wordpress.org/plugins/wp-statistics/\" target=" "请安装插件 <a href=\"https://wordpress.org/plugins/wp-statistics/\" target="
"\"_blank\">WP-Statistics</a>" "\"_blank\">WP-Statistics</a>"
#: functions.php:537 #: functions.php:539
msgid "This guy is so lazy ╮(╯▽╰)╭" msgid "This guy is so lazy ╮(╯▽╰)╭"
msgstr "这家伙好懒╮(╯▽╰)╭" msgstr "这家伙好懒╮(╯▽╰)╭"
#: functions.php:1258 #: functions.php:1260
msgid "All expand/collapse" msgid "All expand/collapse"
msgstr "全部展开/收缩" msgstr "全部展开/收缩"
#: functions.php:1273 #: functions.php:1271 options.php:840
msgid " "
msgstr ""
#: functions.php:1275
msgid " post(s)" msgid " post(s)"
msgstr " 篇文章" msgstr " 篇文章"
#: functions.php:1295 functions.php:1298 inc/theme_plus.php:479 #: functions.php:1297 functions.php:1300 inc/theme_plus.php:479
msgid "Dashboard" msgid "Dashboard"
msgstr "管理中心" msgstr "管理中心"
#: functions.php:1511 #: functions.php:1513
msgid "<b>ERROR</b>: This email domain (<b>@" msgid "<b>ERROR</b>: This email domain (<b>@"
msgstr "" msgstr ""
#: functions.php:1591 #: functions.php:1593
msgid "QQ" msgid "QQ"
msgstr "" msgstr ""
#: functions.php:1649
msgid "Sidebar"
msgstr "侧栏"
#: header.php:35 #: header.php:35
#, php-format #, php-format
msgid "page %s " msgid "page %s "
msgstr "第 %s 页 " msgstr "第 %s 页 "
#: inc/api.php:241 inc/theme_plus.php:728 #: inc/api.php:253 inc/theme_plus.php:728
msgid "The comment is private" msgid "The comment is private"
msgstr "该评论为私密评论" msgstr "该评论为私密评论"
@ -905,7 +917,7 @@ msgstr "点点"
msgid "Whether to turn on the top-feature" msgid "Whether to turn on the top-feature"
msgstr "是否开启聚焦" msgstr "是否开启聚焦"
#: options.php:443 options.php:1084 #: options.php:443 options.php:1091
msgid "Default on" msgid "Default on"
msgstr "默认开启" msgstr "默认开启"
@ -991,7 +1003,6 @@ msgstr "文章页"
msgid "Post style" msgid "Post style"
msgstr "文章样式" msgstr "文章样式"
#. Theme Name of the plugin/theme
#: options.php:562 #: options.php:562
msgid "Sakura" msgid "Sakura"
msgstr "默认样式" msgstr "默认样式"
@ -1408,19 +1419,23 @@ msgstr "原理与Ajax相同"
msgid "Enable NProgress progress bar" msgid "Enable NProgress progress bar"
msgstr "开启NProgress加载进度条" msgstr "开启NProgress加载进度条"
#: options.php:953 options.php:960 #: options.php:953 options.php:960 options.php:967
msgid "Default off, check on" msgid "Default off, check on"
msgstr "默认不开启,勾选开启" msgstr "默认不开启,勾选开启"
#: options.php:959 #: options.php:959
msgid "Enable sidebar widget"
msgstr "支持侧栏小部件"
#: options.php:966
msgid "Enable Announcement" msgid "Enable Announcement"
msgstr "开启公告" msgstr "开启公告"
#: options.php:966 #: options.php:973
msgid "Announcement content" msgid "Announcement content"
msgstr "公告内容" msgstr "公告内容"
#: options.php:967 #: options.php:974
msgid "" msgid ""
"Announcement content, the text exceeds 142 bytes will be scrolled display " "Announcement content, the text exceeds 142 bytes will be scrolled display "
"(mobile device is invalid)" "(mobile device is invalid)"
@ -1428,72 +1443,72 @@ msgstr ""
"公告内容文字超出142个字节将会被滚动显示移动端无效一个汉字 = 3字节一" "公告内容文字超出142个字节将会被滚动显示移动端无效一个汉字 = 3字节一"
"个字母 = 1字节自己计算吧" "个字母 = 1字节自己计算吧"
#: options.php:973 #: options.php:980
msgid "The categories of articles that don\\t not show on homepage" msgid "The categories of articles that don\\t not show on homepage"
msgstr "首页不显示的分类文章" msgstr "首页不显示的分类文章"
#: options.php:974 options.php:981 #: options.php:981 options.php:988
msgid "Fill in category ID, multiple IDs are divided by a comma \",\"" msgid "Fill in category ID, multiple IDs are divided by a comma \",\""
msgstr "填写分类ID多个用英文“ , ”分开" msgstr "填写分类ID多个用英文“ , ”分开"
#: options.php:980 #: options.php:987
msgid "Images category" msgid "Images category"
msgstr "图片展示分类" msgstr "图片展示分类"
#: options.php:987 #: options.php:994
msgid "Statistics Interface" msgid "Statistics Interface"
msgstr "统计接口" msgstr "统计接口"
#: options.php:992 #: options.php:999
msgid "" msgid ""
"WP-Statistics plugin (Professional statistics, can exclude invalid access)" "WP-Statistics plugin (Professional statistics, can exclude invalid access)"
msgstr "WP-Statistics 插件(专业性统计,可排除无效访问)" msgstr "WP-Statistics 插件(专业性统计,可排除无效访问)"
#: options.php:993 #: options.php:1000
msgid "Theme built-in (simple statistics, calculate each page access request)" msgid "Theme built-in (simple statistics, calculate each page access request)"
msgstr "主题内建(简单的统计,计算每一次页面访问请求)" msgstr "主题内建(简单的统计,计算每一次页面访问请求)"
#: options.php:997 #: options.php:1004
msgid "Statistical data display format" msgid "Statistical data display format"
msgstr "统计数据显示格式" msgstr "统计数据显示格式"
#: options.php:1002 #: options.php:1009
msgid "23333 Views (default)" msgid "23333 Views (default)"
msgstr "23333 次访问(默认)" msgstr "23333 次访问(默认)"
#: options.php:1003 #: options.php:1010
msgid "23,333 Views (britain)" msgid "23,333 Views (britain)"
msgstr "23,333 次访问(英式)" msgstr "23,333 次访问(英式)"
#: options.php:1004 #: options.php:1011
msgid "23 333 Views (french)" msgid "23 333 Views (french)"
msgstr "23 333 次访问(法式)" msgstr "23 333 次访问(法式)"
#: options.php:1005 #: options.php:1012
msgid "23k Views (chinese)" msgid "23k Views (chinese)"
msgstr "23k 次访问(中式)" msgstr "23k 次访问(中式)"
#: options.php:1009 #: options.php:1016
msgid "Comment image upload API" msgid "Comment image upload API"
msgstr "评论上传图片接口" msgstr "评论上传图片接口"
#: options.php:1014 #: options.php:1021
msgid "Imgur (https://imgur.com)" msgid "Imgur (https://imgur.com)"
msgstr "" msgstr ""
#: options.php:1015 #: options.php:1022
msgid "SM.MS (https://sm.ms)" msgid "SM.MS (https://sm.ms)"
msgstr "" msgstr ""
#: options.php:1016 #: options.php:1023
msgid "Chevereto (https://chevereto.com)" msgid "Chevereto (https://chevereto.com)"
msgstr "" msgstr ""
#: options.php:1020 #: options.php:1027
msgid "Imgur Client ID" msgid "Imgur Client ID"
msgstr "" msgstr ""
#: options.php:1021 #: options.php:1028
msgid "" msgid ""
"Register your application <a href=\"https://api.imgur.com/oauth2/addclient" "Register your application <a href=\"https://api.imgur.com/oauth2/addclient"
"\">here</a>, note we only need the Client ID here." "\">here</a>, note we only need the Client ID here."
@ -1501,48 +1516,48 @@ msgstr ""
"在<a href=\"https://api.imgur.com/oauth2/addclient\">这里</a>注册你的 " "在<a href=\"https://api.imgur.com/oauth2/addclient\">这里</a>注册你的 "
"application , 注意此处只需要填写 Client ID." "application , 注意此处只需要填写 Client ID."
#: options.php:1027 #: options.php:1034
msgid "SM.MS Secret Token" msgid "SM.MS Secret Token"
msgstr "" msgstr ""
#: options.php:1028 #: options.php:1035
msgid "" msgid ""
"Register your application <a href=\"https://sm.ms/home/apitoken\">here</a>." "Register your application <a href=\"https://sm.ms/home/apitoken\">here</a>."
msgstr "在<a href=\"https://sm.ms/home/apitoken\">这里</a>获取 key." msgstr "在<a href=\"https://sm.ms/home/apitoken\">这里</a>获取 key."
#: options.php:1034 #: options.php:1041
msgid "Chevereto API v1 key" msgid "Chevereto API v1 key"
msgstr "" msgstr ""
#: options.php:1035 #: options.php:1042
msgid "Get your API key here " msgid "Get your API key here "
msgstr "在这里获取你的 API key" msgstr "在这里获取你的 API key"
#: options.php:1041 #: options.php:1048
msgid "Chevereto URL" msgid "Chevereto URL"
msgstr "" msgstr ""
#: options.php:1042 #: options.php:1049
msgid "" msgid ""
"Your Chevereto homepage url, no slash in the end, eg. https://your.cherverto." "Your Chevereto homepage url, no slash in the end, eg. https://your.cherverto."
"com" "com"
msgstr "" msgstr ""
"你的 Chevereto 首页 url, 注意结尾没有 /, 例如https://your.cherverto.com" "你的 Chevereto 首页 url, 注意结尾没有 /, 例如https://your.cherverto.com"
#: options.php:1048 #: options.php:1055
msgid "Comment images proxy" msgid "Comment images proxy"
msgstr "评论图片代理" msgstr "评论图片代理"
#: options.php:1049 #: options.php:1056
msgid "" msgid ""
"A front-ed proxy for the uploaded images. Leave it blank if you do not need." "A front-ed proxy for the uploaded images. Leave it blank if you do not need."
msgstr "前端显示的图片的代理" msgstr "前端显示的图片的代理"
#: options.php:1055 #: options.php:1062
msgid "Imgur upload proxy" msgid "Imgur upload proxy"
msgstr "Imgur 上传代理" msgstr "Imgur 上传代理"
#: options.php:1056 #: options.php:1063
msgid "" msgid ""
"A back-ed proxy to upload images. You may set a self hosted proxy with " "A back-ed proxy to upload images. You may set a self hosted proxy with "
"Nginx, following my <a href=\"https://2heng.xin/2018/06/06/javascript-upload-" "Nginx, following my <a href=\"https://2heng.xin/2018/06/06/javascript-upload-"
@ -1557,11 +1572,11 @@ msgstr ""
"端显示都需要代理!如果服务器在国外不需要上传代理,此处填写默认值即可:【<a " "端显示都需要代理!如果服务器在国外不需要上传代理,此处填写默认值即可:【<a "
"href=\"https://api.imgur.com/3/image/\">https://api.imgur.com/3/image/</a>】" "href=\"https://api.imgur.com/3/image/\">https://api.imgur.com/3/image/</a>】"
#: options.php:1062 #: options.php:1069
msgid "Enable live search" msgid "Enable live search"
msgstr "启用实时搜索" msgstr "启用实时搜索"
#: options.php:1063 #: options.php:1070
msgid "" msgid ""
"Real-time search in the foreground, call the Rest API to update the cache " "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" "every hour, you can manually set the cache time in functions.php"
@ -1569,21 +1584,21 @@ msgstr ""
"前台实现实时搜索,调用 Rest API 每小时更新一次缓存,可在 functions.php 里手动" "前台实现实时搜索,调用 Rest API 每小时更新一次缓存,可在 functions.php 里手动"
"设置缓存时间" "设置缓存时间"
#: options.php:1069 #: options.php:1076
msgid "Include comments in live search" msgid "Include comments in live search"
msgstr "实时搜索包含评论" msgstr "实时搜索包含评论"
#: options.php:1070 #: options.php:1077
msgid "" msgid ""
"Search for comments in real-time search (not recommended if there are too " "Search for comments in real-time search (not recommended if there are too "
"many comments on the site)" "many comments on the site)"
msgstr "在实时搜索中搜索评论(如果网站评论数量太多不建议开启)" msgstr "在实时搜索中搜索评论(如果网站评论数量太多不建议开启)"
#: options.php:1076 #: options.php:1083
msgid "Enable baguetteBox" msgid "Enable baguetteBox"
msgstr "启用 baguetteBox" msgstr "启用 baguetteBox"
#: options.php:1077 #: options.php:1084
msgid "" msgid ""
"Default off<a href=\"https://github.com/mashirozx/Sakura/wiki/Fancybox" "Default off<a href=\"https://github.com/mashirozx/Sakura/wiki/Fancybox"
"\">please read wiki</a>" "\">please read wiki</a>"
@ -1591,33 +1606,33 @@ msgstr ""
"默认禁用,<a href=\"https://github.com/mashirozx/Sakura/wiki/Fancybox\">请阅" "默认禁用,<a href=\"https://github.com/mashirozx/Sakura/wiki/Fancybox\">请阅"
"读说明</a>" "读说明</a>"
#: options.php:1083 #: options.php:1090
msgid "Enable lazyload in posts" msgid "Enable lazyload in posts"
msgstr "文章内图片启用 lazyload" msgstr "文章内图片启用 lazyload"
#: options.php:1090 #: options.php:1097
msgid "lazyload spinner" msgid "lazyload spinner"
msgstr "lazyload 占位图" msgstr "lazyload 占位图"
#: options.php:1091 #: options.php:1098
msgid "The placeholder to display when the image loads, fill in the image url" msgid "The placeholder to display when the image loads, fill in the image url"
msgstr "图片加载时要显示的占位图,填写图片 url" msgstr "图片加载时要显示的占位图,填写图片 url"
#: options.php:1097 #: options.php:1104
msgid "Whether to enable the clipboard copyright" msgid "Whether to enable the clipboard copyright"
msgstr "是否开启剪贴板版权标识" msgstr "是否开启剪贴板版权标识"
#: options.php:1098 #: options.php:1105
msgid "" msgid ""
"Automatically add a copyright to the clipboard when copying more than 30 " "Automatically add a copyright to the clipboard when copying more than 30 "
"bytes, which is enabled by default." "bytes, which is enabled by default."
msgstr "复制超过30个字节时自动向剪贴板添加版权标识默认开启。" msgstr "复制超过30个字节时自动向剪贴板添加版权标识默认开启。"
#: options.php:1104 #: options.php:1111
msgid "Email address prefix" msgid "Email address prefix"
msgstr "发件地址前缀" msgstr "发件地址前缀"
#: options.php:1105 #: options.php:1112
msgid "" msgid ""
"For sending system mail, the sender address displayed in the user's mailbox, " "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" "do not use Chinese, the default system email address is bibi@your_domain_name"
@ -1625,11 +1640,11 @@ msgstr ""
"用于发送系统邮件,在用户的邮箱中显示的发件人地址,不要使用中文,默认系统邮件" "用于发送系统邮件,在用户的邮箱中显示的发件人地址,不要使用中文,默认系统邮件"
"地址为 bibi@你的域名" "地址为 bibi@你的域名"
#: options.php:1111 #: options.php:1118
msgid "Comments reply notification" msgid "Comments reply notification"
msgstr "邮件回复通知" msgstr "邮件回复通知"
#: options.php:1112 #: options.php:1119
msgid "" msgid ""
"WordPress will use email to notify users when their comments receive a reply " "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 " "by default. Tick this item allows users to set their own comments reply "
@ -1638,54 +1653,54 @@ msgstr ""
"WordPress默认会使用邮件通知用户评论收到回复开启此项允许用户设置自己的评论收" "WordPress默认会使用邮件通知用户评论收到回复开启此项允许用户设置自己的评论收"
"到回复时是否使用邮件通知" "到回复时是否使用邮件通知"
#: options.php:1118 #: options.php:1125
msgid "Administrator comment notification" msgid "Administrator comment notification"
msgstr "邮件回复通知管理员" msgstr "邮件回复通知管理员"
#: options.php:1119 #: options.php:1126
msgid "" msgid ""
"Whether to use email notification when the administrator's comments receive " "Whether to use email notification when the administrator's comments receive "
"a reply" "a reply"
msgstr "当管理员评论收到回复时是否使用邮件通知" msgstr "当管理员评论收到回复时是否使用邮件通知"
#: options.php:1125 #: options.php:1132
msgid "Enable private comment" msgid "Enable private comment"
msgstr "允许私密评论" msgstr "允许私密评论"
#: options.php:1126 #: options.php:1133
msgid "Allow users to set their own comments to be invisible to others" msgid "Allow users to set their own comments to be invisible to others"
msgstr "允许用户设置自己的评论对其他人不可见" msgstr "允许用户设置自己的评论对其他人不可见"
#: options.php:1132 #: options.php:1139
msgid "Human verification" msgid "Human verification"
msgstr "机器人验证" msgstr "机器人验证"
#: options.php:1133 #: options.php:1140
msgid "Enable human verification" msgid "Enable human verification"
msgstr "开启机器人验证" msgstr "开启机器人验证"
#: options.php:1139 #: options.php:1146
msgid "Comment UA infomation" msgid "Comment UA infomation"
msgstr "评论UA信息" msgstr "评论UA信息"
#: options.php:1140 #: options.php:1147
msgid "" msgid ""
"Check to enable, display the user's browser, operating system information" "Check to enable, display the user's browser, operating system information"
msgstr "勾选开启,显示用户的浏览器,操作系统信息" msgstr "勾选开启,显示用户的浏览器,操作系统信息"
#: options.php:1146 #: options.php:1153
msgid "Enable disqus" msgid "Enable disqus"
msgstr "开启多说插件支持" msgstr "开启多说插件支持"
#: options.php:1147 #: options.php:1154
msgid "Enable disqus for comment" msgid "Enable disqus for comment"
msgstr "多说已经凉了~~" msgstr "多说已经凉了~~"
#: options.php:1153 #: options.php:1160
msgid "Time Zone adjustment" msgid "Time Zone adjustment"
msgstr "时区调整" msgstr "时区调整"
#: options.php:1154 #: options.php:1161
msgid "" msgid ""
"If the comment has a time difference problem adjust here, fill in an " "If the comment has a time difference problem adjust here, fill in an "
"integer, the calculation method: actual_time = display_error_time - " "integer, the calculation method: actual_time = display_error_time - "
@ -1813,29 +1828,8 @@ msgstr "注 册"
msgid "Registration is not open yet" msgid "Registration is not open yet"
msgstr "暂未开放注册。 " msgstr "暂未开放注册。 "
#. Theme URI of the plugin/theme #~ msgid "A branch of theme Akina"
msgid "https://2heng.xin/theme-sakura/" #~ msgstr "Akina主题分支原版地址 http://www.akina.pw/themeakina"
msgstr ""
#. Description of the plugin/theme
msgid "A branch of theme Akina"
msgstr "Akina主题分支原版地址 http://www.akina.pw/themeakina"
#. Author of the plugin/theme
msgid "Mashiro, Louie, Fuzzz"
msgstr ""
#. Author URI of the plugin/theme
msgid "http://2heng.xin"
msgstr ""
#. Template Name of the plugin/theme
msgid "archive"
msgstr ""
#. Template Name of the plugin/theme
msgid "links"
msgstr ""
#, php-format #, php-format
#~ msgid "第 %s 页" #~ msgid "第 %s 页"

View File

@ -837,7 +837,7 @@ function optionsframework_options() {
$options[] = array( $options[] = array(
'name' => __('Login/registration related settings', 'sakura'),/*登陆/注册相关设定*/ 'name' => __('Login/registration related settings', 'sakura'),/*登陆/注册相关设定*/
'desc' => __('', 'sakura'), 'desc' => __(' ', 'space' , 'sakura'),
'id' => 'login_tip', 'id' => 'login_tip',
'std' => '', 'std' => '',
'type' => 'typography '); 'type' => 'typography ');
@ -955,6 +955,13 @@ function optionsframework_options() {
'std' => '0', 'std' => '0',
'type' => 'checkbox'); 'type' => 'checkbox');
$options[] = array(
'name' => __('Enable sidebar widget', 'sakura'),/*支持侧栏小部件*/
'desc' => __('Default off, check on', 'sakura'),/*默认不开启,勾选开启*/
'id' => 'sakura_widget',
'std' => '0',
'type' => 'checkbox');
$options[] = array( $options[] = array(
'name' => __('Enable Announcement', 'sakura'), 'name' => __('Enable Announcement', 'sakura'),
'desc' => __('Default off, check on', 'sakura'),/*默认不显示,勾选开启*/ 'desc' => __('Default off, check on', 'sakura'),/*默认不显示,勾选开启*/

View File

@ -7,7 +7,8 @@
* @package Akina * @package Akina
*/ */
if ( ! is_active_sidebar( 'sidebar-1' ) ) { //disable get_sidebar()
if ( is_active_sidebar( 'sakura_widget' ) ) {
return; return;
} }
?> ?>

View File

@ -8500,3 +8500,51 @@ h1[id*=toc-head]::before,h2[id*=toc-head]::before,h3[id*=toc-head]::before,h4[id
visibility:hidden visibility:hidden
} }
.widget-area {
position: fixed;
top: 88%;
bottom: 10%;
left: -400px;
z-index: 3;
width: 400px;
webkit-transition: .3s;
transition: all .3s;
background-color: rgba(255,255,255,0.8);
box-shadow: 0 1px 20px -8px rgba(0,0,0,.5);
}
.widget-area.active{
top: 100px;
bottom: 80px;
left: -1px !important;
}
.widget-area .sakura_widget{
padding: 16px;
height: calc(100% - 30px);
overflow-y: auto;
}
.widget-area .heading{
color: #555;
font-size: 20px;
font-weight: 900;
text-align: center;
height: 30px;
background-color: #f5f5f5;
border-color: #ddd;
}
.widget-area .show_hide{
position: absolute;
right: -42px;
height: 30px;
background: #f5f5f5;
border-color: #ddd;
outline:none;
box-shadow: none;
border-left-width: 0;
}
.widget-area .show_hide .fa{
font-size: 20px;
}