Skip to content

Commit

Permalink
完善翻译
Browse files Browse the repository at this point in the history
  • Loading branch information
KotoriK committed Nov 11, 2021
1 parent 51acdd6 commit b6723a2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,7 @@ function enable_more_buttons($buttons)
function download($atts, $content = null)
{
return '<a class="download" href="' . $content . '" rel="external"
target="_blank" title="下载地址">
target="_blank" title="'.__("Download Link","sakurairo").'">
<span><i class="iconfont down icon-pulldown"></i>Download</span></a>';
}
add_shortcode("download", "download");
Expand Down
8 changes: 4 additions & 4 deletions user/page-register.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@
<h3>New Account</h3>
</div>
<form action="<?php echo $_SERVER["REQUEST_URI"]; ?>" method="post">
<p><input type="text" name="user_login" tabindex="1" id="user_login" class="input" value="<?php if(!empty($sanitized_user_login)) echo $sanitized_user_login; ?>" placeholder="用户名" required /></p>
<p><input type="text" name="user_email" tabindex="2" id="user_email" class="input" value="<?php if(!empty($user_email)) echo $user_email; ?>" size="25" placeholder="电子邮箱" required /></p>
<p><input id="user_pwd1" class="input" tabindex="3" type="password" tabindex="21" size="25" value="" name="user_pass" placeholder="密码" required /></p>
<p><input id="user_pwd2" class="input" tabindex="4" type="password" tabindex="21" size="25" value="" name="user_pass2" placeholder="确认密码" required /></p>
<p><input type="text" name="user_login" tabindex="1" id="user_login" class="input" value="<?php if(!empty($sanitized_user_login)) echo $sanitized_user_login; ?>" placeholder="<?php _e("User Name",'sakurairo'); ?>" required /></p>
<p><input type="text" name="user_email" tabindex="2" id="user_email" class="input" value="<?php if(!empty($user_email)) echo $user_email; ?>" size="25" placeholder="<?php _e("Email Address","sakurairo");?>" required /></p>
<p><input id="user_pwd1" class="input" tabindex="3" type="password" tabindex="21" size="25" value="" name="user_pass" placeholder="<?php _e("Password","sakurairo");?>" required /></p>
<p><input id="user_pwd2" class="input" tabindex="4" type="password" tabindex="21" size="25" value="" name="user_pass2" placeholder="<?php _e("Confirm your password","sakurairo");?>" required /></p>
<input type="hidden" name="register_reg" value="ok" />
<?php if(!empty($error)) { echo '<p class="user-error">'.$error.'</p>'; } ?>
<input class="button register-button" name="submit" type="submit" value="<?php _e("Sign up","sakurairo")/*注 册*/?>">
Expand Down

0 comments on commit b6723a2

Please sign in to comment.