chore: add worker labels
This commit is contained in:
@@ -50,5 +50,7 @@ export default {
|
||||
'resources.worker.container.supported': 'Do not support windows.',
|
||||
'resources.worker.current.version': 'Current version is {version}.',
|
||||
'resources.worker.select.command':
|
||||
'Select a label to generate the command and copy it using the copy button.'
|
||||
'Select a label to generate the command and copy it using the copy button.',
|
||||
'resources.worker.script.install': 'Script Installation',
|
||||
'resources.worker.container.install': 'Container Installation'
|
||||
};
|
||||
|
||||
@@ -48,5 +48,7 @@ export default {
|
||||
'resources.worker.add.step3': '成功后,刷新 worker 列表即可看到新的 worker',
|
||||
'resources.worker.container.supported': '不支持 Windows',
|
||||
'resources.worker.current.version': '当前版本为 {version}',
|
||||
'resources.worker.select.command': '选择一个标签生成命令并使用复制按钮复制'
|
||||
'resources.worker.select.command': '选择一个标签生成命令并使用复制按钮复制',
|
||||
'resources.worker.script.install': '脚本安装',
|
||||
'resources.worker.container.install': '容器安装'
|
||||
};
|
||||
|
||||
@@ -18,12 +18,12 @@ const AddWorker: React.FC<ViewModalProps> = (props) => {
|
||||
const items: TabsProps['items'] = [
|
||||
{
|
||||
key: 'script',
|
||||
label: 'Script Installation',
|
||||
label: intl.formatMessage({ id: 'resources.worker.script.install' }),
|
||||
children: <ScriptInstall token={token}></ScriptInstall>
|
||||
},
|
||||
{
|
||||
key: 'container',
|
||||
label: 'Container Installation',
|
||||
label: intl.formatMessage({ id: 'resources.worker.container.install' }),
|
||||
children: <ContainerInstall token={token} />
|
||||
}
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user