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