fix: routes locales

This commit is contained in:
jialin
2026-02-03 18:21:08 +08:00
parent dcda9be50b
commit dc8b3b9210
5 changed files with 17 additions and 17 deletions
+3 -3
View File
@@ -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.'
};
+3 -3
View File
@@ -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.'
};
+6 -6
View File
@@ -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.'
// ========================================================================
+3 -3
View File
@@ -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': '未找到匹配的路由'
};
+2 -2
View File
@@ -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;