From fcb2f96b67e4cd2086c91c0d4c2c9835357c6258 Mon Sep 17 00:00:00 2001 From: Dixsie Wolmers Date: Fri, 23 Jul 2021 01:29:33 -0500 Subject: Add missing keys for en-US translations - Updated power supplies to use identifyLed key - Updated system store identify LED toasts - Corrected DHCP key capitilization - Did not make changes to factory reset modal keys, they are being used dynamically with `${}` in the key. Same for Power restore policy `$t{powerState}` Signed-off-by: Dixsie Wolmers Change-Id: I19eeac4085326a2d18d90945028def88ec5ed991 --- src/locales/en-US.json | 2 +- src/store/modules/Health/SystemStore.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/locales/en-US.json b/src/locales/en-US.json index 89d16928..b99ec264 100644 --- a/src/locales/en-US.json +++ b/src/locales/en-US.json @@ -654,8 +654,8 @@ "table": { "addDns": "Add DNS server", "addStaticIpv4Address": "Add static IP", + "deleteDhcpIpv4": "Delete IPv4 row", "deleteDns": "Delete DNS row", - "deleteDHCPIpv4": "Delete IPv4 row", "deleteStaticIpv4": "Delete IPv4 row", "dhcpIpv4AddressRow": "DHCP IPv4 address", "dhcpIpv4SubnetRow": "DHCP IPV4 subnet", diff --git a/src/store/modules/Health/SystemStore.js b/src/store/modules/Health/SystemStore.js index b4ee3847..55f37542 100644 --- a/src/store/modules/Health/SystemStore.js +++ b/src/store/modules/Health/SystemStore.js @@ -57,11 +57,11 @@ const SystemStore = { console.log('error', error); if (ledState) { throw new Error( - i18n.t('pageHardwareStatus.toast.errorTurnOnIdentifyLed') + i18n.t('pageHardwareStatus.toast.errorEnableIdentifyLed') ); } else { throw new Error( - i18n.t('pageHardwareStatus.toast.errorTurnOffIdentifyLed') + i18n.t('pageHardwareStatus.toast.errorDisableIdentifyLed') ); } }); -- cgit v1.2.3