Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
ant-design-pro
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
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
duanledexianxianxian
ant-design-pro
Commits
d590c157
Commit
d590c157
authored
Sep 02, 2018
by
afc163
Committed by
陈帅
Sep 02, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
locales
parent
bd74eb65
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
src/components/SettingDrawer/index.js
src/components/SettingDrawer/index.js
+2
-2
src/locales/en-US.js
src/locales/en-US.js
+3
-1
src/locales/zh-CN.js
src/locales/zh-CN.js
+2
-0
No files found.
src/components/SettingDrawer/index.js
View file @
d590c157
...
...
@@ -66,7 +66,7 @@ class SettingDrawer extends PureComponent {
{
title
:
formatMessage
({
id
:
'
app.setting.hideheader
'
}),
disabled
:
!
fixedHeader
,
disabledReason
:
'
固定 Header 时有效
'
,
disabledReason
:
formatMessage
({
id
:
'
app.setting.hideheader.hint
'
})
,
action
:
(
<
Switch
size
=
"
small
"
...
...
@@ -78,7 +78,7 @@ class SettingDrawer extends PureComponent {
{
title
:
formatMessage
({
id
:
'
app.setting.fixedsidebar
'
}),
disabled
:
layout
===
'
topmenu
'
,
disabledReason
:
'
侧边菜单布局时有效
'
,
disabledReason
:
formatMessage
({
id
:
'
app.setting.fixedsidebar.hint
'
})
,
action
:
(
<
Switch
size
=
"
small
"
...
...
src/locales/en-US.js
View file @
d590c157
...
...
@@ -175,7 +175,9 @@ export default {
'
app.setting.topmenu
'
:
'
Top Menu Layout
'
,
'
app.setting.fixedheader
'
:
'
Fixed Header
'
,
'
app.setting.fixedsidebar
'
:
'
Fixed Sidebar
'
,
'
app.setting.hideheader
'
:
'
Hidden Header when sliding
'
,
'
app.setting.fixedsidebar.tip
'
:
'
Works on Side Menu Layout
'
,
'
app.setting.hideheader
'
:
'
Hidden Header when scrolling
'
,
'
app.setting.hideheader.tip
'
:
'
Works when Hidden Header is enabled
'
,
'
app.setting.othersettings
'
:
'
Other Settings
'
,
'
app.setting.weakmode
'
:
'
Weak Mode
'
,
'
app.setting.copy
'
:
'
Copy Setting
'
,
...
...
src/locales/zh-CN.js
View file @
d590c157
...
...
@@ -171,7 +171,9 @@ export default {
'
app.setting.topmenu
'
:
'
顶部菜单布局
'
,
'
app.setting.fixedheader
'
:
'
固定 Header
'
,
'
app.setting.fixedsidebar
'
:
'
固定侧边菜单
'
,
'
app.setting.fixedsidebar.tip
'
:
'
侧边菜单布局时可配置
'
,
'
app.setting.hideheader
'
:
'
下滑时隐藏 Header
'
,
'
app.setting.hideheader.tip
'
:
'
固定 Header 时可配置
'
,
'
app.setting.othersettings
'
:
'
其他设置
'
,
'
app.setting.weakmode
'
:
'
色弱模式
'
,
'
app.setting.copy
'
:
'
拷贝设置
'
,
...
...
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