chore: add resource modal button text
This commit is contained in:
@@ -32,7 +32,7 @@ export default {
|
||||
'clusters.create.configBasic': 'Basic Configuration',
|
||||
'clusters.create.execCommand': 'Execute Command',
|
||||
'clusters.create.supportedGpu': 'Supported GPUs',
|
||||
'clusters.create.skipfornow': 'Skip for now',
|
||||
'clusters.create.skipfornow': 'Skip for Now',
|
||||
'clusters.create.noImages': 'No images available',
|
||||
'clusters.create.noInstanceTypes': 'No instance types available',
|
||||
'clusters.create.noRegions': 'No regions available',
|
||||
|
||||
@@ -12,7 +12,7 @@ export default {
|
||||
'noresult.workers.title': 'No Workers',
|
||||
'noresult.workers.subTitle': 'No workers found in any clusters.',
|
||||
'noresult.workers.nofound': 'No matching workers found.',
|
||||
'noresult.workers.button.add': 'Go to Add Worker',
|
||||
'noresult.workers.button.add': 'Add Worker',
|
||||
'noresult.modelfiles.title': 'No Model Files',
|
||||
'noresult.modelfiles.subTitle': 'No model files have been added yet.',
|
||||
'noresult.modelfiles.nofound': 'No matching model files found.',
|
||||
|
||||
@@ -32,7 +32,7 @@ export default {
|
||||
'clusters.create.configBasic': 'Basic Configuration',
|
||||
'clusters.create.execCommand': 'Execute Command',
|
||||
'clusters.create.supportedGpu': 'Supported GPUs',
|
||||
'clusters.create.skipfornow': 'Skip for now',
|
||||
'clusters.create.skipfornow': 'Skip for Now',
|
||||
'clusters.create.noImages': 'No images available',
|
||||
'clusters.create.noInstanceTypes': 'No instance types available',
|
||||
'clusters.create.noRegions': 'No regions available',
|
||||
@@ -149,7 +149,7 @@ Same applies to the <span class="bold-text">/opt/dtk</span> directory.`,
|
||||
// 31. 'clusters.create.configBasic': 'Basic Configuration',
|
||||
// 32. 'clusters.create.execCommand': 'Execute Command',
|
||||
// 33. 'clusters.create.supportedGpu': 'Supported GPUs',
|
||||
// 34. 'clusters.create.skipfornow': 'Skip for now',
|
||||
// 34. 'clusters.create.skipfornow': 'Skip for Now',
|
||||
// 35. 'clusters.create.noImages': 'No images available',
|
||||
// 36. 'clusters.create.noInstanceTypes': 'No instance types available',
|
||||
// 37. 'clusters.create.noRegions': 'No regions available',
|
||||
|
||||
@@ -12,7 +12,7 @@ export default {
|
||||
'noresult.workers.title': 'No Workers',
|
||||
'noresult.workers.subTitle': 'No workers found in any clusters.',
|
||||
'noresult.workers.nofound': 'No matching workers found.',
|
||||
'noresult.workers.button.add': 'Go to Add Worker',
|
||||
'noresult.workers.button.add': 'Add Worker',
|
||||
'noresult.modelfiles.title': 'No Model Files',
|
||||
'noresult.modelfiles.subTitle': 'No model files have been added yet.',
|
||||
'noresult.modelfiles.nofound': 'No matching model files found.',
|
||||
|
||||
@@ -32,7 +32,7 @@ export default {
|
||||
'clusters.create.configBasic': '基本配置',
|
||||
'clusters.create.execCommand': '执行命令',
|
||||
'clusters.create.supportedGpu': '支持的 GPU',
|
||||
'clusters.create.skipfornow': '稍后再说',
|
||||
'clusters.create.skipfornow': '暂时跳过',
|
||||
'clusters.create.noImages': '无可用的镜像',
|
||||
'clusters.create.noInstanceTypes': '无可用的实例类型',
|
||||
'clusters.create.noRegions': '无可用的区域',
|
||||
|
||||
@@ -12,7 +12,7 @@ export default {
|
||||
'noresult.workers.title': '暂无节点',
|
||||
'noresult.workers.subTitle': '当前集群中没有任何节点',
|
||||
'noresult.workers.nofound': '未找到匹配的节点',
|
||||
'noresult.workers.button.add': '前往添加节点',
|
||||
'noresult.workers.button.add': '添加节点',
|
||||
'noresult.modelfiles.title': '暂无模型文件',
|
||||
'noresult.modelfiles.subTitle': '尚未添加任何模型文件。',
|
||||
'noresult.modelfiles.nofound': '未找到匹配的模型文件',
|
||||
|
||||
@@ -157,7 +157,7 @@ export default function useAddResource(options?: { onCreated?: () => void }) {
|
||||
</div>
|
||||
<div className="btn-wrapper">
|
||||
<Button onClick={handleCancel} type="default" style={{ flex: 1 }}>
|
||||
{intl.formatMessage({ id: 'common.button.dontshowagain' })}
|
||||
{intl.formatMessage({ id: 'clusters.create.skipfornow' })}
|
||||
</Button>
|
||||
<Button onClick={handleCreate} type="primary" style={{ flex: 1 }}>
|
||||
{contentInfo.btnText}
|
||||
|
||||
Reference in New Issue
Block a user