Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Ruiz2012-02-23 20:26:48 +0000
committerSergey Prigogin2012-02-23 20:26:48 +0000
commita631e47e437dfe02bf91f3c0afae98b5269eb05a (patch)
treebcaaabaf528c2d7fa82424853c188ee7a3429ee5
parent3115bb4e228e7d1903aaba91178d7ec9742c190e (diff)
downloadorg.eclipse.cdt-a631e47e437dfe02bf91f3c0afae98b5269eb05a.tar.gz
org.eclipse.cdt-a631e47e437dfe02bf91f3c0afae98b5269eb05a.tar.xz
org.eclipse.cdt-a631e47e437dfe02bf91f3c0afae98b5269eb05a.zip
Externalized Strings.
-rw-r--r--codan/org.eclipse.cdt.codan.checkers/OSGI-INF/l10n/bundle.properties8
-rw-r--r--codan/org.eclipse.cdt.codan.checkers/plugin.xml20
2 files changed, 18 insertions, 10 deletions
diff --git a/codan/org.eclipse.cdt.codan.checkers/OSGI-INF/l10n/bundle.properties b/codan/org.eclipse.cdt.codan.checkers/OSGI-INF/l10n/bundle.properties
index c5ebf9beed5..021c95cddec 100644
--- a/codan/org.eclipse.cdt.codan.checkers/OSGI-INF/l10n/bundle.properties
+++ b/codan/org.eclipse.cdt.codan.checkers/OSGI-INF/l10n/bundle.properties
@@ -127,3 +127,11 @@ problem.description.UnusedStaticFunctionProblem = Finds static functions which c
problem.messagePattern.UnusedStaticFunctionProblem = Unused static function ''{0}''
problem.name.UnusedStaticFunctionProblem = Unused static function
+checker.name.Cppcheck = Cppcheck
+problem.description.Cppcheck.Error = Errors reported by Cppcheck (http://cppcheck.sourceforge.net/)
+problem.name.Cppcheck.Error = Errors
+problem.description.Cppcheck.Warning = Warnings reported by Cppcheck (http://cppcheck.sourceforge.net/)
+problem.name.Cppcheck.Warning = Warnings
+problem.description.Cppcheck.Syntax = Syntax problems reported by Cppcheck (http://cppcheck.sourceforge.net/)
+problem.name.Cppcheck.Syntax = Syntax Problems
+problem.messagePattern.Cppcheck.all = {0}
diff --git a/codan/org.eclipse.cdt.codan.checkers/plugin.xml b/codan/org.eclipse.cdt.codan.checkers/plugin.xml
index 944b52af252..ab04c268e7c 100644
--- a/codan/org.eclipse.cdt.codan.checkers/plugin.xml
+++ b/codan/org.eclipse.cdt.codan.checkers/plugin.xml
@@ -400,7 +400,7 @@
</checker>
<category
id="org.eclipse.cdt.codan.checkers.cppcheck"
- name="Cppcheck Errors">
+ name="%checker.name.Cppcheck">
</category>
<checker
class="org.eclipse.cdt.codan.internal.checkers.CppcheckChecker"
@@ -410,28 +410,28 @@
category="org.eclipse.cdt.codan.checkers.cppcheck"
defaultEnabled="false"
defaultSeverity="Error"
- description="Errors reported by Cppcheck (http://cppcheck.sourceforge.net/)"
+ description="%problem.description.Cppcheck.Error"
id="org.eclipse.cdt.codan.checkers.cppcheck.error"
- messagePattern="{0}"
- name="Errors">
+ messagePattern="%problem.messagePattern.Cppcheck.all"
+ name="%problem.name.Cppcheck.Error">
</problem>
<problem
category="org.eclipse.cdt.codan.checkers.cppcheck"
defaultEnabled="false"
defaultSeverity="Warning"
- description="Warnings reported by Cppcheck (http://cppcheck.sourceforge.net/)"
+ description="%problem.description.Cppcheck.Warning"
id="org.eclipse.cdt.codan.checkers.cppcheck.warning"
- messagePattern="{0}"
- name="Warnings">
+ messagePattern="%problem.messagePattern.Cppcheck.all"
+ name="%problem.name.Cppcheck.Warning">
</problem>
<problem
category="org.eclipse.cdt.codan.checkers.cppcheck"
defaultEnabled="false"
defaultSeverity="Warning"
- description="Style issues reported by Cppcheck (http://cppcheck.sourceforge.net/)"
+ description="%problem.description.Cppcheck.Syntax"
id="org.eclipse.cdt.codan.checkers.cppcheck.style"
- messagePattern="{0}"
- name="Style Issues">
+ messagePattern="%problem.messagePattern.Cppcheck.all"
+ name="%problem.name.Cppcheck.Syntax">
</problem>
</checker>
</extension>

Back to the top