aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-core/src
diff options
context:
space:
mode:
authorWouter Admiraal <wouter.admiraal@sonarsource.com>2021-08-12 10:21:24 +0200
committersonartech <sonartech@sonarsource.com>2021-08-13 20:03:54 +0000
commitf8f1b4c9fdf6688e2336e57ebe1d23a82a1c58b7 (patch)
tree28d95d453b405cf7dedb327c4a634ead204ed0ae /sonar-core/src
parent0971ca99e937be30a54965bf616f78ec4779d108 (diff)
downloadsonarqube-f8f1b4c9fdf6688e2336e57ebe1d23a82a1c58b7.tar.gz
sonarqube-f8f1b4c9fdf6688e2336e57ebe1d23a82a1c58b7.zip
SONAR-13150 Prevent using quality profiles with no active rules
Diffstat (limited to 'sonar-core/src')
-rw-r--r--sonar-core/src/main/resources/org/sonar/l10n/core.properties7
1 files changed, 7 insertions, 0 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 0fe177ed8ad..ec14f5372d2 100644
--- a/sonar-core/src/main/resources/org/sonar/l10n/core.properties
+++ b/sonar-core/src/main/resources/org/sonar/l10n/core.properties
@@ -1503,6 +1503,9 @@ project_quality_profile.add_language.action=Add language
project_quality_profile.add_language_modal.title=Add a language
project_quality_profile.add_language_modal.choose_language=Choose a language
project_quality_profile.add_language_modal.choose_profile=Choose a profile
+project_quality_profile.add_language_modal.no_active_rules=this profile has no active rules
+project_quality_profile.add_language_modal.profile_unavailable_no_active_rules=This profile has no active rules, and cannot be used. Please enable at least 1 rule before using this profile.
+project_quality_profile.add_language_modal.go_to_profile=Go to Quality Profile
project_quality_profile.change_profile=Change profile
#------------------------------------------------------------------------------
@@ -1564,6 +1567,10 @@ quality_profiles.are_you_sure_want_delete_profile_x_and_descendants=Are you sure
quality_profiles.this_profile_has_descendants=This profile has descendants.
quality_profiles.profile_inheritance=Inheritance
quality_profiles.no_projects_associated_to_profile=No projects are explicitly associated to the profile.
+quality_profiles.cannot_associate_projects_no_rules=You must activate at least 1 rule before you can assign projects to this profile.
+quality_profiles.cannot_set_default_no_rules=You must activate at least 1 rule before you can make this profile the default profile.
+quality_profiles.warning.used_by_projects_no_rules=The current profile is used on several projects, but it has no active rules. Please activate at least 1 rule for this profile.
+quality_profiles.warning.is_default_no_rules=The current profile is the default profile, but it has no active rules. Please activate at least 1 rule for this profile.
quality_profiles.parent=Parent:
quality_profiles.parameter_set_to=Parameter {0} set to {1}
quality_profiles.x_rules_only_in={0} rules only in