aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src
diff options
context:
space:
mode:
authorRevanshu Paliwal <revanshu.paliwal@sonarsource.com>2022-04-26 17:26:39 +0200
committersonartech <sonartech@sonarsource.com>2022-04-28 20:02:52 +0000
commit22775e5058dc2a2ba65946967aa850d203d07588 (patch)
treed8bbdc699c7a39763bd09aed8d028b04daf458ae /server/sonar-web/src
parent875c8215fcb6ac8ad18fc549d43e7c15f3fff134 (diff)
downloadsonarqube-22775e5058dc2a2ba65946967aa850d203d07588.tar.gz
sonarqube-22775e5058dc2a2ba65946967aa850d203d07588.zip
SONAR-16313 Updating tag descriptions for issues
Diffstat (limited to 'server/sonar-web/src')
-rw-r--r--server/sonar-web/src/main/js/components/issue/components/IssueMessage.tsx2
-rw-r--r--server/sonar-web/src/main/js/components/issue/components/__tests__/__snapshots__/IssueMessage-test.tsx.snap2
2 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/components/issue/components/IssueMessage.tsx b/server/sonar-web/src/main/js/components/issue/components/IssueMessage.tsx
index 2d2cb80c068..33d4e8316b7 100644
--- a/server/sonar-web/src/main/js/components/issue/components/IssueMessage.tsx
+++ b/server/sonar-web/src/main/js/components/issue/components/IssueMessage.tsx
@@ -88,7 +88,7 @@ export default function IssueMessage(props: IssueMessageProps) {
]}>
<span className="spacer-right badge badge-error">
{ruleStatus === RuleStatus.Deprecated
- ? translate('rules.status.DEPRECATED')
+ ? translate('issue.resolution.DEPRECATED.rule_deprecated')
: translate('issue.resolution.REMOVED.rule_removed')}
</span>
</DocumentationTooltip>
diff --git a/server/sonar-web/src/main/js/components/issue/components/__tests__/__snapshots__/IssueMessage-test.tsx.snap b/server/sonar-web/src/main/js/components/issue/components/__tests__/__snapshots__/IssueMessage-test.tsx.snap
index 178a1810306..ad368c1d951 100644
--- a/server/sonar-web/src/main/js/components/issue/components/__tests__/__snapshots__/IssueMessage-test.tsx.snap
+++ b/server/sonar-web/src/main/js/components/issue/components/__tests__/__snapshots__/IssueMessage-test.tsx.snap
@@ -46,7 +46,7 @@ exports[`should render correctly: is deprecated rule 1`] = `
<span
className="spacer-right badge badge-error"
>
- rules.status.DEPRECATED
+ issue.resolution.DEPRECATED.rule_deprecated
</span>
</DocumentationTooltip>
</div>