diff --git a/package.json b/package.json index 7267e04bf..28130d88c 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/public/locales/en-US.json b/public/locales/en-US.json index 492f927b6..21959bf06 100644 --- a/public/locales/en-US.json +++ b/public/locales/en-US.json @@ -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": { diff --git a/src/components/graphCard/__tests__/__snapshots__/graphCardChartLegend.test.js.snap b/src/components/graphCard/__tests__/__snapshots__/graphCardChartLegend.test.js.snap index c0dda8b5c..19a2c3673 100644 --- a/src/components/graphCard/__tests__/__snapshots__/graphCardChartLegend.test.js.snap +++ b/src/components/graphCard/__tests__/__snapshots__/graphCardChartLegend.test.js.snap @@ -23,7 +23,7 @@ exports[`GraphCardChartLegend Component should handle a click event: click event tabIndex={0} variant="link" > - t(curiosity-graph.loremIpsumLabel, [object Object]) + t(curiosity-graph.loremIpsumLabel,curiosity-graph.noLabel, [object Object]) `; @@ -50,7 +50,7 @@ exports[`GraphCardChartLegend Component should handle a click event: click event tabIndex={0} variant="link" > - t(curiosity-graph.loremIpsumLabel, [object Object]) + t(curiosity-graph.loremIpsumLabel,curiosity-graph.noLabel, [object Object]) `; @@ -73,7 +73,7 @@ exports[`GraphCardChartLegend Component should handle a click event: click event tabIndex={0} variant="link" > - t(curiosity-graph.loremIpsumLabel, [object Object]) + t(curiosity-graph.loremIpsumLabel,curiosity-graph.noLabel, [object Object]) `; @@ -189,126 +189,311 @@ exports[`GraphCardChartLegend Component should handle variations in data when re exports[`GraphCardChartLegend Component should render a basic component: basic 1`] = ` - + + t(curiosity-graph.loremIpsumLegendTooltip, [object Object]) +

} - isDisabled={false} - key="curiosity-button-loremIpsum" - onClick={[Function]} - onKeyPress={[Function]} - tabIndex={0} - variant="link" + distance={-10} + enableFlip={true} + entryDelay={100} + exitDelay={0} + flipBehavior={ + Array [ + "top", + "right", + "bottom", + "left", + "top", + "right", + "bottom", + ] + } + id="" + isAppLauncher={false} + isContentLeftAligned={false} + isVisible={false} + key="curiosity-tooltip-loremIpsum" + maxWidth="18.75rem" + position="top" + tippyProps={Object {}} + trigger="mouseenter focus" + zIndex={9999} > - t(curiosity-graph.loremIpsumLabel, [object Object]) -
+ + } + isDisabled={false} + key="curiosity-button-loremIpsum" + onClick={[Function]} + onKeyPress={[Function]} + tabIndex={0} + variant="link" + > + t(curiosity-graph.loremIpsumLabel,curiosity-graph.noLabel, [object Object]) + +
`; exports[`GraphCardChartLegend Component should render basic data: data 1`] = ` - + + t(curiosity-graph.loremIpsumLegendTooltip, [object Object]) +

} - isDisabled={false} - key="curiosity-button-loremIpsum" - onClick={[Function]} - onKeyPress={[Function]} - tabIndex={0} - variant="link" - > - t(curiosity-graph.loremIpsumLabel, [object Object]) -
- + distance={-10} + enableFlip={true} + entryDelay={100} + exitDelay={0} + flipBehavior={ + Array [ + "top", + "right", + "bottom", + "left", + "top", + "right", + "bottom", + ] } - isDisabled={true} - key="curiosity-button-ametConsectetur" - onClick={[Function]} - onKeyPress={[Function]} - tabIndex={0} - variant="link" + id="" + isAppLauncher={false} + isContentLeftAligned={false} + isVisible={false} + key="curiosity-tooltip-loremIpsum" + maxWidth="18.75rem" + position="top" + tippyProps={Object {}} + trigger="mouseenter focus" + zIndex={9999} > - t(curiosity-graph.ametConsecteturLabel, [object Object]) - - + /> + } + isDisabled={false} + key="curiosity-button-loremIpsum" + onClick={[Function]} + onKeyPress={[Function]} + tabIndex={0} + variant="link" + > + t(curiosity-graph.loremIpsumLabel,curiosity-graph.noLabel, [object Object]) + + + + t(curiosity-graph.ametConsecteturLegendTooltip, [object Object]) +

} - isDisabled={false} - key="curiosity-button-dolorSit" - onClick={[Function]} - onKeyPress={[Function]} - tabIndex={0} - variant="link" + distance={-10} + enableFlip={true} + entryDelay={100} + exitDelay={0} + flipBehavior={ + Array [ + "top", + "right", + "bottom", + "left", + "top", + "right", + "bottom", + ] + } + id="" + isAppLauncher={false} + isContentLeftAligned={false} + isVisible={false} + key="curiosity-tooltip-ametConsectetur" + maxWidth="18.75rem" + position="top" + tippyProps={Object {}} + trigger="mouseenter focus" + zIndex={9999} > - t(curiosity-graph.thresholdLabel) - - + } + isDisabled={true} + key="curiosity-button-ametConsectetur" + onClick={[Function]} + onKeyPress={[Function]} + tabIndex={0} + variant="link" + > + t(curiosity-graph.ametConsecteturLabel,curiosity-graph.noLabel, [object Object]) + +
+ + t(curiosity-graph.dolorSitLegendTooltip,curiosity-graph.thresholdLegendTooltip, [object Object]) +

