mirror of https://github.com/apache/cloudstack.git
Merge e933434c1d into 9bbd32a8ef
This commit is contained in:
commit
1476976be1
|
|
@ -3053,6 +3053,7 @@
|
|||
"message.action.unmanage.volume": "Please confirm that you want to unmanage the Volume.",
|
||||
"message.action.unmanage.volumes": "Please confirm that you want to unmanage the Volumes.",
|
||||
"message.action.vmsnapshot.delete": "Please confirm that you want to delete this Instance Snapshot. <br>Please notice that the Instance will be paused before the Snapshot deletion, and resumed after deletion, if it runs on KVM.",
|
||||
"message.action.vmsnapshot.disk-only.delete": "Please confirm that you want to delete this Instance Snapshot.",
|
||||
"message.activate.project": "Are you sure you want to activate this project?",
|
||||
"message.add.custom.action.parameters": "Parameters to be made available while running the custom action.",
|
||||
"message.add.egress.rule.failed": "Adding new egress rule failed.",
|
||||
|
|
|
|||
|
|
@ -1915,7 +1915,8 @@
|
|||
"message.action.unmanage.instance": "Por favor, confirme que voc\u00ea deseja parar de gerenciar a inst\u00e2ncia.",
|
||||
"message.action.unmanage.instances": "Por favor, confirme que voc\u00ea deseja parar de gerenciar as inst\u00e2ncias.",
|
||||
"message.action.unmanage.virtualmachine": "Por favor, confirme que voc\u00ea deseja parar de gerenciar a VM.",
|
||||
"message.action.vmsnapshot.delete": "Por favor, confirme que voc\u00ea deseja excluir esta snapshot de VM.",
|
||||
"message.action.vmsnapshot.delete": "Por favor, confirme que voc\u00ea deseja excluir esta snapshot de VM. <br>Saiba que caso a instância execute em um hypervisor KVM, ela será pausada antes da deleç\u00e3o, e continuada após a deleç\u00e3o.",
|
||||
"message.action.vmsnapshot.disk-only.delete": "Por favor, confirme que voc\u00ea deseja excluir esta snapshot de VM.",
|
||||
"message.activate.project": "Voc\u00ea tem certeza que deseja ativar este projeto?",
|
||||
"message.add.egress.rule.failed": "Falha ao adicionar uma nova regra de sa\u00edda",
|
||||
"message.add.egress.rule.processing": "Adicionando uma nova regra de sa\u00edda...",
|
||||
|
|
|
|||
|
|
@ -536,7 +536,12 @@ export default {
|
|||
api: 'deleteVMSnapshot',
|
||||
icon: 'delete-outlined',
|
||||
label: 'label.action.vmsnapshot.delete',
|
||||
message: 'message.action.vmsnapshot.delete',
|
||||
message: (record) => {
|
||||
if (record.hypervisor !== 'KVM' || record.type === 'Disk') {
|
||||
return 'message.action.vmsnapshot.disk-only.delete'
|
||||
}
|
||||
return 'message.action.vmsnapshot.delete'
|
||||
},
|
||||
dataView: true,
|
||||
show: (record) => { return ['Ready', 'Expunging', 'Error'].includes(record.state) },
|
||||
args: ['vmsnapshotid'],
|
||||
|
|
|
|||
Loading…
Reference in New Issue