Commit d590c157 authored by afc163's avatar afc163 Committed by 陈帅

locales

parent bd74eb65
...@@ -66,7 +66,7 @@ class SettingDrawer extends PureComponent { ...@@ -66,7 +66,7 @@ class SettingDrawer extends PureComponent {
{ {
title: formatMessage({ id: 'app.setting.hideheader' }), title: formatMessage({ id: 'app.setting.hideheader' }),
disabled: !fixedHeader, disabled: !fixedHeader,
disabledReason: '固定 Header 时有效', disabledReason: formatMessage({ id: 'app.setting.hideheader.hint' }),
action: ( action: (
<Switch <Switch
size="small" size="small"
...@@ -78,7 +78,7 @@ class SettingDrawer extends PureComponent { ...@@ -78,7 +78,7 @@ class SettingDrawer extends PureComponent {
{ {
title: formatMessage({ id: 'app.setting.fixedsidebar' }), title: formatMessage({ id: 'app.setting.fixedsidebar' }),
disabled: layout === 'topmenu', disabled: layout === 'topmenu',
disabledReason: '侧边菜单布局时有效', disabledReason: formatMessage({ id: 'app.setting.fixedsidebar.hint' }),
action: ( action: (
<Switch <Switch
size="small" size="small"
......
...@@ -175,7 +175,9 @@ export default { ...@@ -175,7 +175,9 @@ export default {
'app.setting.topmenu': 'Top Menu Layout', 'app.setting.topmenu': 'Top Menu Layout',
'app.setting.fixedheader': 'Fixed Header', 'app.setting.fixedheader': 'Fixed Header',
'app.setting.fixedsidebar': 'Fixed Sidebar', '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.othersettings': 'Other Settings',
'app.setting.weakmode': 'Weak Mode', 'app.setting.weakmode': 'Weak Mode',
'app.setting.copy': 'Copy Setting', 'app.setting.copy': 'Copy Setting',
......
...@@ -171,7 +171,9 @@ export default { ...@@ -171,7 +171,9 @@ export default {
'app.setting.topmenu': '顶部菜单布局', 'app.setting.topmenu': '顶部菜单布局',
'app.setting.fixedheader': '固定 Header', 'app.setting.fixedheader': '固定 Header',
'app.setting.fixedsidebar': '固定侧边菜单', 'app.setting.fixedsidebar': '固定侧边菜单',
'app.setting.fixedsidebar.tip': '侧边菜单布局时可配置',
'app.setting.hideheader': '下滑时隐藏 Header', 'app.setting.hideheader': '下滑时隐藏 Header',
'app.setting.hideheader.tip': '固定 Header 时可配置',
'app.setting.othersettings': '其他设置', 'app.setting.othersettings': '其他设置',
'app.setting.weakmode': '色弱模式', 'app.setting.weakmode': '色弱模式',
'app.setting.copy': '拷贝设置', 'app.setting.copy': '拷贝设置',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment