From d81488f9ea5bf6d76c8f956462f3c71d82c9ff7e Mon Sep 17 00:00:00 2001 From: mmmwhy Date: Sat, 11 Nov 2017 22:16:30 +0800 Subject: [PATCH] Thanks for Joshua Tesol, we will have a better English version ~~ --- .../views/material_english/auth/login.tpl | 42 ++++----- .../views/material_english/auth/register.tpl | 28 +++--- .../material_english/user/announcement.tpl | 4 +- .../views/material_english/user/bought.tpl | 8 +- .../views/material_english/user/code.tpl | 2 +- .../views/material_english/user/disable.tpl | 4 +- .../views/material_english/user/donate.tpl | 6 +- .../views/material_english/user/edit.tpl | 62 ++++++------- .../views/material_english/user/index.tpl | 90 +++++++++---------- .../material_english/user/lookingglass.tpl | 18 ++-- .../views/material_english/user/main.tpl | 50 ++++++----- .../views/material_english/user/node.tpl | 22 ++--- .../views/material_english/user/nodeajax.tpl | 20 ++--- .../views/material_english/user/nodeinfo.tpl | 50 +++++------ .../views/material_english/user/profile.tpl | 22 ++--- .../views/material_english/user/relay/add.tpl | 6 +- .../material_english/user/relay/edit.tpl | 6 +- .../material_english/user/relay/index.tpl | 6 +- .../views/material_english/user/shop.tpl | 12 +-- .../views/material_english/user/ticket.tpl | 6 +- .../material_english/user/ticket_create.tpl | 4 +- .../material_english/user/ticket_view.tpl | 4 +- .../material_english/user/trafficlog.tpl | 6 +- 23 files changed, 240 insertions(+), 238 deletions(-) diff --git a/resources/views/material_english/auth/login.tpl b/resources/views/material_english/auth/login.tpl index 569f053..a6fa20f 100644 --- a/resources/views/material_english/auth/login.tpl +++ b/resources/views/material_english/auth/login.tpl @@ -12,11 +12,11 @@ {if $config['enable_telegram'] == 'true'}
  • - TG QR Code + Login with QR code
  • {/if}
  • - Password login + Login with password
  • {if $config['enable_telegram'] == 'true'}
  • @@ -32,7 +32,7 @@
    -

    Login to the user center

    +

    Login to the Dashboard

    @@ -50,7 +50,7 @@
    - +
    @@ -71,7 +71,7 @@
    - +
    @@ -81,8 +81,8 @@
    @@ -100,11 +100,11 @@
    -

    Telegram扫码登录

    +

    Telegram QR Code

    -

    添加机器人账号 @{$telegram_bot},拍下下面这张二维码发给它。

    +

    Add the bot number @{$telegram_bot},and send him this QR code。

    @@ -120,11 +120,11 @@
    -

    Telegram数字登录

    +

    Telegram Login

    -

    添加机器人账号 @{$telegram_bot},发送下面的数字给它。

    +

    A the bot number @{$telegram_bot},and send him the login details below。

    {$login_number}

    @@ -140,8 +140,8 @@ @@ -166,13 +166,13 @@ if(typeof validate == 'undefined') { $("#result").modal(); - $("#msg").html("请滑动验证码来完成验证。"); + $("#msg").html("Please enter your QR code"); return; } if (!validate) { $("#result").modal(); - $("#msg").html("请滑动验证码来完成验证。"); + $("#msg").html("Please enter your QR code"); return; } @@ -210,7 +210,7 @@ error:function(jqXHR){ $("#msg-error").hide(10); $("#msg-error").show(100); - $("#msg-error-p").html("发生错误:"+jqXHR.status); + $("#msg-error-p").html("error:"+jqXHR.status); document.getElementById("login").disabled = false; {if $geetest_html != null} captcha.refresh(); @@ -272,28 +272,28 @@ $(document).ready(function () { success: function (data) { if (data.ret) { $("#result").modal(); - $("#msg").html("登录成功!"); + $("#msg").html("SUCCESS!"); window.setTimeout("location.href=/user/", {$config['jump_delay']}); } }, error: function (jqXHR) { $("#result").modal(); - $("#msg").html("发生错误:" + jqXHR.status); + $("#msg").html("error:" + jqXHR.status); } }); } else { if(data.ret == -1) { - jQuery('#telegram-qr').replaceWith('此二维码已经过期,请刷新页面后重试。'); - jQuery('#code_number').replaceWith('此数字已经过期,请刷新页面后重试。'); + jQuery('#telegram-qr').replaceWith('This QR code has expired. Please refresh the page and try again.'); + jQuery('#code_number').replaceWith(' These details have expired. Please refresh the page and try again.'); } } }, error: function (jqXHR) { if(jqXHR.status != 200 && jqXHR.status != 0) { $("#result").modal(); - $("#msg").html("发生错误:" + jqXHR.status); + $("#msg").html("error:" + jqXHR.status); } } }); diff --git a/resources/views/material_english/auth/register.tpl b/resources/views/material_english/auth/register.tpl index 8201f3c..eb0cf2d 100644 --- a/resources/views/material_english/auth/register.tpl +++ b/resources/views/material_english/auth/register.tpl @@ -12,7 +12,7 @@
    -

    Create your account

    +

    Create account

    @@ -40,9 +40,9 @@
    - + - +
    @@ -51,7 +51,7 @@
    - +
    @@ -87,7 +87,7 @@
    - +
    @@ -135,7 +135,7 @@
    - +
    @@ -143,7 +143,7 @@
    -

    注册即代表同意服务条款,以及保证所录入信息的真实性,如有不实信息会导致账号被删除。

    +

    By registering, you agree with the Terms of Service,and guarentee that the information you entered is accurate. Breaking these terms will lead to account suspension.

    @@ -152,7 +152,7 @@
    @@ -165,13 +165,13 @@