From df1f67e33832a66e4e6d07272e41647721528911 Mon Sep 17 00:00:00 2001 From: xiaohuoni <448627663@qq.com> Date: Mon, 25 Mar 2019 23:49:53 +0800 Subject: [PATCH] exception --- Exception403/src/index.tsx | 5 +++-- Exception403/src/locales/en-US.ts | 2 +- Exception403/src/locales/pt-BR.ts | 2 +- Exception403/src/locales/zh-CN.ts | 2 +- Exception403/src/locales/zh-TW.ts | 2 +- 5 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Exception403/src/index.tsx b/Exception403/src/index.tsx index 65b4f78e..82babfe4 100644 --- a/Exception403/src/index.tsx +++ b/Exception403/src/index.tsx @@ -1,14 +1,15 @@ -import Exception from './components/Exception'; + import React from 'react'; import { formatMessage } from 'umi-plugin-react/locale'; import Link from 'umi/link'; +import Exception from './components/Exception'; const PAGE_NAME_UPPER_CAMEL_CASE: React.FC = () => ( ); diff --git a/Exception403/src/locales/en-US.ts b/Exception403/src/locales/en-US.ts index 68b269cb..dedc47a0 100644 --- a/Exception403/src/locales/en-US.ts +++ b/Exception403/src/locales/en-US.ts @@ -1,4 +1,4 @@ export default { - 'BLOCK_NAME.description.back': 'Back to home', + 'BLOCK_NAME.exception.back': 'Back to home', 'BLOCK_NAME.description.403': "Sorry, you don't have access to this page", }; diff --git a/Exception403/src/locales/pt-BR.ts b/Exception403/src/locales/pt-BR.ts index 16cd2379..6302cb22 100644 --- a/Exception403/src/locales/pt-BR.ts +++ b/Exception403/src/locales/pt-BR.ts @@ -1,4 +1,4 @@ export default { - 'BLOCK_NAME.description.back': 'Voltar para Início', + 'BLOCK_NAME.exception.back': 'Voltar para Início', 'BLOCK_NAME.description.403': 'Desculpe, você não tem acesso a esta página', }; diff --git a/Exception403/src/locales/zh-CN.ts b/Exception403/src/locales/zh-CN.ts index 12e35e87..e83c24c0 100644 --- a/Exception403/src/locales/zh-CN.ts +++ b/Exception403/src/locales/zh-CN.ts @@ -1,4 +1,4 @@ export default { - 'BLOCK_NAME.description.back': '返回首页', + 'BLOCK_NAME.exception.back': '返回首页', 'BLOCK_NAME.description.403': '抱歉,你无权访问该页面', }; diff --git a/Exception403/src/locales/zh-TW.ts b/Exception403/src/locales/zh-TW.ts index 7adbf625..a1c8274a 100644 --- a/Exception403/src/locales/zh-TW.ts +++ b/Exception403/src/locales/zh-TW.ts @@ -1,4 +1,4 @@ export default { - 'BLOCK_NAME.description.back': '返回首頁', + 'BLOCK_NAME.exception.back': '返回首頁', 'BLOCK_NAME.description.403': '抱歉,妳無權訪問該頁面', }; -- GitLab