修复多语言问题
This commit is contained in:
parent
e39fad0f2e
commit
c6512f3189
|
|
@ -32,8 +32,8 @@ class LoginRequest extends FormRequest
|
|||
public function attributes()
|
||||
{
|
||||
return [
|
||||
'email' => '邮箱地址',
|
||||
'password' => '密码'
|
||||
'email' => trans('shop/login.email_address'),
|
||||
'password' => trans('shop/login.password'),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -32,8 +32,8 @@ class RegisterRequest extends FormRequest
|
|||
public function attributes()
|
||||
{
|
||||
return [
|
||||
'email' => '邮箱地址',
|
||||
'password' => '密码'
|
||||
'email' => trans('shop/login.email_address'),
|
||||
'password' => trans('shop/login.password'),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,19 +13,19 @@
|
|||
return [
|
||||
'index' => 'User login and registration',
|
||||
'login_and_sign' => 'Login/Sign In',
|
||||
'home' => 'home',
|
||||
'home' => 'Home',
|
||||
'library' => 'library',
|
||||
'login' => 'login',
|
||||
'login' => 'Login',
|
||||
'already' => 'Already our customer?',
|
||||
'description' => 'Already our customer?',
|
||||
'email' => 'email',
|
||||
'email_address' => 'email address',
|
||||
'password' => 'password',
|
||||
'forget_password' => 'forget password',
|
||||
'new' => 'new account',
|
||||
'email' => 'Email',
|
||||
'email_address' => 'Email Address',
|
||||
'password' => 'Password',
|
||||
'forget_password' => 'Forget password',
|
||||
'new' => 'New Account',
|
||||
'not_already' => 'Not yet our registered customer?',
|
||||
'confirm_password' => 'confirm password',
|
||||
'register' => 'register',
|
||||
'confirm_password' => 'Confirm Password',
|
||||
'register' => 'Register',
|
||||
'enter_password' => 'Please enter password',
|
||||
'enter_email' => 'please input your email',
|
||||
'please_confirm' => 'Please confirm your password',
|
||||
|
|
|
|||
Loading…
Reference in New Issue