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
7d982233
Commit
7d982233
authored
Apr 07, 2017
by
2breakegg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
i18n
parent
54fe97c3
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
121 additions
and
241 deletions
+121
-241
.idea/workspace.xml
.idea/workspace.xml
+118
-239
i18n.json
i18n.json
+2
-0
src/components/UserPanel.js
src/components/UserPanel.js
+1
-2
No files found.
.idea/workspace.xml
View file @
7d982233
This diff is collapsed.
Click to expand it.
i18n.json
View file @
7d982233
...
...
@@ -23,6 +23,7 @@
"sign-up"
:
"Sign Up"
,
"sign-in"
:
"Sign In"
,
"sign-out"
:
"Sign out"
,
"User-Center"
:
"User Center"
,
"Please-sign-in"
:
"Please sign In"
,
"email-address-or-username"
:
"E-Mail or Username"
,
"register-now"
:
"register-now!"
,
...
...
@@ -106,6 +107,7 @@
"sign-up"
:
"注册"
,
"sign-in"
:
"登陆"
,
"sign-out"
:
"登出"
,
"User-Center"
:
"用户中心"
,
"Please-sign-in"
:
"您尚未登录,请先登录"
,
"email-address-or-username"
:
"邮箱或用户名"
,
"register-now"
:
"现在注册"
,
...
...
src/components/UserPanel.js
View file @
7d982233
...
...
@@ -12,8 +12,7 @@ function UserPanel({ dispatch, user, token }) {
<
Menu
trigger
=
{[
'
click
'
]}
>
<
Menu
.
Item
>
{
// i18n
token
?
<
Link
to
=
"
/profiles
"
>
个人中心
<
/Link> : <Link to="/
signin
"
>登录</Link>
token
?
<
Link
to
=
"
/profiles
"
><
Format
id
=
"
User-Center
"
/><
/Link> : <Link to="/
signin
"
><Format id=
"
sign
-
in
"
/></Link>
}
</Menu.Item>
...
...
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