'; //输出月份
}
$output .= '- '.''.get_the_time('d'.__("","sakura")) /*日*/.''. get_the_title() .' ('.get_post_views(get_the_ID()).' / '. get_comments_number('0', '1', '%') .' )
'; //输出文章日期和标题
endwhile;
diff --git a/inc/categories-images.php b/inc/categories-images.php
index 06e65cf..1a5a1fc 100644
--- a/inc/categories-images.php
+++ b/inc/categories-images.php
@@ -42,10 +42,10 @@ function z_add_texonomy_field() {
}
echo '
-
+
-
+
'.z_script();
}
@@ -63,10 +63,10 @@ function z_edit_texonomy_field($taxonomy) {
else
$image_url = z_taxonomy_image_url( $taxonomy->term_id, NULL, TRUE );
echo '
- |
+ |
-
-
+
+
|
'.z_script();
}
@@ -194,8 +194,8 @@ function z_quick_edit_custom_box($column_name, $screen, $name) {
-
-
+
+
点击这里开始.', 'akina' ), array( 'a' => array( 'href' => array() ) ) ), esc_url( admin_url( 'post-new.php' ) ) ); ?>
+Click here to start.', 'sakura' ), array( 'a' => array( 'href' => array() ) ) ), esc_url( admin_url( 'post-new.php' ) ) ); /*准备好发布你的第一篇文章了么? 点击这里开始.*/?>
- + diff --git a/tpl/content-page.php b/tpl/content-page.php index 0736a21..e340619 100644 --- a/tpl/content-page.php +++ b/tpl/content-page.php @@ -21,7 +21,7 @@ the_content(); wp_link_pages( array( - 'before' => '' . esc_html__( 'Pages:', 'akina' ),
+ 'before' => '' . __( 'Pages:', 'sakura' ),
'after' => ' ',
) );
?>
@@ -32,7 +32,7 @@
edit_post_link(
sprintf(
/* translators: %s: Name of current post */
- esc_html__( 'Edit %s', 'akina' ),
+ __( 'Edit %s', 'sakura' ),
the_title( '"', '"', false )
),
'',
diff --git a/tpl/content-single.php b/tpl/content-single.php
index 32da052..011db12 100644
--- a/tpl/content-single.php
+++ b/tpl/content-single.php
@@ -13,7 +13,7 @@
-
@@ -31,7 +31,7 @@
post_date_gmt)); ?> 次阅读
+post_date_gmt)); ?>
post_date_gmt)); ?> 次阅读
+post_date_gmt)); ?>
'; + $error .= ''.__("Error","sakura")./*错误*/':'.__("Please enter username.","sakura")./*请输入用户名。*/'
'; } elseif ( ! validate_username( $sanitized_user_login ) ) { - $error .= '错误:此用户名包含无效字符,请输入有效的用户名。
'; + $error .= ''.__("Error","sakura")./*错误*/':'.__("Invalid characters, please enter a valid username.","sakura")./*此用户名包含无效字符,请输入有效的用户名。*/'
'; $sanitized_user_login = ''; } elseif ( username_exists( $sanitized_user_login ) ) { - $error .= '错误:该用户名已被注册。
'; + $error .= ''.__("Error","sakura")./*错误*/':'.__("This username has been registered.","sakura")./*该用户名已被注册。*/'
'; } // Check the e-mail address if ( $user_email == '' ) { - $error .= '错误:请填写电子邮件地址。
'; + $error .= ''.__("Error","sakura")./*错误*/':'.__("Please enter email address.","sakura")./*请填写电子邮件地址。*/'
'; } elseif ( ! is_email( $user_email ) ) { - $error .= '错误:电子邮件地址不正确。
'; + $error .= ''.__("Error","sakura")./*错误*/':'.__("Invalid email address","sakura")./*电子邮件地址不正确。*/'
'; $user_email = ''; } elseif ( email_exists( $user_email ) ) { - $error .= '错误:该电子邮件地址已经被注册。
'; + $error .= ''.__("Error","sakura")./*错误*/':'.__("This email address has been registered.","sakura")./*该电子邮件地址已经被注册。*/'
'; } // Check the password if(strlen($_POST['user_pass']) < 6){ - $error .= '错误:密码长度至少6位。
'; + $error .= ''.__("Error","sakura")./*错误*/':'.__("Password length is at least 6 digits","sakura")./*密码长度至少6位。*/'
'; }elseif($_POST['user_pass'] != $_POST['user_pass2']){ - $error .= '错误:两次输入的密码不一致。
'; + $error .= ''.__("Error","sakura")./*错误*/':'.__("Inconsistent password entered twice","sakura")./*两次输入的密码不一致。*/'
'; } // verification if(akina_option('login_validate') && strlen($_POST['verification']) > 0 ){ - $error .= '错误:请拖动滑块验证身份
'; + $error .= ''.__("Error","sakura")./*错误*/':'.__("Please drag the slider to verify identity","sakura")./*请拖动滑块验证身份*/'
'; } if($error == '') { $user_id = wp_create_user( $sanitized_user_login, $_POST['user_pass'], $user_email ); if ( !$user_id ) { - $error .= sprintf( '错误:无法完成注册请求... 请联系管理员!
', get_option( 'admin_email' ) ); + $error .= ''.__("Error","sakura")./*错误*/':'.__("Unable to complete registration request...Please contact","sakura")./*无法完成注册请求... 请联系*/''.__("administrator","sakura")./*管理员*/'!
'; }else if (!is_user_logged_in()) { $user = get_userdatabylogin($sanitized_user_login); $user_id = $user->ID; @@ -73,14 +73,14 @@ if( !empty($_POST['register_reg']) ) {
暂未开放注册。