aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorFabrice Bellingard <bellingard@gmail.com>2011-07-15 11:26:04 +0200
committerFabrice Bellingard <bellingard@gmail.com>2011-07-15 11:26:04 +0200
commite0573c9fad469edd6cd0d137201320631b0b831a (patch)
treec166b285bc51c40d44cfaa72bfb89b6a9a1bcba3 /plugins
parentc5089505ee81dd5ebc48ba93f7aa670b223d2f78 (diff)
downloadsonarqube-e0573c9fad469edd6cd0d137201320631b0b831a.tar.gz
sonarqube-e0573c9fad469edd6cd0d137201320631b0b831a.zip
SONAR-2591 API : translation mechanism of rule descriptions
- Add translation for rule params
Diffstat (limited to 'plugins')
-rw-r--r--plugins/sonar-i18n-en-plugin/src/main/resources/org/sonar/i18n/squidjava.properties17
1 files changed, 17 insertions, 0 deletions
diff --git a/plugins/sonar-i18n-en-plugin/src/main/resources/org/sonar/i18n/squidjava.properties b/plugins/sonar-i18n-en-plugin/src/main/resources/org/sonar/i18n/squidjava.properties
index 1470cf5dfd2..f26cabba546 100644
--- a/plugins/sonar-i18n-en-plugin/src/main/resources/org/sonar/i18n/squidjava.properties
+++ b/plugins/sonar-i18n-en-plugin/src/main/resources/org/sonar/i18n/squidjava.properties
@@ -1,12 +1,29 @@
rule.squid.ArchitecturalConstraint.name=Architectural constraint
+rule.squid.ArchitecturalConstraint.param.fromClasses=Optional. If this property is not defined, all classes should adhere to this constraint. Ex : **.web.**
+rule.squid.ArchitecturalConstraint.param.toClasses=Mandatory. Ex : java.util.Vector, java.util.Hashtable, java.util.Enumeration
+
rule.squid.AvoidBreakOutsideSwitch.name=Avoid using 'break' branching statement outside a 'switch' statement
+
rule.squid.AvoidContinueStatement.name=Avoid using 'continue' branching statement
+
rule.squid.CallToDeprecatedMethod.name=Avoid use of deprecated method
+
rule.squid.ClassCyclomaticComplexity.name=Avoid too complex class
+rule.squid.ClassCyclomaticComplexity.param.max=Maximum complexity allowed.
+
rule.squid.EmptyFile.name=Empty file
+
rule.squid.MaximumInheritanceDepth.name=Avoid too deep inheritance tree
+rule.squid.MaximumInheritanceDepth.param.max=Maximum depth of the inheritance tree.
+
rule.squid.MethodCyclomaticComplexity.name=Avoid too complex method
+rule.squid.MethodCyclomaticComplexity.param.max=Maximum complexity allowed.
+
rule.squid.NoSonar.name=Avoid use of //NOSONAR marker
+
rule.squid.UndocumentedApi.name=Undocumented API
+rule.squid.UndocumentedApi.param.forClasses=Optional. If this property is not defined, all classes should adhere to this constraint. Ex : **.api.**
+
rule.squid.UnusedPrivateMethod.name=Unused private method
+
rule.squid.UnusedProtectedMethod.name=Unused protected method