From 60100b4d3802947358f200098d032cc820767d39 Mon Sep 17 00:00:00 2001 From: Alena Laskavaia Date: Tue, 18 Jan 2011 03:28:41 +0000 Subject: [PATCH] Bug 331790 Externalize Problem Binding checker --- .../OSGI-INF/l10n/bundle.properties | 45 +++++++++- .../org.eclipse.cdt.codan.checkers/plugin.xml | 86 +++++++++---------- 2 files changed, 87 insertions(+), 44 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 8fb111c7fdd..fdd6ca0af4c 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 @@ -59,4 +59,47 @@ problem.messagePattern.SuspiciousSemicolon = Suspicious semicolon problem.description.SuspiciousSemicolon = A semicolon is used as a null statement in a condition. For example, 'if(expression);' checker.name.CaseBreak = No break at end of case problem.description.CaseBreak = Looks for "case" statements which end without a "break" statement -problem.messagePattern.CaseBreak = No break at the end of this case \ No newline at end of file +problem.messagePattern.CaseBreak = No break at the end of this case +binding.checker.name = Problem Binding Checker +problem.description.G = Name resolution problem found by the indexer +problem.messagePattern.G = Symbol ''{0}'' could not be resolved +problem.name.G = Symbol is not resolved +problem.description.0 = Name resolution problem found by the indexer +problem.messagePattern.0 = Invalid overload of ''{0}'' +problem.name.0 = Invalid overload +problem.description.1 = Name resolution problem found by the indexer +problem.messagePattern.1 = ''{0}'' is ambiguous ''{1}'' +problem.name.1 = Ambiguous problem +problem.description.2 = Name resolution problem found by the indexer +problem.messagePattern.2 = Circular inheritance encountered in ''{0}'' +problem.name.2 = Circular inheritance +problem.description.3 = Name resolution problem found by the indexer +problem.messagePattern.3 = Invalid redeclaration of ''{0}'' +problem.name.3 = Invalid redeclaration +problem.description.4 = Name resolution problem found by the indexer +problem.messagePattern.4 = Invalid redefinition of ''{0}'' +problem.name.4 = Invalid redefinition +problem.description.5 = Name resolution problem found by the indexer +problem.messagePattern.5 = Member declaration not found +problem.name.5 = Member declaration not found +problem.description.6 = Name resolution problem found by the indexer +problem.messagePattern.6 = ''{0}'': label not found +problem.name.6 = Label statement not found +problem.description.7 = Name resolution problem found by the indexer +problem.messagePattern.7 = Invalid template arguments +problem.name.7 = Invalid template argument +problem.description.8 = Name resolution problem found by the indexer +problem.messagePattern.8 = ''{0}'' type could not be resolved +problem.name.8 = Type cannot be resolved +problem.description.9 = Name resolution problem found by the indexer +problem.messagePattern.9 = ''{0}'': function could not be resolved +problem.name.9 = Function cannot be resolved +problem.description.10 = Name resolution problem found by the indexer +problem.messagePattern.10 = Invalid arguments ''{0}'' +problem.name.10 = Invalid arguments +problem.description.11 = Name resolution problem found by the indexer +problem.messagePattern.11 = ''{0}'': method could not be resolved +problem.name.11 = Method cannot be resolved +problem.description.12 = Name resolution problem found by the indexer +problem.messagePattern.12 = ''{0}'': field could not be resolved +problem.name.12 = Field cannot be resolved \ No newline at end of file diff --git a/codan/org.eclipse.cdt.codan.checkers/plugin.xml b/codan/org.eclipse.cdt.codan.checkers/plugin.xml index cbcc6dd3241..8ac9b463666 100644 --- a/codan/org.eclipse.cdt.codan.checkers/plugin.xml +++ b/codan/org.eclipse.cdt.codan.checkers/plugin.xml @@ -122,146 +122,146 @@ + name="%binding.checker.name"> + messagePattern="%problem.messagePattern.G" + name="%problem.name.G"> + messagePattern="%problem.messagePattern.0" + name="%problem.name.0"> + messagePattern="%problem.messagePattern.1" + name="%problem.name.1"> + messagePattern="%problem.messagePattern.2" + name="%problem.name.2"> + messagePattern="%problem.messagePattern.3" + name="%problem.name.3"> + messagePattern="%problem.messagePattern.4" + name="%problem.name.4"> + messagePattern="%problem.messagePattern.5" + name="%problem.name.5"> + messagePattern="%problem.messagePattern.6" + name="%problem.name.6"> + messagePattern="%problem.messagePattern.7" + name="%problem.name.7"> + messagePattern="%problem.messagePattern.8" + name="%problem.name.8"> + messagePattern="%problem.messagePattern.9" + name="%problem.name.9"> + messagePattern="%problem.messagePattern.10" + name="%problem.name.10"> + messagePattern="%problem.messagePattern.11" + name="%problem.name.11"> + messagePattern="%problem.messagePattern.12" + name="%problem.name.12">