Commit 23933dbd authored by 愚道's avatar 愚道 Committed by Yu

update locales

parent 7954726c
...@@ -60,7 +60,7 @@ export default { ...@@ -60,7 +60,7 @@ export default {
}, },
{ {
path: 'https://github.com/umijs/umi-blocks/tree/master/ant-design-pro', path: 'https://github.com/umijs/umi-blocks/tree/master/ant-design-pro',
name: '更多页面', name: 'more-blocks',
icon: 'block', icon: 'block',
}, },
], ],
......
...@@ -20,8 +20,6 @@ import styles from './BasicLayout.less'; ...@@ -20,8 +20,6 @@ import styles from './BasicLayout.less';
const { Content } = Layout; const { Content } = Layout;
const Exception403 = <p>Exception403</p>;
const query = { const query = {
'screen-xs': { 'screen-xs': {
maxWidth: 575, maxWidth: 575,
...@@ -183,7 +181,7 @@ class BasicLayout extends React.PureComponent { ...@@ -183,7 +181,7 @@ class BasicLayout extends React.PureComponent {
{...this.props} {...this.props}
/> />
<Content className={styles.content} style={contentStyle}> <Content className={styles.content} style={contentStyle}>
<Authorized authority={routerConfig} noMatch={<Exception403 />}> <Authorized authority={routerConfig} noMatch={<p>Exception403</p>}>
{children} {children}
</Authorized> </Authorized>
</Content> </Content>
......
export default { export default {
'menu.home': 'Home', 'menu.welcome': 'Welcome',
'menu.dashboard': 'Dashboard', 'menu.more-blocks': 'More Blocks',
'menu.dashboard.analysis': 'Analysis',
'menu.dashboard.monitor': 'Monitor',
'menu.dashboard.workplace': 'Workplace',
'menu.form': 'Form',
'menu.form.basicform': 'Basic Form',
'menu.form.stepform': 'Step Form',
'menu.form.stepform.info': 'Step Form(write transfer information)',
'menu.form.stepform.confirm': 'Step Form(confirm transfer information)',
'menu.form.stepform.result': 'Step Form(finished)',
'menu.form.advancedform': 'Advanced Form',
'menu.list': 'List',
'menu.list.searchtable': 'Search Table',
'menu.list.basiclist': 'Basic List',
'menu.list.cardlist': 'Card List',
'menu.list.searchlist': 'Search List',
'menu.list.searchlist.articles': 'Search List(articles)',
'menu.list.searchlist.projects': 'Search List(projects)',
'menu.list.searchlist.applications': 'Search List(applications)',
'menu.profile': 'Profile',
'menu.profile.basic': 'Basic Profile',
'menu.profile.advanced': 'Advanced Profile',
'menu.result': 'Result',
'menu.result.success': 'Success',
'menu.result.fail': 'Fail',
'menu.exception': 'Exception',
'menu.exception.not-permission': '403',
'menu.exception.not-find': '404',
'menu.exception.server-error': '500',
'menu.exception.trigger': 'Trigger',
'menu.account': 'Account',
'menu.account.center': 'Account Center', 'menu.account.center': 'Account Center',
'menu.account.settings': 'Account Settings', 'menu.account.settings': 'Account Settings',
'menu.account.trigger': 'Trigger Error', 'menu.account.trigger': 'Trigger Error',
......
export default { export default {
'menu.home': 'Início', 'menu.welcome': 'Welcome',
'menu.dashboard': 'Dashboard', 'menu.more-blocks': 'More Blocks',
'menu.dashboard.analysis': 'Análise',
'menu.dashboard.monitor': 'Monitor',
'menu.dashboard.workplace': 'Ambiente de Trabalho',
'menu.form': 'Formulário',
'menu.form.basicform': 'Formulário Básico',
'menu.form.stepform': 'Formulário Assistido',
'menu.form.stepform.info': 'Formulário Assistido(gravar informações de transferência)',
'menu.form.stepform.confirm': 'Formulário Assistido(confirmar informações de transferência)',
'menu.form.stepform.result': 'Formulário Assistido(finalizado)',
'menu.form.advancedform': 'Formulário Avançado',
'menu.list': 'Lista',
'menu.list.searchtable': 'Tabela de Busca',
'menu.list.basiclist': 'Lista Básica',
'menu.list.cardlist': 'Lista de Card',
'menu.list.searchlist': 'Lista de Busca',
'menu.list.searchlist.articles': 'Lista de Busca(artigos)',
'menu.list.searchlist.projects': 'Lista de Busca(projetos)',
'menu.list.searchlist.applications': 'Lista de Busca(aplicações)',
'menu.profile': 'Perfil',
'menu.profile.basic': 'Perfil Básico',
'menu.profile.advanced': 'Perfil Avançado',
'menu.result': 'Resultado',
'menu.result.success': 'Sucesso',
'menu.result.fail': 'Falha',
'menu.exception': 'Exceção',
'menu.exception.not-permission': '403',
'menu.exception.not-find': '404',
'menu.exception.server-error': '500',
'menu.exception.trigger': 'Disparar',
'menu.account': 'Conta',
'menu.account.center': 'Central da Conta', 'menu.account.center': 'Central da Conta',
'menu.account.settings': 'Configurar Conta', 'menu.account.settings': 'Configurar Conta',
'menu.account.trigger': 'Disparar Erro', 'menu.account.trigger': 'Disparar Erro',
......
export default { export default {
'menu.home': '首页', 'menu.welcome': '欢迎',
'menu.dashboard': 'Dashboard', 'menu.more-blocks': '更多区块',
'menu.dashboard.analysis': '分析页',
'menu.dashboard.monitor': '监控页',
'menu.dashboard.workplace': '工作台',
'menu.form': '表单页',
'menu.form.basicform': '基础表单',
'menu.form.stepform': '分步表单',
'menu.form.stepform.info': '分步表单(填写转账信息)',
'menu.form.stepform.confirm': '分步表单(确认转账信息)',
'menu.form.stepform.result': '分步表单(完成)',
'menu.form.advancedform': '高级表单',
'menu.list': '列表页',
'menu.list.searchtable': '查询表格',
'menu.list.basiclist': '标准列表',
'menu.list.cardlist': '卡片列表',
'menu.list.searchlist': '搜索列表',
'menu.list.searchlist.articles': '搜索列表(文章)',
'menu.list.searchlist.projects': '搜索列表(项目)',
'menu.list.searchlist.applications': '搜索列表(应用)',
'menu.profile': '详情页',
'menu.profile.basic': '基础详情页',
'menu.profile.advanced': '高级详情页',
'menu.result': '结果页',
'menu.result.success': '成功页',
'menu.result.fail': '失败页',
'menu.exception': '异常页',
'menu.exception.not-permission': '403',
'menu.exception.not-find': '404',
'menu.exception.server-error': '500',
'menu.exception.trigger': '触发错误',
'menu.account': '个人页',
'menu.account.center': '个人中心', 'menu.account.center': '个人中心',
'menu.account.settings': '个人设置', 'menu.account.settings': '个人设置',
'menu.account.trigger': '触发报错', 'menu.account.trigger': '触发报错',
......
export default { export default {
'menu.home': '首頁', 'menu.welcome': '歡迎',
'menu.dashboard': 'Dashboard', 'menu.more-blocks': '更多區塊',
'menu.dashboard.analysis': '分析頁',
'menu.dashboard.monitor': '監控頁',
'menu.dashboard.workplace': '工作臺',
'menu.form': '表單頁',
'menu.form.basicform': '基礎表單',
'menu.form.stepform': '分步表單',
'menu.form.stepform.info': '分步表單(填寫轉賬信息)',
'menu.form.stepform.confirm': '分步表單(確認轉賬信息)',
'menu.form.stepform.result': '分步表單(完成)',
'menu.form.advancedform': '高級表單',
'menu.list': '列表頁',
'menu.list.searchtable': '查詢表格',
'menu.list.basiclist': '標淮列表',
'menu.list.cardlist': '卡片列表',
'menu.list.searchlist': '搜索列表',
'menu.list.searchlist.articles': '搜索列表(文章)',
'menu.list.searchlist.projects': '搜索列表(項目)',
'menu.list.searchlist.applications': '搜索列表(應用)',
'menu.profile': '詳情頁',
'menu.profile.basic': '基礎詳情頁',
'menu.profile.advanced': '高級詳情頁',
'menu.result': '結果頁',
'menu.result.success': '成功頁',
'menu.result.fail': '失敗頁',
'menu.account': '個人頁',
'menu.account.center': '個人中心', 'menu.account.center': '個人中心',
'menu.account.settings': '個人設置', 'menu.account.settings': '個人設置',
'menu.account.trigger': '觸發報錯', 'menu.account.trigger': '觸發報錯',
'menu.account.logout': '退出登錄', 'menu.account.logout': '退出登錄',
'menu.exception': '异常页',
'menu.exception.not-permission': '403',
'menu.exception.not-find': '404',
'menu.exception.server-error': '500',
'menu.exception.trigger': '触发错误',
}; };
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