My Project
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
translator_adapter.h
Go to the documentation of this file.
1
#ifndef TRANSLATOR_ADAPTER_H
2
#define TRANSLATOR_ADAPTER_H
3
4
#include "
version.h
"
5
#include "
translator.h
"
6
13
class
TranslatorAdapterBase
:
public
Translator
14
{
15
protected
:
16
virtual
~TranslatorAdapterBase
() {}
17
TranslatorEnglish
english
;
18
22
inline
QCString
createUpdateNeededMessage
(
const
QCString & languageName,
23
const
QCString & versionString)
24
{
25
return
QCString(
"The selected output language \""
)
26
+ languageName
27
+
"\" has not been updated\nsince "
28
+ versionString
29
+
". As a result some sentences may appear in English.\n\n"
;
30
}
31
32
public
:
40
virtual
QCString
updateNeededMessage
() = 0;
41
42
};
43
44
class
TranslatorAdapter_1_8_4
:
public
TranslatorAdapterBase
45
{
46
public
:
47
virtual
QCString
updateNeededMessage
()
48
{
return
createUpdateNeededMessage
(
idLanguage
(),
"release 1.8.4"
); }
49
50
virtual
QCString
trInterfaces
()
51
{
return
english
.
trInterfaces
(); }
52
53
virtual
QCString
trServices
()
54
{
return
english
.
trServices
(); }
55
56
virtual
QCString
trConstantGroups
()
57
{
return
english
.
trConstantGroups
(); }
58
59
virtual
QCString
trConstantGroupReference
(
const
char
*namespaceName)
60
{
return
english
.
trConstantGroupReference
(namespaceName); }
61
62
virtual
QCString
trServiceReference
(
const
char
*sName)
63
{
return
english
.
trServiceReference
(sName); }
64
65
virtual
QCString
trSingletonReference
(
const
char
*sName)
66
{
return
english
.
trSingletonReference
(sName); }
67
68
virtual
QCString
trServiceGeneratedFromFiles
(
bool
single)
69
{
return
english
.
trServiceGeneratedFromFiles
(single); }
70
71
virtual
QCString
trSingletonGeneratedFromFiles
(
bool
single)
72
{
return
english
.
trSingletonGeneratedFromFiles
(single); }
73
};
74
75
class
TranslatorAdapter_1_8_2
:
public
TranslatorAdapter_1_8_4
76
{
77
public
:
78
virtual
QCString
updateNeededMessage
()
79
{
return
createUpdateNeededMessage
(
idLanguage
(),
"release 1.8.2"
); }
80
81
virtual
QCString
trPanelSynchronisationTooltip
(
bool
enable)
82
{
return
english
.
trPanelSynchronisationTooltip
(enable); }
83
84
virtual
QCString
trProvidedByCategory
()
85
{
return
english
.
trProvidedByCategory
(); }
86
87
virtual
QCString
trExtendsClass
()
88
{
return
english
.
trExtendsClass
(); }
89
90
virtual
QCString
trClassMethods
()
91
{
return
english
.
trClassMethods
(); }
92
93
virtual
QCString
trInstanceMethods
()
94
{
return
english
.
trInstanceMethods
(); }
95
96
virtual
QCString
trMethodDocumentation
()
97
{
return
english
.
trMethodDocumentation
(); }
98
99
virtual
QCString
trDesignOverview
()
100
{
return
english
.
trDesignOverview
(); }
101
};
102
103
107
class
TranslatorAdapter_1_8_0
:
public
TranslatorAdapter_1_8_2
108
{
109
public
:
110
virtual
QCString
updateNeededMessage
()
111
{
return
createUpdateNeededMessage
(
idLanguage
(),
"release 1.8.0"
); }
112
113
virtual
QCString
trDetailLevel
()
114
{
return
english
.
trDetailLevel
(); }
115
116
virtual
QCString
trTemplateParameters
()
117
{
return
english
.
trTemplateParameters
(); }
118
119
virtual
QCString
trAndMore
(
const
QCString &number)
120
{
return
english
.
trAndMore
(number); }
121
122
virtual
QCString
trEnumGeneratedFromFiles
(
bool
single)
123
{
return
english
.
trEnumGeneratedFromFiles
(single); }
124
125
virtual
QCString
trEnumReference
(
const
char
*name)
126
{
return
english
.
trEnumReference
(name); }
127
128
virtual
QCString
trInheritedFrom
(
const
char
*members,
const
char
*what)
129
{
return
english
.
trInheritedFrom
(members,what); }
130
131
virtual
QCString
trAdditionalInheritedMembers
()
132
{
return
english
.
trAdditionalInheritedMembers
(); }
133
134
};
135
139
class
TranslatorAdapter_1_7_5
:
public
TranslatorAdapter_1_8_0
140
{
141
public
:
142
virtual
QCString
updateNeededMessage
()
143
{
return
createUpdateNeededMessage
(
idLanguage
(),
"release 1.7.5"
); }
144
145
virtual
QCString
trCiteReferences
()
146
{
return
english
.
trCiteReferences
(); }
147
148
virtual
QCString
trCopyright
()
149
{
return
english
.
trCopyright
(); }
150
151
virtual
QCString
trDirDepGraph
(
const
char
*name)
152
{
return
english
.
trDirDepGraph
(name); }
153
};
154
158
class
TranslatorAdapter_1_6_3
:
public
TranslatorAdapter_1_7_5
159
{
160
public
:
161
virtual
QCString
updateNeededMessage
()
162
{
return
createUpdateNeededMessage
(
idLanguage
(),
"release 1.6.3"
); }
163
164
virtual
QCString
trFileIn
(
const
char
*name)
165
{
return
english
.
trFileIn
(name); }
166
virtual
QCString
trIncludesFileIn
(
const
char
*name)
167
{
return
english
.
trIncludesFileIn
(name); }
168
virtual
QCString
trDateTime
(
int
year,
int
month,
int
day,
int
dayOfWeek,
169
int
hour,
int
minutes,
int
seconds,
170
bool
includeTime)
171
{
return
english
.
trDateTime
(year,month,day,dayOfWeek,hour,minutes,seconds,includeTime); }
172
};
173
177
class
TranslatorAdapter_1_6_0
:
public
TranslatorAdapter_1_6_3
178
{
179
public
:
180
virtual
QCString
updateNeededMessage
()
181
{
return
createUpdateNeededMessage
(
idLanguage
(),
"release 1.6.0"
); }
182
183
virtual
QCString
trDirRelation
(
const
char
*name)
184
{
return
english
.
trDirRelation
(name); }
185
186
virtual
QCString
trLoading
()
187
{
return
english
.
trLoading
(); }
188
189
virtual
QCString
trGlobalNamespace
()
190
{
return
english
.
trGlobalNamespace
(); }
191
192
virtual
QCString
trSearching
()
193
{
return
english
.
trSearching
(); }
194
195
virtual
QCString
trNoMatches
()
196
{
return
english
.
trNoMatches
(); }
197
};
198
202
class
TranslatorAdapter_1_5_4
:
public
TranslatorAdapter_1_6_0
203
{
204
public
:
205
virtual
QCString
updateNeededMessage
()
206
{
return
createUpdateNeededMessage
(
idLanguage
(),
"release 1.5.4"
); }
207
208
virtual
QCString
trMemberFunctionDocumentationFortran
()
209
{
return
english
.
trMemberFunctionDocumentationFortran
(); }
210
211
virtual
QCString
trCompoundListFortran
()
212
{
return
english
.
trCompoundListFortran
(); }
213
214
virtual
QCString
trCompoundMembersFortran
()
215
{
return
english
.
trCompoundMembersFortran
(); }
216
217
virtual
QCString
trCompoundListDescriptionFortran
()
218
{
return
english
.
trCompoundListDescriptionFortran
(); }
219
220
virtual
QCString
trCompoundMembersDescriptionFortran
(
bool
extractAll)
221
{
return
english
.
trCompoundMembersDescriptionFortran
(extractAll); }
222
223
virtual
QCString
trCompoundIndexFortran
()
224
{
return
english
.
trCompoundIndexFortran
(); }
225
226
virtual
QCString
trTypeDocumentation
()
227
{
return
english
.
trTypeDocumentation
(); }
228
229
virtual
QCString
trSubprograms
()
230
{
return
english
.
trSubprograms
(); }
231
232
virtual
QCString
trSubprogramDocumentation
()
233
{
return
english
.
trSubprogramDocumentation
(); }
234
235
virtual
QCString
trDataTypes
()
236
{
return
english
.
trDataTypes
(); }
237
238
virtual
QCString
trModulesList
()
239
{
return
english
.
trModulesList
(); }
240
241
virtual
QCString
trModulesListDescription
(
bool
extractAll)
242
{
return
english
.
trModulesListDescription
(extractAll); }
243
244
virtual
QCString
trCompoundReferenceFortran
(
const
char
*clName,
245
ClassDef::CompoundType
compType,
246
bool
isTemplate)
247
{
return
english
.
trCompoundReferenceFortran
(clName,compType,isTemplate); }
248
249
virtual
QCString
trModuleReference
(
const
char
*namespaceName)
250
{
return
english
.
trModuleReference
(namespaceName); }
251
252
virtual
QCString
trModulesMembers
()
253
{
return
english
.
trModulesMembers
(); }
254
255
virtual
QCString
trModulesMemberDescription
(
bool
extractAll)
256
{
return
english
.
trModulesMemberDescription
(extractAll); }
257
258
virtual
QCString
trModulesIndex
()
259
{
return
english
.
trModulesIndex
(); }
260
261
virtual
QCString
trModule
(
bool
first_capital,
bool
singular)
262
{
return
english
.
trModule
(first_capital,singular); }
263
264
virtual
QCString
trGeneratedFromFilesFortran
(
ClassDef::CompoundType
compType,
265
bool
single)
266
{
return
english
.
trGeneratedFromFilesFortran
(compType,single); }
267
268
virtual
QCString
trType
(
bool
first_capital,
bool
singular)
269
{
return
english
.
trType
(first_capital,singular); }
270
271
virtual
QCString
trSubprogram
(
bool
first_capital,
bool
singular)
272
{
return
english
.
trSubprogram
(first_capital,singular); }
273
274
virtual
QCString
trTypeConstraints
()
275
{
return
english
.
trTypeConstraints
(); }
276
};
277
281
class
TranslatorAdapter_1_4_6
:
public
TranslatorAdapter_1_5_4
282
{
283
public
:
284
virtual
QCString
updateNeededMessage
()
285
{
return
createUpdateNeededMessage
(
idLanguage
(),
"release 1.4.6"
); }
286
287
virtual
QCString
trCallerGraph
()
288
{
289
return
english
.
trCallerGraph
();
290
}
291
virtual
QCString
trEnumerationValueDocumentation
()
292
{
293
return
english
.
trEnumerationValueDocumentation
();
294
}
295
};
296
297
#endif
298