diff --git a/src/locales/en-US/no-result.ts b/src/locales/en-US/no-result.ts index 2b95bdc0..1278b933 100644 --- a/src/locales/en-US/no-result.ts +++ b/src/locales/en-US/no-result.ts @@ -49,7 +49,7 @@ export default { 'noresult.providers.title': 'No Providers', 'noresult.providers.subTitle': 'No providers have been added yet.', 'noresult.providers.nofound': 'No matching providers found.', - 'noresult.accesses.title': 'No Accesses', - 'noresult.accesses.subTitle': 'No accesses have been added yet.', - 'noresult.accesses.nofound': 'No matching accesses found.' + 'noresult.routes.title': 'No Routes', + 'noresult.routes.subTitle': 'No routes have been added yet.', + 'noresult.routes.nofound': 'No matching routes found.' }; diff --git a/src/locales/ja-JP/no-result.ts b/src/locales/ja-JP/no-result.ts index 2b95bdc0..1278b933 100644 --- a/src/locales/ja-JP/no-result.ts +++ b/src/locales/ja-JP/no-result.ts @@ -49,7 +49,7 @@ export default { 'noresult.providers.title': 'No Providers', 'noresult.providers.subTitle': 'No providers have been added yet.', 'noresult.providers.nofound': 'No matching providers found.', - 'noresult.accesses.title': 'No Accesses', - 'noresult.accesses.subTitle': 'No accesses have been added yet.', - 'noresult.accesses.nofound': 'No matching accesses found.' + 'noresult.routes.title': 'No Routes', + 'noresult.routes.subTitle': 'No routes have been added yet.', + 'noresult.routes.nofound': 'No matching routes found.' }; diff --git a/src/locales/ru-RU/no-result.ts b/src/locales/ru-RU/no-result.ts index d25b3cad..2811d2be 100644 --- a/src/locales/ru-RU/no-result.ts +++ b/src/locales/ru-RU/no-result.ts @@ -50,9 +50,9 @@ export default { 'noresult.providers.title': 'No Providers', 'noresult.providers.subTitle': 'No providers have been added yet.', 'noresult.providers.nofound': 'No matching providers found.', - 'noresult.accesses.title': 'No Accesses', - 'noresult.accesses.subTitle': 'No accesses have been added yet.', - 'noresult.accesses.nofound': 'No matching accesses found.' + 'noresult.routes.title': 'No Routes', + 'noresult.routes.subTitle': 'No routes have been added yet.', + 'noresult.routes.nofound': 'No matching routes found.' }; // ========== To-Do: Translate Keys (Remove After Translation) ========== @@ -69,7 +69,7 @@ export default { // 5. 'noresult.providers.title': 'No Providers', // 6. 'noresult.providers.subTitle': 'No providers have been added yet.', // 7. 'noresult.providers.nofound': 'No matching providers found.', -// 8. 'noresult.accesses.title': 'No Accesses', -// 9. 'noresult.accesses.subTitle': 'No accesses have been added yet.', -// 10. 'noresult.accesses.nofound': 'No matching accesses found.' +// 8. 'noresult.routes.title': 'No Routes', +// 9. 'noresult.routes.subTitle': 'No routes have been added yet.', +// 10. 'noresult.routes.nofound': 'No matching routes found.' // ======================================================================== diff --git a/src/locales/zh-CN/no-result.ts b/src/locales/zh-CN/no-result.ts index e14e338e..5d6be0b4 100644 --- a/src/locales/zh-CN/no-result.ts +++ b/src/locales/zh-CN/no-result.ts @@ -44,7 +44,7 @@ export default { 'noresult.providers.title': '暂无提供商', 'noresult.providers.subTitle': '尚未添加任何提供商。', 'noresult.providers.nofound': '未找到匹配的提供商', - 'noresult.accesses.title': '暂无接入', - 'noresult.accesses.subTitle': '尚未添加任何接入。', - 'noresult.accesses.nofound': '未找到匹配的接入' + 'noresult.routes.title': '暂无路由', + 'noresult.routes.subTitle': '尚未添加任何路由。', + 'noresult.routes.nofound': '未找到匹配的路由' }; diff --git a/src/pages/model-routes/index.tsx b/src/pages/model-routes/index.tsx index ae3aa80b..bfe3a051 100644 --- a/src/pages/model-routes/index.tsx +++ b/src/pages/model-routes/index.tsx @@ -39,7 +39,7 @@ import useCreateRoute from './hooks/use-create-route'; import useRoutesColumns from './hooks/use-routes-columns'; import useTargetSourceModels from './hooks/use-target-source-models'; -const Accesses: React.FC = () => { +const ModelRoutes: React.FC = () => { const { dataSource, rowSelection, @@ -317,4 +317,4 @@ const Accesses: React.FC = () => { ); }; -export default Accesses; +export default ModelRoutes;