From 6f71284973ee2f0b35fb22fa36a1afa883a0cc7a Mon Sep 17 00:00:00 2001 From: Yoshie Muranaka Date: Thu, 4 Feb 2021 11:23:03 -0800 Subject: Update single file firmware upload page These updates are visible with IBM dotenv variables. Updates include changes to layout and verbiage. - Added a global application refresh listener, so app refresh can be called from components outside of the application header Signed-off-by: Yoshie Muranaka Change-Id: I5ebe6452a0360b6cced5597b648cde33e97c5a1f --- src/locales/en-US.json | 62 +++++++++++++++++++++++++++++++++----------------- 1 file changed, 41 insertions(+), 21 deletions(-) (limited to 'src/locales/en-US.json') diff --git a/src/locales/en-US.json b/src/locales/en-US.json index a4af7091..d3b6d754 100644 --- a/src/locales/en-US.json +++ b/src/locales/en-US.json @@ -13,6 +13,7 @@ "enable": "Enable", "export": "Export", "filter": "Filter", + "refresh": "Refresh", "replace": "Replace", "save": "Save", "saveSettings": "Save settings", @@ -261,29 +262,19 @@ }, "pageFirmware": { "backup": "Backup:", - "backupImage": "Backup image", "bmcStatus": "BMC status", - "changeAndRebootBmc": "Change image and reboot BMC", - "changeToBackupImage": "Change to backup image", "current": "Current:", "firmwareOnBmc": "Firmware on BMC", "firmwareOnHost": "Firmware on host", - "firmwareOnSystem": "Firmware on system", "hostStatus": "Host status", "makeCurrentVersion": "Make current version", "pageDescription": "Update firmware by uploading a BMC or Host image file from your workstation or TFTP server", - "pageDescriptionSingleImage": "Update firmware by uploading a system image file from your workstation or TFTP server", "running": "Running", "state": "State", "updateCode": "Update code", "alert": { - "operationInProgress": "Server power operation in progress.", - "serverShutdownRequiredBeforeUpdate": "Server shutdown required before update", - "serverShutdownRequiredInfo": "Shutdown will be orderly - OS will shutdown before the server shuts down.", - "shutDownServer": "Shut down server", "updateProcess": "Update process", - "updateProcessInfo": "The new image will be uploaded and activated. After that, the BMC or host will reboot automatically to run from the new image.", - "updateProcessInfoSingleImage": "The new image will be uploaded and activated. After that, the BMC will reboot automatically to run from the new image." + "updateProcessInfo": "The new image will be uploaded and activated. After that, the BMC or host will reboot automatically to run from the new image." }, "form": { "imageFile": "Image file", @@ -299,9 +290,6 @@ }, "modal": { "connectionToBmcWillBeLost": "Connection to BMC will be lost", - "serverShutdownMessage": "There will be a server outage until the server is powered back on. Are you sure you want to shut down?", - "serverShutdownWillCauseOutage": "Server shutdown will cause outage", - "shutDownServer": "Shut down server", "rebootFromBackup": { "message1": "A BMC reboot is required before the system can run the backup image %{backup}. The reboot will cause a disconnection, and may require logging in again.", "message2": "The current firmware image %{current} will be moved to backup. During the reboot, server cannot be powered back on.", @@ -309,13 +297,6 @@ "primaryAction": "Reboot BMC from backup image", "title": "@:pageFirmware.modal.connectionToBmcWillBeLost" }, - "uploadAndRebootSingleImage": { - "message1": "A BMC reboot is required before the system can run the new firmware image. The reboot will cause a disconnection, and may require logging in again.", - "message2": "During the reboot, the server cannot be powered back on. The backup image will be permanently deleted.", - "message3": "Are you sure you want to upload the new firmware image and reboot the BMC?", - "primaryAction": "Upload and reboot BMC", - "title": "@:pageFirmware.modal.connectionToBmcWillBeLost" - }, "uploadAndRebootBmcOrHost": { "message1": "A BMC or host reboot is required before the system can run the new firmware image. The reboot will cause a disconnection, and may require logging in again.", "message2": "The backup image will be permanently deleted.", @@ -334,6 +315,45 @@ "successRebootFromBackup": "Successfully started reboot from backup image.", "successUploadMessage": "The upload was successful. During code update, the BMC will be not be responsive. Wait for the code update notification before making any changes.", "successUploadTitle": "Code update started" + }, + "singleFileUpload": { + "backupImage": "Backup image", + "bmcAndServer": "BMC and server:", + "fileAddress": "File address", + "fileSource": "File source", + "runningImage": "Running image", + "startUpdate": "Start update", + "switchToRunning": "Switch to running", + "updateFirmware": "Update firmware", + "alert": { + "operationInProgress": "Server power operation in progress.", + "serverMustBePoweredOffTo": "Server must be powered off to:", + "serverMustBePoweredOffToUpdateFirmware": "Server must be powered off to update firmware", + "switchRunningAndBackupImages": "Switch running and backup images", + "updateFirmware": "Update firmware", + "viewServerPowerOperations": "View server power operations" + }, + "modal": { + "switchImages": "Switch images", + "switchRunningImage": "Switch running image", + "switchRunningImageInfo": "A BMC reboot is required to run the backup image. The application might be unresponsive during this time.", + "switchRunningImageInfo2": "Are you sure you want to switch to the backup image (%{backup})?", + "updateFirmwareInfo": "The BMC will reboot during the update process. The server cannot be powered on until the update is finished.", + "updateFirmwareInfo2": "The running image (%{running}) will be copied to backup and the backup image (%{backup}) will be permanently deleted.", + "updateFirmwareInfo3": "Are you sure you want to proceed with the update?" + }, + "toast": { + "errorSwitchImages": "Error switching running and backup images.", + "rebootStarted": "Reboot started", + "rebootStartedMessage": "Successfully started reboot from backup image.", + "startTime": "Start time:", + "updateStarted": "Update started", + "updateStartedMessage": "Wait for the firmware update notification before making any changes.", + "verifySwitch": "Verify switch", + "verifySwitchMessage": "Refresh the application to verify the running and backup images switched.", + "verifyUpdate": "Verify update", + "verifyUpdateMessage": "Refresh the application to verify firmware updated successfully" + } } }, "pageHardwareStatus": { -- cgit v1.2.3