Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
Moecube Accounts Web
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
Moecube Accounts Web
Commits
ad1b6494
Commit
ad1b6494
authored
Jan 17, 2023
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix i18n
parent
83db3c8d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
i18n.json
i18n.json
+2
-0
src/components/UserNameForm.js
src/components/UserNameForm.js
+1
-1
src/routes/Register.js
src/routes/Register.js
+1
-1
No files found.
i18n.json
View file @
ad1b6494
...
@@ -88,6 +88,7 @@
...
@@ -88,6 +88,7 @@
"i_user_unexists"
:
"User does not exisit."
,
"i_user_unexists"
:
"User does not exisit."
,
"i_email_exists"
:
"email is exists"
,
"i_email_exists"
:
"email is exists"
,
"i_username_exists"
:
"username is exists"
,
"i_username_exists"
:
"username is exists"
,
"i_username_exists_or_invalid"
:
"username is exists or invalid"
,
"i_not_found"
:
"user unexists"
,
"i_not_found"
:
"user unexists"
,
"i_key_time_out"
:
"url is time out"
,
"i_key_time_out"
:
"url is time out"
,
"i_key_invalid"
:
"url is invalid"
,
"i_key_invalid"
:
"url is invalid"
,
...
@@ -184,6 +185,7 @@
...
@@ -184,6 +185,7 @@
"i_user_unexists"
:
"用户不存在"
,
"i_user_unexists"
:
"用户不存在"
,
"i_email_exists"
:
"邮箱已存在"
,
"i_email_exists"
:
"邮箱已存在"
,
"i_username_exists"
:
"用户名已存在"
,
"i_username_exists"
:
"用户名已存在"
,
"i_username_exists_or_invalid"
:
"用户名已存在或格式有误"
,
"i_not_found"
:
"用户不存在"
,
"i_not_found"
:
"用户不存在"
,
"i_key_time_out"
:
"此链接已过期"
,
"i_key_time_out"
:
"此链接已过期"
,
"i_key_invalid"
:
"此链接已失效"
,
"i_key_invalid"
:
"此链接已失效"
,
...
...
src/components/UserNameForm.js
View file @
ad1b6494
...
@@ -39,7 +39,7 @@ class EmailForm extends React.Component {
...
@@ -39,7 +39,7 @@ class EmailForm extends React.Component {
label
:
messages
.
username
,
label
:
messages
.
username
,
hasFeedback
:
true
,
hasFeedback
:
true
,
validateStatus
:
checkUsername
,
validateStatus
:
checkUsername
,
extra
:
isUserNameExists
?
'
username exists
'
:
''
,
extra
:
isUserNameExists
?
messages
.
i_username_exists_or_invalid
:
''
,
...
formItemLayout
,
...
formItemLayout
,
},
},
decorator
:
{
decorator
:
{
...
...
src/routes/Register.js
View file @
ad1b6494
...
@@ -74,7 +74,7 @@ class Register extends React.Component {
...
@@ -74,7 +74,7 @@ class Register extends React.Component {
const
usernameProps
=
{
const
usernameProps
=
{
hasFeedback
:
true
,
hasFeedback
:
true
,
validateStatus
:
checkUsername
,
validateStatus
:
checkUsername
,
extra
:
isUserNameExists
?
'
username exists or invalid
'
:
''
,
extra
:
isUserNameExists
?
messages
.
i_username_exists
:
''
,
};
};
const
usernameInputProps
=
{
const
usernameInputProps
=
{
...
...
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