|
1 /****************************************************************************** |
|
2 * Copyright (C) 1997-2009 by Dimitri van Heesch. |
|
3 * |
|
4 * Permission to use, copy, modify, and distribute this software and its |
|
5 * documentation under the terms of the GNU General Public License is hereby |
|
6 * granted. No representations are made about the suitability of this software |
|
7 * for any purpose. It is provided "as is" without express or implied warranty. |
|
8 * See the GNU General Public License for more details. |
|
9 * |
|
10 * Documents produced by Doxygen are derivative workns derived from the |
|
11 * input used in their production; they are not affected by this license. |
|
12 * |
|
13 * Brazilian Portuguese translation version 20091215 |
|
14 * Maintainer: Fabio "FJTC" Jun Takada Chino <jun-chino at uol.com.br> |
|
15 * Thanks to Jorge Ramos, Fernando Carijo and others for their contributions. |
|
16 * |
|
17 * History: |
|
18 * 20091218: |
|
19 * - Updated to 1.6.1; |
|
20 * - Copyright year updated; |
|
21 * - Translation updates suggested by Fernando Carijó added; |
|
22 * 20080709: |
|
23 * - References to MAX_DOT_GRAPH_HEIGHT removed from trLegendDocs(). |
|
24 * 20080206: |
|
25 * - Method trTypeContraints() renamed to trTypeConstraints(). |
|
26 * 20071216: |
|
27 * - New methods since 1.5.4 updated. |
|
28 * 20070914 |
|
29 * - "Translate me" fixed |
|
30 * - Revision number changed from doxygen version to a date string. |
|
31 * - History cleanup |
|
32 * - Latex babel package fixed. |
|
33 * Previous history removed from this version. |
|
34 */ |
|
35 #ifndef TRANSLATOR_BR_H |
|
36 #define TRANSLATOR_BR_H |
|
37 |
|
38 class TranslatorBrazilian : public Translator |
|
39 { |
|
40 public: |
|
41 |
|
42 // --- Language control methods ------------------- |
|
43 |
|
44 /*! Used for identification of the language. May resemble |
|
45 * the string returned by latexBabelPackage(), but it is not used |
|
46 * for the same purpose. The identification should not be translated. |
|
47 * It should be replaced by the name of the language in English |
|
48 * (e.g. Czech, Japanese, Russian, etc.). It should be equal to |
|
49 * the identification in language.h. |
|
50 */ |
|
51 virtual QCString idLanguage() |
|
52 { |
|
53 return "brazil"; |
|
54 } |
|
55 |
|
56 /*! Used to get the command(s) for the language support. This method |
|
57 * was designed for languages which do not prefer babel package. |
|
58 * If this methods returns empty string, then the latexBabelPackage() |
|
59 * method is used to generate the command for using the babel package. |
|
60 */ |
|
61 virtual QCString latexLanguageSupportCommand() |
|
62 { |
|
63 return "\\usepackage[brazil]{babel}"; |
|
64 } |
|
65 |
|
66 /*! return the language charset. This will be used for the HTML output */ |
|
67 virtual QCString idLanguageCharset() |
|
68 { |
|
69 return "utf-8"; |
|
70 } |
|
71 |
|
72 // --- Language translation methods ------------------- |
|
73 |
|
74 /*! used in the compound documentation before a list of related functions. */ |
|
75 virtual QCString trRelatedFunctions() |
|
76 { return "Funções Relacionadas"; } |
|
77 |
|
78 /*! subscript for the related functions. */ |
|
79 virtual QCString trRelatedSubscript() |
|
80 { return "(Note que estas não são funções membros.)"; } |
|
81 |
|
82 /*! header that is put before the detailed description of files, classes and namespaces. */ |
|
83 virtual QCString trDetailedDescription() |
|
84 { return "Descrição Detalhada"; } |
|
85 |
|
86 /*! header that is put before the list of typedefs. */ |
|
87 virtual QCString trMemberTypedefDocumentation() |
|
88 { return "Definições de Tipos"; } |
|
89 |
|
90 /*! header that is put before the list of enumerations. */ |
|
91 virtual QCString trMemberEnumerationDocumentation() |
|
92 { return "Enumerações"; } |
|
93 |
|
94 /*! header that is put before the list of member functions. */ |
|
95 virtual QCString trMemberFunctionDocumentation() |
|
96 { return "Métodos"; } |
|
97 |
|
98 /*! header that is put before the list of member attributes. */ |
|
99 virtual QCString trMemberDataDocumentation() |
|
100 { |
|
101 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) |
|
102 { |
|
103 return "Campos"; |
|
104 } |
|
105 else |
|
106 { |
|
107 return "Atributos"; |
|
108 } |
|
109 } |
|
110 |
|
111 /*! this is the text of a link put after brief descriptions. */ |
|
112 virtual QCString trMore() |
|
113 { return "Mais..."; } |
|
114 |
|
115 /*! put in the class documentation */ |
|
116 virtual QCString trListOfAllMembers() |
|
117 { return "Lista de todos os Membros."; } |
|
118 |
|
119 /*! used as the title of the "list of all members" page of a class */ |
|
120 virtual QCString trMemberList() |
|
121 { return "Lista dos Membros"; } |
|
122 |
|
123 /*! this is the first part of a sentence that is followed by a class name */ |
|
124 virtual QCString trThisIsTheListOfAllMembers() |
|
125 { return "Esta é a lista de todos os membros de "; } |
|
126 |
|
127 /*! this is the remainder of the sentence after the class name */ |
|
128 virtual QCString trIncludingInheritedMembers() |
|
129 { return ", incluindo os membros herdados."; } |
|
130 |
|
131 /*! this is put at the author sections at the bottom of man pages. |
|
132 * parameter s is name of the project name. |
|
133 */ |
|
134 virtual QCString trGeneratedAutomatically(const char *s) |
|
135 { QCString result="Gerado automaticamente por Doxygen"; |
|
136 if (s) result+=(QCString)" para "+s; |
|
137 result+=" a partir de seu código-fonte."; |
|
138 return result; |
|
139 } |
|
140 |
|
141 /*! put after an enum name in the list of all members */ |
|
142 virtual QCString trEnumName() |
|
143 { return "[Enumeração]"; } |
|
144 |
|
145 /*! put after an enum value in the list of all members */ |
|
146 virtual QCString trEnumValue() |
|
147 { return "[Valor enumerado]"; } |
|
148 |
|
149 /*! put after an undocumented member in the list of all members */ |
|
150 virtual QCString trDefinedIn() |
|
151 { return "definido(a) em"; } |
|
152 |
|
153 // quick reference sections |
|
154 |
|
155 /*! This is put above each page as a link to the list of all groups of |
|
156 * compounds or files (see the \\group command). |
|
157 */ |
|
158 virtual QCString trModules() |
|
159 { return "Módulos"; } |
|
160 |
|
161 /*! This is put above each page as a link to the class hierarchy */ |
|
162 virtual QCString trClassHierarchy() |
|
163 { return "Hierarquia de Classes"; } |
|
164 |
|
165 /*! This is put above each page as a link to the list of annotated classes */ |
|
166 virtual QCString trCompoundList() |
|
167 { |
|
168 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) |
|
169 { |
|
170 return "Estruturas de Dados"; |
|
171 } |
|
172 else |
|
173 { |
|
174 return "Lista de Componentes"; |
|
175 } |
|
176 } |
|
177 |
|
178 /*! This is put above each page as a link to the list of documented files */ |
|
179 virtual QCString trFileList() |
|
180 { return "Lista de Arquivos"; } |
|
181 |
|
182 /*! This is put above each page as a link to all members of compounds. */ |
|
183 virtual QCString trCompoundMembers() |
|
184 { |
|
185 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) |
|
186 { |
|
187 return "Campos de Dados"; |
|
188 } |
|
189 else |
|
190 { |
|
191 return "Componentes Membros"; |
|
192 } |
|
193 } |
|
194 |
|
195 /*! This is put above each page as a link to all members of files. */ |
|
196 virtual QCString trFileMembers() |
|
197 { |
|
198 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) |
|
199 { |
|
200 return "Globais"; |
|
201 } |
|
202 else |
|
203 { |
|
204 return "Arquivos Membros"; |
|
205 } |
|
206 } |
|
207 |
|
208 /*! This is put above each page as a link to all related pages. */ |
|
209 virtual QCString trRelatedPages() |
|
210 { return "Páginas relacionadas"; } |
|
211 |
|
212 /*! This is put above each page as a link to all examples. */ |
|
213 virtual QCString trExamples() |
|
214 { return "Exemplos"; } |
|
215 |
|
216 /*! This is put above each page as a link to the search engine. */ |
|
217 virtual QCString trSearch() |
|
218 { return "Busca"; } |
|
219 |
|
220 /*! This is an introduction to the class hierarchy. */ |
|
221 virtual QCString trClassHierarchyDescription() |
|
222 { return "Esta lista de hierarquias está parcialmente ordenada (ordem alfabética):"; } |
|
223 |
|
224 /*! This is an introduction to the list with all files. */ |
|
225 virtual QCString trFileListDescription(bool extractAll) |
|
226 { |
|
227 QCString result="Esta é a lista de todos os arquivos "; |
|
228 if (!extractAll) result+="documentados "; |
|
229 result+="e suas respectivas descrições:"; |
|
230 return result; |
|
231 } |
|
232 |
|
233 /*! This is an introduction to the annotated compound list. */ |
|
234 virtual QCString trCompoundListDescription() |
|
235 { |
|
236 |
|
237 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) |
|
238 { |
|
239 return "Aqui estão as estruturas de dados, uniões e suas respectivas descrições:"; |
|
240 } |
|
241 else |
|
242 { |
|
243 return "Aqui estão as classes, estruturas, uniões e interfaces e suas respectivas descrições:"; |
|
244 } |
|
245 } |
|
246 |
|
247 /*! This is an introduction to the page with all class members. */ |
|
248 virtual QCString trCompoundMembersDescription(bool extractAll) |
|
249 { |
|
250 QCString result="Esta é a lista de "; |
|
251 |
|
252 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) |
|
253 { |
|
254 result+="todas as estruturas e campos de uniões "; |
|
255 if (!extractAll) |
|
256 { |
|
257 result+="documentas"; |
|
258 } |
|
259 } |
|
260 else |
|
261 { |
|
262 result+="todos os membros de classes "; |
|
263 if (!extractAll) |
|
264 { |
|
265 result+="documentos"; |
|
266 } |
|
267 } |
|
268 result+=" com referências para "; |
|
269 if (!extractAll) |
|
270 { |
|
271 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) |
|
272 { |
|
273 result+="a documentação da estrutura/união de cada campo:"; |
|
274 } |
|
275 else |
|
276 { |
|
277 result+="a documentação da classe de cada membro:"; |
|
278 } |
|
279 } |
|
280 else |
|
281 { |
|
282 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) |
|
283 { |
|
284 result+="a estrutura/união a que pertencem:"; |
|
285 } |
|
286 else |
|
287 { |
|
288 result+="a classe a que pertencem:"; |
|
289 } |
|
290 } |
|
291 return result; |
|
292 } |
|
293 |
|
294 /*! This is an introduction to the page with all file members. */ |
|
295 virtual QCString trFileMembersDescription(bool extractAll) |
|
296 { |
|
297 QCString result="Esta é a lista de "; |
|
298 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) |
|
299 { |
|
300 result+="todas as funções, variáveis, definições, enumerações e definições de tipos "; |
|
301 if (!extractAll) result+="documentadas "; |
|
302 } |
|
303 else |
|
304 { |
|
305 result+="todos os membros dos arquivos "; |
|
306 if (!extractAll) result+="documentados "; |
|
307 } |
|
308 result+="com referências para "; |
|
309 if (extractAll) |
|
310 result+="seus respectivos arquivos:"; |
|
311 else |
|
312 result+="suas respectivas documentações:"; |
|
313 return result; |
|
314 } |
|
315 |
|
316 /*! This is an introduction to the page with the list of all examples */ |
|
317 virtual QCString trExamplesDescription() |
|
318 { return "Esta é a lista com todos os exemplos:"; } |
|
319 |
|
320 /*! This is an introduction to the page with the list of related pages */ |
|
321 virtual QCString trRelatedPagesDescription() |
|
322 { return "Esta é a lista com toda a documentação relacionadas:"; } |
|
323 |
|
324 /*! This is an introduction to the page with the list of class/file groups */ |
|
325 virtual QCString trModulesDescription() |
|
326 { return "Esta é a lista com todos os módulos:"; } |
|
327 |
|
328 /*! This is used in HTML as the title of index.html. */ |
|
329 virtual QCString trDocumentation() |
|
330 { return "\nDocumentação"; } |
|
331 |
|
332 /*! This is used in LaTeX as the title of the chapter with the |
|
333 * index of all groups. |
|
334 */ |
|
335 virtual QCString trModuleIndex() |
|
336 { return "Índice dos Módulos"; } |
|
337 |
|
338 /*! This is used in LaTeX as the title of the chapter with the |
|
339 * class hierarchy. |
|
340 */ |
|
341 virtual QCString trHierarchicalIndex() |
|
342 { return "Índice Hierárquico"; } |
|
343 |
|
344 /*! This is used in LaTeX as the title of the chapter with the |
|
345 * annotated compound index. |
|
346 */ |
|
347 virtual QCString trCompoundIndex() |
|
348 { |
|
349 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) |
|
350 { |
|
351 return "Índice das Estruturas de Dados"; |
|
352 } |
|
353 else |
|
354 { |
|
355 return "Índice dos Componentes"; |
|
356 } |
|
357 } |
|
358 |
|
359 /*! This is used in LaTeX as the title of the chapter with the |
|
360 * list of all files. |
|
361 */ |
|
362 virtual QCString trFileIndex() |
|
363 { return "Índice dos Arquivos"; } |
|
364 |
|
365 /*! This is used in LaTeX as the title of the chapter containing |
|
366 * the documentation of all groups. |
|
367 */ |
|
368 virtual QCString trModuleDocumentation() |
|
369 { return "Módulos"; } |
|
370 |
|
371 /*! This is used in LaTeX as the title of the chapter containing |
|
372 * the documentation of all classes, structs and unions. |
|
373 */ |
|
374 virtual QCString trClassDocumentation() |
|
375 { |
|
376 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) |
|
377 { |
|
378 return "Estruturas"; |
|
379 } |
|
380 else |
|
381 { |
|
382 return "Classes"; |
|
383 } |
|
384 } |
|
385 |
|
386 /*! This is used in LaTeX as the title of the chapter containing |
|
387 * the documentation of all files. |
|
388 */ |
|
389 virtual QCString trFileDocumentation() |
|
390 { return "Arquivos"; } |
|
391 |
|
392 /*! This is used in LaTeX as the title of the chapter containing |
|
393 * the documentation of all examples. |
|
394 */ |
|
395 virtual QCString trExampleDocumentation() |
|
396 { return "Exemplos"; } |
|
397 |
|
398 /*! This is used in LaTeX as the title of the chapter containing |
|
399 * the documentation of all related pages. |
|
400 */ |
|
401 virtual QCString trPageDocumentation() |
|
402 { return "Documentação Relacionada"; } |
|
403 |
|
404 /*! This is used in LaTeX as the title of the document */ |
|
405 virtual QCString trReferenceManual() |
|
406 { return "Guia de Referência"; } |
|
407 |
|
408 /*! This is used in the documentation of a file as a header before the |
|
409 * list of defines |
|
410 */ |
|
411 virtual QCString trDefines() |
|
412 { return "Definições e Macros"; } |
|
413 |
|
414 /*! This is used in the documentation of a file as a header before the |
|
415 * list of function prototypes |
|
416 */ |
|
417 virtual QCString trFuncProtos() |
|
418 { return "Protótipos de Funções"; } |
|
419 |
|
420 /*! This is used in the documentation of a file as a header before the |
|
421 * list of typedefs |
|
422 */ |
|
423 virtual QCString trTypedefs() |
|
424 { return "Definições de Tipos"; } |
|
425 |
|
426 /*! This is used in the documentation of a file as a header before the |
|
427 * list of enumerations |
|
428 */ |
|
429 virtual QCString trEnumerations() |
|
430 { return "Enumerações"; } |
|
431 |
|
432 /*! This is used in the documentation of a file as a header before the |
|
433 * list of (global) functions |
|
434 */ |
|
435 virtual QCString trFunctions() |
|
436 { return "Funções"; } |
|
437 |
|
438 /*! This is used in the documentation of a file as a header before the |
|
439 * list of (global) variables |
|
440 */ |
|
441 virtual QCString trVariables() |
|
442 { return "Variáveis"; } |
|
443 |
|
444 /*! This is used in the documentation of a file as a header before the |
|
445 * list of (global) variables |
|
446 */ |
|
447 virtual QCString trEnumerationValues() |
|
448 { return "Valores enumerados"; } |
|
449 |
|
450 /*! This is used in the documentation of a file before the list of |
|
451 * documentation blocks for defines |
|
452 */ |
|
453 virtual QCString trDefineDocumentation() |
|
454 { return "Definições e macros"; } |
|
455 |
|
456 /*! This is used in the documentation of a file/namespace before the list |
|
457 * of documentation blocks for function prototypes |
|
458 */ |
|
459 virtual QCString trFunctionPrototypeDocumentation() |
|
460 { return "Protótipos das funções"; } |
|
461 |
|
462 /*! This is used in the documentation of a file/namespace before the list |
|
463 * of documentation blocks for typedefs |
|
464 */ |
|
465 virtual QCString trTypedefDocumentation() |
|
466 { return "Definições dos tipos"; } |
|
467 |
|
468 /*! This is used in the documentation of a file/namespace before the list |
|
469 * of documentation blocks for enumeration types |
|
470 */ |
|
471 virtual QCString trEnumerationTypeDocumentation() |
|
472 { return "Enumerações"; } |
|
473 |
|
474 /*! This is used in the documentation of a file/namespace before the list |
|
475 * of documentation blocks for functions |
|
476 */ |
|
477 virtual QCString trFunctionDocumentation() |
|
478 { return "Funções"; } |
|
479 |
|
480 /*! This is used in the documentation of a file/namespace before the list |
|
481 * of documentation blocks for variables |
|
482 */ |
|
483 virtual QCString trVariableDocumentation() |
|
484 { return "Variáveis"; } |
|
485 |
|
486 /*! This is used in the documentation of a file/namespace/group before |
|
487 * the list of links to documented compounds |
|
488 */ |
|
489 virtual QCString trCompounds() |
|
490 { |
|
491 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) |
|
492 { |
|
493 return "Estruturas de Dados"; |
|
494 } |
|
495 else |
|
496 { |
|
497 return "Componentes"; |
|
498 } |
|
499 } |
|
500 |
|
501 /*! This is used in the standard footer of each page and indicates when |
|
502 * the page was generated |
|
503 */ |
|
504 virtual QCString trGeneratedAt(const char *date,const char *projName) |
|
505 { |
|
506 QCString result=(QCString)"Gerado em "+date; |
|
507 if (projName) result+=(QCString)" para "+projName; |
|
508 result+=(QCString)" por"; |
|
509 return result; |
|
510 } |
|
511 /*! This is part of the sentence used in the standard footer of each page. |
|
512 */ |
|
513 virtual QCString trWrittenBy() |
|
514 { |
|
515 return "escrito por"; |
|
516 } |
|
517 |
|
518 /*! this text is put before a class diagram */ |
|
519 virtual QCString trClassDiagram(const char *clName) |
|
520 { |
|
521 return (QCString)"Diagrama de Hierarquia para "+clName+":"; |
|
522 } |
|
523 |
|
524 /*! this text is generated when the \\internal command is used. */ |
|
525 virtual QCString trForInternalUseOnly() |
|
526 { return "Apenas para uso interno."; } |
|
527 |
|
528 /*! this text is generated when the \\warning command is used. */ |
|
529 virtual QCString trWarning() |
|
530 { return "Aviso"; } |
|
531 |
|
532 /*! this text is generated when the \\version command is used. */ |
|
533 virtual QCString trVersion() |
|
534 { return "Versão"; } |
|
535 |
|
536 /*! this text is generated when the \\date command is used. */ |
|
537 virtual QCString trDate() |
|
538 { return "Data"; } |
|
539 |
|
540 /*! this text is generated when the \\return command is used. */ |
|
541 virtual QCString trReturns() |
|
542 { return "Retorna"; } |
|
543 |
|
544 /*! this text is generated when the \\sa command is used. */ |
|
545 virtual QCString trSeeAlso() |
|
546 { return "Veja também"; } |
|
547 |
|
548 /*! this text is generated when the \\param command is used. */ |
|
549 virtual QCString trParameters() |
|
550 { return "Parâmetros"; } |
|
551 |
|
552 /*! this text is generated when the \\exception command is used. */ |
|
553 virtual QCString trExceptions() |
|
554 { return "Exceções"; } |
|
555 |
|
556 /*! this text is used in the title page of a LaTeX document. */ |
|
557 virtual QCString trGeneratedBy() |
|
558 { return "Gerado por"; } |
|
559 |
|
560 ////////////////////////////////////////////////////////////////////////// |
|
561 // new since 0.49-990307 |
|
562 ////////////////////////////////////////////////////////////////////////// |
|
563 |
|
564 /*! used as the title of page containing all the index of all namespaces. */ |
|
565 virtual QCString trNamespaceList() |
|
566 { return "Lista de Namespaces"; } |
|
567 |
|
568 /*! used as an introduction to the namespace list */ |
|
569 virtual QCString trNamespaceListDescription(bool extractAll) |
|
570 { |
|
571 QCString result="Esta é a lista de todos os Namespaces "; |
|
572 if (!extractAll) result+="documentados "; |
|
573 result+="com suas respectivas descrições:"; |
|
574 return result; |
|
575 } |
|
576 |
|
577 /*! used in the class documentation as a header before the list of all |
|
578 * friends of a class |
|
579 */ |
|
580 virtual QCString trFriends() |
|
581 { return "Amigas"; } |
|
582 |
|
583 ////////////////////////////////////////////////////////////////////////// |
|
584 // new since 0.49-990405 |
|
585 ////////////////////////////////////////////////////////////////////////// |
|
586 |
|
587 /*! used in the class documentation as a header before the list of all |
|
588 * related classes |
|
589 */ |
|
590 virtual QCString trRelatedFunctionDocumentation() |
|
591 { return "Amigas e Funções Relacionadas"; } |
|
592 |
|
593 ////////////////////////////////////////////////////////////////////////// |
|
594 // new since 0.49-990425 |
|
595 ////////////////////////////////////////////////////////////////////////// |
|
596 |
|
597 /*! used as the title of the HTML page of a class/struct/union */ |
|
598 virtual QCString trCompoundReference(const char *clName, |
|
599 ClassDef::CompoundType compType, |
|
600 bool isTemplate) |
|
601 { |
|
602 QCString result="Referência da"; |
|
603 if (isTemplate) result+=" Template de"; |
|
604 switch(compType) |
|
605 { |
|
606 case ClassDef::Class: result+=" Classe "; break; |
|
607 case ClassDef::Struct: result+=" Estrutura "; break; |
|
608 case ClassDef::Union: result+=" União "; break; |
|
609 case ClassDef::Interface: result+=" Interface "; break; |
|
610 case ClassDef::Protocol: result+=" Protocolo "; break; |
|
611 case ClassDef::Category: result+=" Categoria "; break; |
|
612 case ClassDef::Exception: result+=" Exceção "; break; |
|
613 } |
|
614 result+=(QCString)clName; |
|
615 return result; |
|
616 } |
|
617 |
|
618 /*! used as the title of the HTML page of a file */ |
|
619 virtual QCString trFileReference(const char *fileName) |
|
620 { |
|
621 QCString result = "Referência do Arquivo "; |
|
622 result += fileName; |
|
623 return result; |
|
624 } |
|
625 |
|
626 /*! used as the title of the HTML page of a namespace */ |
|
627 virtual QCString trNamespaceReference(const char *namespaceName) |
|
628 { |
|
629 QCString result ="Refência do Namespace "; |
|
630 result += namespaceName; |
|
631 return result; |
|
632 } |
|
633 |
|
634 virtual QCString trPublicMembers() |
|
635 { return "Métodos Públicos"; } |
|
636 virtual QCString trPublicSlots() |
|
637 { return "Slots Públicos"; } |
|
638 virtual QCString trSignals() |
|
639 { return "Sinais"; } |
|
640 virtual QCString trStaticPublicMembers() |
|
641 { return "Métodos Públicos Estáticos"; } |
|
642 virtual QCString trProtectedMembers() |
|
643 { return "Métodos Protegidos"; } |
|
644 virtual QCString trProtectedSlots() |
|
645 { return "Slots Protegidos"; } |
|
646 virtual QCString trStaticProtectedMembers() |
|
647 { return "Métodos Protegidos Estáticos"; } |
|
648 virtual QCString trPrivateMembers() |
|
649 { return "Métodos Privados"; } |
|
650 virtual QCString trPrivateSlots() |
|
651 { return "Slots Privados"; } |
|
652 virtual QCString trStaticPrivateMembers() |
|
653 { return "Métodos Privados Estáticos"; } |
|
654 |
|
655 /*! this function is used to produce a comma-separated list of items. |
|
656 * use generateMarker(i) to indicate where item i should be put. |
|
657 */ |
|
658 virtual QCString trWriteList(int numEntries) |
|
659 { |
|
660 QCString result; |
|
661 int i; |
|
662 // the inherits list contain `numEntries' classes |
|
663 for (i=0;i<numEntries;i++) |
|
664 { |
|
665 // use generateMarker to generate placeholders for the class links! |
|
666 result+=generateMarker(i); // generate marker for entry i in the list |
|
667 // (order is left to right) |
|
668 |
|
669 if (i!=numEntries-1) // not the last entry, so we need a separator |
|
670 { |
|
671 if (i<numEntries-2) // not the fore last entry |
|
672 result+=", "; |
|
673 else // the fore last entry |
|
674 result+=" e "; |
|
675 } |
|
676 } |
|
677 return result; |
|
678 } |
|
679 |
|
680 /*! used in class documentation to produce a list of base classes, |
|
681 * if class diagrams are disabled. |
|
682 */ |
|
683 virtual QCString trInheritsList(int numEntries) |
|
684 { |
|
685 return "Herdeiro de " + trWriteList(numEntries) + "."; |
|
686 } |
|
687 |
|
688 /*! used in class documentation to produce a list of super classes, |
|
689 * if class diagrams are disabled. |
|
690 */ |
|
691 virtual QCString trInheritedByList(int numEntries) |
|
692 { |
|
693 return "Superclasse de "+trWriteList(numEntries)+"."; |
|
694 } |
|
695 |
|
696 /*! used in member documentation blocks to produce a list of |
|
697 * members that are hidden by this one. |
|
698 */ |
|
699 virtual QCString trReimplementedFromList(int numEntries) |
|
700 { |
|
701 return "Reimplementação de "+trWriteList(numEntries)+"."; |
|
702 } |
|
703 |
|
704 /*! used in member documentation blocks to produce a list of |
|
705 * all member that overwrite the implementation of this member. |
|
706 */ |
|
707 virtual QCString trReimplementedInList(int numEntries) |
|
708 { |
|
709 return "Reimplementado por "+trWriteList(numEntries)+"."; |
|
710 } |
|
711 |
|
712 /*! This is put above each page as a link to all members of namespaces. */ |
|
713 virtual QCString trNamespaceMembers() |
|
714 { return "Membros do Namespace"; } |
|
715 |
|
716 /*! This is an introduction to the page with all namespace members */ |
|
717 virtual QCString trNamespaceMemberDescription(bool extractAll) |
|
718 { |
|
719 QCString result="Esta é a lista com todos os membros do Namespace "; |
|
720 if (!extractAll) result+="documentados "; |
|
721 result+="com referências para "; |
|
722 if (extractAll) |
|
723 result+="a documentação de seus respectivos Namespaces:"; |
|
724 else |
|
725 result+="os seus respectivos namespaces:"; |
|
726 return result; |
|
727 } |
|
728 /*! This is used in LaTeX as the title of the chapter with the |
|
729 * index of all namespaces. |
|
730 */ |
|
731 virtual QCString trNamespaceIndex() |
|
732 { return "Namespaces"; } |
|
733 |
|
734 /*! This is used in LaTeX as the title of the chapter containing |
|
735 * the documentation of all namespaces. |
|
736 */ |
|
737 virtual QCString trNamespaceDocumentation() |
|
738 { return "Namespaces"; } |
|
739 |
|
740 ////////////////////////////////////////////////////////////////////////// |
|
741 // new since 0.49-990522 |
|
742 ////////////////////////////////////////////////////////////////////////// |
|
743 |
|
744 /*! This is used in the documentation before the list of all |
|
745 * namespaces in a file. |
|
746 */ |
|
747 virtual QCString trNamespaces() |
|
748 { return "Namespaces"; } |
|
749 |
|
750 ////////////////////////////////////////////////////////////////////////// |
|
751 // new since 0.49-990728 |
|
752 ////////////////////////////////////////////////////////////////////////// |
|
753 |
|
754 /*! This is put at the bottom of a class documentation page and is |
|
755 * followed by a list of files that were used to generate the page. |
|
756 */ |
|
757 virtual QCString trGeneratedFromFiles(ClassDef::CompoundType compType, |
|
758 bool single) |
|
759 { // here s is one of " Class", " Struct" or " Union" |
|
760 // single is true implies a single file |
|
761 QCString result=(QCString)"A documentação para esta "; |
|
762 switch(compType) |
|
763 { |
|
764 case ClassDef::Class: result+="classe "; break; |
|
765 case ClassDef::Struct: result+="estrutura "; break; |
|
766 case ClassDef::Union: result+="união "; break; |
|
767 case ClassDef::Interface: result+="interface "; break; |
|
768 case ClassDef::Protocol: result+="protocolo "; break; |
|
769 case ClassDef::Category: result+="categoria "; break; |
|
770 case ClassDef::Exception: result+="exceção "; break; |
|
771 } |
|
772 result+=" foi gerada a partir "; |
|
773 if (single) result+="do seguinte arquivo:"; else result+="dos seguintes arquivos:"; |
|
774 return result; |
|
775 } |
|
776 |
|
777 /*! This is in the (quick) index as a link to the alphabetical compound |
|
778 * list. |
|
779 */ |
|
780 virtual QCString trAlphabeticalList() |
|
781 { return "Lista Alfabética"; } |
|
782 |
|
783 ////////////////////////////////////////////////////////////////////////// |
|
784 // new since 0.49-990901 |
|
785 ////////////////////////////////////////////////////////////////////////// |
|
786 |
|
787 /*! This is used as the heading text for the retval command. */ |
|
788 virtual QCString trReturnValues() |
|
789 { return "Valores Retornados"; } |
|
790 |
|
791 /*! This is in the (quick) index as a link to the main page (index.html) |
|
792 */ |
|
793 virtual QCString trMainPage() |
|
794 { return "Página Principal"; } |
|
795 |
|
796 /*! This is used in references to page that are put in the LaTeX |
|
797 * documentation. It should be an abbreviation of the word page. |
|
798 */ |
|
799 virtual QCString trPageAbbreviation() |
|
800 { return "pag."; } |
|
801 |
|
802 ////////////////////////////////////////////////////////////////////////// |
|
803 // new since 0.49-991003 |
|
804 ////////////////////////////////////////////////////////////////////////// |
|
805 |
|
806 virtual QCString trDefinedAtLineInSourceFile() |
|
807 { |
|
808 return "Definição na linha @0 do arquivo @1."; |
|
809 } |
|
810 virtual QCString trDefinedInSourceFile() |
|
811 { |
|
812 return "Definição no arquivo @0."; |
|
813 } |
|
814 |
|
815 ////////////////////////////////////////////////////////////////////////// |
|
816 // new since 0.49-991205 |
|
817 ////////////////////////////////////////////////////////////////////////// |
|
818 |
|
819 virtual QCString trDeprecated() |
|
820 { |
|
821 /* |
|
822 * This note is for brazilians only. |
|
823 * Esta é uma boa tradução para "deprecated"? |
|
824 */ |
|
825 return "Descontinuado(a)"; |
|
826 } |
|
827 |
|
828 ////////////////////////////////////////////////////////////////////////// |
|
829 // new since 1.0.0 |
|
830 ////////////////////////////////////////////////////////////////////////// |
|
831 |
|
832 /*! this text is put before a collaboration diagram */ |
|
833 virtual QCString trCollaborationDiagram(const char *clName) |
|
834 { |
|
835 return (QCString)"Diagrama de colaboração para "+clName+":"; |
|
836 } |
|
837 /*! this text is put before an include dependency graph */ |
|
838 virtual QCString trInclDepGraph(const char *fName) |
|
839 { |
|
840 return (QCString)"Gráfico de dependência de inclusões para "+fName+":"; |
|
841 } |
|
842 /*! header that is put before the list of constructor/destructors. */ |
|
843 virtual QCString trConstructorDocumentation() |
|
844 { |
|
845 return "Construtores & Destrutores"; |
|
846 } |
|
847 /*! Used in the file documentation to point to the corresponding sources. */ |
|
848 virtual QCString trGotoSourceCode() |
|
849 { |
|
850 return "Vá para o código-fonte deste arquivo."; |
|
851 } |
|
852 /*! Used in the file sources to point to the corresponding documentation. */ |
|
853 virtual QCString trGotoDocumentation() |
|
854 { |
|
855 return "Vá para a documentação deste arquivo."; |
|
856 } |
|
857 /*! Text for the \\pre command */ |
|
858 virtual QCString trPrecondition() |
|
859 { |
|
860 return "Pré-Condição"; |
|
861 } |
|
862 /*! Text for the \\post command */ |
|
863 virtual QCString trPostcondition() |
|
864 { |
|
865 return "Pós-Condição"; |
|
866 } |
|
867 /*! Text for the \\invariant command */ |
|
868 virtual QCString trInvariant() |
|
869 { |
|
870 return "Invariante"; |
|
871 } |
|
872 /*! Text shown before a multi-line variable/enum initialization */ |
|
873 virtual QCString trInitialValue() |
|
874 { |
|
875 return "Valor Inicial:"; |
|
876 } |
|
877 /*! Text used the source code in the file index */ |
|
878 virtual QCString trCode() |
|
879 { |
|
880 return "código"; |
|
881 } |
|
882 virtual QCString trGraphicalHierarchy() |
|
883 { |
|
884 return "Gráfico de Hierarquia de Classes"; |
|
885 } |
|
886 virtual QCString trGotoGraphicalHierarchy() |
|
887 { |
|
888 return "Vá para o Gráfico de Hierarquia de Classes"; |
|
889 } |
|
890 virtual QCString trGotoTextualHierarchy() |
|
891 { |
|
892 return "Vá para a Hierarquia de Classes (texto)"; |
|
893 } |
|
894 virtual QCString trPageIndex() |
|
895 { |
|
896 return "Índice da Página"; |
|
897 } |
|
898 |
|
899 ////////////////////////////////////////////////////////////////////////// |
|
900 // new since 1.1.0 |
|
901 ////////////////////////////////////////////////////////////////////////// |
|
902 |
|
903 virtual QCString trNote() |
|
904 { |
|
905 return "Observação"; |
|
906 } |
|
907 virtual QCString trPublicTypes() |
|
908 { |
|
909 return "Tipos Públicos"; |
|
910 } |
|
911 virtual QCString trPublicAttribs() |
|
912 { |
|
913 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) |
|
914 { |
|
915 return "Campos de Dados"; |
|
916 } |
|
917 else |
|
918 { |
|
919 return "Atributos Públicos"; |
|
920 } |
|
921 } |
|
922 virtual QCString trStaticPublicAttribs() |
|
923 { |
|
924 return "Atributos Estáticos Públicos"; |
|
925 } |
|
926 virtual QCString trProtectedTypes() |
|
927 { |
|
928 return "Tipos Protegidos"; |
|
929 } |
|
930 virtual QCString trProtectedAttribs() |
|
931 { |
|
932 return "Atributos Protegidos"; |
|
933 } |
|
934 virtual QCString trStaticProtectedAttribs() |
|
935 { |
|
936 return "Atributos Estáticos Protegidos"; |
|
937 } |
|
938 virtual QCString trPrivateTypes() |
|
939 { |
|
940 return "Tipos Privados"; |
|
941 } |
|
942 virtual QCString trPrivateAttribs() |
|
943 { |
|
944 return "Atributos Privados"; |
|
945 } |
|
946 virtual QCString trStaticPrivateAttribs() |
|
947 { |
|
948 return "Atributos Privados Estáticos"; |
|
949 } |
|
950 |
|
951 ////////////////////////////////////////////////////////////////////////// |
|
952 // new since 1.1.3 |
|
953 ////////////////////////////////////////////////////////////////////////// |
|
954 |
|
955 /*! Used as a marker that is put before a todo item */ |
|
956 virtual QCString trTodo() |
|
957 { |
|
958 return "Futuras Atividades"; |
|
959 } |
|
960 /*! Used as the header of the todo list */ |
|
961 virtual QCString trTodoList() |
|
962 { |
|
963 return "Lista de Futuras Atividades"; |
|
964 } |
|
965 |
|
966 ////////////////////////////////////////////////////////////////////////// |
|
967 // new since 1.1.4 |
|
968 ////////////////////////////////////////////////////////////////////////// |
|
969 |
|
970 virtual QCString trReferencedBy() |
|
971 { |
|
972 return "Referenciado por"; |
|
973 } |
|
974 virtual QCString trRemarks() |
|
975 { |
|
976 return "Anotações"; |
|
977 } |
|
978 virtual QCString trAttention() |
|
979 { |
|
980 return "Atenção"; |
|
981 } |
|
982 virtual QCString trInclByDepGraph() |
|
983 { |
|
984 return "Este grafo mostra quais arquivos estão direta ou indiretamente relacionados com este arquivo:"; |
|
985 } |
|
986 virtual QCString trSince() |
|
987 { |
|
988 return "Desde"; |
|
989 } |
|
990 |
|
991 ////////////////////////////////////////////////////////////////////////// |
|
992 // new since 1.1.5 |
|
993 ////////////////////////////////////////////////////////////////////////// |
|
994 |
|
995 /*! title of the graph legend page */ |
|
996 virtual QCString trLegendTitle() |
|
997 { |
|
998 return "Legenda do Grafo"; |
|
999 } |
|
1000 /*! page explaining how the dot graph's should be interpreted */ |
|
1001 virtual QCString trLegendDocs() |
|
1002 { |
|
1003 return |
|
1004 "Esta página explica como interpretar os grafos gerados pelo doxygen.<p>\n" |
|
1005 "Considere o seguinte exemplo:\n" |
|
1006 "\\code\n" |
|
1007 "/*! Invisible class because of truncation */\n" |
|
1008 "class Invisible { };\n\n" |
|
1009 "/*! Truncated class, inheritance relation is hidden */\n" |
|
1010 "class Truncated : public Invisible { };\n\n" |
|
1011 "/* Class not documented with doxygen comments */\n" |
|
1012 "class Undocumented { };\n\n" |
|
1013 "/*! Class that is inherited using public inheritance */\n" |
|
1014 "class PublicBase : public Truncated { };\n\n" |
|
1015 "/*! A template class */\n" |
|
1016 "template<class T> class Templ { };\n\n" |
|
1017 "/*! Class that is inherited using protected inheritance */\n" |
|
1018 "class ProtectedBase { };\n\n" |
|
1019 "/*! Class that is inherited using private inheritance */\n" |
|
1020 "class PrivateBase { };\n\n" |
|
1021 "/*! Class that is used by the Inherited class */\n" |
|
1022 "class Used { };\n\n" |
|
1023 "/*! Super class that inherits a number of other classes */\n" |
|
1024 "class Inherited : public PublicBase,\n" |
|
1025 " protected ProtectedBase,\n" |
|
1026 " private PrivateBase,\n" |
|
1027 " public Undocumented,\n" |
|
1028 " public Templ<int>\n" |
|
1029 "{\n" |
|
1030 " private:\n" |
|
1031 " Used *m_usedClass;\n" |
|
1032 "};\n" |
|
1033 "\\endcode\n" |
|
1034 "Isto irá gerar o seguinte gráfo:" |
|
1035 "<p><center><img src=\"graph_legend."+Config_getEnum("DOT_IMAGE_FORMAT")+"\"></center>\n" |
|
1036 "<p>\n" |
|
1037 "As caixas no grafo acima tem as seguintes interpretações:\n" |
|
1038 "<ul>\n" |
|
1039 "<li>Uma caixa inteiramente preta representa a estrutura ou a classe para qual " |
|
1040 "o grafo foi gerado.\n" |
|
1041 "<li>Uma caixa com bordas pretas denota uma estrutura ou classe documentada.\n" |
|
1042 "<li>Uma caixa com bordas cinzas denota uma estrutura ou classe não documentada.\n" |
|
1043 |
|
1044 "<li>Uma caixa com bordas vermelhas denota uma estrutura ou classe documentada para\n" |
|
1045 "a qual nem todas as heranças ou componentes são mostradas no grafo. Um grafo é " |
|
1046 "truncado quando este é maior que o tamanho especificado." |
|
1047 "</ul>\n" |
|
1048 "As setas tem os seguintes significados:\n" |
|
1049 "<ul>\n" |
|
1050 "<li>Uma seta azul escura é utilizada para denotar uma relação de herança " |
|
1051 "pública entre duas classes.\n" |
|
1052 "<li>Uma seta verde escura é utilizada para denotar uma herança protegida.\n" |
|
1053 "<li>Uma seta vermelho escura é utilizada para denotar uma herança privada.\n" |
|
1054 "<li>Uma seta púrpura pontilhada é usada se uma classe está contida ou é utilizada" |
|
1055 "por outra classe. A seta é marcada com a(s) variável(eis) " |
|
1056 "através das quais a classe ou estrutura apontada está acessível. \n" |
|
1057 "</ul>\n"; |
|
1058 } |
|
1059 /*! text for the link to the legend page */ |
|
1060 virtual QCString trLegend() |
|
1061 { |
|
1062 return "legenda"; |
|
1063 } |
|
1064 |
|
1065 ////////////////////////////////////////////////////////////////////////// |
|
1066 // new since 1.2.0 |
|
1067 ////////////////////////////////////////////////////////////////////////// |
|
1068 |
|
1069 /*! Used as a marker that is put before a test item */ |
|
1070 virtual QCString trTest() |
|
1071 { |
|
1072 return "Teste"; |
|
1073 } |
|
1074 /*! Used as the header of the test list */ |
|
1075 virtual QCString trTestList() |
|
1076 { |
|
1077 return "Lista de Testes"; |
|
1078 } |
|
1079 |
|
1080 ////////////////////////////////////////////////////////////////////////// |
|
1081 // new since 1.2.1 |
|
1082 ////////////////////////////////////////////////////////////////////////// |
|
1083 |
|
1084 /*! Used as a section header for KDE-2 IDL methods */ |
|
1085 virtual QCString trDCOPMethods() |
|
1086 { |
|
1087 return "Métodos DCOP"; |
|
1088 } |
|
1089 |
|
1090 ////////////////////////////////////////////////////////////////////////// |
|
1091 // new since 1.2.2 |
|
1092 ////////////////////////////////////////////////////////////////////////// |
|
1093 |
|
1094 /*! Used as a section header for IDL properties */ |
|
1095 virtual QCString trProperties() |
|
1096 { |
|
1097 return "Propriedades"; |
|
1098 } |
|
1099 /*! Used as a section header for IDL property documentation */ |
|
1100 virtual QCString trPropertyDocumentation() |
|
1101 { |
|
1102 return "Propriedades"; |
|
1103 } |
|
1104 |
|
1105 ////////////////////////////////////////////////////////////////////////// |
|
1106 // new since 1.2.4 |
|
1107 ////////////////////////////////////////////////////////////////////////// |
|
1108 |
|
1109 /*! Used for Java classes in the summary section of Java packages */ |
|
1110 virtual QCString trClasses() |
|
1111 { |
|
1112 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) |
|
1113 { |
|
1114 return "Estruturas de Dados"; |
|
1115 } |
|
1116 else |
|
1117 { |
|
1118 return "Classes"; |
|
1119 } |
|
1120 } |
|
1121 /*! Used as the title of a Java package */ |
|
1122 virtual QCString trPackage(const char *name) |
|
1123 { |
|
1124 return (QCString)"Pacote "+name; |
|
1125 } |
|
1126 /*! Title of the package index page */ |
|
1127 virtual QCString trPackageList() |
|
1128 { |
|
1129 return "Lista de Pacotes"; |
|
1130 } |
|
1131 /*! The description of the package index page */ |
|
1132 virtual QCString trPackageListDescription() |
|
1133 { |
|
1134 return "Esta é a lista com os pacotes e suas respectivas descrições (se disponíveis):"; |
|
1135 } |
|
1136 /*! The link name in the Quick links header for each page */ |
|
1137 virtual QCString trPackages() |
|
1138 { |
|
1139 return "Pacotes"; |
|
1140 } |
|
1141 /*! Text shown before a multi-line define */ |
|
1142 virtual QCString trDefineValue() |
|
1143 { |
|
1144 return "Valor:"; |
|
1145 } |
|
1146 |
|
1147 ////////////////////////////////////////////////////////////////////////// |
|
1148 // new since 1.2.5 |
|
1149 ////////////////////////////////////////////////////////////////////////// |
|
1150 |
|
1151 /*! Used as a marker that is put before a \\bug item */ |
|
1152 virtual QCString trBug() |
|
1153 { |
|
1154 return "Problema"; |
|
1155 } |
|
1156 /*! Used as the header of the bug list */ |
|
1157 virtual QCString trBugList() |
|
1158 { |
|
1159 return "Lista de Problemas"; |
|
1160 } |
|
1161 |
|
1162 ////////////////////////////////////////////////////////////////////////// |
|
1163 // new since 1.2.6 |
|
1164 ////////////////////////////////////////////////////////////////////////// |
|
1165 |
|
1166 /*! Used as ansicpg for RTF file |
|
1167 * |
|
1168 * The following table shows the correlation of Charset name, Charset Value and |
|
1169 * <pre> |
|
1170 * Codepage number: |
|
1171 * Charset Name Charset Value(hex) Codepage number |
|
1172 * ------------------------------------------------------ |
|
1173 * DEFAULT_CHARSET 1 (x01) |
|
1174 * SYMBOL_CHARSET 2 (x02) |
|
1175 * OEM_CHARSET 255 (xFF) |
|
1176 * ANSI_CHARSET 0 (x00) 1252 |
|
1177 * RUSSIAN_CHARSET 204 (xCC) 1251 |
|
1178 * EE_CHARSET 238 (xEE) 1250 |
|
1179 * GREEK_CHARSET 161 (xA1) 1253 |
|
1180 * TURKISH_CHARSET 162 (xA2) 1254 |
|
1181 * BALTIC_CHARSET 186 (xBA) 1257 |
|
1182 * HEBREW_CHARSET 177 (xB1) 1255 |
|
1183 * ARABIC _CHARSET 178 (xB2) 1256 |
|
1184 * SHIFTJIS_CHARSET 128 (x80) 932 |
|
1185 * HANGEUL_CHARSET 129 (x81) 949 |
|
1186 * GB2313_CHARSET 134 (x86) 936 |
|
1187 * CHINESEBIG5_CHARSET 136 (x88) 950 |
|
1188 * </pre> |
|
1189 * |
|
1190 */ |
|
1191 virtual QCString trRTFansicp() |
|
1192 { |
|
1193 return "1252"; |
|
1194 } |
|
1195 |
|
1196 |
|
1197 /*! Used as ansicpg for RTF fcharset |
|
1198 * \see trRTFansicp() for a table of possible values. |
|
1199 */ |
|
1200 virtual QCString trRTFCharSet() |
|
1201 { |
|
1202 return "0"; |
|
1203 } |
|
1204 |
|
1205 /*! Used as header RTF general index */ |
|
1206 virtual QCString trRTFGeneralIndex() |
|
1207 { |
|
1208 return "Índice"; |
|
1209 } |
|
1210 |
|
1211 /*! This is used for translation of the word that will possibly |
|
1212 * be followed by a single name or by a list of names |
|
1213 * of the category. |
|
1214 */ |
|
1215 virtual QCString trClass(bool first_capital, bool singular) |
|
1216 { |
|
1217 QCString result((first_capital ? "Classe" : "classe")); |
|
1218 if (!singular) result+="s"; |
|
1219 return result; |
|
1220 } |
|
1221 |
|
1222 /*! This is used for translation of the word that will possibly |
|
1223 * be followed by a single name or by a list of names |
|
1224 * of the category. |
|
1225 */ |
|
1226 virtual QCString trFile(bool first_capital, bool singular) |
|
1227 { |
|
1228 QCString result((first_capital ? "Arquivo": "arquivo")); |
|
1229 if (!singular) result+="s"; |
|
1230 return result; |
|
1231 } |
|
1232 |
|
1233 /*! This is used for translation of the word that will possibly |
|
1234 * be followed by a single name or by a list of names |
|
1235 * of the category. |
|
1236 */ |
|
1237 virtual QCString trNamespace(bool first_capital, bool singular) |
|
1238 { |
|
1239 QCString result((first_capital ? "Namespace" : "namespace")); |
|
1240 if (!singular) result+="s"; |
|
1241 return result; |
|
1242 } |
|
1243 |
|
1244 /*! This is used for translation of the word that will possibly |
|
1245 * be followed by a single name or by a list of names |
|
1246 * of the category. |
|
1247 */ |
|
1248 virtual QCString trGroup(bool first_capital, bool singular) |
|
1249 { |
|
1250 QCString result((first_capital ? "Grupo" : "grupo")); |
|
1251 if (!singular) result+="s"; |
|
1252 return result; |
|
1253 } |
|
1254 |
|
1255 /*! This is used for translation of the word that will possibly |
|
1256 * be followed by a single name or by a list of names |
|
1257 * of the category. |
|
1258 */ |
|
1259 virtual QCString trPage(bool first_capital, bool singular) |
|
1260 { |
|
1261 QCString result((first_capital ? "Página" : "página")); |
|
1262 if (!singular) result+="s"; |
|
1263 return result; |
|
1264 } |
|
1265 |
|
1266 /*! This is used for translation of the word that will possibly |
|
1267 * be followed by a single name or by a list of names |
|
1268 * of the category. |
|
1269 */ |
|
1270 virtual QCString trMember(bool first_capital, bool singular) |
|
1271 { |
|
1272 QCString result((first_capital ? "Membro" : "membro")); |
|
1273 if (!singular) result+="s"; |
|
1274 return result; |
|
1275 } |
|
1276 |
|
1277 /*! This is used for translation of the word that will possibly |
|
1278 * be followed by a single name or by a list of names |
|
1279 * of the category. |
|
1280 */ |
|
1281 virtual QCString trGlobal(bool first_capital, bool singular) |
|
1282 { |
|
1283 QCString result((first_capital ? "Globa" : "globa")); |
|
1284 if (!singular){ |
|
1285 result+="is"; |
|
1286 }else{ |
|
1287 result+="l"; |
|
1288 } |
|
1289 return result; |
|
1290 } |
|
1291 |
|
1292 ////////////////////////////////////////////////////////////////////////// |
|
1293 // new since 1.2.7 |
|
1294 ////////////////////////////////////////////////////////////////////////// |
|
1295 |
|
1296 /*! This text is generated when the \\author command is used and |
|
1297 * for the author section in man pages. */ |
|
1298 virtual QCString trAuthor(bool first_capital, bool singular) |
|
1299 { |
|
1300 QCString result((first_capital ? "Autor" : "autor")); |
|
1301 if (!singular) result+="es"; |
|
1302 return result; |
|
1303 } |
|
1304 |
|
1305 ////////////////////////////////////////////////////////////////////////// |
|
1306 // new since 1.2.11 |
|
1307 ////////////////////////////////////////////////////////////////////////// |
|
1308 |
|
1309 /*! This text is put before the list of members referenced by a member |
|
1310 */ |
|
1311 virtual QCString trReferences() |
|
1312 { |
|
1313 return "Referências"; |
|
1314 } |
|
1315 |
|
1316 ////////////////////////////////////////////////////////////////////////// |
|
1317 // new since 1.2.13 |
|
1318 ////////////////////////////////////////////////////////////////////////// |
|
1319 |
|
1320 /*! used in member documentation blocks to produce a list of |
|
1321 * members that are implemented by this one. |
|
1322 */ |
|
1323 virtual QCString trImplementedFromList(int numEntries) |
|
1324 { |
|
1325 return "Implementa "+trWriteList(numEntries)+"."; |
|
1326 } |
|
1327 |
|
1328 /*! used in member documentation blocks to produce a list of |
|
1329 * all members that implementation this member. |
|
1330 */ |
|
1331 virtual QCString trImplementedInList(int numEntries) |
|
1332 { |
|
1333 return "Implementado por "+trWriteList(numEntries)+"."; |
|
1334 } |
|
1335 |
|
1336 ////////////////////////////////////////////////////////////////////////// |
|
1337 // new since 1.2.16 |
|
1338 ////////////////////////////////////////////////////////////////////////// |
|
1339 |
|
1340 /*! used in RTF documentation as a heading for the Table |
|
1341 * of Contents. |
|
1342 */ |
|
1343 virtual QCString trRTFTableOfContents() |
|
1344 { |
|
1345 return "Conteúdo"; |
|
1346 } |
|
1347 |
|
1348 ////////////////////////////////////////////////////////////////////////// |
|
1349 // new since 1.2.17 |
|
1350 ////////////////////////////////////////////////////////////////////////// |
|
1351 |
|
1352 /*! Used as the header of the list of item that have been |
|
1353 * flagged deprecated |
|
1354 */ |
|
1355 virtual QCString trDeprecatedList() |
|
1356 { |
|
1357 return "Lista de Descontinuados(as)"; |
|
1358 } |
|
1359 |
|
1360 ////////////////////////////////////////////////////////////////////////// |
|
1361 // new since 1.2.18 |
|
1362 ////////////////////////////////////////////////////////////////////////// |
|
1363 |
|
1364 /*! Used as a header for declaration section of the events found in |
|
1365 * a C# program |
|
1366 */ |
|
1367 virtual QCString trEvents() |
|
1368 { |
|
1369 return "Eventos"; |
|
1370 } |
|
1371 /*! Header used for the documentation section of a class' events. */ |
|
1372 virtual QCString trEventDocumentation() |
|
1373 { |
|
1374 return "Eventos"; |
|
1375 } |
|
1376 |
|
1377 ////////////////////////////////////////////////////////////////////////// |
|
1378 // new since 1.3 |
|
1379 ////////////////////////////////////////////////////////////////////////// |
|
1380 |
|
1381 /*! Used as a heading for a list of Java class types with package scope. |
|
1382 */ |
|
1383 virtual QCString trPackageTypes() |
|
1384 { |
|
1385 return "Tipos do Pacote"; |
|
1386 } |
|
1387 |
|
1388 /*! Used as a heading for a list of Java class functions with package |
|
1389 * scope. |
|
1390 */ |
|
1391 virtual QCString trPackageMembers() |
|
1392 { |
|
1393 return "Funções do Pacote"; |
|
1394 } |
|
1395 |
|
1396 /*! Used as a heading for a list of static Java class functions with |
|
1397 * package scope. |
|
1398 */ |
|
1399 virtual QCString trStaticPackageMembers() |
|
1400 { |
|
1401 return "Funções Estáticas do Pacote"; |
|
1402 } |
|
1403 |
|
1404 /*! Used as a heading for a list of Java class variables with package |
|
1405 * scope. |
|
1406 */ |
|
1407 virtual QCString trPackageAttribs() |
|
1408 { |
|
1409 return "Atributos do Pacote"; |
|
1410 } |
|
1411 |
|
1412 /*! Used as a heading for a list of static Java class variables with |
|
1413 * package scope. |
|
1414 */ |
|
1415 virtual QCString trStaticPackageAttribs() |
|
1416 { |
|
1417 return "Atributos Estáticos do Pacote"; |
|
1418 } |
|
1419 |
|
1420 ////////////////////////////////////////////////////////////////////////// |
|
1421 // new since 1.3.1 |
|
1422 ////////////////////////////////////////////////////////////////////////// |
|
1423 |
|
1424 /*! Used in the quick index of a class/file/namespace member list page |
|
1425 * to link to the unfiltered list of all members. |
|
1426 */ |
|
1427 virtual QCString trAll() |
|
1428 { |
|
1429 return "Todos"; |
|
1430 } |
|
1431 /*! Put in front of the call graph for a function. */ |
|
1432 virtual QCString trCallGraph() |
|
1433 { |
|
1434 return "Este é o diagrama das funções utilizadas por esta função:"; |
|
1435 } |
|
1436 |
|
1437 ////////////////////////////////////////////////////////////////////////// |
|
1438 // new since 1.3.3 |
|
1439 ////////////////////////////////////////////////////////////////////////// |
|
1440 |
|
1441 /*! When the search engine is enabled this text is put in the header |
|
1442 * of each page before the field where one can enter the text to search |
|
1443 * for. |
|
1444 */ |
|
1445 virtual QCString trSearchForIndex() |
|
1446 { |
|
1447 return "Procurar por"; |
|
1448 } |
|
1449 /*! This string is used as the title for the page listing the search |
|
1450 * results. |
|
1451 */ |
|
1452 virtual QCString trSearchResultsTitle() |
|
1453 { |
|
1454 return "Resultado da Busca"; |
|
1455 } |
|
1456 /*! This string is put just before listing the search results. The |
|
1457 * text can be different depending on the number of documents found. |
|
1458 * Inside the text you can put the special marker $num to insert |
|
1459 * the number representing the actual number of search results. |
|
1460 * The @a numDocuments parameter can be either 0, 1 or 2, where the |
|
1461 * value 2 represents 2 or more matches. HTML markup is allowed inside |
|
1462 * the returned string. |
|
1463 */ |
|
1464 virtual QCString trSearchResults(int numDocuments) |
|
1465 { |
|
1466 if (numDocuments==0) |
|
1467 { |
|
1468 return "Nenhum documento foi encontrado."; |
|
1469 } |
|
1470 else if (numDocuments==1) |
|
1471 { |
|
1472 return "Apenas <b>1</b> documento foi encontrado."; |
|
1473 } |
|
1474 else |
|
1475 { |
|
1476 return "<b>$num</b> documentos encontrados. " |
|
1477 "Os melhores resultados vem primeiro."; |
|
1478 } |
|
1479 } |
|
1480 /*! This string is put before the list of matched words, for each search |
|
1481 * result. What follows is the list of words that matched the query. |
|
1482 */ |
|
1483 virtual QCString trSearchMatches() |
|
1484 { |
|
1485 return "Resultados:"; |
|
1486 } |
|
1487 |
|
1488 ////////////////////////////////////////////////////////////////////////// |
|
1489 // new since 1.3.8 |
|
1490 ////////////////////////////////////////////////////////////////////////// |
|
1491 |
|
1492 /*! This is used in HTML as the title of page with source code for file filename |
|
1493 */ |
|
1494 virtual QCString trSourceFile(QCString& filename) |
|
1495 { |
|
1496 return "Código-Fonte de " + filename; |
|
1497 } |
|
1498 |
|
1499 ////////////////////////////////////////////////////////////////////////// |
|
1500 // new since 1.3.9 |
|
1501 ////////////////////////////////////////////////////////////////////////// |
|
1502 |
|
1503 /*! This is used as the name of the chapter containing the directory |
|
1504 * hierarchy. |
|
1505 */ |
|
1506 virtual QCString trDirIndex() |
|
1507 { return "Hierarquia de Diretórios"; } |
|
1508 |
|
1509 /*! This is used as the name of the chapter containing the documentation |
|
1510 * of the directories. |
|
1511 */ |
|
1512 virtual QCString trDirDocumentation() |
|
1513 { return "Documentação do Directório"; } |
|
1514 |
|
1515 /*! This is used as the title of the directory index and also in the |
|
1516 * Quick links of a HTML page, to link to the directory hierarchy. |
|
1517 */ |
|
1518 virtual QCString trDirectories() |
|
1519 { return "Diretórios"; } |
|
1520 |
|
1521 /*! This returns a sentences that introduces the directory hierarchy. |
|
1522 * and the fact that it is sorted alphabetically per level |
|
1523 */ |
|
1524 virtual QCString trDirDescription() |
|
1525 { return "Esta Hierarquia de Diretórios está parcialmente ordenada (ordem alfabética)"; } |
|
1526 |
|
1527 /*! This returns the title of a directory page. The name of the |
|
1528 * directory is passed via \a dirName. |
|
1529 */ |
|
1530 virtual QCString trDirReference(const char *dirName) |
|
1531 { |
|
1532 QCString result = "Referência do diretório "; |
|
1533 result += dirName; |
|
1534 return result; |
|
1535 } |
|
1536 |
|
1537 /*! This returns the word directory with or without starting capital |
|
1538 * (\a first_capital) and in sigular or plural form (\a singular). |
|
1539 */ |
|
1540 virtual QCString trDir(bool first_capital, bool singular) |
|
1541 { |
|
1542 QCString result((first_capital ? "Diretório" : "diretório")); |
|
1543 if (!singular) result+="s"; |
|
1544 return result; |
|
1545 } |
|
1546 ////////////////////////////////////////////////////////////////////////// |
|
1547 // new since 1.4.1 |
|
1548 ////////////////////////////////////////////////////////////////////////// |
|
1549 |
|
1550 /*! This text is added to the documentation when the \\overload command |
|
1551 * is used for a overloaded function. |
|
1552 */ |
|
1553 virtual QCString trOverloadText() |
|
1554 { |
|
1555 return "Este é um método provido por conveniência. " |
|
1556 "Ele difere do método acima apenas na lista de " |
|
1557 "argumentos que devem ser utilizados."; |
|
1558 } |
|
1559 |
|
1560 ////////////////////////////////////////////////////////////////////////// |
|
1561 // new since 1.4.6 |
|
1562 ////////////////////////////////////////////////////////////////////////// |
|
1563 |
|
1564 /*! This is used to introduce a caller (or called-by) graph */ |
|
1565 virtual QCString trCallerGraph() |
|
1566 { |
|
1567 return "Este é o diagrama das funções que utilizam esta função:"; |
|
1568 } |
|
1569 |
|
1570 /*! This is used in the documentation of a file/namespace before the list |
|
1571 * of documentation blocks for enumeration values |
|
1572 */ |
|
1573 virtual QCString trEnumerationValueDocumentation() |
|
1574 { return "Documentação da enumeração"; } |
|
1575 |
|
1576 |
|
1577 ////////////////////////////////////////////////////////////////////////// |
|
1578 // new since 1.5.4 (mainly for Fortran) |
|
1579 ////////////////////////////////////////////////////////////////////////// |
|
1580 |
|
1581 /*! header that is put before the list of member subprograms (Fortran). */ |
|
1582 virtual QCString trMemberFunctionDocumentationFortran() |
|
1583 { return "Documentação de Função Membro/Subrotina"; } |
|
1584 |
|
1585 /*! This is put above each page as a link to the list of annotated data types (Fortran). */ |
|
1586 virtual QCString trCompoundListFortran() |
|
1587 { return "Lista de Tipos de Dados"; } |
|
1588 |
|
1589 /*! This is put above each page as a link to all members of compounds (Fortran). */ |
|
1590 virtual QCString trCompoundMembersFortran() |
|
1591 { return "Campos de Dados"; } |
|
1592 |
|
1593 /*! This is an introduction to the annotated compound list (Fortran). */ |
|
1594 virtual QCString trCompoundListDescriptionFortran() |
|
1595 { return "Aqui estão os tipos de dados com descrições resumidas:"; } |
|
1596 |
|
1597 /*! This is an introduction to the page with all data types (Fortran). */ |
|
1598 virtual QCString trCompoundMembersDescriptionFortran(bool extractAll) |
|
1599 { |
|
1600 QCString result="Esta é a lista de todos os membros "; |
|
1601 if (!extractAll) result+="documentados "; |
|
1602 result+="dos tipos de dados com links para "; |
|
1603 if (extractAll) |
|
1604 { |
|
1605 result+="a documentação dos tipos de dados para cada membro:"; |
|
1606 } |
|
1607 else |
|
1608 { |
|
1609 result+="os tipos de dados a que pertencem:"; |
|
1610 } |
|
1611 return result; |
|
1612 } |
|
1613 |
|
1614 /*! This is used in LaTeX as the title of the chapter with the |
|
1615 * annotated compound index (Fortran). |
|
1616 */ |
|
1617 virtual QCString trCompoundIndexFortran() |
|
1618 { return "Índice de Tipos de Dados"; } |
|
1619 |
|
1620 /*! This is used in LaTeX as the title of the chapter containing |
|
1621 * the documentation of all data types (Fortran). |
|
1622 */ |
|
1623 virtual QCString trTypeDocumentation() |
|
1624 { return "Documentação dos Tipos de Dados"; } |
|
1625 |
|
1626 /*! This is used in the documentation of a file as a header before the |
|
1627 * list of (global) subprograms (Fortran). |
|
1628 */ |
|
1629 virtual QCString trSubprograms() |
|
1630 { return "Funções/Subrotinas"; } |
|
1631 |
|
1632 /*! This is used in the documentation of a file/namespace before the list |
|
1633 * of documentation blocks for subprograms (Fortran) |
|
1634 */ |
|
1635 virtual QCString trSubprogramDocumentation() |
|
1636 { return "Documentação da Função/Subrotina"; } |
|
1637 |
|
1638 /*! This is used in the documentation of a file/namespace/group before |
|
1639 * the list of links to documented compounds (Fortran) |
|
1640 */ |
|
1641 virtual QCString trDataTypes() |
|
1642 { return "Tipos de Dados"; } |
|
1643 |
|
1644 /*! used as the title of page containing all the index of all modules (Fortran). */ |
|
1645 virtual QCString trModulesList() |
|
1646 { return "Lista de Módulos"; } |
|
1647 |
|
1648 /*! used as an introduction to the modules list (Fortran) */ |
|
1649 virtual QCString trModulesListDescription(bool extractAll) |
|
1650 { |
|
1651 QCString result="Esta é a lista de todos os módulos "; |
|
1652 if (!extractAll) result+="documentados "; |
|
1653 result+="com descrições resumidas:"; |
|
1654 return result; |
|
1655 } |
|
1656 |
|
1657 /*! used as the title of the HTML page of a module/type (Fortran) */ |
|
1658 virtual QCString trCompoundReferenceFortran(const char *clName, |
|
1659 ClassDef::CompoundType compType, |
|
1660 bool isTemplate) |
|
1661 { |
|
1662 QCString result = (QCString)"Referência "; |
|
1663 |
|
1664 if (isTemplate) result+="da Template "; |
|
1665 |
|
1666 switch(compType) |
|
1667 { |
|
1668 case ClassDef::Class: result+="do Modulo "; break; |
|
1669 case ClassDef::Struct: result+="do Tipo "; break; |
|
1670 case ClassDef::Union: result+="da União "; break; |
|
1671 case ClassDef::Interface: result+="da Interface "; break; |
|
1672 case ClassDef::Protocol: result+="do Protocolo "; break; |
|
1673 case ClassDef::Category: result+="da Categoria "; break; |
|
1674 case ClassDef::Exception: result+="da Exceção "; break; |
|
1675 } |
|
1676 result += clName; |
|
1677 |
|
1678 return result; |
|
1679 } |
|
1680 /*! used as the title of the HTML page of a module (Fortran) */ |
|
1681 virtual QCString trModuleReference(const char *namespaceName) |
|
1682 { |
|
1683 QCString result = "Referência do Módulo "; |
|
1684 result += namespaceName; |
|
1685 return result; |
|
1686 } |
|
1687 |
|
1688 /*! This is put above each page as a link to all members of modules. (Fortran) */ |
|
1689 virtual QCString trModulesMembers() |
|
1690 { return "Membros do Módulo"; } |
|
1691 |
|
1692 /*! This is an introduction to the page with all modules members (Fortran) */ |
|
1693 virtual QCString trModulesMemberDescription(bool extractAll) |
|
1694 { |
|
1695 QCString result="Esta é a lista de todos os membros "; |
|
1696 if (!extractAll) result+="documentados "; |
|
1697 result+="dos módulos com links para "; |
|
1698 if (extractAll) |
|
1699 { |
|
1700 result+="a documentação dos módulos para cada membro:"; |
|
1701 } |
|
1702 else |
|
1703 { |
|
1704 result+="os módulos a que pertencem:"; |
|
1705 } |
|
1706 return result; |
|
1707 } |
|
1708 |
|
1709 /*! This is used in LaTeX as the title of the chapter with the |
|
1710 * index of all modules (Fortran). |
|
1711 */ |
|
1712 virtual QCString trModulesIndex() |
|
1713 { return "Índice dos Módulos"; } |
|
1714 |
|
1715 /*! This is used for translation of the word that will possibly |
|
1716 * be followed by a single name or by a list of names |
|
1717 * of the category. |
|
1718 */ |
|
1719 virtual QCString trModule(bool first_capital, bool singular) |
|
1720 { |
|
1721 QCString result((first_capital ? "Modulo" : "modulo")); |
|
1722 if (!singular) result+="s"; |
|
1723 return result; |
|
1724 } |
|
1725 /*! This is put at the bottom of a module documentation page and is |
|
1726 * followed by a list of files that were used to generate the page. |
|
1727 */ |
|
1728 virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType, |
|
1729 bool single) |
|
1730 { // here s is one of " Module", " Struct" or " Union" |
|
1731 // single is true implies a single file |
|
1732 QCString result=(QCString)"A documentação para "; |
|
1733 switch(compType) |
|
1734 { |
|
1735 case ClassDef::Class: result+="este modulo "; break; |
|
1736 case ClassDef::Struct: result+="este tipo "; break; |
|
1737 case ClassDef::Union: result+="esta união "; break; |
|
1738 case ClassDef::Interface: result+="esta interface "; break; |
|
1739 case ClassDef::Protocol: result+="esto protocolo "; break; |
|
1740 case ClassDef::Category: result+="esta categoria "; break; |
|
1741 case ClassDef::Exception: result+="esta exceção "; break; |
|
1742 } |
|
1743 |
|
1744 result+=" foi gerada a partir do"; |
|
1745 if (single) |
|
1746 result+=" seguinte arquivo:"; |
|
1747 else |
|
1748 result+="s seguintes arquivos:"; |
|
1749 |
|
1750 return result; |
|
1751 } |
|
1752 /*! This is used for translation of the word that will possibly |
|
1753 * be followed by a single name or by a list of names |
|
1754 * of the category. |
|
1755 */ |
|
1756 virtual QCString trType(bool first_capital, bool singular) |
|
1757 { |
|
1758 QCString result((first_capital ? "Tipo" : "tipo")); |
|
1759 if (!singular) result+="s"; |
|
1760 return result; |
|
1761 } |
|
1762 /*! This is used for translation of the word that will possibly |
|
1763 * be followed by a single name or by a list of names |
|
1764 * of the category. |
|
1765 */ |
|
1766 virtual QCString trSubprogram(bool first_capital, bool singular) |
|
1767 { |
|
1768 QCString result((first_capital ? "Subprograma" : "subprograma")); |
|
1769 if (!singular) result+="s"; |
|
1770 return result; |
|
1771 } |
|
1772 |
|
1773 /*! C# Type Contraint list */ |
|
1774 virtual QCString trTypeConstraints() |
|
1775 { |
|
1776 return "Restrições do Tipo"; |
|
1777 } |
|
1778 |
|
1779 ////////////////////////////////////////////////////////////////////////// |
|
1780 // new since 1.6.0 (mainly for the new search engine) |
|
1781 ////////////////////////////////////////////////////////////////////////// |
|
1782 |
|
1783 /*! directory relation for \a name |
|
1784 * \todo |
|
1785 */ |
|
1786 virtual QCString trDirRelation(const char *name) |
|
1787 { |
|
1788 return "Relação " + QCString(name); |
|
1789 } |
|
1790 |
|
1791 /*! Loading message shown when loading search results */ |
|
1792 virtual QCString trLoading() |
|
1793 { |
|
1794 return "Carregando..."; |
|
1795 } |
|
1796 |
|
1797 /*! Label used for search results in the global namespace */ |
|
1798 virtual QCString trGlobalNamespace() |
|
1799 { |
|
1800 return "Namespace global"; |
|
1801 } |
|
1802 |
|
1803 /*! Message shown while searching */ |
|
1804 virtual QCString trSearching() |
|
1805 { |
|
1806 return "Procurando..."; |
|
1807 } |
|
1808 |
|
1809 /*! Text shown when no search results are found */ |
|
1810 virtual QCString trNoMatches() |
|
1811 { |
|
1812 return "Nenhuma entrada encontrada"; |
|
1813 } |
|
1814 }; |
|
1815 #endif |