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
9f623290
Commit
9f623290
authored
Apr 06, 2017
by
2breakegg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
i18n
parent
9a49cee4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
i18n.json
i18n.json
+4
-0
src/routes/Profiles.js
src/routes/Profiles.js
+2
-2
No files found.
i18n.json
View file @
9f623290
...
...
@@ -7,6 +7,8 @@
"password"
:
"Password"
,
"user-info"
:
"User Info"
,
"reset-info"
:
"Reset User Info"
,
"Change-Avatar"
:
"Change Avatar"
,
"upload"
:
"upload"
,
"avatar"
:
"Avatar"
,
"nickname"
:
"Nickname"
,
"reset-account-info"
:
"Reset Account info"
,
...
...
@@ -88,6 +90,8 @@
"password"
:
"密码"
,
"user-info"
:
"用户信息"
,
"reset-info"
:
"修改信息"
,
"Change-Avatar"
:
"修改头像"
,
"upload"
:
"上传"
,
"avatar"
:
"头像"
,
"nickname"
:
"昵称"
,
"reset-account-info"
:
"修改账户信息"
,
...
...
src/routes/Profiles.js
View file @
9f623290
...
...
@@ -112,7 +112,7 @@ class Profiles extends React.Component {
guides
/>
<
Button
type
=
"
primary
"
onClick
=
{
this
.
handleUpload
}
>
<
Icon
type
=
"
upload
"
/>
upload
<
Icon
type
=
"
upload
"
/>
<
Format
id
=
"
upload
"
/>
<
/Button
>
<
/div
>
...
...
@@ -120,7 +120,7 @@ class Profiles extends React.Component {
<
img
alt
=
"
avatar
"
src
=
{
avatar
||
imageUrl
||
defaultAvatar
}
/
>
<
Button
onClick
=
{()
=>
{
dispatch
({
type
:
'
upload/start
'
});
}}
>
<
label
>
<
Icon
type
=
"
plus
"
/>
Change
Avatar
<
Icon
type
=
"
plus
"
/>
<
Format
id
=
"
Change-Avatar
"
/>
<
input
type
=
"
file
"
onChange
=
{
this
.
onGetFile
}
ref
=
{(
file
)
=>
{
this
.
file
=
file
;
...
...
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