Skip to content

Commit

Permalink
Merge pull request #9139 from gkarat/rename-insights-to-insights-advisor
Browse files Browse the repository at this point in the history
Bug 1967717: Rename Insights to Insights Advisor and add missing paragraph
  • Loading branch information
openshift-merge-robot committed Jun 7, 2021
2 parents 1fffa2c + a6672e2 commit a423e14
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
Expand Up @@ -3,6 +3,7 @@
"moderate": "moderate",
"important": "important",
"critical": "critical",
"Insights Advisor identifies and prioritizes risks to security, performance, availability, and stability of your clusters.": "Insights Advisor identifies and prioritizes risks to security, performance, availability, and stability of your clusters.",
"Temporary unavailable.": "Temporary unavailable.",
"Disabled or waiting for results.": "Disabled or waiting for results.",
"Total issue": "Total issue",
Expand All @@ -16,5 +17,5 @@
"{{issuesNumber}} issue found": "{{issuesNumber}} issue found",
"{{issuesNumber}} issues found": "{{issuesNumber}} issues found",
"Insights": "Insights",
"Insights status": "Insights status"
"Insights Advisor status": "Insights Advisor status"
}
Expand Up @@ -46,6 +46,11 @@ export const InsightsPopup: React.FC<PrometheusHealthPopupProps> = ({ responses,

return (
<div className="co-insights__box">
<p>
{t(
'insights-plugin~Insights Advisor identifies and prioritizes risks to security, performance, availability, and stability of your clusters.',
)}
</p>
{isError && (
<div className="co-status-popup__section">
{t('insights-plugin~Temporary unavailable.')}
Expand Down
4 changes: 2 additions & 2 deletions frontend/packages/insights-plugin/src/plugin.tsx
Expand Up @@ -27,8 +27,8 @@ const plugin: Plugin<ConsumedExtensions> = [
import('./components/InsightsPopup/index' /* webpackChunkName: "insights-plugin" */).then(
(m) => m.InsightsPopup,
),
// t('insights-plugin~Insights status')
popupTitle: '%insights-plugin~Insights status%',
// t('insights-plugin~Insights Advisor status')
popupTitle: '%insights-plugin~Insights Advisor status%',
},
},
];
Expand Down

0 comments on commit a423e14

Please sign in to comment.