Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
voca
Manage
Activity
Members
Labels
Plan
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Decidim
VocaCity
voca
Commits
82522636
Commit
82522636
authored
2 years ago
by
Hadrien Froger
Browse files
Options
Downloads
Plain Diff
Merge branch 'feat_add_missing_locales' into 'main'
feat:
Add reset password locales See merge request
!144
parents
6a921c20
776c80a8
Branches
Branches containing commit
Tags
v0.0.3
Tags containing commit
1 merge request
!144
feat: 🌐 Add reset password locales
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
frontend/locales/en.json
+3
-0
3 additions, 0 deletions
frontend/locales/en.json
frontend/pages/auth/reset.tsx
+4
-4
4 additions, 4 deletions
frontend/pages/auth/reset.tsx
with
7 additions
and
4 deletions
frontend/locales/en.json
+
3
−
0
View file @
82522636
...
...
@@ -195,8 +195,11 @@
"auth.forgot.goLogin"
:
"Try to login"
,
"auth.reset.title"
:
"New password"
,
"auth.reset.password"
:
"Enter your new password"
,
"auth.reset.passwordCheck"
:
"Confirm password"
,
"auth.reset.confirm"
:
"Confirm"
,
"auth.reset.submitted"
:
"🎉 Your password has been updated !"
,
"auth.reset.login"
:
"Try to login"
,
"auth.reset.error"
:
"We were not able to update your password, please check if you provided the same password in both fields."
,
"auth.reset.back"
:
"Back"
,
"auth.errors.generic"
:
"Invalid login: please check your email and password."
,
"auth.errors.email.taken"
:
"Cet email est déjà pris."
,
...
...
This diff is collapsed.
Click to expand it.
frontend/pages/auth/reset.tsx
+
4
−
4
View file @
82522636
...
...
@@ -56,7 +56,7 @@ const ResetPassPage = () => {
<
Dialog
open
onClose
=
{
()
=>
null
}
aria-labelledby
=
{
t
`auth.reset.
resetT
itle`
}
aria-labelledby
=
{
t
`auth.reset.
t
itle`
}
maxWidth
=
"md"
PaperProps
=
{
{
sx
:
{
zIndex
:
99
}}
}
transitionDuration
=
{
1
}
...
...
@@ -71,7 +71,7 @@ const ResetPassPage = () => {
variant
=
"h5"
color
=
"textSecondary"
align
=
"center"
>
{
t
`auth.reset.
resetT
itle`
}
</
Typography
>
>
{
t
`auth.reset.
t
itle`
}
</
Typography
>
</
Box
>
{
error
&&
(
<
FormHelperText
error
>
...
...
@@ -80,7 +80,7 @@ const ResetPassPage = () => {
)
}
<
Box
py
=
{
1.5
}
minHeight
=
{
90
}
>
<
TextField
label
=
{
t
`
login
.password`
}
label
=
{
t
`
auth.reset
.password`
}
variant
=
"outlined"
margin
=
"dense"
value
=
{
password
}
...
...
@@ -92,7 +92,7 @@ const ResetPassPage = () => {
</
Box
>
<
Box
py
=
{
1.5
}
minHeight
=
{
90
}
>
<
TextField
label
=
{
t
`
login
.password
Verif
`
}
label
=
{
t
`
auth.reset
.password
Check
`
}
variant
=
"outlined"
margin
=
"dense"
value
=
{
passwordConfirmation
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment