Chameleon

Chameleon Svn Source Tree

Root/branches/xZenu/src/util/doxygen/src/translator_br.h

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

Archive Download this file

Revision: 1322