diff --git a/locales/en.json b/locales/en.json index 0354be54b..1d56dd974 100644 --- a/locales/en.json +++ b/locales/en.json @@ -182,7 +182,7 @@ "justificationNote": "Justification note", "kebab.editBusinnesRisk": "Edit business risk", "kebab.editStatus": "Edit status", - "kebab.exportAsPDF": "Export as PDF", + "kebab.exportToPDF": "Export to PDF", "knowledgebasearticle": "Knowledgebase article", "knownExploit": "Known exploit", "knownExploitDescription": "This CVE is identified with a “Known exploit” label because Red Hat has determined this CVE has a public exploit. This CVE is unpatched on your system. CVEs with this label should be addressed with high priority due to the risks posed by them. “Known exploit” does not mean we have taken steps to determine if the CVE has been exploited in your environment.", diff --git a/src/Components/PresentationalComponents/Kebab/KebabItems.js b/src/Components/PresentationalComponents/Kebab/KebabItems.js index 7d1a39d8c..1fcaf3e48 100644 --- a/src/Components/PresentationalComponents/Kebab/KebabItems.js +++ b/src/Components/PresentationalComponents/Kebab/KebabItems.js @@ -10,7 +10,7 @@ export const kebabItemDownloadPDF = (loading, downloadReport, props = {}) => ( className="pf-v5-c-dropdown__menu-item" onClick={() => downloadReport(true)} {...props} > - {loading ? : } + {loading ? : } ); diff --git a/src/Components/SmartComponents/Reports/DownloadCVEsReport.js b/src/Components/SmartComponents/Reports/DownloadCVEsReport.js index 58cce478d..21ba0d723 100644 --- a/src/Components/SmartComponents/Reports/DownloadCVEsReport.js +++ b/src/Components/SmartComponents/Reports/DownloadCVEsReport.js @@ -187,7 +187,7 @@ const DownloadCVEsReport = ({ }; DownloadCVEsReport.defaultProps = { - label: messages.kebabExportAsPDF, + label: messages.kebabexportToPDF, shouldUseHybridSystemFilter: false }; diff --git a/src/Components/SmartComponents/Reports/DownloadSystemsReport.js b/src/Components/SmartComponents/Reports/DownloadSystemsReport.js index bf1fab7cc..463d6601d 100644 --- a/src/Components/SmartComponents/Reports/DownloadSystemsReport.js +++ b/src/Components/SmartComponents/Reports/DownloadSystemsReport.js @@ -110,7 +110,7 @@ const DownloadSystemsReport = ({ }; DownloadSystemsReport.defaultProps = { - label: messages.kebabExportAsPDF + label: messages.kebabexportToPDF }; DownloadSystemsReport.propTypes = { diff --git a/src/Messages.js b/src/Messages.js index bedd4eea0..fc7aaafbf 100644 --- a/src/Messages.js +++ b/src/Messages.js @@ -1412,10 +1412,10 @@ export default defineMessages({ description: 'Title label for systems PDF report', defaultMessage: 'Insights Vulnerability Systems report' }, - kebabExportAsPDF: { - id: 'kebab.exportAsPDF', + kebabexportToPDF: { + id: 'kebab.exportToPDF', description: 'Kebab item', - defaultMessage: 'Export as PDF' + defaultMessage: 'Export to PDF' }, kebabEditBusinessRisk: { id: 'kebab.editBusinnesRisk',