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