diff --git a/Exception403/src/index.tsx b/Exception403/src/index.tsx index 65b4f78e4c434c1de90def310945cd5ecd4df904..82babfe4a19fcd790fa159fb51991594525a8494 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 68b269cb7c4210e918d77fc8fa0e3693aa419be3..dedc47a09ef5e507afc8899e755b98c726804722 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 16cd2379cd43941d6d3f86843709ac0f71685151..6302cb22181aa18781b784ec408c2184fa931c35 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 12e35e87fdaa56e06631c3a615288b1a3b478b8a..e83c24c060a1d676b8024a10c4d84d421ebea769 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 7adbf6257d1c1bc63be0e90df66e78a9e6e15b83..a1c8274ab39552cedc043e5a7288a97d3cb18206 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': '抱歉,妳無權訪問該頁面', };