]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-16313 Updating tag descriptions for issues
authorRevanshu Paliwal <revanshu.paliwal@sonarsource.com>
Tue, 26 Apr 2022 15:26:39 +0000 (17:26 +0200)
committersonartech <sonartech@sonarsource.com>
Thu, 28 Apr 2022 20:02:52 +0000 (20:02 +0000)
server/sonar-web/src/main/js/components/issue/components/IssueMessage.tsx
server/sonar-web/src/main/js/components/issue/components/__tests__/__snapshots__/IssueMessage-test.tsx.snap
sonar-core/src/main/resources/org/sonar/l10n/core.properties

index 2d2cb80c06831810990829b0b16d23bf3b1c6b25..33d4e8316b7e4e3f5bb30b963805c1e59f3e32dc 100644 (file)
@@ -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>
index 178a1810306a7a89c2acd6d4e69e7fef053c280f..ad368c1d951cceb4861f171c6594d061d047ae48 100644 (file)
@@ -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>
index 2391219ad1a9cd217172c76935d3223663163570..c699a344f70267ebc2a081c7f3d9df2457340019 100644 (file)
@@ -890,6 +890,7 @@ issue.resolution.WONTFIX.description=Issues that are accepted in this context. T
 issue.resolution.REMOVED=Removed
 issue.resolution.REMOVED.description=Either the rule or the resource was changed (removed, relocated, parameters changed, etc.) so that analysis no longer finds these issues.
 issue.resolution.REMOVED.rule_removed=Rule removed
+issue.resolution.DEPRECATED.rule_deprecated=Rule deprecated
 issue.unresolved.description=Unresolved issues have not been addressed in any way.
 
 issue.effort=Effort: