From 0d4ae4ba954f88fce03e07bcddbee5c681ffaf01 Mon Sep 17 00:00:00 2001 From: tanghucheng Date: Tue, 3 Jan 2023 13:42:04 +0800 Subject: [PATCH] * Fix language. --- module/action/lang/de.php | 3 +++ module/action/lang/en.php | 4 +++- module/action/lang/fr.php | 15 +++++++++------ module/group/lang/resource.php | 16 ++++++++++------ module/zahost/lang/de.php | 15 ++++++++------- module/zahost/lang/en.php | 15 ++++++++------- module/zahost/lang/fr.php | 15 ++++++++------- module/zahost/lang/zh-cn.php | 13 +++++++------ module/zanode/lang/de.php | 11 +++++------ module/zanode/lang/en.php | 5 ++--- module/zanode/lang/fr.php | 7 +++---- 11 files changed, 66 insertions(+), 53 deletions(-) diff --git a/module/action/lang/de.php b/module/action/lang/de.php index 7b99d2cecc..b11e38eed2 100644 --- a/module/action/lang/de.php +++ b/module/action/lang/de.php @@ -232,6 +232,7 @@ $lang->action->desc->suspend = '$date, the ZenAgent Node is suspend $lang->action->desc->resume = '$date, the ZenAgent Node is resumed by $actor .' . "\n"; $lang->action->desc->reboot = '$date, the ZenAgent Node is reboot by $actor .' . "\n"; $lang->action->desc->destroy = '$date, the ZenAgent Node is destroyed by $actor .' . "\n"; +$lang->action->desc->boot = '$date, the ZenAgent Node is boot by $actor .' . "\n"; $lang->action->desc->relieved = '$date, relieved by $actor .' . "\n"; $lang->action->desc->switchtolight = '$date, Switch from ALM mode to light mode by '. $lang->admin->system .'.' . "\n"; $lang->action->desc->getvnc = '$date, Remote control $extra by $actor .' . "\n"; @@ -410,6 +411,7 @@ $lang->action->label->suspend = 'suspended'; $lang->action->label->resume = 'resumed'; $lang->action->label->reboot = 'reboot'; $lang->action->label->destroy = 'destroyed'; +$lang->action->label->getvnc = 'Remote'; $lang->action->label->synctwins = 'synchronized changes'; $lang->action->label->relieved = 'relieved'; $lang->action->label->switchtolight = 'switch from ALM mode to light mode'; @@ -650,6 +652,7 @@ $lang->action->dynamicAction->zanode['created'] = 'Create Zagent Node'; $lang->action->dynamicAction->zanode['suspend'] = 'Suspend Zagent Node'; $lang->action->dynamicAction->zanode['resume'] = 'Resume Zagent Node'; $lang->action->dynamicAction->zanode['reboot'] = 'Reboot Zagent Node'; +$lang->action->dynamicAction->zanode['boot'] = 'Boot Zagent Node'; $lang->action->dynamicAction->zanode['destroy'] = 'Destory Zagent Node'; $lang->action->dynamicAction->doclib['created'] = 'Create Doc Library'; diff --git a/module/action/lang/en.php b/module/action/lang/en.php index 7346c0d16a..71165b779a 100755 --- a/module/action/lang/en.php +++ b/module/action/lang/en.php @@ -232,6 +232,7 @@ $lang->action->desc->suspend = '$date, the ZenAgent Node is suspend $lang->action->desc->resume = '$date, the ZenAgent Node is resumed by $actor .' . "\n"; $lang->action->desc->reboot = '$date, the ZenAgent Node is reboot by $actor .' . "\n"; $lang->action->desc->destroy = '$date, the ZenAgent Node is destroyed by $actor .' . "\n"; +$lang->action->desc->boot = '$date, the ZenAgent Node is boot by $actor .' . "\n"; $lang->action->desc->relieved = '$date, relieved by $actor .' . "\n"; $lang->action->desc->switchtolight = '$date, Switch from ALM mode to light mode by '. $lang->admin->system .'.' . "\n"; $lang->action->desc->getvnc = '$date, Remote control $extra by $actor .' . "\n"; @@ -410,6 +411,7 @@ $lang->action->label->suspend = 'suspended'; $lang->action->label->resume = 'resumed'; $lang->action->label->reboot = 'reboot'; $lang->action->label->destroy = 'destroyed'; +$lang->action->label->getvnc = 'Remote'; $lang->action->label->synctwins = 'synchronized changes'; $lang->action->label->relieved = 'relieved'; $lang->action->label->switchtolight = 'switch from ALM mode to light mode'; @@ -490,7 +492,6 @@ $lang->action->dynamicAction->story['linked2release'] = 'Link Story to Re $lang->action->dynamicAction->story['unlinkedfromrelease'] = 'Unlink Story from Plan'; $lang->action->dynamicAction->story['linked2revision'] = 'Link Story to Revision'; $lang->action->dynamicAction->story['unlinkedfromrevision'] = 'Unlink Story from Revision'; -$lang->action->dynamicAction->story['unlinkedfromrelease'] = 'Unlink Story from Plan'; $lang->action->dynamicAction->story['linked2build'] = 'Link Story to Build'; $lang->action->dynamicAction->story['unlinkedfrombuild'] = 'Unlink Story from Build'; $lang->action->dynamicAction->story['unlinkedfromproject'] = 'Unlink Project'; @@ -651,6 +652,7 @@ $lang->action->dynamicAction->zanode['created'] = 'Create Zagent Node'; $lang->action->dynamicAction->zanode['suspend'] = 'Suspend Zagent Node'; $lang->action->dynamicAction->zanode['resume'] = 'Resume Zagent Node'; $lang->action->dynamicAction->zanode['reboot'] = 'Reboot Zagent Node'; +$lang->action->dynamicAction->zanode['boot'] = 'Boot Zagent Node'; $lang->action->dynamicAction->zanode['destroy'] = 'Destory Zagent Node'; $lang->action->dynamicAction->doclib['created'] = 'Create Doc Library'; diff --git a/module/action/lang/fr.php b/module/action/lang/fr.php index b179cd358d..d5d7b3b137 100644 --- a/module/action/lang/fr.php +++ b/module/action/lang/fr.php @@ -232,6 +232,7 @@ $lang->action->desc->suspend = '$date, the ZenAgent Node is suspend $lang->action->desc->resume = '$date, the ZenAgent Node is resumed by $actor .' . "\n"; $lang->action->desc->reboot = '$date, the ZenAgent Node is reboot by $actor .' . "\n"; $lang->action->desc->destroy = '$date, the ZenAgent Node is destroyed by $actor .' . "\n"; +$lang->action->desc->boot = '$date, the ZenAgent Node is boot by $actor .' . "\n"; $lang->action->desc->relieved = '$date, relieved by $actor .' . "\n"; $lang->action->desc->switchtolight = '$date, Switch from ALM mode to light mode by '. $lang->admin->system .'.' . "\n"; $lang->action->desc->getvnc = '$date, Remote control $extra by $actor .' . "\n"; @@ -313,7 +314,7 @@ $lang->action->label->unlinkedfrombuild = "a enlevé du Build "; $lang->action->label->linked2release = "a ajouté à une Release "; $lang->action->label->unlinkedfromrelease = "a enlevé de la Release "; $lang->action->label->linked2revision = "Link Revision"; -$lang->action->label->unlinked2revision = "Unlink Revision"; +$lang->action->label->unlinkedfromrevision = "Unlink Revision"; $lang->action->label->linkrelatedbug = "a lié à un Bug "; $lang->action->label->unlinkrelatedbug = "a délié du Bug "; $lang->action->label->linkrelatedcase = "a mis en relation avec un CasTest "; @@ -410,6 +411,7 @@ $lang->action->label->suspend = 'suspended'; $lang->action->label->resume = 'resumed'; $lang->action->label->reboot = 'reboot'; $lang->action->label->destroy = 'destroyed'; +$lang->action->label->getvnc = 'Remote'; $lang->action->label->synctwins = 'synchronized changes'; $lang->action->label->relieved = 'relieved'; $lang->action->label->switchtolight = 'switch from ALM mode to light mode'; @@ -487,9 +489,9 @@ $lang->action->dynamicAction->story['changed'] = 'Changer Story'; $lang->action->dynamicAction->story['linked2plan'] = 'Inclure Story au Plan'; $lang->action->dynamicAction->story['unlinkedfromplan'] = 'Enlever Story du Plan'; $lang->action->dynamicAction->story['linked2release'] = 'Inclure Story à la Release'; -$lang->action->dynamicAction->story['unlinkedfromrelease'] = 'Enlever Story de la Release'; +$lang->action->dynamicAction->story['unlinkedfromrelease'] = 'Unlink Story from Plan'; $lang->action->dynamicAction->story['linked2revision'] = 'Inclure Story à la Revision'; -$lang->action->dynamicAction->story['unlinked2revision'] = 'Unlink Stroy to Revision'; +$lang->action->dynamicAction->story['unlinkedfromrevision'] = 'Unlink Story from Revision'; $lang->action->dynamicAction->story['linked2build'] = 'Ajouter Story au Build'; $lang->action->dynamicAction->story['unlinkedfrombuild'] = 'Détacher Story du Build'; $lang->action->dynamicAction->story['unlinkedfromproject'] = 'Détacher du Project'; @@ -578,7 +580,7 @@ $lang->action->dynamicAction->task['svncommited'] = 'Committer SVN'; $lang->action->dynamicAction->task['gitcommited'] = 'Committer GIT'; $lang->action->dynamicAction->task['ganttmove'] = 'Order'; $lang->action->dynamicAction->task['linked2revision'] = 'Link Task to Revision'; -$lang->action->dynamicAction->task['unlinked2revision'] = 'Unlink Task to Revision'; +$lang->action->dynamicAction->task['unlinkedfromrevision'] = 'Unlink Task from Revision'; $lang->action->dynamicAction->build['opened'] = 'Créer Build'; $lang->action->dynamicAction->build['edited'] = 'Editer Build'; @@ -603,7 +605,7 @@ $lang->action->dynamicAction->bug['unlinkedfromplan'] = 'Enlevé du Plan'; $lang->action->dynamicAction->bug['linked2release'] = 'Ajouté à la Release'; $lang->action->dynamicAction->bug['unlinkedfromrelease'] = 'Enlevé de la Release'; $lang->action->dynamicAction->bug['linked2revision'] = 'Ajouté à la Revision'; -$lang->action->dynamicAction->bug['unlinked2revision'] = 'Unlink Bug to Revision'; +$lang->action->dynamicAction->bug['unlinkedfromrevision'] = 'Unlink Bug from Revision'; $lang->action->dynamicAction->bug['linked2bug'] = 'Lié au Build'; $lang->action->dynamicAction->bug['unlinkedfrombuild'] = 'Retiré du Build'; $lang->action->dynamicAction->bug['fromsonarqube'] = 'Create Bug from SonarQube Issue'; @@ -650,6 +652,7 @@ $lang->action->dynamicAction->zanode['created'] = 'Create Zagent Node'; $lang->action->dynamicAction->zanode['suspend'] = 'Suspend Zagent Node'; $lang->action->dynamicAction->zanode['resume'] = 'Resume Zagent Node'; $lang->action->dynamicAction->zanode['reboot'] = 'Reboot Zagent Node'; +$lang->action->dynamicAction->zanode['boot'] = 'Boot Zagent Node'; $lang->action->dynamicAction->zanode['destroy'] = 'Destory Zagent Node'; $lang->action->dynamicAction->doclib['created'] = 'Créer Doc Library'; @@ -904,7 +907,7 @@ $lang->action->apiTitle->unlinkedfrombuild = "Unlinked from build"; $lang->action->apiTitle->linked2release = "Linked to release"; $lang->action->apiTitle->unlinkedfromrelease = "Unlinked from release"; $lang->action->apiTitle->linked2revision = "Linked to revision"; -$lang->action->apiTitle->unlinked2revision = "Unlinked to revision"; +$lang->action->apiTitle->unlinkedfromrevision = "Unlinked from revision"; $lang->action->apiTitle->linkrelatedbug = "Linked related Bug"; $lang->action->apiTitle->unlinkrelatedbug = "Unlinked related Bug"; $lang->action->apiTitle->linkrelatedstory = "Link related story {$lang->SRCommon}"; diff --git a/module/group/lang/resource.php b/module/group/lang/resource.php index ab5e005f8c..37b350c0d9 100644 --- a/module/group/lang/resource.php +++ b/module/group/lang/resource.php @@ -1220,12 +1220,14 @@ $lang->caselib->methodOrder[45] = 'import'; $lang->caselib->methodOrder[50] = 'showImport'; $lang->resource->zahost = new stdclass(); -$lang->resource->zahost->browse = 'browse'; -$lang->resource->zahost->create = 'create'; -$lang->resource->zahost->edit = 'editAction'; -$lang->resource->zahost->delete = 'deleteAction'; -$lang->resource->zahost->view = 'view'; -$lang->resource->zahost->browseImage = 'browseImage'; +$lang->resource->zahost->browse = 'browse'; +$lang->resource->zahost->create = 'create'; +$lang->resource->zahost->edit = 'editAction'; +$lang->resource->zahost->delete = 'deleteAction'; +$lang->resource->zahost->view = 'view'; +$lang->resource->zahost->browseImage = 'browseImage'; +$lang->resource->zahost->downloadImage = 'downloadImage'; +$lang->resource->zahost->cancelDownload = 'cancel'; $lang->zahost->methodOrder[0] = 'browse'; $lang->zahost->methodOrder[5] = 'create'; @@ -1233,6 +1235,8 @@ $lang->zahost->methodOrder[10] = 'edit'; $lang->zahost->methodOrder[15] = 'delete'; $lang->zahost->methodOrder[20] = 'view'; $lang->zahost->methodOrder[25] = 'browseImage'; +$lang->zahost->methodOrder[30] = 'downloadImage'; +$lang->zahost->methodOrder[35] = 'cancelDownload'; $lang->resource->zanode = new stdclass(); $lang->resource->zanode->browse = 'browse'; diff --git a/module/zahost/lang/de.php b/module/zahost/lang/de.php index 08c292dcf8..27b944ca07 100644 --- a/module/zahost/lang/de.php +++ b/module/zahost/lang/de.php @@ -4,7 +4,7 @@ $lang->zahost->common = 'ZAhost'; $lang->zahost->browse = 'Host List'; $lang->zahost->create = 'Add Host'; $lang->zahost->view = 'Host View'; -$lang->zahost->init = 'Init Host'; +$lang->zahost->initTitle = 'Init Host'; $lang->zahost->edit = 'Edit'; $lang->zahost->editAction = 'Edit Host'; $lang->zahost->delete = 'Delete'; @@ -33,11 +33,12 @@ $lang->zahost->editedBy = 'EditedBy'; $lang->zahost->editedDate = 'EditedDate'; $lang->zahost->registerDate = 'RegisterDate'; -$lang->zahost->memorySize = $lang->zahost->memory; -$lang->zahost->cpuCoreNum = $lang->zahost->cpuCores; -$lang->zahost->os = 'System'; -$lang->zahost->imageName = 'Image File'; -$lang->zahost->browseImage = 'Image List'; +$lang->zahost->memorySize = $lang->zahost->memory; +$lang->zahost->cpuCoreNum = $lang->zahost->cpuCores; +$lang->zahost->os = 'System'; +$lang->zahost->imageName = 'Image File'; +$lang->zahost->browseImage = 'Image List'; +$lang->zahost->downloadImage = 'Download Image'; $lang->zahost->createZanode = 'Create Node'; $lang->zahost->initNotice = 'Save successfully, initialize the ZAhost or return list'; @@ -73,7 +74,7 @@ $lang->zahost->image = new stdclass; $lang->zahost->image->browseImage = 'Image List'; $lang->zahost->image->createImage = 'Create Image'; $lang->zahost->image->choseImage = 'Select Image'; -$lang->zahost->image->downloadImage = 'Download Image'; +$lang->zahost->image->downloadImage = $lang->zahost->downloadImage; $lang->zahost->image->startDowload = 'Start Download'; $lang->zahost->image->common = 'Image'; diff --git a/module/zahost/lang/en.php b/module/zahost/lang/en.php index 08c292dcf8..27b944ca07 100644 --- a/module/zahost/lang/en.php +++ b/module/zahost/lang/en.php @@ -4,7 +4,7 @@ $lang->zahost->common = 'ZAhost'; $lang->zahost->browse = 'Host List'; $lang->zahost->create = 'Add Host'; $lang->zahost->view = 'Host View'; -$lang->zahost->init = 'Init Host'; +$lang->zahost->initTitle = 'Init Host'; $lang->zahost->edit = 'Edit'; $lang->zahost->editAction = 'Edit Host'; $lang->zahost->delete = 'Delete'; @@ -33,11 +33,12 @@ $lang->zahost->editedBy = 'EditedBy'; $lang->zahost->editedDate = 'EditedDate'; $lang->zahost->registerDate = 'RegisterDate'; -$lang->zahost->memorySize = $lang->zahost->memory; -$lang->zahost->cpuCoreNum = $lang->zahost->cpuCores; -$lang->zahost->os = 'System'; -$lang->zahost->imageName = 'Image File'; -$lang->zahost->browseImage = 'Image List'; +$lang->zahost->memorySize = $lang->zahost->memory; +$lang->zahost->cpuCoreNum = $lang->zahost->cpuCores; +$lang->zahost->os = 'System'; +$lang->zahost->imageName = 'Image File'; +$lang->zahost->browseImage = 'Image List'; +$lang->zahost->downloadImage = 'Download Image'; $lang->zahost->createZanode = 'Create Node'; $lang->zahost->initNotice = 'Save successfully, initialize the ZAhost or return list'; @@ -73,7 +74,7 @@ $lang->zahost->image = new stdclass; $lang->zahost->image->browseImage = 'Image List'; $lang->zahost->image->createImage = 'Create Image'; $lang->zahost->image->choseImage = 'Select Image'; -$lang->zahost->image->downloadImage = 'Download Image'; +$lang->zahost->image->downloadImage = $lang->zahost->downloadImage; $lang->zahost->image->startDowload = 'Start Download'; $lang->zahost->image->common = 'Image'; diff --git a/module/zahost/lang/fr.php b/module/zahost/lang/fr.php index 08c292dcf8..27b944ca07 100644 --- a/module/zahost/lang/fr.php +++ b/module/zahost/lang/fr.php @@ -4,7 +4,7 @@ $lang->zahost->common = 'ZAhost'; $lang->zahost->browse = 'Host List'; $lang->zahost->create = 'Add Host'; $lang->zahost->view = 'Host View'; -$lang->zahost->init = 'Init Host'; +$lang->zahost->initTitle = 'Init Host'; $lang->zahost->edit = 'Edit'; $lang->zahost->editAction = 'Edit Host'; $lang->zahost->delete = 'Delete'; @@ -33,11 +33,12 @@ $lang->zahost->editedBy = 'EditedBy'; $lang->zahost->editedDate = 'EditedDate'; $lang->zahost->registerDate = 'RegisterDate'; -$lang->zahost->memorySize = $lang->zahost->memory; -$lang->zahost->cpuCoreNum = $lang->zahost->cpuCores; -$lang->zahost->os = 'System'; -$lang->zahost->imageName = 'Image File'; -$lang->zahost->browseImage = 'Image List'; +$lang->zahost->memorySize = $lang->zahost->memory; +$lang->zahost->cpuCoreNum = $lang->zahost->cpuCores; +$lang->zahost->os = 'System'; +$lang->zahost->imageName = 'Image File'; +$lang->zahost->browseImage = 'Image List'; +$lang->zahost->downloadImage = 'Download Image'; $lang->zahost->createZanode = 'Create Node'; $lang->zahost->initNotice = 'Save successfully, initialize the ZAhost or return list'; @@ -73,7 +74,7 @@ $lang->zahost->image = new stdclass; $lang->zahost->image->browseImage = 'Image List'; $lang->zahost->image->createImage = 'Create Image'; $lang->zahost->image->choseImage = 'Select Image'; -$lang->zahost->image->downloadImage = 'Download Image'; +$lang->zahost->image->downloadImage = $lang->zahost->downloadImage; $lang->zahost->image->startDowload = 'Start Download'; $lang->zahost->image->common = 'Image'; diff --git a/module/zahost/lang/zh-cn.php b/module/zahost/lang/zh-cn.php index e08e55a953..06f236f9f3 100644 --- a/module/zahost/lang/zh-cn.php +++ b/module/zahost/lang/zh-cn.php @@ -33,11 +33,12 @@ $lang->zahost->editedBy = '由谁修改'; $lang->zahost->editedDate = '最后修改时间'; $lang->zahost->registerDate = '最后注册时间'; -$lang->zahost->memorySize = $lang->zahost->memory; -$lang->zahost->cpuCoreNum = $lang->zahost->cpuCores; -$lang->zahost->os = '操作系统'; -$lang->zahost->imageName = '镜像文件'; -$lang->zahost->browseImage = '镜像列表'; +$lang->zahost->memorySize = $lang->zahost->memory; +$lang->zahost->cpuCoreNum = $lang->zahost->cpuCores; +$lang->zahost->os = '操作系统'; +$lang->zahost->imageName = '镜像文件'; +$lang->zahost->browseImage = '镜像列表'; +$lang->zahost->downloadImage = '下载镜像'; $lang->zahost->createZanode = '创建执行节点'; $lang->zahost->initNotice = '保存成功,请您初始化宿主机或返回列表。'; @@ -73,7 +74,7 @@ $lang->zahost->image = new stdclass; $lang->zahost->image->browseImage = '镜像列表'; $lang->zahost->image->createImage = '创建镜像'; $lang->zahost->image->choseImage = '选择镜像'; -$lang->zahost->image->downloadImage = '下载镜像'; +$lang->zahost->image->downloadImage = $lang->zahost->downloadImage; $lang->zahost->image->startDowload = '开始下载'; $lang->zahost->image->common = '镜像'; diff --git a/module/zanode/lang/de.php b/module/zanode/lang/de.php index dc3c75f7a6..b329ef661a 100644 --- a/module/zanode/lang/de.php +++ b/module/zanode/lang/de.php @@ -34,8 +34,8 @@ $lang->zanode->cpuCores = 'CPU'; $lang->zanode->defaultUser = 'Default Account Name'; $lang->zanode->defaultPwd = 'Default Password'; $lang->zanode->memory = 'Memory Size'; -$lang->zanode->desc = 'Description'; $lang->zanode->diskSize = 'Disk Size'; +$lang->zanode->desc = 'Description'; $lang->zanode->status = 'Status'; $lang->zanode->mac = 'MAC'; $lang->zanode->vnc = 'VNC Port'; @@ -67,8 +67,8 @@ $lang->automation->node = $lang->zanode->common; $lang->zanode->notFoundAgent = 'No Agent service is found'; $lang->zanode->createVmFail = 'Failed to create a ZenAgent Node'; $lang->zanode->noVncPort = 'Failed to get vnc port'; -$lang->zanode->nameValid = "Name must be letters, numbers,'-','_','.', And cannot begin with a symbol"; -$lang->zanode->empty = 'ZenAgent Node not found.'; +$lang->zanode->nameValid = "The name can only be letters, numbers, '-', '_', '.', and cannot start with a symbol"; +$lang->zanode->empty = 'No zanode is found'; $lang->zanode->runCaseConfirm = 'The system detects the presence of an automation script. Whether to execute?'; $lang->zanode->createImage = 'Create Image'; @@ -95,7 +95,7 @@ $lang->zanode->statusList['suspend'] = 'Suspend'; $lang->zanode->statusList['offline'] = 'Offline'; $lang->zanode->statusList['destroy'] = 'Destroyed'; $lang->zanode->statusList['shutoff'] = 'Shutoff'; -$lang->zanode->statusList['shutdown'] = 'shutdown'; +$lang->zanode->statusList['shutodown'] = 'shutdown'; $lang->zanode->statusList['destroy_fail'] = 'Destroy Fail'; $lang->zanode->statusList['wait'] = 'Initializing'; $lang->zanode->statusList['online'] = 'Online'; @@ -103,7 +103,7 @@ $lang->zanode->statusList['online'] = 'Online'; $lang->zanode->initNotice = "Succeeded. Please initialize the execution node or return to the list."; $lang->zanode->initButton = "Initialize"; -$lang->zanode->init = new stdclass; +$lang->zanode->init = new stdClass(); $lang->zanode->init->statusTitle = "Service Status"; $lang->zanode->init->checkStatus = "Check Service Status"; $lang->zanode->init->not_install = "Not installed"; @@ -121,7 +121,6 @@ $lang->zanode->init->serviceStatus = [ "ZenAgent" => 'not_install', "ZTF" => 'not_install', ]; - $lang->zanode->init->title = "Initialize Node"; $lang->zanode->init->descTitle = "Follow these steps to complete the initialization on the node:"; $lang->zanode->init->initDesc = "Execute the init script on the node: %s %s
- Click check service status button."; diff --git a/module/zanode/lang/en.php b/module/zanode/lang/en.php index 11b15f155d..b329ef661a 100644 --- a/module/zanode/lang/en.php +++ b/module/zanode/lang/en.php @@ -34,8 +34,8 @@ $lang->zanode->cpuCores = 'CPU'; $lang->zanode->defaultUser = 'Default Account Name'; $lang->zanode->defaultPwd = 'Default Password'; $lang->zanode->memory = 'Memory Size'; -$lang->zanode->desc = 'Description'; $lang->zanode->diskSize = 'Disk Size'; +$lang->zanode->desc = 'Description'; $lang->zanode->status = 'Status'; $lang->zanode->mac = 'MAC'; $lang->zanode->vnc = 'VNC Port'; @@ -95,7 +95,7 @@ $lang->zanode->statusList['suspend'] = 'Suspend'; $lang->zanode->statusList['offline'] = 'Offline'; $lang->zanode->statusList['destroy'] = 'Destroyed'; $lang->zanode->statusList['shutoff'] = 'Shutoff'; -$lang->zanode->statusList['shutdown'] = 'shutdown'; +$lang->zanode->statusList['shutodown'] = 'shutdown'; $lang->zanode->statusList['destroy_fail'] = 'Destroy Fail'; $lang->zanode->statusList['wait'] = 'Initializing'; $lang->zanode->statusList['online'] = 'Online'; @@ -121,7 +121,6 @@ $lang->zanode->init->serviceStatus = [ "ZenAgent" => 'not_install', "ZTF" => 'not_install', ]; - $lang->zanode->init->title = "Initialize Node"; $lang->zanode->init->descTitle = "Follow these steps to complete the initialization on the node:"; $lang->zanode->init->initDesc = "Execute the init script on the node: %s %s
- Click check service status button."; diff --git a/module/zanode/lang/fr.php b/module/zanode/lang/fr.php index 8815f579f9..b329ef661a 100644 --- a/module/zanode/lang/fr.php +++ b/module/zanode/lang/fr.php @@ -34,8 +34,8 @@ $lang->zanode->cpuCores = 'CPU'; $lang->zanode->defaultUser = 'Default Account Name'; $lang->zanode->defaultPwd = 'Default Password'; $lang->zanode->memory = 'Memory Size'; -$lang->zanode->desc = 'Description'; $lang->zanode->diskSize = 'Disk Size'; +$lang->zanode->desc = 'Description'; $lang->zanode->status = 'Status'; $lang->zanode->mac = 'MAC'; $lang->zanode->vnc = 'VNC Port'; @@ -95,7 +95,7 @@ $lang->zanode->statusList['suspend'] = 'Suspend'; $lang->zanode->statusList['offline'] = 'Offline'; $lang->zanode->statusList['destroy'] = 'Destroyed'; $lang->zanode->statusList['shutoff'] = 'Shutoff'; -$lang->zanode->statusList['shutdown'] = 'shutdown'; +$lang->zanode->statusList['shutodown'] = 'shutdown'; $lang->zanode->statusList['destroy_fail'] = 'Destroy Fail'; $lang->zanode->statusList['wait'] = 'Initializing'; $lang->zanode->statusList['online'] = 'Online'; @@ -103,7 +103,7 @@ $lang->zanode->statusList['online'] = 'Online'; $lang->zanode->initNotice = "Succeeded. Please initialize the execution node or return to the list."; $lang->zanode->initButton = "Initialize"; -$lang->zanode->init = new stdclass; +$lang->zanode->init = new stdClass(); $lang->zanode->init->statusTitle = "Service Status"; $lang->zanode->init->checkStatus = "Check Service Status"; $lang->zanode->init->not_install = "Not installed"; @@ -121,7 +121,6 @@ $lang->zanode->init->serviceStatus = [ "ZenAgent" => 'not_install', "ZTF" => 'not_install', ]; - $lang->zanode->init->title = "Initialize Node"; $lang->zanode->init->descTitle = "Follow these steps to complete the initialization on the node:"; $lang->zanode->init->initDesc = "Execute the init script on the node: %s %s
- Click check service status button.";