]>
Commit | Line | Data |
---|---|---|
1b2798f6 EK |
1 | ############################################################################### |
2 | # Copyright (c) 2000, 2011 IBM Corporation and others. | |
3 | # All rights reserved. This program and the accompanying materials | |
4 | # are made available under the terms of the Eclipse Public License v1.0 | |
5 | # which accompanies this distribution, and is available at | |
6 | # http://www.eclipse.org/legal/epl-v10.html | |
7 | # | |
8 | # Contributors: | |
9 | # IBM Corporation - initial API and implementation | |
10 | # Benjamin Muskalla <bmuskalla@eclipsesource.com> - [templates] new SWT templates - ToolBar and ToolItem - https://bugs.eclipse.org/bugs/show_bug.cgi?id=264052 | |
11 | ############################################################################### | |
12 | ||
13 | Templates.for_array=iterate over array | |
14 | Templates.for_temp=iterate over array with temporary variable | |
15 | Templates.for_collection=iterate over collection | |
16 | Templates.for_iterable=iterate over an array or Iterable | |
17 | Templates.while_enumeration=iterate with enumeration | |
18 | Templates.while_iterator=iterate with iterator | |
19 | Templates.do=do while statement | |
20 | Templates.switch=switch case statement | |
21 | Templates.if=if statement | |
22 | Templates.ifelse=if else statement | |
23 | Templates.elseif=else if block | |
24 | Templates.else=else block | |
25 | Templates.try=try catch block | |
26 | Templates.catch=catch block | |
27 | Templates.main=main method | |
28 | Templates.public_method=public method | |
29 | Templates.public_static_method=public static method | |
30 | Templates.protected_method=protected method | |
31 | Templates.private_method=private method | |
32 | Templates.private_static_method=private static method | |
33 | Templates.instanceof=dynamic type test and cast | |
34 | Templates.cast=dynamic cast | |
35 | Templates.toarray=convert collection to array | |
36 | Templates.test=test method | |
37 | Templates.test_junit4=test method (JUnit 4) | |
38 | Templates.systrace=print current method to standard out | |
39 | Templates.sysout=print to standard out | |
40 | Templates.syserr=print to standard error | |
41 | Templates.code_tag=<code></code> | |
42 | Templates.code_tag_null=<code>null</code> | |
43 | Templates.code_tag_true=<code>true</code> | |
44 | Templates.code_tag_false=<code>false</code> | |
45 | Templates.pre_tag=<pre></pre> | |
46 | Templates.b_tag=<b></b> | |
47 | Templates.i_tag=<i></i> | |
48 | Templates.author=author name | |
49 | Templates.new=create new object | |
50 | Templates.lazy=lazy creation | |
51 | Templates.while_condition=while loop with condition | |
52 | Templates.non-nls= non-externalized string marker | |
53 | Templates.fall-through= $FALL-THROUGH$ marker | |
54 | Templates.synchronized= synchronized block | |
55 | Templates.runnable= runnable | |
56 | Templates.arraymerge= merge two arrays into one | |
57 | Templates.arrayadd= add an element to an array | |
58 | Templates.static_final=static final field | |
59 | ||
60 | # Java Only stuff | |
61 | CompilationUnitContextType.variable.description.file=Filename of compilation unit | |
62 | CompilationUnitContextType.variable.description.primary.type.name=Filename without extension | |
63 | CompilationUnitContextType.variable.description.enclosing.method=Enclosing method name | |
64 | CompilationUnitContextType.variable.description.enclosing.type=Enclosing type name | |
65 | CompilationUnitContextType.variable.description.enclosing.package=Enclosing package name | |
66 | CompilationUnitContextType.variable.description.enclosing.project=Enclosing project name | |
67 | CompilationUnitContextType.variable.description.enclosing.method.arguments=Argument names of enclosing method | |
68 | CompilationUnitContextType.variable.description.return.type=Enclosing method return type | |
69 | ||
70 | JavaContextType.variable.description.array=A proposal for an array | |
71 | JavaContextType.variable.description.array.type=A proposal for the element type of an array | |
72 | JavaContextType.variable.description.array.element=A proposal for the element name of an array | |
73 | JavaContextType.variable.description.index=A proposal for an index (int) | |
74 | JavaContextType.variable.description.collection=A proposal for a collection (java.util.Collection) | |
75 | JavaContextType.variable.description.iterator=A proposal for an iterator (java.util.Iterator) | |
76 | JavaContextType.variable.description.todo=Todo task tag | |
77 | ||
78 | JavaContext.error.title=Template Error | |
79 | JavaContext.error.message=Template file incomplete or has errors. You can load the default templates from the template preference page (Java>Templates). | |
80 | ||
81 | CodeTemplateContextType.variable.description.todo=Todo task tag | |
82 | CodeTemplateContextType.variable.description.packdeclaration=Package declaration of the new type | |
83 | CodeTemplateContextType.variable.description.typedeclaration=Generated type declaration | |
84 | CodeTemplateContextType.variable.description.getterfieldname=The name of field to set or get | |
85 | CodeTemplateContextType.variable.description.getterfieldtype=The type of the field to set or get | |
86 | CodeTemplateContextType.variable.description.fieldname=The name of field | |
87 | CodeTemplateContextType.variable.description.fieldtype=The type of the field | |
88 | CodeTemplateContextType.variable.description.barefieldname=The name of field to set or get without prefix or suffix | |
89 | CodeTemplateContextType.variable.description.param=The parameter passed into the setter method | |
90 | CodeTemplateContextType.variable.description.typecomment=Content of code template 'typecomment' | |
91 | CodeTemplateContextType.variable.description.exceptiontype=The type of the caught exception | |
92 | CodeTemplateContextType.variable.description.exceptionvar=The variable name of the caught exception | |
93 | CodeTemplateContextType.variable.description.enclosingtype=The type enclosing this method | |
94 | CodeTemplateContextType.variable.description.typename=Name of the current type | |
95 | CodeTemplateContextType.variable.description.enclosingmethod=The enclosing method | |
96 | CodeTemplateContextType.variable.description.bodystatement=Return statement or super call | |
97 | CodeTemplateContextType.variable.description.returntype=Return type of the enclosing method | |
98 | CodeTemplateContextType.variable.description.tags=Generated Javadoc tags (@param, @return...) | |
99 | CodeTemplateContextType.variable.description.seetag=See tag pointing to the overridden method (@see T#m()) | |
100 | ||
101 | CodeTemplateContextType.variable.description.filename=Name of the enclosing compilation unit | |
102 | CodeTemplateContextType.variable.description.packagename=Name of the enclosing package | |
103 | CodeTemplateContextType.variable.description.projectname=Name of the enclosing project | |
104 | ||
105 | CodeTemplateContextType.validate.unknownvariable=Variable ''{0}'' is unknown. | |
106 | CodeTemplateContextType.validate.missingvariable=Variable ''{0}'' is required. | |
107 | CodeTemplateContextType.validate.invalidcomment=Pattern is not a valid Java comment. | |
108 | ||
109 | ||
110 | # strings in default templates | |
111 | CodeTemplates.constructorcomment=Comment for created constructors | |
112 | CodeTemplates.filecomment=Comment for created Java files | |
113 | CodeTemplates.typecomment=Comment for created types | |
114 | CodeTemplates.fieldcomment=Comment for fields | |
115 | CodeTemplates.nonoverridingcomment=Comment for non-overriding methods | |
116 | CodeTemplates.overridecomment=Comment for overriding methods | |
117 | CodeTemplates.delegatecomment=Comment for delegate methods | |
118 | CodeTemplates.gettercomment=Comment for getter method | |
119 | # ! Do not translate ${bare_field_name} ! | |
120 | CodeTemplates.gettercomment.returntagcontent=the ${bare_field_name} | |
121 | CodeTemplates.settercomment=Comment for setter method | |
122 | # ! Do not translate ${bare_field_name} ! | |
123 | CodeTemplates.settercomment.paramtagcontent=the ${bare_field_name} to set | |
124 | ||
125 | CodeTemplates.newfile=Newly created files | |
126 | CodeTemplates.classbody=Code in new class type bodies | |
127 | CodeTemplates.interfacebody=Code in new interface type bodies | |
128 | CodeTemplates.enumbody=Code in new enum type bodies | |
129 | CodeTemplates.annotationbody=Code in new annotation type bodies | |
130 | CodeTemplates.catchblock=Code in new catch blocks | |
131 | CodeTemplates.methodstub=Code in created method stubs | |
132 | CodeTemplates.constructorstub=Code in created constructor stubs | |
133 | CodeTemplates.getterstub=Code in created getters | |
134 | CodeTemplates.setterstub=Code in created setters | |
135 | ||
136 | CodeTemplates.overridecomment.nonjd=(non-Javadoc) | |
137 | CodeTemplates.delegatecomment.nonjd=(non-Javadoc) | |
138 | ||
139 | CodeTemplates.catchblock.tododesc=Auto-generated catch block | |
140 | CodeTemplates.methodstub.tododesc=Auto-generated method stub | |
141 | CodeTemplates.constructorstub.tododesc=Auto-generated constructor stub | |
142 | ||
143 | SWTTemplates.label=new Label | |
144 | SWTTemplates.image=new Image | |
145 | SWTTemplates.button=new Button | |
146 | SWTTemplates.link=new Link | |
147 | SWTTemplates.combo=new Combo | |
148 | SWTTemplates.scale=new Scale | |
149 | SWTTemplates.spinner=new Spinner | |
150 | SWTTemplates.browser=new Browser | |
151 | SWTTemplates.datetime=new DateTime | |
152 | SWTTemplates.composite=new Composite with GridLayout | |
153 | SWTTemplates.scrolledcomposite=new ScrolledComposite | |
154 | SWTTemplates.group=new Group with GridLayout | |
155 | SWTTemplates.sashform=new SashForm | |
156 | SWTTemplates.expandbar=new ExpandBar | |
157 | SWTTemplates.expanditem=new ExpandItem for an ExpandBar | |
158 | SWTTemplates.tabfolder=new TabFolder | |
159 | SWTTemplates.tabitem=new TabItem for a TabFolder | |
160 | SWTTemplates.text=new Text | |
161 | SWTTemplates.styledtext=new StyledText | |
162 | SWTTemplates.stylerange=new StyleRange for a StyledText | |
163 | SWTTemplates.list=new List | |
164 | SWTTemplates.table=new Table | |
165 | SWTTemplates.tablecolumn=new TableColumn for a Table | |
166 | SWTTemplates.tableitem=new TableItem for a Table | |
167 | SWTTemplates.tree=new Tree | |
168 | SWTTemplates.treecolumn=new TreeColumn for a Tree | |
169 | SWTTemplates.treeitem=new TreeItem for a Tree | |
170 | SWTTemplates.shell=new Shell | |
171 | SWTTemplates.mainloop=new top level Shell with event loop | |
172 | SWTTemplates.execute=execute a runnable in the UI thread | |
173 | SWTTemplates.addlistener=add a listener to a Widget | |
174 | SWTTemplates.gridlayout=new GridLayout for a Composites | |
175 | SWTTemplates.griddata=new GridData for a Control | |
176 | SWTTemplates.toolbar=new ToolBar | |
177 | SWTTemplates.toolitem=new ToolItem for a ToolBar |