aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sonar-core/src/main/resources/org/sonar/l10n/core.properties7
-rw-r--r--sonar-server/src/main/hbs/coding-rules/coding-rules-detail.hbs2
2 files changed, 8 insertions, 1 deletions
diff --git a/sonar-core/src/main/resources/org/sonar/l10n/core.properties b/sonar-core/src/main/resources/org/sonar/l10n/core.properties
index 44f01dc1448..36bfe3ec60d 100644
--- a/sonar-core/src/main/resources/org/sonar/l10n/core.properties
+++ b/sonar-core/src/main/resources/org/sonar/l10n/core.properties
@@ -1774,6 +1774,13 @@ coding_rules.sort.creation_date=Creation Date
coding_rules.sort.name=Name
coding_rules.sort.relevance=Relevance
+coding_rules.remediation_function=Remediation function:
+coding_rules.remediation_function.LINEAR=Linear
+coding_rules.remediation_function.LINEAR_OFFSET=Linear with offset
+coding_rules.remediation_function.CONSTANT_ISSUE=Constant/issue
+coding_rules.remediation_function.coeff=Coeff
+coding_rules.remediation_function.offset=Offset
+
#------------------------------------------------------------------------------
#
# EMAIL CONFIGURATION
diff --git a/sonar-server/src/main/hbs/coding-rules/coding-rules-detail.hbs b/sonar-server/src/main/hbs/coding-rules/coding-rules-detail.hbs
index f10a2691851..b9011b713fa 100644
--- a/sonar-server/src/main/hbs/coding-rules/coding-rules-detail.hbs
+++ b/sonar-server/src/main/hbs/coding-rules/coding-rules-detail.hbs
@@ -34,7 +34,7 @@
</li>{{/if}}
- <li class="coding-rules-detail-property">{{subcharacteristic}}</li>
+ <li class="coding-rules-detail-property" title="{{t 'coding_rules.remediation_function'}} {{t 'coding_rules.remediation_function' debtRemFnType}}{{#if debtRemFnCoeff}}, {{t 'coding_rules.remediation_function.coeff'}} {{debtRemFnCoeff}}{{/if}}{{#if debtRemFnOffset}}, {{t 'coding_rules.remediation_function.offset'}} {{debtRemFnOffset}}{{/if}}">{{subcharacteristic}}</li>
<li class="coding-rules-detail-property">{{t 'coding_rules.available_since'}} {{d createdAt}}</li>
<li class="coding-rules-detail-property">{{repository}}{{#unless isManual}} ({{language}}){{/unless}}</li>