Skip to content

Commit

Permalink
Localize the Bare Metal Hosts side nav name
Browse files Browse the repository at this point in the history
  • Loading branch information
pcbailey committed Nov 26, 2020
1 parent 249bc6e commit 23509bb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion frontend/packages/metal3-plugin/src/plugin.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import * as _ from 'lodash';
import * as React from 'react';
import i18next from 'i18next';
import { MaintenanceIcon } from '@patternfly/react-icons';
import {
DashboardsOverviewInventoryItem,
Expand Down Expand Up @@ -95,7 +96,8 @@ const plugin: Plugin<ConsumedExtensions> = [
id: 'baremetal',
section: 'compute',
componentProps: {
name: 'Bare Metal Hosts',
// t('metal3-plugin~Bare Metal Hosts')
name: i18next.t('metal3-plugin~Bare Metal Hosts'),
href: formatNamespacedRouteForResource(
referenceForModel(BareMetalHostModel),
'openshift-machine-api',
Expand Down

0 comments on commit 23509bb

Please sign in to comment.