chore: cluster locales

This commit is contained in:
jialin
2025-10-17 10:15:55 +08:00
parent 07243b206e
commit 37a3aa75cc
6 changed files with 16 additions and 9 deletions
+2 -1
View File
@@ -45,5 +45,6 @@ export default {
'clusters.create.register.tips': 'clusters.create.register.tips':
' On the Kubernetes cluster that needs to be added, run the following command to join its nodes to the cluster.', ' On the Kubernetes cluster that needs to be added, run the following command to join its nodes to the cluster.',
'cluster.create.checkEnv.tips': 'cluster.create.checkEnv.tips':
'Use the following command to check if the environment is ready' 'Use the following command to check if the environment is ready',
'cluster.provider.comingsoon': 'Coming soon'
}; };
+4 -2
View File
@@ -45,7 +45,8 @@ export default {
'cluster.create.checkEnv.tips': 'cluster.create.checkEnv.tips':
'Use the following command to check if the environment is ready', 'Use the following command to check if the environment is ready',
'clusters.create.register.tips': 'clusters.create.register.tips':
' On the Kubernetes cluster that needs to be added, run the following command to join its nodes to the cluster.' ' On the Kubernetes cluster that needs to be added, run the following command to join its nodes to the cluster.',
'cluster.provider.comingsoon': 'Coming soon'
}; };
// ========== To-Do: Translate Keys (Remove After Translation) ========== // ========== To-Do: Translate Keys (Remove After Translation) ==========
@@ -90,6 +91,7 @@ export default {
// 39. 'clusters.create.addworker.tips': ' Please make sure the prerequisites for <a href={link} target="_blank">{label}</a> are met before executing the following command.', // 39. 'clusters.create.addworker.tips': ' Please make sure the prerequisites for <a href={link} target="_blank">{label}</a> are met before executing the following command.',
// 40. 'clusters.create.addCommand.tips': ' On the Worker that needs to be added, run the following command to join it to the cluster.', // 40. 'clusters.create.addCommand.tips': ' On the Worker that needs to be added, run the following command to join it to the cluster.',
// 41. 'cluster.create.checkEnv.tips': 'Use the following command to check if the environment is ready', // 41. 'cluster.create.checkEnv.tips': 'Use the following command to check if the environment is ready',
// 42. 'clusters.create.register.tips': ' On the Kubernetes cluster that needs to be added, run the following command to join its nodes to the cluster.' // 42. 'clusters.create.register.tips': ' On the Kubernetes cluster that needs to be added, run the following command to join its nodes to the cluster.',
// 43. 'cluster.provider.comingsoon': 'Coming soon'
// ========== End of To-Do List ========== // ========== End of To-Do List ==========
+3 -1
View File
@@ -45,9 +45,11 @@ export default {
'cluster.create.checkEnv.tips': 'cluster.create.checkEnv.tips':
'Используйте следующую команду для проверки готовности окружения', 'Используйте следующую команду для проверки готовности окружения',
'clusters.create.register.tips': 'clusters.create.register.tips':
' On the Kubernetes cluster that needs to be added, run the following command to join its nodes to the cluster.' ' On the Kubernetes cluster that needs to be added, run the following command to join its nodes to the cluster.',
'cluster.provider.comingsoon': 'Coming soon'
}; };
// ========== To-Do: Translate Keys (Remove After Translation) ========== // ========== To-Do: Translate Keys (Remove After Translation) ==========
// 1. 'clusters.create.register.tips': ' On the Kubernetes cluster that needs to be added, run the following command to join its nodes to the cluster.', // 1. 'clusters.create.register.tips': ' On the Kubernetes cluster that needs to be added, run the following command to join its nodes to the cluster.',
// 2. 'cluster.provider.comingsoon': 'Coming soon'
// ========== End of To-Do List ========== // ========== End of To-Do List ==========
+2 -1
View File
@@ -43,5 +43,6 @@ export default {
' 在需要添加的 Worker 上运行以下命令,将其加入到集群中', ' 在需要添加的 Worker 上运行以下命令,将其加入到集群中',
'clusters.create.register.tips': 'clusters.create.register.tips':
' 在需要添加的 Kubernetes 集群上运行以下命令,将其中的节点加入到集群中', ' 在需要添加的 Kubernetes 集群上运行以下命令,将其中的节点加入到集群中',
'cluster.create.checkEnv.tips': '使用以下命令检查环境是否准备妥当' 'cluster.create.checkEnv.tips': '使用以下命令检查环境是否准备妥当',
'cluster.provider.comingsoon': '即将推出'
}; };
@@ -95,7 +95,8 @@ const ProviderCatalog: React.FC<ProviderCatalogProps> = ({
} }
icon={action.icon} icon={action.icon}
> >
{action.description} {action.description &&
intl.formatMessage({ id: action.description })}
</Card> </Card>
))} ))}
</Wrapper> </Wrapper>
@@ -42,7 +42,7 @@ export default [
value: ProviderValueMap.AliCloud, value: ProviderValueMap.AliCloud,
key: ProviderValueMap.AliCloud, key: ProviderValueMap.AliCloud,
icon: icons.AliCloud, icon: icons.AliCloud,
description: 'Coming soon', description: 'cluster.provider.comingsoon',
group: 'clusters.create.provider.cloud' group: 'clusters.create.provider.cloud'
}, },
{ {
@@ -52,7 +52,7 @@ export default [
value: ProviderValueMap.TencentCloud, value: ProviderValueMap.TencentCloud,
key: ProviderValueMap.TencentCloud, key: ProviderValueMap.TencentCloud,
icon: icons.TencentCloud, icon: icons.TencentCloud,
description: 'Coming soon', description: 'cluster.provider.comingsoon',
group: 'clusters.create.provider.cloud' group: 'clusters.create.provider.cloud'
}, },
{ {
@@ -62,7 +62,7 @@ export default [
value: ProviderValueMap.AWS, value: ProviderValueMap.AWS,
key: ProviderValueMap.AWS, key: ProviderValueMap.AWS,
icon: icons.AWS, icon: icons.AWS,
description: 'Comming soon', description: 'cluster.provider.comingsoon',
group: 'clusters.create.provider.cloud' group: 'clusters.create.provider.cloud'
} }
]; ];