diff options
author | Jason M. Bills <jason.m.bills@intel.com> | 2025-04-30 22:04:10 +0300 |
---|---|---|
committer | Jason M. Bills <jason.m.bills@intel.com> | 2025-04-30 22:04:10 +0300 |
commit | 83c891d3f92c4f40a1603a65f0d8d774952ec9a4 (patch) | |
tree | 7cd55df02d48b677d7cd5421092a4a7d678bdb43 | |
parent | 142fe91835e0f57b01a2801946f1b63ab56ee3cc (diff) | |
download | webui-vue-83c891d3f92c4f40a1603a65f0d8d774952ec9a4.tar.xz |
i18n: fix global method in ibm router
The change from i18n.t method to i18n.global.t for vue3 support was
missed in the IBM router. I found this on the Intel router and am
pushing this for completeness, but I didn't test this environment.
Tested:
Did not test
Change-Id: Iee1f32a82b2a2bf9e30362572486a7c109586fea
Signed-off-by: Jason M. Bills <jason.m.bills@intel.com>
-rw-r--r-- | src/env/router/ibm.js | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/src/env/router/ibm.js b/src/env/router/ibm.js index 0ccf90ba2..0d6bf2b12 100644 --- a/src/env/router/ibm.js +++ b/src/env/router/ibm.js @@ -41,7 +41,7 @@ const routes = [ name: 'login', component: Login, meta: { - title: i18n.t('appPageTitle.login'), + title: i18n.global.t('appPageTitle.login'), }, }, { @@ -49,7 +49,7 @@ const routes = [ name: 'change-password', component: ChangePassword, meta: { - title: i18n.t('appPageTitle.changePassword'), + title: i18n.global.t('appPageTitle.changePassword'), requiresAuth: true, }, }, @@ -67,7 +67,7 @@ const routes = [ name: 'serial-over-lan-console', component: SerialOverLanConsole, meta: { - title: i18n.t('appPageTitle.serialOverLan'), + title: i18n.global.t('appPageTitle.serialOverLan'), }, }, ], @@ -84,7 +84,7 @@ const routes = [ name: 'overview', component: Overview, meta: { - title: i18n.t('appPageTitle.overview'), + title: i18n.global.t('appPageTitle.overview'), }, }, { @@ -92,7 +92,7 @@ const routes = [ name: 'profile-settings', component: ProfileSettings, meta: { - title: i18n.t('appPageTitle.profileSettings'), + title: i18n.global.t('appPageTitle.profileSettings'), }, }, { @@ -100,7 +100,7 @@ const routes = [ name: 'dumps', component: Dumps, meta: { - title: i18n.t('appPageTitle.dumps'), + title: i18n.global.t('appPageTitle.dumps'), }, }, { @@ -108,7 +108,7 @@ const routes = [ name: 'event-logs', component: EventLogs, meta: { - title: i18n.t('appPageTitle.eventLogs'), + title: i18n.global.t('appPageTitle.eventLogs'), }, }, { @@ -116,7 +116,7 @@ const routes = [ name: 'post-code-logs', component: PostCodeLogs, meta: { - title: i18n.t('appPageTitle.postCodeLogs'), + title: i18n.global.t('appPageTitle.postCodeLogs'), }, }, { @@ -124,7 +124,7 @@ const routes = [ name: 'inventory', component: Inventory, meta: { - title: i18n.t('appPageTitle.inventory'), + title: i18n.global.t('appPageTitle.inventory'), }, }, { @@ -132,7 +132,7 @@ const routes = [ name: 'sensors', component: Sensors, meta: { - title: i18n.t('appPageTitle.sensors'), + title: i18n.global.t('appPageTitle.sensors'), }, }, { @@ -140,7 +140,7 @@ const routes = [ name: 'sessions', component: Sessions, meta: { - title: i18n.t('appPageTitle.sessions'), + title: i18n.global.t('appPageTitle.sessions'), }, }, { @@ -148,7 +148,7 @@ const routes = [ name: 'ldap', component: Ldap, meta: { - title: i18n.t('appPageTitle.ldap'), + title: i18n.global.t('appPageTitle.ldap'), }, }, { @@ -156,7 +156,7 @@ const routes = [ name: 'user-management', component: UserManagement, meta: { - title: i18n.t('appPageTitle.userManagement'), + title: i18n.global.t('appPageTitle.userManagement'), }, }, { @@ -164,7 +164,7 @@ const routes = [ name: 'policies', component: Policies, meta: { - title: i18n.t('appPageTitle.policies'), + title: i18n.global.t('appPageTitle.policies'), }, }, { @@ -172,7 +172,7 @@ const routes = [ name: 'certificates', component: Certificates, meta: { - title: i18n.t('appPageTitle.certificates'), + title: i18n.global.t('appPageTitle.certificates'), }, }, { @@ -180,7 +180,7 @@ const routes = [ name: 'date-time', component: DateTime, meta: { - title: i18n.t('appPageTitle.dateTime'), + title: i18n.global.t('appPageTitle.dateTime'), }, }, { @@ -188,7 +188,7 @@ const routes = [ name: 'firmware', component: Firmware, meta: { - title: i18n.t('appPageTitle.firmware'), + title: i18n.global.t('appPageTitle.firmware'), }, }, { @@ -196,7 +196,7 @@ const routes = [ name: 'network', component: Network, meta: { - title: i18n.t('appPageTitle.network'), + title: i18n.global.t('appPageTitle.network'), }, }, { @@ -204,7 +204,7 @@ const routes = [ name: 'power-restore-policy', component: PowerRestorePolicy, meta: { - title: i18n.t('appPageTitle.powerRestorePolicy'), + title: i18n.global.t('appPageTitle.powerRestorePolicy'), }, }, { @@ -212,7 +212,7 @@ const routes = [ name: 'power', component: Power, meta: { - title: i18n.t('appPageTitle.power'), + title: i18n.global.t('appPageTitle.power'), }, }, { @@ -220,7 +220,7 @@ const routes = [ name: 'factory-reset', component: FactoryReset, meta: { - title: i18n.t('appPageTitle.factoryReset'), + title: i18n.global.t('appPageTitle.factoryReset'), }, }, { @@ -228,7 +228,7 @@ const routes = [ name: 'key-clear', component: KeyClear, meta: { - title: i18n.t('appPageTitle.keyClear'), + title: i18n.global.t('appPageTitle.keyClear'), }, }, { @@ -236,7 +236,7 @@ const routes = [ name: 'reboot-bmc', component: RebootBmc, meta: { - title: i18n.t('appPageTitle.rebootBmc'), + title: i18n.global.t('appPageTitle.rebootBmc'), }, }, { @@ -244,7 +244,7 @@ const routes = [ name: 'serial-over-lan', component: SerialOverLan, meta: { - title: i18n.t('appPageTitle.serialOverLan'), + title: i18n.global.t('appPageTitle.serialOverLan'), }, }, { @@ -252,7 +252,7 @@ const routes = [ name: 'server-power-operations', component: ServerPowerOperations, meta: { - title: i18n.t('appPageTitle.serverPowerOperations'), + title: i18n.global.t('appPageTitle.serverPowerOperations'), }, }, { @@ -260,7 +260,7 @@ const routes = [ name: 'page-not-found', component: PageNotFound, meta: { - title: i18n.t('appPageTitle.pageNotFound'), + title: i18n.global.t('appPageTitle.pageNotFound'), }, }, ], |