aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-core/src/main
diff options
context:
space:
mode:
authorViktor Vorona <viktor.vorona@sonarsource.com>2024-10-17 18:03:21 +0200
committersonartech <sonartech@sonarsource.com>2024-10-19 20:02:32 +0000
commit691fe9681e59a01bca5e6079e74c2d3995ba3667 (patch)
tree955e37ed43ec0545f83ab9f6883f17a87bf43e6a /sonar-core/src/main
parenta063c19e012fafa748fe8d3269482e758697c05b (diff)
downloadsonarqube-691fe9681e59a01bca5e6079e74c2d3995ba3667.tar.gz
sonarqube-691fe9681e59a01bca5e6079e74c2d3995ba3667.zip
SONAR-23188 Custom design for the mode setting
Diffstat (limited to 'sonar-core/src/main')
-rw-r--r--sonar-core/src/main/java/org/sonar/core/config/MQRModeProperties.java1
-rw-r--r--sonar-core/src/main/resources/org/sonar/l10n/core.properties13
2 files changed, 14 insertions, 0 deletions
diff --git a/sonar-core/src/main/java/org/sonar/core/config/MQRModeProperties.java b/sonar-core/src/main/java/org/sonar/core/config/MQRModeProperties.java
index 536aeae5cbb..5b7cfd12372 100644
--- a/sonar-core/src/main/java/org/sonar/core/config/MQRModeProperties.java
+++ b/sonar-core/src/main/java/org/sonar/core/config/MQRModeProperties.java
@@ -47,6 +47,7 @@ public final class MQRModeProperties {
.type(PropertyType.BOOLEAN)
.category(UI_MODE)
.subCategory(UI_MODE_SUB_CATEGORY)
+ .hidden()
.index(1)
.build()
);
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 0d8dc819ad4..9c8e346cb22 100644
--- a/sonar-core/src/main/resources/org/sonar/l10n/core.properties
+++ b/sonar-core/src/main/resources/org/sonar/l10n/core.properties
@@ -1813,6 +1813,19 @@ settings.pr_decoration.binding.form.gitlab.repository.help=The Project ID is a n
settings.email_notification.category=Email Notification
settings.email_notification.header=SMTP Configuration
+# Mode
+settings.mode.title=Mode
+settings.mode.description.line1=There are two options to reflect the health of all the projects in this instance: {mqrLink} and {standardLink}
+settings.mode.description.line2=Changing the mode will change how issues are categorized and ranked based on the results of the analysis.
+settings.mode.standard.name=Standard Experience
+settings.mode.mqr.name=Multi-Quality Rule (MQR) Mode
+settings.mode.standard.description.line1=Encompasses the traditional use of rule types such as bugs, code smells, and vulnerabilities, with a single category and severity level for each rule.
+settings.mode.standard.description.line2=This approach focuses on assigning severity to a rule and its issues based on the single software quality (for example, security, reliability or maintainability) it has the largest impact on. This is the rule categorization used in SonarQube 9.9 LTA and earlier.
+settings.mode.mqr.description.line1=Aims to more accurately represent the impact software has on all software qualities. Very few issues impact only a single software quality. For instance, most vulnerabilities are also bugs. And vice versa. The MQR mode maps each rule to each of the qualities it impacts, with a separate severity rating for each quality.
+settings.mode.mqr.description.line2=This approach focuses on ensuring the impact of an issue on all software qualities is clear, not just the most severe one.
+settings.mode.save.warning=Save changes to see them reflected in your instance
+settings.mode.save=Save the mode. The current mode will be switched to {isStandardMode, select, true {Standard Experience} other {Multi-Quality Rule Mode}}
+
property.category.announcement=Announcement
property.category.general=General
property.category.general.email=Email