Skip to content

Commit

Permalink
fix(graphCardChartLegend): issues/158 activate tooltips (#325)
Browse files Browse the repository at this point in the history
* graphCardChartLegend, legend tooltips, apply product context, i18n
* i18n, locale strings for en-US, test update for locale keys
  • Loading branch information
cdcabrera committed Jun 25, 2020
1 parent a5f3f06 commit bda642e
Show file tree
Hide file tree
Showing 7 changed files with 748 additions and 426 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
"eslint-plugin-react": "^7.20.0",
"eslint-plugin-react-hooks": "^4.0.4",
"express": "^4.17.1",
"gettext-extractor": "^3.5.2",
"glob": "^7.1.6",
"moxios": "^0.4.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.0.5",
Expand Down
21 changes: 13 additions & 8 deletions public/locales/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,26 @@
"noDataErrorLabel": "No data",
"dateLabel": "Date",
"coresLabel": "Cores",
"coresLegendTooltip": "Lorem ipsum dolor sit, cores.",
"coresLegendTooltip": "{{product}} CPU usage, per CPU core.",
"socketsLabel": "Sockets",
"socketsLegendTooltip": "Lorem ipsum dolor sit, sockets.",
"socketsLegendTooltip": "{{product}} CPU usage, per CPU socket pair.",
"cloudSocketsLabel": "Public cloud",
"cloudSocketsLegendTooltip": "Lorem ipsum dolor sit, cloudSockets.",
"cloudSocketsLegendTooltip": "Public cloud {{product}} CPU usage, 1 CPU socket per instance.",
"hypervisorCoresLabel": "Virtualized cores",
"hypervisorCoresLegendTooltip": "Lorem ipsum dolor sit, hypervisorCores.",
"hypervisorCoresLegendTooltip": "{{product}} CPU usage, per CPU core.",
"hypervisorSocketsLabel": "Virtualized {{product}}",
"hypervisorSocketsLegendTooltip": "Lorem ipsum dolor sit, hypervisorSockets.",
"hypervisorSocketsLegendTooltip": "{{product}} CPU socket usage, per socket pair.",
"hypervisorSocketsLegendTooltip_RHEL": "Virtualized {{product}} CPU usage, per socket. Hypervisor guest usage with known host-guest mappings (such as multi-guest VDC subscriptions), per socket pair of the hypervisor host, using the same method as physical {{product}}.",
"physicalCoresLabel": "Physical cores",
"physicalCoresLegendTooltip": "Lorem ipsum dolor sit, physicalCores.",
"physicalCoresLegendTooltip": "{{product}} CPU usage, per CPU core.",
"physicalSocketsLabel": "Physical {{product}}",
"physicalSocketsLegendTooltip": "Lorem ipsum dolor sit, physicalSockets.",
"physicalSocketsLegendTooltip": "{{product}} CPU socket usage, per socket pair.",
"physicalSocketsLegendTooltip_RHEL": "Physical {{product}} CPU usage, per socket pair. Each system's socket count is rounded upwards to the next even number.",
"thresholdLabel": "Subscription threshold",
"thresholdLegendTooltip": "Lorem ipsum dolor sit, threshold.",
"thresholdLegendTooltip": "Maximum capacity, based on total {{product}} subscriptions in this account.",
"thresholdLegendTooltip_RHEL": "Maximum capacity, as CPU sockets, based on total {{product}} subscriptions in this account.",
"thresholdCoresLegendTooltip_OpenShift": "Maximum capacity, as CPU cores, based on total {{product}} subscriptions in this account.",
"thresholdSocketsLegendTooltip_OpenShift": "Maximum capacity, as CPU sockets, based on total {{product}} subscriptions in this account.",
"tooltipSummary": "Your subscription data facets. With one level of column and row headers."
},
"curiosity-toolbar": {
Expand Down
Loading

0 comments on commit bda642e

Please sign in to comment.