diff options
author | Kenneth Fullbright <kennyneedsmilky@gmail.com> | 2022-01-07 22:12:30 +0300 |
---|---|---|
committer | Kenneth Fullbright <kennyneedsmilky@gmail.com> | 2022-02-04 19:29:18 +0300 |
commit | 80a87851ab2b1bddb9f42cc494b0ad7799b06012 (patch) | |
tree | de378bf2ddb3ce5ae21c5476b7225a720e1382e3 /src/locales | |
parent | 410578537f7ca6dd76aa406b440b0a435606c448 (diff) | |
download | webui-vue-80a87851ab2b1bddb9f42cc494b0ad7799b06012.tar.xz |
Re-modeled Power restore radio buttons
When a user selects a radio button and saves, the selected setting should be patched.
- Computed properties on generated bootstrap-vue radio buttons causes errors.
- Re-modeled radio buttons to take Redfish api data on component render.
- Mapped selected radio button value to patch the Redfish api property.
- Added translations.
Signed-off-by: Kenneth Fullbright <kennyneedsmilky@gmail.com>
Change-Id: I22ce75d9ef840d7f0c2659bba855093e5b4559f4
Diffstat (limited to 'src/locales')
-rw-r--r-- | src/locales/en-US.json | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/locales/en-US.json b/src/locales/en-US.json index 66b3e2fd..d10763ed 100644 --- a/src/locales/en-US.json +++ b/src/locales/en-US.json @@ -728,6 +728,11 @@ "AlwaysOff": "Always off", "LastState": "Last state" }, + "policiesDesc": { + "AlwaysOn": "Always on - The system always powers on when power is applied.", + "AlwaysOff": "Always off - The system always remains powered off when power is applied.", + "LastState": "Last state - The system returns to its last on or off power state when power is applied." + }, "toast": { "errorSaveSettings": "Error saving settings.", "successSaveSettings": "Power restore policy updated successfully." |