refactor: resource table columns

This commit is contained in:
jialin
2025-09-16 11:26:17 +08:00
parent 84859d1b7c
commit 949eded4ee
44 changed files with 1390 additions and 1544 deletions
+14
View File
@@ -0,0 +1,14 @@
export default {
'clusters.title': 'Cluster',
'clusters.table.provider': 'Provider',
'clusters.table.deployments': 'Deployments',
'clusters.button.add': 'Add Cluster',
'clusters.button.addCredential': 'Add Cloud Credential',
'clusters.button.editCredential': 'Edit Cloud Credential',
'clusters.filterBy.cluster': 'Filter by Cluster',
'clusters.add.cluster': 'Add {cluster} Cluster',
'clusters.edit.cluster': 'Edit {cluster}',
'clusters.provider.custom': 'Custom',
'clusters.button.register': 'Register Cluster',
'clusters.button.addNodePool': 'Add Node Pool'
};
+3 -1
View File
@@ -257,5 +257,7 @@ export default {
'common.login.password': 'Log in with Password',
'common.external.login': 'Log in with {type}',
'common.sso.noConfig':
'Single sign-on is not enabled on this system. Please contact your administrator.'
'Single sign-on is not enabled on this system. Please contact your administrator.',
'common.button.edit.item': 'Edit {name}',
'common.button.terminal': 'Terminal'
};
+29
View File
@@ -0,0 +1,29 @@
export default {
'clusters.title': 'Cluster',
'clusters.table.provider': 'Provider',
'clusters.table.deployments': 'Deployments',
'clusters.button.add': 'Add Cluster',
'clusters.button.addCredential': 'Add Cloud Credential',
'clusters.button.editCredential': 'Edit Cloud Credential',
'clusters.filterBy.cluster': 'Filter by Cluster',
'clusters.add.cluster': 'Add {cluster} Cluster',
'clusters.edit.cluster': 'Edit {cluster}',
'clusters.provider.custom': 'Custom',
'clusters.button.register': 'Register Cluster',
'clusters.button.addNodePool': 'Add Node Pool'
};
// ========== To-Do: Translate Keys (Remove After Translation) ==========
// 1. 'clusters.title': 'Cluster',
// 2. 'clusters.table.provider': 'Provider',
// 3. 'clusters.table.deployments': 'Deployments',
// 4. 'clusters.button.add': 'Add Cluster',
// 5. 'clusters.button.addCredential': 'Add Cloud Credential',
// 6. 'clusters.button.editCredential': 'Edit Cloud Credential',
// 7. 'clusters.filterBy.cluster': 'Filter by Cluster',
// 8. 'clusters.add.cluster': 'Add {cluster} Cluster',
// 9. 'clusters.edit.cluster': 'Edit {cluster}',
// 10. 'clusters.provider.custom': 'Custom',
// 11. 'clusters.button.register': 'Register Cluster',
// 12. 'clusters.button.addNodePool': 'Add Node Pool'
// ========== End of To-Do List ==========
+5 -1
View File
@@ -257,7 +257,9 @@ export default {
'common.login.password': 'Log in with Password',
'common.external.login': 'Log in with {type}',
'common.sso.noConfig':
'Single sign-on is not enabled on this system. Please contact your administrator.'
'Single sign-on is not enabled on this system. Please contact your administrator.',
'common.button.edit.item': 'Edit {name}',
'common.button.terminal': 'Terminal'
};
// ========== To-Do: Translate Keys (Remove After Translation) ==========
@@ -281,4 +283,6 @@ export default {
// 18. 'common.external.login': 'Log in with {type}'
// 19. 'common.login.password': 'Log in with Password',
// 20. 'common.sso.noConfig': 'Single sign-on is not enabled on this system. Please contact your administrator.'
// 21. 'common.button.edit.item': 'Edit {name}',
// 22. 'common.button.terminal': 'Terminal'
// ========== End of To-Do List ==========
+29
View File
@@ -0,0 +1,29 @@
export default {
'clusters.title': 'Cluster',
'clusters.table.provider': 'Provider',
'clusters.table.deployments': 'Deployments',
'clusters.button.add': 'Add Cluster',
'clusters.button.addCredential': 'Add Cloud Credential',
'clusters.button.editCredential': 'Edit Cloud Credential',
'clusters.filterBy.cluster': 'Filter by Cluster',
'clusters.add.cluster': 'Add {cluster} Cluster',
'clusters.edit.cluster': 'Edit {cluster}',
'clusters.provider.custom': 'Custom',
'clusters.button.register': 'Register Cluster',
'clusters.button.addNodePool': 'Add Node Pool'
};
// ========== To-Do: Translate Keys (Remove After Translation) ==========
// 1. 'clusters.title': 'Cluster',
// 2. 'clusters.table.provider': 'Provider',
// 3. 'clusters.table.deployments': 'Deployments',
// 4. 'clusters.button.add': 'Add Cluster',
// 5. 'clusters.button.addCredential': 'Add Cloud Credential',
// 6. 'clusters.button.editCredential': 'Edit Cloud Credential',
// 7. 'clusters.filterBy.cluster': 'Filter by Cluster',
// 8. 'clusters.add.cluster': 'Add {cluster} Cluster',
// 9. 'clusters.edit.cluster': 'Edit {cluster}',
// 10. 'clusters.provider.custom': 'Custom',
// 11. 'clusters.button.register': 'Register Cluster',
// 12. 'clusters.button.addNodePool': 'Add Node Pool'
// ========== End of To-Do List ==========
+5 -1
View File
@@ -256,11 +256,15 @@ export default {
'common.login.password': 'Log in with Password',
'common.external.login': 'Log in with {type}',
'common.sso.noConfig':
'Single sign-on is not enabled on this system. Please contact your administrator.'
'Single sign-on is not enabled on this system. Please contact your administrator.',
'common.button.edit.item': 'Edit {name}',
'common.button.terminal': 'Terminal'
};
// ========== To-Do: Translate Keys (Remove After Translation) ==========
// 1. 'common.external.login': 'Log in with {type}'
// 2. 'common.login.password': 'Log in with Password'
// 3. 'common.sso.noConfig': 'Single sign-on is not enabled on this system. Please contact your administrator.'
// 4. 'common.button.edit.item': 'Edit {name}',
// 5. 'common.button.terminal': 'Terminal'
// ========== End of To-Do List ==========
+14
View File
@@ -0,0 +1,14 @@
export default {
'clusters.title': '集群',
'clusters.table.provider': '提供商',
'clusters.table.deployments': '部署',
'clusters.button.add': '添加集群',
'clusters.button.addCredential': '添加云凭证',
'clusters.button.editCredential': '编辑云凭证',
'clusters.filterBy.cluster': '按集群过滤',
'clusters.add.cluster': '添加 {cluster} 集群',
'clusters.edit.cluster': '编辑 {cluster}',
'clusters.provider.custom': '自定义',
'clusters.button.register': '注册集群',
'clusters.button.addNodePool': '添加节点池'
};
+3 -1
View File
@@ -249,5 +249,7 @@ export default {
'common.login.auth.failed': '认证失败',
'common.login.password': '使用密码登录',
'common.external.login': '使用 {type} 登录',
'common.sso.noConfig': '该系统未启用单点登录,请联系管理员。'
'common.sso.noConfig': '该系统未启用单点登录,请联系管理员。',
'common.button.edit.item': '编辑 {name}',
'common.button.terminal': '终端'
};
+1 -1
View File
@@ -29,5 +29,5 @@ export default {
'menu.accessControl.users': '用户',
'menu.clusterManagement': '集群管理',
'menu.clusterManagement.clusters': '集群',
'menu.clusterManagement.credentials': '凭'
'menu.clusterManagement.credentials': '凭'
};