mirror of
https://github.com/mashirozx/sakura.git
synced 2024-12-12 09:54:35 +08:00
translate
This commit is contained in:
parent
c9a029d775
commit
23088bfc2b
@ -52,7 +52,7 @@ get_header(); ?>
|
||||
|
||||
</main><!-- #main -->
|
||||
<?php if ( akina_option('pagenav_style') == 'ajax') { ?>
|
||||
<div id="pagination" <?php if(akina_option('image_category') && is_category(explode(',',akina_option('image_category')))) echo 'class="pagination-archive"'; ?>><?php next_posts_link(__('Previous')); ?></div>
|
||||
<div id="pagination" <?php if(akina_option('image_category') && is_category(explode(',',akina_option('image_category')))) echo 'class="pagination-archive"'; ?>><?php next_posts_link(' Previous'); ?></div>
|
||||
<div id="add_post"><span id="add_post_time" style="visibility: hidden;" title="<?php echo akina_option('auto_load_post',''); ?>" ></span></div>
|
||||
<?php }else{ ?>
|
||||
<nav class="navigator">
|
||||
|
@ -73,7 +73,7 @@ get_header();
|
||||
|
||||
</main><!-- #main -->
|
||||
<?php if ( akina_option('pagenav_style') == 'ajax') { ?>
|
||||
<div id="pagination"><?php next_posts_link(__('Previous')); ?></div>
|
||||
<div id="pagination"><?php next_posts_link(' Previous'); ?></div>
|
||||
<div id="add_post"><span id="add_post_time" style="visibility: hidden;" title="<?php echo akina_option('auto_load_post',''); ?>" ></span></div>
|
||||
<?php }else{ ?>
|
||||
<nav class="navigator">
|
||||
|
@ -1649,12 +1649,12 @@ function markdown_parser($incoming_comment) {
|
||||
global $wpdb,$comment_markdown_content;
|
||||
$re = '/```([\s\S]*?)```[\s]*|`{1,2}[^`](.*?)`{1,2}|\[.*?\]\([\s\S]*?\)/m';
|
||||
if(preg_replace($re,'temp',$incoming_comment['comment_content']) != strip_tags(preg_replace($re,'temp',$incoming_comment['comment_content']))){
|
||||
siren_ajax_comment_err('评论只支持Markdown啦,见谅╮( ̄▽ ̄)╭<br>Markdown Supported while <i class="fa fa-code" aria-hidden="true"></i> Forbidden');
|
||||
return( $incoming_comment );
|
||||
siren_ajax_comment_err('评论只支持Markdown啦,见谅╮( ̄▽ ̄)╭<br>Markdown Supported while <i class="fa fa-code" aria-hidden="true"></i> Forbidden');
|
||||
return( $incoming_comment );
|
||||
}
|
||||
$myCustomer = $wpdb->get_row("SELECT * FROM wp_comments");
|
||||
//Add column if not present.
|
||||
if (!isset($myCustomer->say_state)) {
|
||||
if (!isset($myCustomer->comment_markdown)) {
|
||||
$wpdb->query("ALTER TABLE wp_comments ADD comment_markdown text");
|
||||
}
|
||||
$comment_markdown_content = $incoming_comment['comment_content'];
|
||||
|
@ -64,7 +64,7 @@ get_header();
|
||||
<?php else : get_template_part( 'tpl/content', 'none' ); endif; ?>
|
||||
</main><!-- #main -->
|
||||
<?php if ( akina_option('pagenav_style') == 'ajax') { ?>
|
||||
<div id="pagination"><?php next_posts_link('Previous'); ?></div>
|
||||
<div id="pagination"><?php next_posts_link(' Previous'); ?></div>
|
||||
<div id="add_post"><span id="add_post_time" style="visibility: hidden;" title="<?php echo akina_option('auto_load_post',''); ?>" ></span></div>
|
||||
<?php }else{ ?>
|
||||
<nav class="navigator">
|
||||
|
Binary file not shown.
@ -1,8 +1,8 @@
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Sakura\n"
|
||||
"POT-Creation-Date: 2019-11-16 10:08+0800\n"
|
||||
"PO-Revision-Date: 2019-11-16 10:11+0800\n"
|
||||
"POT-Creation-Date: 2019-11-17 21:32+0800\n"
|
||||
"PO-Revision-Date: 2019-11-17 21:32+0800\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"Language: en_US\n"
|
||||
@ -38,14 +38,10 @@ msgstr "Return to home page"
|
||||
msgid "Don't worry, search in site?"
|
||||
msgstr ""
|
||||
|
||||
#: 404.php:53 footer.php:73 search.php:42
|
||||
#: 404.php:53 footer.php:62 search.php:42
|
||||
msgid "Search..."
|
||||
msgstr "Search..."
|
||||
|
||||
#: archive.php:55 author.php:76
|
||||
msgid "Previous"
|
||||
msgstr "Previous"
|
||||
|
||||
#: comments.php:21
|
||||
msgid "view comments"
|
||||
msgstr "View comments"
|
||||
@ -130,86 +126,86 @@ msgstr ""
|
||||
msgid "Site"
|
||||
msgstr ""
|
||||
|
||||
#: footer.php:75 footer.php:83
|
||||
msgid "Want to find something?"
|
||||
msgstr ""
|
||||
|
||||
#: footer.php:85
|
||||
msgid "Search"
|
||||
msgstr ""
|
||||
|
||||
#: footer.php:144
|
||||
msgid "Widgets"
|
||||
msgstr ""
|
||||
|
||||
#: footer.php:86 footer.php:94
|
||||
msgid "Want to find something?"
|
||||
msgstr ""
|
||||
|
||||
#: footer.php:96
|
||||
msgid "Search"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:52
|
||||
#: functions.php:51
|
||||
msgid "Nav Menus"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:390 inc/theme_plus.php:187 layouts/authorprofile.php:11
|
||||
#: functions.php:389 inc/theme_plus.php:187 layouts/authorprofile.php:11
|
||||
#: options.php:123
|
||||
msgid "Author"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:390
|
||||
#: functions.php:389
|
||||
msgid "Blogger"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:394
|
||||
#: functions.php:393
|
||||
msgid "Location"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:398
|
||||
#: functions.php:397
|
||||
msgid "Private"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:400
|
||||
#: functions.php:399
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:402
|
||||
#: functions.php:401
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:405
|
||||
#: functions.php:404
|
||||
msgid "Edit"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:486
|
||||
#: functions.php:485
|
||||
msgid ""
|
||||
"Please install pulgin <a href=\"https://wordpress.org/plugins/wp-statistics/"
|
||||
"\" target=\"_blank\">WP-Statistics</a>"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:539
|
||||
#: functions.php:538
|
||||
msgid "This guy is so lazy ╮(╯▽╰)╭"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:1260
|
||||
#: functions.php:1248
|
||||
msgid "All expand/collapse"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:1271 options.php:840
|
||||
#: functions.php:1259 options.php:840
|
||||
msgid " "
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:1275
|
||||
#: functions.php:1263
|
||||
msgid " post(s)"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:1297 functions.php:1300 inc/theme_plus.php:479
|
||||
#: functions.php:1285 functions.php:1288 inc/theme_plus.php:479
|
||||
msgid "Dashboard"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:1513
|
||||
#: functions.php:1501
|
||||
msgid "<b>ERROR</b>: This email domain (<b>@"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:1593
|
||||
#: functions.php:1581
|
||||
msgid "QQ"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:1649
|
||||
#: functions.php:1637
|
||||
msgid "Sidebar"
|
||||
msgstr ""
|
||||
|
||||
@ -1501,7 +1497,7 @@ msgid "Chevereto API v1 key"
|
||||
msgstr ""
|
||||
|
||||
#: options.php:1042
|
||||
msgid "Get your API key here "
|
||||
msgid "Get your API key here: "
|
||||
msgstr ""
|
||||
|
||||
#: options.php:1048
|
||||
@ -1745,7 +1741,7 @@ msgid "Please enter email address."
|
||||
msgstr ""
|
||||
|
||||
#: user/page-register.php:26
|
||||
msgid "Invalid email address"
|
||||
msgid "Invalid email address."
|
||||
msgstr ""
|
||||
|
||||
#: user/page-register.php:29
|
||||
@ -1753,11 +1749,11 @@ msgid "This email address has been registered."
|
||||
msgstr ""
|
||||
|
||||
#: user/page-register.php:34
|
||||
msgid "Password length is at least 6 digits"
|
||||
msgid "Password length is at least 6 digits."
|
||||
msgstr ""
|
||||
|
||||
#: user/page-register.php:36
|
||||
msgid "Inconsistent password entered twice"
|
||||
msgid "Inconsistent password entered twice."
|
||||
msgstr ""
|
||||
|
||||
#: user/page-register.php:41
|
||||
@ -1781,9 +1777,12 @@ msgid "Sign up"
|
||||
msgstr ""
|
||||
|
||||
#: user/page-register.php:92
|
||||
msgid "Registration is not open yet"
|
||||
msgid "Registration is not open yet."
|
||||
msgstr ""
|
||||
|
||||
#~ msgid " Previous"
|
||||
#~ msgstr " Previous"
|
||||
|
||||
#, php-format
|
||||
#~ msgid "第 %s 页"
|
||||
#~ msgstr "Page %s"
|
||||
|
@ -3,7 +3,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
||||
"Project-Id-Version: Sakura\n"
|
||||
"POT-Creation-Date: 2019-11-16 10:11+0800\n"
|
||||
"POT-Creation-Date: 2019-11-17 21:32+0800\n"
|
||||
"PO-Revision-Date: 2019-11-01 14:27+0800\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
@ -38,14 +38,10 @@ msgstr ""
|
||||
msgid "Don't worry, search in site?"
|
||||
msgstr ""
|
||||
|
||||
#: 404.php:53 footer.php:73 search.php:42
|
||||
#: 404.php:53 footer.php:62 search.php:42
|
||||
msgid "Search..."
|
||||
msgstr ""
|
||||
|
||||
#: archive.php:55 author.php:76
|
||||
msgid "Previous"
|
||||
msgstr ""
|
||||
|
||||
#: comments.php:21
|
||||
msgid "view comments"
|
||||
msgstr ""
|
||||
@ -130,85 +126,85 @@ msgstr ""
|
||||
msgid "Site"
|
||||
msgstr ""
|
||||
|
||||
#: footer.php:75 footer.php:83
|
||||
msgid "Want to find something?"
|
||||
msgstr ""
|
||||
|
||||
#: footer.php:85
|
||||
msgid "Search"
|
||||
msgstr ""
|
||||
|
||||
#: footer.php:144
|
||||
msgid "Widgets"
|
||||
msgstr ""
|
||||
|
||||
#: footer.php:86 footer.php:94
|
||||
msgid "Want to find something?"
|
||||
msgstr ""
|
||||
|
||||
#: footer.php:96
|
||||
msgid "Search"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:52
|
||||
#: functions.php:51
|
||||
msgid "Nav Menus"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:390 inc/theme_plus.php:187 layouts/authorprofile.php:11 options.php:123
|
||||
#: functions.php:389 inc/theme_plus.php:187 layouts/authorprofile.php:11 options.php:123
|
||||
msgid "Author"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:390
|
||||
#: functions.php:389
|
||||
msgid "Blogger"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:394
|
||||
#: functions.php:393
|
||||
msgid "Location"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:398
|
||||
#: functions.php:397
|
||||
msgid "Private"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:400
|
||||
#: functions.php:399
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:402
|
||||
#: functions.php:401
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:405
|
||||
#: functions.php:404
|
||||
msgid "Edit"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:486
|
||||
#: functions.php:485
|
||||
msgid ""
|
||||
"Please install pulgin <a href=\"https://wordpress.org/plugins/wp-statistics/\" target=\"_blank"
|
||||
"\">WP-Statistics</a>"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:539
|
||||
#: functions.php:538
|
||||
msgid "This guy is so lazy ╮(╯▽╰)╭"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:1260
|
||||
#: functions.php:1248
|
||||
msgid "All expand/collapse"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:1271 options.php:840
|
||||
#: functions.php:1259 options.php:840
|
||||
msgid " "
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:1275
|
||||
#: functions.php:1263
|
||||
msgid " post(s)"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:1297 functions.php:1300 inc/theme_plus.php:479
|
||||
#: functions.php:1285 functions.php:1288 inc/theme_plus.php:479
|
||||
msgid "Dashboard"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:1513
|
||||
#: functions.php:1501
|
||||
msgid "<b>ERROR</b>: This email domain (<b>@"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:1593
|
||||
#: functions.php:1581
|
||||
msgid "QQ"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:1649
|
||||
#: functions.php:1637
|
||||
msgid "Sidebar"
|
||||
msgstr ""
|
||||
|
||||
@ -1478,7 +1474,7 @@ msgid "Chevereto API v1 key"
|
||||
msgstr ""
|
||||
|
||||
#: options.php:1042
|
||||
msgid "Get your API key here "
|
||||
msgid "Get your API key here: "
|
||||
msgstr ""
|
||||
|
||||
#: options.php:1048
|
||||
@ -1707,7 +1703,7 @@ msgid "Please enter email address."
|
||||
msgstr ""
|
||||
|
||||
#: user/page-register.php:26
|
||||
msgid "Invalid email address"
|
||||
msgid "Invalid email address."
|
||||
msgstr ""
|
||||
|
||||
#: user/page-register.php:29
|
||||
@ -1715,11 +1711,11 @@ msgid "This email address has been registered."
|
||||
msgstr ""
|
||||
|
||||
#: user/page-register.php:34
|
||||
msgid "Password length is at least 6 digits"
|
||||
msgid "Password length is at least 6 digits."
|
||||
msgstr ""
|
||||
|
||||
#: user/page-register.php:36
|
||||
msgid "Inconsistent password entered twice"
|
||||
msgid "Inconsistent password entered twice."
|
||||
msgstr ""
|
||||
|
||||
#: user/page-register.php:41
|
||||
@ -1743,5 +1739,5 @@ msgid "Sign up"
|
||||
msgstr ""
|
||||
|
||||
#: user/page-register.php:92
|
||||
msgid "Registration is not open yet"
|
||||
msgid "Registration is not open yet."
|
||||
msgstr ""
|
||||
|
Binary file not shown.
@ -1,8 +1,8 @@
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Sakura\n"
|
||||
"POT-Creation-Date: 2019-11-16 10:08+0800\n"
|
||||
"PO-Revision-Date: 2019-11-16 10:11+0800\n"
|
||||
"POT-Creation-Date: 2019-11-17 21:32+0800\n"
|
||||
"PO-Revision-Date: 2019-11-17 21:32+0800\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"Language: zh_CN\n"
|
||||
@ -38,14 +38,10 @@ msgstr "返回首页"
|
||||
msgid "Don't worry, search in site?"
|
||||
msgstr "别着急,试试站内检索?"
|
||||
|
||||
#: 404.php:53 footer.php:73 search.php:42
|
||||
#: 404.php:53 footer.php:62 search.php:42
|
||||
msgid "Search..."
|
||||
msgstr "搜索..."
|
||||
|
||||
#: archive.php:55 author.php:76
|
||||
msgid "Previous"
|
||||
msgstr "上一页"
|
||||
|
||||
#: comments.php:21
|
||||
msgid "view comments"
|
||||
msgstr "查看评论"
|
||||
@ -130,52 +126,52 @@ msgstr "禁止小广告😀"
|
||||
msgid "Site"
|
||||
msgstr "网站"
|
||||
|
||||
#: footer.php:75 footer.php:83
|
||||
msgid "Want to find something?"
|
||||
msgstr "想要找点什么呢?"
|
||||
|
||||
#: footer.php:85
|
||||
msgid "Search"
|
||||
msgstr "搜索"
|
||||
|
||||
#: footer.php:144
|
||||
msgid "Widgets"
|
||||
msgstr "小工具"
|
||||
|
||||
#: footer.php:86 footer.php:94
|
||||
msgid "Want to find something?"
|
||||
msgstr "想要找点什么呢?"
|
||||
|
||||
#: footer.php:96
|
||||
msgid "Search"
|
||||
msgstr "搜索"
|
||||
|
||||
#: functions.php:52
|
||||
#: functions.php:51
|
||||
msgid "Nav Menus"
|
||||
msgstr "导航菜单"
|
||||
|
||||
#: functions.php:390 inc/theme_plus.php:187 layouts/authorprofile.php:11
|
||||
#: functions.php:389 inc/theme_plus.php:187 layouts/authorprofile.php:11
|
||||
#: options.php:123
|
||||
msgid "Author"
|
||||
msgstr "作者"
|
||||
|
||||
#: functions.php:390
|
||||
#: functions.php:389
|
||||
msgid "Blogger"
|
||||
msgstr "博主"
|
||||
|
||||
#: functions.php:394
|
||||
#: functions.php:393
|
||||
msgid "Location"
|
||||
msgstr "来自"
|
||||
|
||||
#: functions.php:398
|
||||
#: functions.php:397
|
||||
msgid "Private"
|
||||
msgstr "私密"
|
||||
|
||||
#: functions.php:400
|
||||
#: functions.php:399
|
||||
msgid "Yes"
|
||||
msgstr "是"
|
||||
|
||||
#: functions.php:402
|
||||
#: functions.php:401
|
||||
msgid "No"
|
||||
msgstr "否"
|
||||
|
||||
#: functions.php:405
|
||||
#: functions.php:404
|
||||
msgid "Edit"
|
||||
msgstr "编辑"
|
||||
|
||||
#: functions.php:486
|
||||
#: functions.php:485
|
||||
msgid ""
|
||||
"Please install pulgin <a href=\"https://wordpress.org/plugins/wp-statistics/"
|
||||
"\" target=\"_blank\">WP-Statistics</a>"
|
||||
@ -183,35 +179,35 @@ msgstr ""
|
||||
"请安装插件 <a href=\"https://wordpress.org/plugins/wp-statistics/\" target="
|
||||
"\"_blank\">WP-Statistics</a>"
|
||||
|
||||
#: functions.php:539
|
||||
#: functions.php:538
|
||||
msgid "This guy is so lazy ╮(╯▽╰)╭"
|
||||
msgstr "这家伙好懒╮(╯▽╰)╭"
|
||||
|
||||
#: functions.php:1260
|
||||
#: functions.php:1248
|
||||
msgid "All expand/collapse"
|
||||
msgstr "全部展开/收缩"
|
||||
|
||||
#: functions.php:1271 options.php:840
|
||||
#: functions.php:1259 options.php:840
|
||||
msgid " "
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:1275
|
||||
#: functions.php:1263
|
||||
msgid " post(s)"
|
||||
msgstr " 篇文章"
|
||||
|
||||
#: functions.php:1297 functions.php:1300 inc/theme_plus.php:479
|
||||
#: functions.php:1285 functions.php:1288 inc/theme_plus.php:479
|
||||
msgid "Dashboard"
|
||||
msgstr "管理中心"
|
||||
|
||||
#: functions.php:1513
|
||||
#: functions.php:1501
|
||||
msgid "<b>ERROR</b>: This email domain (<b>@"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:1593
|
||||
#: functions.php:1581
|
||||
msgid "QQ"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:1649
|
||||
#: functions.php:1637
|
||||
msgid "Sidebar"
|
||||
msgstr "侧栏"
|
||||
|
||||
@ -1528,8 +1524,8 @@ msgid "Chevereto API v1 key"
|
||||
msgstr ""
|
||||
|
||||
#: options.php:1042
|
||||
msgid "Get your API key here "
|
||||
msgstr "在这里获取你的 API key:"
|
||||
msgid "Get your API key here: "
|
||||
msgstr "在这里获取你的 API key: "
|
||||
|
||||
#: options.php:1048
|
||||
msgid "Chevereto URL"
|
||||
@ -1549,7 +1545,7 @@ msgstr "评论图片代理"
|
||||
#: options.php:1056
|
||||
msgid ""
|
||||
"A front-ed proxy for the uploaded images. Leave it blank if you do not need."
|
||||
msgstr "前端显示的图片的代理"
|
||||
msgstr "前端显示的图片的代理。"
|
||||
|
||||
#: options.php:1062
|
||||
msgid "Imgur upload proxy"
|
||||
@ -1710,7 +1706,7 @@ msgstr ""
|
||||
#: search.php:19
|
||||
#, php-format
|
||||
msgid "search result: %s"
|
||||
msgstr "关于 %s 的搜索结果: "
|
||||
msgstr "关于 %s 的搜索结果:"
|
||||
|
||||
#: tpl/content-category.php:30
|
||||
msgid "NOTHING"
|
||||
@ -1783,24 +1779,26 @@ msgid "This username has been registered."
|
||||
msgstr "该用户名已被注册。"
|
||||
|
||||
#: user/page-register.php:24
|
||||
#, fuzzy
|
||||
#| msgid "Please enter email address."
|
||||
msgid "Please enter email address."
|
||||
msgstr "请填写电子邮件地址。"
|
||||
|
||||
#: user/page-register.php:26
|
||||
msgid "Invalid email address"
|
||||
msgstr "电子邮件地址不正确。 "
|
||||
msgid "Invalid email address."
|
||||
msgstr "电子邮件地址不正确。"
|
||||
|
||||
#: user/page-register.php:29
|
||||
msgid "This email address has been registered."
|
||||
msgstr "该电子邮件地址已经被注册。"
|
||||
|
||||
#: user/page-register.php:34
|
||||
msgid "Password length is at least 6 digits"
|
||||
msgstr "密码长度至少6位。 "
|
||||
msgid "Password length is at least 6 digits."
|
||||
msgstr "密码长度至少6位。"
|
||||
|
||||
#: user/page-register.php:36
|
||||
msgid "Inconsistent password entered twice"
|
||||
msgstr "两次输入的密码不一致。 "
|
||||
msgid "Inconsistent password entered twice."
|
||||
msgstr "两次输入的密码不一致。"
|
||||
|
||||
#: user/page-register.php:41
|
||||
msgid "Please drag the slider to verify identity"
|
||||
@ -1823,8 +1821,13 @@ msgid "Sign up"
|
||||
msgstr "注 册"
|
||||
|
||||
#: user/page-register.php:92
|
||||
msgid "Registration is not open yet"
|
||||
msgstr "暂未开放注册。 "
|
||||
#, fuzzy
|
||||
#| msgid "Registration is not open yet"
|
||||
msgid "Registration is not open yet."
|
||||
msgstr "暂未开放注册。"
|
||||
|
||||
#~ msgid " Previous"
|
||||
#~ msgstr " 上一页"
|
||||
|
||||
#~ msgid "A branch of theme Akina"
|
||||
#~ msgstr "Akina主题分支(原版地址 http://www.akina.pw/themeakina)"
|
||||
|
@ -1039,7 +1039,7 @@ function optionsframework_options() {
|
||||
|
||||
$options[] = array(
|
||||
'name' => __('Chevereto API v1 key', 'sakura'),
|
||||
'desc' => __('Get your API key here '.akina_option('cheverto_url').'/dashboard/settings/api', 'sakura'),
|
||||
'desc' => __('Get your API key here: '.akina_option('cheverto_url').'/dashboard/settings/api', 'sakura'),
|
||||
'id' => 'chevereto_api_key',
|
||||
'std' => '',
|
||||
'type' => 'text');
|
||||
|
@ -23,7 +23,7 @@ if( !empty($_POST['register_reg']) ) {
|
||||
if ( $user_email == '' ) {
|
||||
$error .= '<strong>'.__("Error","sakura")./*错误*/'</strong>:'.__("Please enter email address.","sakura")./*请填写电子邮件地址。*/'<br />';
|
||||
} elseif ( ! is_email( $user_email ) ) {
|
||||
$error .= '<strong>'.__("Error","sakura")./*错误*/'</strong>:'.__("Invalid email address","sakura")./*电子邮件地址不正确。*/'<br />';
|
||||
$error .= '<strong>'.__("Error","sakura")./*错误*/'</strong>:'.__("Invalid email address.","sakura")./*电子邮件地址不正确。*/'<br />';
|
||||
$user_email = '';
|
||||
} elseif ( email_exists( $user_email ) ) {
|
||||
$error .= '<strong>'.__("Error","sakura")./*错误*/'</strong>:'.__("This email address has been registered.","sakura")./*该电子邮件地址已经被注册。*/'<br />';
|
||||
@ -31,9 +31,9 @@ if( !empty($_POST['register_reg']) ) {
|
||||
|
||||
// Check the password
|
||||
if(strlen($_POST['user_pass']) < 6){
|
||||
$error .= '<strong>'.__("Error","sakura")./*错误*/'</strong>:'.__("Password length is at least 6 digits","sakura")./*密码长度至少6位。*/'<br />';
|
||||
$error .= '<strong>'.__("Error","sakura")./*错误*/'</strong>:'.__("Password length is at least 6 digits.","sakura")./*密码长度至少6位。*/'<br />';
|
||||
}elseif($_POST['user_pass'] != $_POST['user_pass2']){
|
||||
$error .= '<strong>'.__("Error","sakura")./*错误*/'</strong>:'.__("Inconsistent password entered twice","sakura")./*两次输入的密码不一致。*/'<br />';
|
||||
$error .= '<strong>'.__("Error","sakura")./*错误*/'</strong>:'.__("Inconsistent password entered twice.","sakura")./*两次输入的密码不一致。*/'<br />';
|
||||
}
|
||||
|
||||
// verification
|
||||
@ -89,7 +89,7 @@ if( !empty($_POST['register_reg']) ) {
|
||||
<script>//window.location.href='<?php echo $loadurl; ?>';</script>
|
||||
<?php } ?>
|
||||
<?php else : ?>
|
||||
<div class="register-close"><p><?php _e("Registration is not open yet","sakura")/*暂未开放注册。*/?></p></div>
|
||||
<div class="register-close"><p><?php _e("Registration is not open yet.","sakura")/*暂未开放注册。*/?></p></div>
|
||||
<?php endif; ?>
|
||||
</main><!-- #main -->
|
||||
</div><!-- #primary -->
|
||||
@ -194,4 +194,4 @@ get_footer();
|
||||
return milliSeconds;
|
||||
}
|
||||
</script>
|
||||
<script type='text/javascript' src='<?php bloginfo("template_url"); ?>/user/verification.js'></script>
|
||||
<script type='text/javascript' src='<?php bloginfo("template_url"); ?>/user/verification.js'></script>
|
||||
|
Loading…
Reference in New Issue
Block a user