Two follow-ups to the GPU Service gating: - In Personal-Org view the access extension was stripping canSeeAdmin/canSeeOrgAdmin but leaving canSeeGpuService at its admin-shortcut value, so platform admins switched into Personal still saw the menu even though Personal scope can't host a K8s cluster. Mirror the probe result through sessionStorage so the extension can fall back to the strict cluster-availability signal in that branch. - The empty-state CTA now reads 'Add a Kubernetes Cluster' and, on click, opens the cluster-create flow with Kubernetes preselected via clusterSession.providerHint. ClusterCreate consumes the hint on mount: it seeds extraData.provider and starts at the configure step instead of the provider catalog, so the user lands one click closer to the form they actually need.
73 lines
4.2 KiB
TypeScript
73 lines
4.2 KiB
TypeScript
export default {
|
|
'noresult.button.add': '立即添加',
|
|
'noresult.mymodels.title': '暂无可访问的模型',
|
|
'noresult.mymodels.subTitle': '请联系管理员获取访问权限。',
|
|
'noresult.mymodels.nofound': '未找到匹配的模型',
|
|
'noresult.deployments.title': '尚未部署模型',
|
|
'noresult.deployments.subTitle':
|
|
'您还没有部署任何模型,点击下方按钮即可开始。',
|
|
'noresult.gpus.title': '当前未检测到 GPU 设备',
|
|
'noresult.gpus.subTitle': '请确认节点状态是否正常。',
|
|
'noresult.gpus.nofound': '未找到匹配的 GPU 设备',
|
|
'noresult.workers.title': '暂无节点',
|
|
'noresult.workers.subTitle': '当前集群中没有任何节点',
|
|
'noresult.workers.nofound': '未找到匹配的节点',
|
|
'noresult.workers.button.add': '添加节点',
|
|
'noresult.modelfiles.title': '暂无模型文件',
|
|
'noresult.modelfiles.subTitle': '尚未添加任何模型文件。',
|
|
'noresult.modelfiles.nofound': '未找到匹配的模型文件',
|
|
'noresult.backend.title': '暂无推理后端',
|
|
'noresult.backend.subTitle': '尚未添加任何推理后端。',
|
|
'noresult.backend.nofound': '未找到匹配的推理后端',
|
|
'noresult.cluster.title': '暂无集群',
|
|
'noresult.cluster.subTitle': '尚未添加任何集群。',
|
|
'noresult.cluster.nofound': '未找到匹配的集群',
|
|
'noresult.credentials.title': '暂无云凭证',
|
|
'noresult.credentials.subTitle': '尚未添加任何云凭证。',
|
|
'noresult.credentials.nofound': '未找到匹配的云凭证',
|
|
'noresult.users.title': '暂无用户',
|
|
'noresult.users.subTitle': '尚未添加任何用户。',
|
|
'noresult.users.nofound': '未找到匹配的用户',
|
|
'noresult.keys.title': '暂无 API 密钥',
|
|
'noresult.keys.subTitle': '尚未添加任何 API 密钥。',
|
|
'noresult.keys.nofound': '未找到匹配的 API 密钥',
|
|
'noresult.catalog.title': '暂无模型',
|
|
'noresult.catalog.subTitle': '尚未配置任何模型。',
|
|
'noresult.catalog.nofound': '未找到匹配的模型',
|
|
'noresult.resources.cluster': '暂无可用集群,请添加集群以开始使用。',
|
|
'noresult.resources.k8sCluster':
|
|
'暂无可用集群,请添加 Kubernetes 集群以开始使用。',
|
|
'noresult.resources.worker': '暂无可用节点,请添加节点以开始使用。',
|
|
'noresult.resources.gotocluster': '创建您的第一个集群',
|
|
'noresult.resources.addk8scluster': '添加 Kubernetes 集群',
|
|
'noresult.resources.gotoworker': '添加节点',
|
|
'noresult.benchmark.title': '暂无基准测试',
|
|
'noresult.benchmark.subTitle': '尚未添加任何基准测试。',
|
|
'noresult.benchmark.nofound': '未找到匹配的基准测试',
|
|
'noresult.providers.title': '暂无提供商',
|
|
'noresult.providers.subTitle': '尚未添加任何提供商。',
|
|
'noresult.providers.nofound': '未找到匹配的提供商',
|
|
'noresult.routes.title': '暂无路由',
|
|
'noresult.routes.subTitle': '尚未添加任何路由。',
|
|
'noresult.routes.nofound': '未找到匹配的路由',
|
|
'noresult.instances.title': '暂无实例',
|
|
'noresult.instances.subTitle':
|
|
'当前没有运行中的模型实例,部署模型后将自动创建。',
|
|
'noresult.instances.nofound': '未找到匹配的实例',
|
|
'noresult.gpuservice.template.title': '暂无实例模板',
|
|
'noresult.gpuservice.template.subTitle': '尚未添加任何实例模板。',
|
|
'noresult.gpuservice.template.nofound': '未找到匹配的实例模板',
|
|
'noresult.gpuservice.instance.title': '暂无 GPU 实例',
|
|
'noresult.gpuservice.instance.subTitle': '尚未添加任何 GPU 实例。',
|
|
'noresult.gpuservice.instance.nofound': '未找到匹配的 GPU 实例',
|
|
'noresult.gpuservice.storage.title': '暂无存储',
|
|
'noresult.gpuservice.storage.subTitle': '尚未添加任何存储。',
|
|
'noresult.gpuservice.storage.nofound': '未找到匹配的存储',
|
|
'noresult.gpuservice.storageType.title': '暂无存储类型',
|
|
'noresult.gpuservice.storageType.subTitle': '尚未添加任何存储类型。',
|
|
'noresult.gpuservice.storageType.nofound': '未找到匹配的存储类型',
|
|
'noresult.gpuservice.sshkey.title': '暂无 SSH 公钥',
|
|
'noresult.gpuservice.sshkey.subTitle': '尚未添加任何 SSH 公钥。',
|
|
'noresult.gpuservice.sshkey.nofound': '未找到匹配的 SSH 公钥'
|
|
};
|