Skip to content

Commit

Permalink
fix(locale): ent-3712 update core hours display string (#612)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdcabrera committed Apr 26, 2021
1 parent e36425e commit d0521b3
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions public/locales/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"dateLabel": "Date",
"coresLabel": "Cores",
"coresLegendTooltip": "{{product}} CPU usage, per CPU core.",
"coreHoursLabel": "Core Hours",
"coreHoursLabel": "Core hours",
"coreHoursLegendTooltip": "{{product}} core hours usage.",
"coreHoursLegendTooltip_OpenShift-dedicated-metrics": "OpenShift Dedicated core hours usage.",
"socketsLabel": "Sockets",
Expand Down Expand Up @@ -82,7 +82,7 @@
"header_cores_OpenShift Container Platform": "Cores",
"header_cores_OpenShift-metrics": "Cores",
"header_cores_OpenShift-dedicated-metrics": "Cores",
"header_coreHours": "Hours used",
"header_coreHours": "Core hours",
"header_displayName": "Name",
"header_guestsDisplayName": "Guest name",
"header_hardwareType": "Type",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ exports[`ProductViewOpenShiftContainer Component should render a non-connected c
},
Object {
"cell": [Function],
"cellWidth": 15,
"cellWidth": 25,
"id": "lastSeen",
"isSortable": true,
"isWrappable": true,
Expand Down Expand Up @@ -454,14 +454,14 @@ exports[`ProductViewOpenShiftContainer Component should render a non-connected c
},
Object {
"cell": [Function],
"cellWidth": 15,
"cellWidth": 20,
"id": "coreHours",
"isSortable": true,
"isWrappable": true,
},
Object {
"cell": [Function],
"cellWidth": 15,
"cellWidth": 25,
"id": "lastSeen",
"isSortable": true,
"isWrappable": true,
Expand Down Expand Up @@ -799,7 +799,7 @@ Array [
},
Object {
"cell": [Function],
"cellWidth": 15,
"cellWidth": 25,
"id": "lastSeen",
"isSortable": true,
"isWrappable": true,
Expand Down Expand Up @@ -828,14 +828,14 @@ Array [
},
Object {
"cell": [Function],
"cellWidth": 15,
"cellWidth": 20,
"id": "coreHours",
"isSortable": true,
"isWrappable": true,
},
Object {
"cell": [Function],
"cellWidth": 15,
"cellWidth": 25,
"id": "lastSeen",
"isSortable": true,
"isWrappable": true,
Expand Down
6 changes: 3 additions & 3 deletions src/components/productView/productViewOpenShiftContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ ProductViewOpenShiftContainer.defaultProps = {
cell: data => (data?.lastSeen?.value && <DateFormat date={data?.lastSeen?.value} />) || '',
isSortable: true,
isWrappable: true,
cellWidth: 15
cellWidth: 25
}
],
initialInventorySettings: {},
Expand Down Expand Up @@ -469,14 +469,14 @@ ProductViewOpenShiftContainer.defaultProps = {
`0.00`,
isSortable: true,
isWrappable: true,
cellWidth: 15
cellWidth: 20
},
{
id: 'lastSeen',
cell: data => (data?.lastSeen?.value && <DateFormat date={data?.lastSeen?.value} />) || '',
isSortable: true,
isWrappable: true,
cellWidth: 15
cellWidth: 25
}
],
initialToolbarFilters: undefined,
Expand Down

0 comments on commit d0521b3

Please sign in to comment.