From a631e47e437dfe02bf91f3c0afae98b5269eb05a Mon Sep 17 00:00:00 2001 From: Alex Ruiz Date: Thu, 23 Feb 2012 12:26:48 -0800 Subject: Externalized Strings. --- .../OSGI-INF/l10n/bundle.properties | 8 ++++++++ codan/org.eclipse.cdt.codan.checkers/plugin.xml | 20 ++++++++++---------- 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 @@ + name="%checker.name.Cppcheck"> + messagePattern="%problem.messagePattern.Cppcheck.all" + name="%problem.name.Cppcheck.Error"> + messagePattern="%problem.messagePattern.Cppcheck.all" + name="%problem.name.Cppcheck.Warning"> + messagePattern="%problem.messagePattern.Cppcheck.all" + name="%problem.name.Cppcheck.Syntax"> -- cgit v1.2.3