1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

2005-05-19 Alain Magloire

Fixed PR 95943
	* src/org/elcipse/cdt/internla/corext/template/c/TemplateMessages.properties
	* src/org/elcipse/cdt/internla/corext/template/c/TranslationUnitContextType.java
This commit is contained in:
Alain Magloire 2005-05-19 20:26:56 +00:00
parent 70ae4fdbaf
commit 10249b11c4
3 changed files with 11 additions and 6 deletions

View file

@ -1,3 +1,8 @@
2005-05-19 Alain Magloire
Fixed PR 95943
* src/org/elcipse/cdt/internla/corext/template/c/TemplateMessages.properties
* src/org/elcipse/cdt/internla/corext/template/c/TranslationUnitContextType.java
2005-05-18 David Inglis 2005-05-18 David Inglis
Fixed bug # 95556 Fixed bug # 95556
* src/org/eclipse/cdt/ui/wizards/NewCProjectWizard.java * src/org/eclipse/cdt/ui/wizards/NewCProjectWizard.java

View file

@ -11,19 +11,19 @@ GlobalVariables.variable.description.date=Current date
GlobalVariables.variable.description.time=Current time GlobalVariables.variable.description.time=Current time
GlobalVariables.variable.description.user=User name GlobalVariables.variable.description.user=User name
JavaDocContextType.variable.description.file=Filename of compilation unit #JavaDocContextType.variable.description.file=Filename of translation unit
CContextType.variable.description.file=Filename of compilation unit CContextType.variable.description.file=Filename of translation unit
CContextType.variable.description.array=A proposal for an array CContextType.variable.description.array=A proposal for an array
CContextType.variable.description.array.type=A proposal for the element type of an array CContextType.variable.description.array.type=A proposal for the element type of an array
CContextType.variable.description.array.element=A proposal for the element name of an array CContextType.variable.description.array.element=A proposal for the element name of an array
CContextType.variable.description.index=A proposal for an index (int) CContextType.variable.description.index=A proposal for an index (int)
CContextType.variable.description.collector=A proposal for a collector (java.util.Collector) CContextType.variable.description.collector=A proposal for a collector
CContextType.variable.description.iterator=A proposal for an iterator (java.util.Iterator) CContextType.variable.description.iterator=A proposal for an iterator
CContextType.variable.description.arguments=Method arguments (evaluates to empty string) CContextType.variable.description.arguments=Method arguments (evaluates to empty string)
CContextType.variable.description.enclosing.method=Enclosing method name CContextType.variable.description.enclosing.method=Enclosing method name
CContextType.variable.description.enclosing.type=Enclosing type name CContextType.variable.description.enclosing.type=Enclosing type name
CContextType.variable.description.enclosing.package=Enclosing package name #CContextType.variable.description.enclosing.package=Enclosing package name
CContextType.variable.description.enclosing.project=Enclosing project name CContextType.variable.description.enclosing.project=Enclosing project name
CContextType.variable.description.enclosing.method.arguments=Argument names of enclosing method CContextType.variable.description.enclosing.method.arguments=Argument names of enclosing method
CContextType.variable.description.return.type=Enclosing method return type CContextType.variable.description.return.type=Enclosing method return type

View file

@ -110,7 +110,7 @@ public abstract class TranslationUnitContextType extends TemplateContextType {
protected static class Project extends TemplateVariableResolver { protected static class Project extends TemplateVariableResolver {
public Project() { public Project() {
super("enclosing_project", TemplateMessages.getString("CContextType.variable.description.project")); //$NON-NLS-1$ //$NON-NLS-2$ super("enclosing_project", TemplateMessages.getString("CContextType.variable.description.enclosing.project")); //$NON-NLS-1$ //$NON-NLS-2$
} }
public String resolve(TemplateContext context) { public String resolve(TemplateContext context) {
ITranslationUnit unit= ((CContext) context).getTranslationUnit(); ITranslationUnit unit= ((CContext) context).getTranslationUnit();