diff --git a/config/app.php b/config/app.php index addfd2ba..e48cebe8 100644 --- a/config/app.php +++ b/config/app.php @@ -74,7 +74,7 @@ return [ | */ - 'locale' => 'zh-CN', + 'locale' => 'en', /* |-------------------------------------------------------------------------- diff --git a/resources/assets/js/auth.js b/resources/assets/js/auth.js index 7b9cc677..4f3c935e 100644 --- a/resources/assets/js/auth.js +++ b/resources/assets/js/auth.js @@ -2,7 +2,7 @@ * @Author: printempw * @Date: 2016-07-17 10:54:22 * @Last Modified by: printempw - * @Last Modified time: 2016-09-05 22:24:33 + * @Last Modified time: 2016-09-11 15:26:09 */ 'use strict'; @@ -230,7 +230,7 @@ $('#reset-button').click(function() { success: function(json) { if (json.errno == 0) { swal({ - type: '重置成功,请重新登录~', + type: 'success', html: json.msg }).then(function() { window.location = "./login"; diff --git a/resources/lang/en/auth.yml b/resources/lang/en/auth.yml index 3ff8eca5..586f414e 100644 --- a/resources/lang/en/auth.yml +++ b/resources/lang/en/auth.yml @@ -1,11 +1,41 @@ login: login: Log In - message: Login in to manage your skin & players - identification: Email or Player Name - password: Password - captcha: Enter the CAPTCHA - change-captcha: Click to change another image. + message: Log in to manage your skin & players keep: Remember me - forgot-link: Forgot your password? - register-link: Register a new account +register: + register: Register + message: Welcome to :sitename + nickname-intro: Whatever you like expect special characters + repeat-pwd: Repeat your password + +forgot: + forgot: Reset Password + message: We will send you an E-mail to verify + send: Send + login-link: I do remember it + +mail: + message: You are receiving this email because this email address was used to reset your password on :sitename + ignore: If you haven't signed up on our site, please ignore this email. No unsubscribing is required. + reset: Reset your password + notice: This mail is sending automatically, no reponses will be sent if you reply. + +reset: + reset: Reset + message: :username, reset your email address here + +bind: + bind: Bind + message: You need to fill your email adderss to continue + introduction: Email addresses will be used for password resetting. We won't send you any spam. + +nickname: Nickname +email: Email Address +identification: Email or Player Name +password: Password +captcha: Enter the CAPTCHA +change-captcha: Click to change another image. +login-link: Already have an account? +forgot-link: Forgot your password? +register-link: Register a new account diff --git a/resources/views/auth/bind.tpl b/resources/views/auth/bind.tpl index b3001e72..b4ed2824 100644 --- a/resources/views/auth/bind.tpl +++ b/resources/views/auth/bind.tpl @@ -1,6 +1,6 @@ @extends('auth.master') -@section('title', '绑定邮箱') +@section('title', trans('auth.bind.bind')) @section('content') @@ -10,24 +10,24 @@
欢迎!您需要填写邮箱以继续使用本站。
+{{ trans('auth.bind.message') }}
diff --git a/resources/views/auth/forgot.tpl b/resources/views/auth/forgot.tpl index 17104460..1974cd61 100644 --- a/resources/views/auth/forgot.tpl +++ b/resources/views/auth/forgot.tpl @@ -1,6 +1,6 @@ @extends('auth.master') -@section('title', '找回密码') +@section('title', trans('auth.forgot.forgot')) @section('content') @@ -10,23 +10,23 @@我们将会给您发送一封密码重置邮件
+{{ trans('auth.forgot.message') }}
欢迎使用 {{ Option::get('site_name') }}!
+{{ trans('auth.register.message', ['sitename' => Option::get('site_name')]) }}