Fix toast message for VM Legacy successful mount
Add new toast message string serverConnectionEstablished
for succesfully mounted image in Legacy mode.
Previously serverClosedSuccessfully toast was showed.
Tested:
Verified that Server connection established toast message
shows in webui after mounting image in legacy mode.
Signed-off-by: Alicja Rybak <alicja.rybak@intel.com>
Change-Id: I79b8bc3243ecc1a29a28f2441d499454747676c2
diff --git a/src/locales/en-US.json b/src/locales/en-US.json
index 41957c0..5c912f8 100644
--- a/src/locales/en-US.json
+++ b/src/locales/en-US.json
@@ -806,6 +806,7 @@
"errorReadingFile": "Error reading file. Closing server.",
"errorUnmounting": "Error unmounting",
"serverRunning": "Server running",
+ "serverConnectionEstablished": "Server connection established",
"serverClosedSuccessfully": "Server closed successfully",
"serverClosedWithErrors": "Server closed with errors"
}
diff --git a/src/views/Control/VirtualMedia/VirtualMedia.vue b/src/views/Control/VirtualMedia/VirtualMedia.vue
index fe2b51f..8a3d5ad 100644
--- a/src/views/Control/VirtualMedia/VirtualMedia.vue
+++ b/src/views/Control/VirtualMedia/VirtualMedia.vue
@@ -179,7 +179,7 @@
})
.then(() => {
this.successToast(
- this.$t('pageVirtualMedia.toast.serverClosedSuccessfully')
+ this.$t('pageVirtualMedia.toast.serverConnectionEstablished')
);
connectionData.isActive = true;
})