+ } + distance={-10} + enableFlip={true} + entryDelay={100} + exitDelay={0} + flipBehavior={ + Array [ + "top", + "right", + "bottom", + "left", + "top", + "right", + "bottom", + ] + } + id="" + isAppLauncher={false} + isContentLeftAligned={false} + isVisible={false} + key="curiosity-tooltip-dolorSit" + maxWidth="18.75rem" + position="top" + tippyProps={Object {}} + trigger="mouseenter focus" + zIndex={9999} + > + + /> + } + isDisabled={false} + key="curiosity-button-dolorSit" + onClick={[Function]} + onKeyPress={[Function]} + tabIndex={0} + variant="link" + > + t(curiosity-graph.dolorSitLabel,curiosity-graph.thresholdLabel, [object Object]) + +
+ + t(curiosity-graph.nonCursusLegendTooltip,curiosity-graph.thresholdLegendTooltip, [object Object]) +

} - isDisabled={false} - key="curiosity-button-nonCursus" - onClick={[Function]} - onKeyPress={[Function]} - tabIndex={0} - variant="link" + distance={-10} + enableFlip={true} + entryDelay={100} + exitDelay={0} + flipBehavior={ + Array [ + "top", + "right", + "bottom", + "left", + "top", + "right", + "bottom", + ] + } + id="" + isAppLauncher={false} + isContentLeftAligned={false} + isVisible={false} + key="curiosity-tooltip-nonCursus" + maxWidth="18.75rem" + position="top" + tippyProps={Object {}} + trigger="mouseenter focus" + zIndex={9999} > - t(curiosity-graph.thresholdLabel) - + + } + isDisabled={false} + key="curiosity-button-nonCursus" + onClick={[Function]} + onKeyPress={[Function]} + tabIndex={0} + variant="link" + > + t(curiosity-graph.nonCursusLabel,curiosity-graph.thresholdLabel, [object Object]) + +
`; diff --git a/src/components/graphCard/graphCardChartLegend.js b/src/components/graphCard/graphCardChartLegend.js index ce47d1a62..80ab796d6 100644 --- a/src/components/graphCard/graphCardChartLegend.js +++ b/src/components/graphCard/graphCardChartLegend.js @@ -127,21 +127,25 @@ class GraphCardChartLegend extends React.Component { !data.find(({ y, hasData }) => (y >= 0 && hasData === true) || (y >= 0 && isThreshold === true)) || false; const labelContent = - (isThreshold && t(`curiosity-graph.thresholdLabel`)) || - t(`curiosity-graph.${id}Label`, { product }) || - t(`curiosity-graph.noLabel`, { product }); - - // ToDo: Disabled tooltip content, reactivate accordingly, issues/158 - // const tooltipContent = - // (isThreshold && t(`curiosity-graph.thresholdLegendTooltip`)) || t(`curiosity-graph.${id}LegendTooltip`); + (isThreshold && + t([`curiosity-graph.${id}Label`, `curiosity-graph.thresholdLabel`], { product, context: product })) || + t([`curiosity-graph.${id}Label`, `curiosity-graph.noLabel`], { product, context: product }); + + const tooltipContent = + (isThreshold && + t([`curiosity-graph.${id}LegendTooltip`, `curiosity-graph.thresholdLegendTooltip`], { + product, + context: product + })) || + t(`curiosity-graph.${id}LegendTooltip`, { product, context: product }); return this.renderLegendItem({ chartId: id, color: stroke, labelContent, isDisabled, - isThreshold - // tooltipContent + isThreshold, + tooltipContent }); })} diff --git a/src/components/i18n/__tests__/__snapshots__/i18n.test.js.snap b/src/components/i18n/__tests__/__snapshots__/i18n.test.js.snap index caf72dba4..acc9cb285 100644 --- a/src/components/i18n/__tests__/__snapshots__/i18n.test.js.snap +++ b/src/components/i18n/__tests__/__snapshots__/i18n.test.js.snap @@ -11,240 +11,384 @@ Object { exports[`I18n Component should attempt to perform translate with a node: translated node 1`] = `"
t(lorem.ipsum, [object Object], [object Object])
"`; -exports[`I18n Component should generate a predictable pot output snapshot: pot output 1`] = ` -"msgid \\"\\" -msgstr \\"\\" -\\"Content-Type: text/plain; charset=UTF-8\\\\n\\" - -#: src/components/authentication/authentication.js:74 -msgid \\"curiosity-auth.authorizedTitle\\" -msgstr \\"\\" - -#: src/components/openshiftView/openshiftView.js:105 -#: src/components/openshiftView/openshiftView.js:93 -msgid \\"curiosity-graph.cardHeading\\" -msgstr \\"\\" - -#: src/components/graphCard/graphCardTypes.js:15 -msgid \\"curiosity-graph.dropdownDaily\\" -msgstr \\"\\" - -#: src/components/graphCard/graphCardTypes.js:17 -msgid \\"curiosity-graph.dropdownMonthly\\" -msgstr \\"\\" - -#: src/components/c3GraphCard/c3GraphCard.js:189 -#: src/components/c3GraphCard/c3GraphCard.js:193 -#: src/components/graphCard/graphCard.js:176 -#: src/components/graphCard/graphCard.js:180 -msgid \\"curiosity-graph.dropdownPlaceholder\\" -msgstr \\"\\" - -#: src/components/graphCard/graphCardTypes.js:18 -msgid \\"curiosity-graph.dropdownQuarterly\\" -msgstr \\"\\" - -#: src/components/graphCard/graphCardTypes.js:16 -msgid \\"curiosity-graph.dropdownWeekly\\" -msgstr \\"\\" - -#: src/components/c3GraphCard/c3GraphCardHelpers.js:179 -#: src/components/graphCard/graphCardChartTooltip.js:36 -msgid \\"curiosity-graph.infiniteThresholdLabel\\" -msgstr \\"\\" - -#: src/components/graphCard/graphCardChartTooltip.js:84 -msgid \\"curiosity-graph.noDataErrorLabel\\" -msgstr \\"\\" - -#: src/components/c3GraphCard/c3GraphCardHelpers.js:180 -#: src/components/c3GraphCard/c3GraphCardHelpers.js:183 -#: src/components/graphCard/graphCardChartTooltip.js:37 -#: src/components/graphCard/graphCardChartTooltip.js:43 -msgid \\"curiosity-graph.noDataLabel\\" -msgstr \\"\\" - -#: src/components/graphCard/graphCardChartLegend.js:132 -msgid \\"curiosity-graph.noLabel\\" -msgstr \\"\\" - -#: src/components/rhelView/rhelView.js:50 -#: src/components/rhelView/rhelView.js:60 -msgid \\"curiosity-graph.socketsHeading\\" -msgstr \\"\\" - -#: src/components/c3GraphCard/c3GraphCard.js:110 -#: src/components/c3GraphCard/c3GraphCardHelpers.js:136 -#: src/components/graphCard/graphCardChartLegend.js:130 -#: src/components/graphCard/graphCardChartTooltip.js:39 -msgid \\"curiosity-graph.thresholdLabel\\" -msgstr \\"\\" - -#: src/components/c3GraphCard/c3GraphCard.js:93 -msgid \\"curiosity-graph.thresholdLegendTooltip\\" -msgstr \\"\\" - -#: src/components/graphCard/graphCardChartTooltip.js:54 -msgid \\"curiosity-graph.tooltipSummary\\" -msgstr \\"\\" - -#: src/components/optinView/optinView.js:59 -#: src/components/optinView/optinView.js:99 -msgid \\"curiosity-optin.buttonActivate\\" -msgstr \\"\\" - -#: src/components/optinView/optinView.js:87 -msgid \\"curiosity-optin.buttonIsActive\\" -msgstr \\"\\" - -#: src/components/optinView/optinView.js:135 -msgid \\"curiosity-optin.buttonTour\\" -msgstr \\"\\" - -#: src/components/optinView/optinView.js:165 -msgid \\"curiosity-optin.cardDescription\\" -msgstr \\"\\" - -#: src/components/optinView/optinView.js:187 -msgid \\"curiosity-optin.cardFilterDescription\\" -msgstr \\"\\" - -#: src/components/optinView/optinView.js:184 -msgid \\"curiosity-optin.cardFilterTitle\\" -msgstr \\"\\" - -#: src/components/optinView/optinView.js:90 -msgid \\"curiosity-optin.cardIsActiveDescription\\" -msgstr \\"\\" - -#: src/components/optinView/optinView.js:69 -msgid \\"curiosity-optin.cardIsErrorDescription\\" -msgstr \\"\\" - -#: src/components/optinView/optinView.js:180 -msgid \\"curiosity-optin.cardReportDescription\\" -msgstr \\"\\" - -#: src/components/optinView/optinView.js:177 -msgid \\"curiosity-optin.cardReportTitle\\" -msgstr \\"\\" - -#: src/components/optinView/optinView.js:173 -msgid \\"curiosity-optin.cardSeeDescription\\" -msgstr \\"\\" - -#: src/components/optinView/optinView.js:170 -msgid \\"curiosity-optin.cardSeeTitle\\" -msgstr \\"\\" - -#: src/components/optinView/optinView.js:162 -msgid \\"curiosity-optin.cardTitle\\" -msgstr \\"\\" - -#: src/redux/actions/userActions.js:71 -msgid \\"curiosity-optin.notificationsErrorDescription\\" -msgstr \\"\\" - -#: src/redux/actions/userActions.js:70 -msgid \\"curiosity-optin.notificationsErrorTitle\\" -msgstr \\"\\" - -#: src/redux/actions/userActions.js:77 -msgid \\"curiosity-optin.notificationsSuccessDescription\\" -msgstr \\"\\" - -#: src/redux/actions/userActions.js:76 -msgid \\"curiosity-optin.notificationsSuccessTitle\\" -msgstr \\"\\" - -#: src/components/optinView/optinView.js:132 -msgid \\"curiosity-optin.tourDescription\\" -msgstr \\"\\" - -#: src/components/optinView/optinView.js:129 -msgid \\"curiosity-optin.tourTitle\\" -msgstr \\"\\" - -#: src/components/optinView/optinView.js:121 -msgid \\"curiosity-optin.tourTitleImageAlt\\" -msgstr \\"\\" - -#: src/components/toolbar/toolbar.js:104 -#: src/components/toolbar/toolbar.js:107 -msgid \\"curiosity-toolbar.slaCategory\\" -msgstr \\"\\" - -#: src/components/toolbar/toolbarTypes.js:28 -msgid \\"curiosity-toolbar.slaNone\\" -msgstr \\"\\" - -#: src/components/toolbar/toolbar.js:110 -msgid \\"curiosity-toolbar.slaPlaceholder\\" -msgstr \\"\\" - -#: src/components/toolbar/toolbarTypes.js:16 -msgid \\"curiosity-toolbar.slaPremium\\" -msgstr \\"\\" - -#: src/components/toolbar/toolbarTypes.js:24 -msgid \\"curiosity-toolbar.slaSelfSupport\\" -msgstr \\"\\" - -#: src/components/toolbar/toolbarTypes.js:20 -msgid \\"curiosity-toolbar.slaStandard\\" -msgstr \\"\\" - -#: src/components/tourView/tourView.js:72 -msgid \\"curiosity-tour.emptyStateButton\\" -msgstr \\"\\" - -#: src/components/tourView/tourView.js:50 -msgid \\"curiosity-tour.emptyStateDescription\\" -msgstr \\"\\" - -#: src/components/tourView/tourView.js:57 -msgid \\"curiosity-tour.emptyStateDescriptionExtended\\" -msgstr \\"\\" - -#: src/components/tourView/tourView.js:52 -msgid \\"curiosity-tour.emptyStateDescriptionTour\\" -msgstr \\"\\" - -#: src/components/tourView/tourView.js:40 -msgid \\"curiosity-tour.emptyStateIconAlt\\" -msgstr \\"\\" - -#: src/components/tourView/tourView.js:87 -msgid \\"curiosity-tour.emptyStateLinkContactUs\\" -msgstr \\"\\" - -#: src/components/tourView/tourView.js:68 -#: src/components/tourView/tourView.js:83 -msgid \\"curiosity-tour.emptyStateLinkLearnMore\\" -msgstr \\"\\" - -#: src/components/tourView/tourView.js:45 -msgid \\"curiosity-tour.emptyStateTitle\\" -msgstr \\"\\" - -#: src/components/openshiftView/openshiftView.js:81 -msgid \\"curiosity-view.openshift\\" -msgstr \\"\\" - -#: src/components/rhelView/rhelView.js:38 -msgid \\"curiosity-view.rhel\\" -msgstr \\"\\" - -#: src/components/authentication/authentication.js:75 -msgctxt \\"...\\" -msgid \\"curiosity-auth.authorizedCopy\\" -msgstr \\"\\" - -#: src/components/authentication/authentication.js:59 -msgctxt \\"...\\" -msgid \\"curiosity-auth.pending\\" -msgstr \\"\\" -" +exports[`I18n Component should generate a predictable locale key output snapshot: key output 1`] = ` +Array [ + Object { + "file": "./src/common/helpers.js", + "keys": Array [ + Object { + "key": "", + "match": "t(\${key}\${(value && \`, \${value}\`)", + }, + ], + }, + Object { + "file": "./src/components/authentication/authentication.js", + "keys": Array [ + Object { + "key": "curiosity-auth.pending", + "match": "t('curiosity-auth.pending', '...')", + }, + Object { + "key": "curiosity-auth.authorizedTitle", + "match": "t('curiosity-auth.authorizedTitle', { appName: helpers.UI_DISPLAY_NAME })", + }, + Object { + "key": "curiosity-auth.authorizedCopy", + "match": "t('curiosity-auth.authorizedCopy', '...')", + }, + ], + }, + Object { + "file": "./src/components/c3GraphCard/c3GraphCard.js", + "keys": Array [ + Object { + "key": "curiosity-graph.thresholdLegendTooltip", + "match": "t(\`curiosity-graph.thresholdLegendTooltip\`)", + }, + Object { + "key": "", + "match": "t(\`curiosity-graph.\${id}LegendTooltip\`)", + }, + Object { + "key": "curiosity-graph.thresholdLabel", + "match": "t(\`curiosity-graph.thresholdLabel\`)", + }, + Object { + "key": "", + "match": "t(\`curiosity-graph.\${id}Label\`, { product: productShortLabel })", + }, + Object { + "key": "curiosity-graph.dropdownPlaceholder", + "match": "t('curiosity-graph.dropdownPlaceholder')", + }, + Object { + "key": "curiosity-graph.dropdownPlaceholder", + "match": "t('curiosity-graph.dropdownPlaceholder')", + }, + ], + }, + Object { + "file": "./src/components/c3GraphCard/c3GraphCardHelpers.js", + "keys": Array [ + Object { + "key": "curiosity-graph.thresholdLabel", + "match": "translate(\`curiosity-graph.thresholdLabel\`)", + }, + Object { + "key": "", + "match": "translate(\`curiosity-graph.\${value.id}Label\`, { product: productShortLabel })", + }, + Object { + "key": "curiosity-graph.infiniteThresholdLabel", + "match": "translate('curiosity-graph.infiniteThresholdLabel')", + }, + Object { + "key": "curiosity-graph.noDataLabel", + "match": "translate('curiosity-graph.noDataLabel')", + }, + Object { + "key": "curiosity-graph.noDataLabel", + "match": "translate('curiosity-graph.noDataLabel')", + }, + ], + }, + Object { + "file": "./src/components/graphCard/graphCard.js", + "keys": Array [ + Object { + "key": "curiosity-graph.dropdownPlaceholder", + "match": "t('curiosity-graph.dropdownPlaceholder')", + }, + Object { + "key": "curiosity-graph.dropdownPlaceholder", + "match": "t('curiosity-graph.dropdownPlaceholder')", + }, + ], + }, + Object { + "file": "./src/components/graphCard/graphCardChartLegend.js", + "keys": Array [ + Object { + "key": "", + "match": "t([\`curiosity-graph.\${id}Label\`, \`curiosity-graph.thresholdLabel\`], { product, context: product })", + }, + Object { + "key": "", + "match": "t([\`curiosity-graph.\${id}Label\`, \`curiosity-graph.noLabel\`], { product, context: product })", + }, + Object { + "key": "", + "match": "t([\`curiosity-graph.\${id}LegendTooltip\`, \`curiosity-graph.thresholdLegendTooltip\`], { product, context: product })", + }, + Object { + "key": "", + "match": "t(\`curiosity-graph.\${id}LegendTooltip\`, { product, context: product })", + }, + ], + }, + Object { + "file": "./src/components/graphCard/graphCardChartTooltip.js", + "keys": Array [ + Object { + "key": "curiosity-graph.infiniteThresholdLabel", + "match": "t('curiosity-graph.infiniteThresholdLabel')", + }, + Object { + "key": "curiosity-graph.noDataLabel", + "match": "t('curiosity-graph.noDataLabel')", + }, + Object { + "key": "curiosity-graph.thresholdLabel", + "match": "t(\`curiosity-graph.thresholdLabel\`)", + }, + Object { + "key": "curiosity-graph.noDataLabel", + "match": "t('curiosity-graph.noDataLabel')", + }, + Object { + "key": "", + "match": "t(\`curiosity-graph.\${key}Label\`, { product })", + }, + Object { + "key": "curiosity-graph.tooltipSummary", + "match": "t('curiosity-graph.tooltipSummary')", + }, + Object { + "key": "curiosity-graph.noDataErrorLabel", + "match": "t('curiosity-graph.noDataErrorLabel')", + }, + ], + }, + Object { + "file": "./src/components/graphCard/graphCardTypes.js", + "keys": Array [ + Object { + "key": "curiosity-graph.dropdownDaily", + "match": "translate('curiosity-graph.dropdownDaily')", + }, + Object { + "key": "curiosity-graph.dropdownWeekly", + "match": "translate('curiosity-graph.dropdownWeekly')", + }, + Object { + "key": "curiosity-graph.dropdownMonthly", + "match": "translate('curiosity-graph.dropdownMonthly')", + }, + Object { + "key": "curiosity-graph.dropdownQuarterly", + "match": "translate('curiosity-graph.dropdownQuarterly')", + }, + ], + }, + Object { + "file": "./src/components/openshiftView/openshiftView.js", + "keys": Array [ + Object { + "key": "curiosity-view.openshift", + "match": "t('curiosity-view.openshift', helpers.UI_DISPLAY_CONFIG_NAME)", + }, + Object { + "key": "curiosity-graph.cardHeading", + "match": "t('curiosity-graph.cardHeading')", + }, + Object { + "key": "curiosity-graph.cardHeading", + "match": "t('curiosity-graph.cardHeading')", + }, + ], + }, + Object { + "file": "./src/components/optinView/optinView.js", + "keys": Array [ + Object { + "key": "curiosity-optin.buttonActivate", + "match": "t('curiosity-optin.buttonActivate', { appName: helpers.UI_DISPLAY_NAME })", + }, + Object { + "key": "curiosity-optin.cardIsErrorDescription", + "match": "translate('curiosity-optin.cardIsErrorDescription', { appName: helpers.UI_DISPLAY_NAME }, [