diff --git a/src/components/Replica/Replica.js b/src/components/Replica/Replica.js index 87199826..a6d08b92 100644 --- a/src/components/Replica/Replica.js +++ b/src/components/Replica/Replica.js @@ -19,7 +19,7 @@ class Replica extends React.Component { switch (event.key) { case 'delete': confirm({ - title: `Are you sure you want to delete replica ${record.name} ?`, + title: `Are you sure you want to delete replica ${record.name}?`, onOk() { deleteReplicas([record]) }, diff --git a/src/routes/backingImage/BackingImageActions.js b/src/routes/backingImage/BackingImageActions.js index 004f783c..66f83149 100644 --- a/src/routes/backingImage/BackingImageActions.js +++ b/src/routes/backingImage/BackingImageActions.js @@ -9,7 +9,7 @@ function actions({ selected, deleteBackingImage, cleanUpDiskMap, downloadBacking switch (event.key) { case 'delete': confirm({ - title: `Are you sure you want to delete backing image ${record.name} ?`, + title: `Are you sure you want to delete backing image ${record.name}?`, onOk() { deleteBackingImage(record) }, diff --git a/src/routes/engineimage/EngineImageActions.js b/src/routes/engineimage/EngineImageActions.js index ba24cde3..16a6f733 100644 --- a/src/routes/engineimage/EngineImageActions.js +++ b/src/routes/engineimage/EngineImageActions.js @@ -9,7 +9,7 @@ function actions({ selected, deleteEngineImage }) { switch (event.key) { case 'delete': confirm({ - title: `Are you sure you want to delete engine image ${record.name} ?`, + title: `Are you sure you want to delete engine image ${record.name}?`, onOk() { deleteEngineImage(record) }, diff --git a/src/routes/host/DiskActions.js b/src/routes/host/DiskActions.js index 9e13fd5c..652c0edf 100644 --- a/src/routes/host/DiskActions.js +++ b/src/routes/host/DiskActions.js @@ -16,7 +16,7 @@ function actions({ node, selected, updateDisk }) { } case 'delete': confirm({ - title: `Are you sure you want to delete disk which mounted on ${record.path}`, + title: `Are you sure you want to delete the disk that is mounted on ${record.path}?`, onOk() { const disks = Object.keys(node.disks) .filter(id => record.id !== id) diff --git a/src/routes/host/HostActions.js b/src/routes/host/HostActions.js index 316e8158..d3182bd6 100644 --- a/src/routes/host/HostActions.js +++ b/src/routes/host/HostActions.js @@ -13,7 +13,7 @@ function actions({ selected, showEditDisksModal, deleteHost }) { break case 'deleteHost': confirm({ - title: `Are you sure you want to delete node ${selected.name} ?`, + title: `Are you sure you want to delete node ${selected.name}?`, onOk() { deleteHost(record) }, diff --git a/src/routes/host/ReplicaList.js b/src/routes/host/ReplicaList.js index 27505f7b..aabf1dcf 100644 --- a/src/routes/host/ReplicaList.js +++ b/src/routes/host/ReplicaList.js @@ -9,7 +9,7 @@ function list({ dataSource, deleteReplicas, rowSelection }) { switch (event.key) { case 'delete': confirm({ - title: `Are you sure you want to delete replica ${record.name} ?`, + title: `Are you sure you want to delete replica ${record.name}?`, onOk() { deleteReplicas([record]) }, diff --git a/src/routes/orphanedData/orphanedDataActions.js b/src/routes/orphanedData/orphanedDataActions.js index 11eb7059..7c98acd5 100644 --- a/src/routes/orphanedData/orphanedDataActions.js +++ b/src/routes/orphanedData/orphanedDataActions.js @@ -9,7 +9,7 @@ function actions({ selected, deleteOrphanedData }) { switch (event.key) { case 'delete': confirm({ - title: `Are you sure you want to delete ${record.name} ?`, + title: `Are you sure you want to delete ${record.name}?`, width: 560, onOk() { deleteOrphanedData(record) diff --git a/src/routes/recurringJob/RecurringJobActions.js b/src/routes/recurringJob/RecurringJobActions.js index 3838ac38..77f2f196 100644 --- a/src/routes/recurringJob/RecurringJobActions.js +++ b/src/routes/recurringJob/RecurringJobActions.js @@ -9,7 +9,7 @@ function actions({ selected, deleteRecurringJob, editRecurringJob }) { switch (event.key) { case 'delete': confirm({ - title: `Are you sure you want to delete Recurring Job ${record.name} ?`, + title: `Are you sure you want to delete Recurring Job ${record.name}?`, content: