Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
canifa_note
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vũ Hoàng Anh
canifa_note
Commits
2d5d734d
Unverified
Commit
2d5d734d
authored
Nov 26, 2022
by
Zeng1998
Committed by
GitHub
Nov 26, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: update i18n for account settings (#582)
parent
e1e5121d
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
2 deletions
+6
-2
MyAccountSection.tsx
web/src/components/Settings/MyAccountSection.tsx
+2
-2
en.json
web/src/locales/en.json
+1
-0
fr.json
web/src/locales/fr.json
+1
-0
vi.json
web/src/locales/vi.json
+1
-0
zh.json
web/src/locales/zh.json
+1
-0
No files found.
web/src/components/Settings/MyAccountSection.tsx
View file @
2d5d734d
...
...
@@ -36,10 +36,10 @@ const MyAccountSection = () => {
<
div
className=
"flex flex-row justify-start items-center text-base text-gray-600"
>
{
user
.
email
}
</
div
>
<
div
className=
"w-full flex flex-row justify-start items-center mt-2 space-x-2"
>
<
button
className=
"btn-normal"
onClick=
{
showUpdateAccountDialog
}
>
Update Information
{
t
(
"setting.account-section.update-information"
)
}
</
button
>
<
button
className=
"btn-normal"
onClick=
{
showChangePasswordDialog
}
>
Change Password
{
t
(
"setting.account-section.change-password"
)
}
</
button
>
</
div
>
</
div
>
...
...
web/src/locales/en.json
View file @
2d5d734d
...
...
@@ -138,6 +138,7 @@
"system"
:
"System"
,
"account-section"
:
{
"title"
:
"Account Information"
,
"update-information"
:
"Update Information"
,
"change-password"
:
"Change password"
},
"preference-section"
:
{
...
...
web/src/locales/fr.json
View file @
2d5d734d
...
...
@@ -138,6 +138,7 @@
"system"
:
"Système"
,
"account-section"
:
{
"title"
:
"Informations sur le compte"
,
"update-information"
:
"Mettre à jour les informations"
,
"change-password"
:
"Modifier le mot de passe"
},
"preference-section"
:
{
...
...
web/src/locales/vi.json
View file @
2d5d734d
...
...
@@ -137,6 +137,7 @@
"system"
:
"hệ thống"
,
"account-section"
:
{
"title"
:
"Thông tin tài khoản"
,
"update-information"
:
"Cập nhật thông tin"
,
"change-password"
:
"Đổi mật khẩu"
},
"preference-section"
:
{
...
...
web/src/locales/zh.json
View file @
2d5d734d
...
...
@@ -138,6 +138,7 @@
"system"
:
"系统"
,
"account-section"
:
{
"title"
:
"账号信息"
,
"update-information"
:
"更新个人信息"
,
"change-password"
:
"修改密码"
},
"preference-section"
:
{
...
...
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