Add translated cancel title to all modals
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com>
Change-Id: I24ea692467077eddc7a74b86a9ba56d49818404b
diff --git a/src/views/Control/ServerPowerOperations/ServerPowerOperations.vue b/src/views/Control/ServerPowerOperations/ServerPowerOperations.vue
index 822d5fd..2ef2abf 100644
--- a/src/views/Control/ServerPowerOperations/ServerPowerOperations.vue
+++ b/src/views/Control/ServerPowerOperations/ServerPowerOperations.vue
@@ -197,6 +197,7 @@
const modalOptions = {
title: this.$t('pageServerPowerOperations.modal.confirmRebootTitle'),
okTitle: this.$t('global.action.confirm'),
+ cancelTitle: this.$t('global.action.cancel'),
};
if (this.form.rebootOption === 'orderly') {
@@ -220,6 +221,7 @@
const modalOptions = {
title: this.$t('pageServerPowerOperations.modal.confirmShutdownTitle'),
okTitle: this.$t('global.action.confirm'),
+ cancelTitle: this.$t('global.action.cancel'),
};
if (this.form.shutdownOption === 'orderly') {