Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Walter Felipe
pad-upe
Commits
3f21393c
Commit
3f21393c
authored
Mar 19, 2022
by
alissonalbuquerque
Browse files
add traducoes de mensagens de error
parent
6e225512
Changes
3
Hide whitespace changes
Inline
Side-by-side
resources/lang/en/auth.php
View file @
3f21393c
...
...
@@ -13,8 +13,8 @@ return [
|
*/
'failed'
=>
'
These credentials do not match our records.
'
,
'password'
=>
'
The provided password is
incorre
c
t.'
,
'throttle'
=>
'
Too many login attempts. Please try again in
:seconds se
co
nds.'
,
'failed'
=>
'
Verifique se o e-mail e a senha estão corretos
'
,
'password'
=>
'
A senha fornecida está
incorret
a
.'
,
'throttle'
=>
'
Muitas tentativas de login incorretas. Por favor tente de novo em
:seconds se
gu
nd
o
s.'
,
];
resources/views/auth/login.blade.php
View file @
3f21393c
...
...
@@ -10,7 +10,7 @@
<x-auth-session-status
class=
"mb-4"
:status=
"session('status')"
/>
<!-- Validation Errors -->
<x-auth-validation-errors
class=
"mb-
4
"
:errors=
"$errors"
/>
<x-auth-validation-errors
class=
"
alert alert-danger
mb-
2
"
:errors=
"$errors"
/>
<form
action=
"{{ route('login') }}"
method=
"POST"
class=
"signin-form d-md-flex"
>
@csrf
...
...
resources/views/components/auth-validation-errors.blade.php
View file @
3f21393c
...
...
@@ -3,7 +3,7 @@
@
if
(
$errors
->
any
())
<
div
{{
$attributes
}}
>
<
div
class
=
"font-medium text-red-600"
>
{{
__
(
'
Whoops! Something went wrong
.'
)
}}
{{
__
(
'
Ops! Algo deu errado
.'
)
}}
</
div
>
<
ul
class
=
"mt-3 list-disc list-inside text-sm text-red-600"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment