Orb/Doxygen/src/translator_pt.h
changeset 0 42188c7ea2d9
child 4 468f4c8d3d5b
equal deleted inserted replaced
-1:000000000000 0:42188c7ea2d9
       
     1 /******************************************************************************
       
     2  *
       
     3  * 
       
     4  *
       
     5  * Copyright (C) 1997-2008 by Dimitri van Heesch.
       
     6  *
       
     7  * Permission to use, copy, modify, and distribute this software and its
       
     8  * documentation under the terms of the GNU General Public License is hereby
       
     9  * granted. No representations are made about the suitability of this software
       
    10  * for any purpose. It is provided "as is" without express or implied warranty.
       
    11  * See the GNU General Public License for more details.
       
    12  *
       
    13  * Documents produced by Doxygen are derivative works derived from the
       
    14  * input used in their production; they are not affected by this license.
       
    15  *
       
    16  * The translation into Portuguese was provided by
       
    17  *   Rui Godinho Lopes <rui@ruilopes.com>
       
    18  *     http://www.ruilopes.com
       
    19  *
       
    20  * VERSION HISTORY
       
    21  * ---------------
       
    22  * 007 09 june 2003
       
    23  *   ! Updated for doxygen v1.3.1
       
    24  * 006 30 july 2002
       
    25  *   ! Updated for doxygen v1.2.17
       
    26  * 005 10 july 2002
       
    27  *   ! Updated for doxygen v1.2.16
       
    28  * 004 03 march 2002
       
    29  *   ! Updated for doxygen v1.2.14
       
    30  * 003 23 november 2001
       
    31  *   - Removed some obsolete methods (latexBabelPackage, trAuthor, trAuthors and trFiles)
       
    32  * 002 19 november 2001
       
    33  *   ! Updated for doxygen v1.2.12
       
    34  * 001 20 july 2001
       
    35  *   ! Updated for doxygen v1.2.8.1
       
    36  * 000 ?
       
    37  *   + Initial translation for doxygen v1.1.5
       
    38  */
       
    39 
       
    40 #ifndef TRANSLATOR_PT_H
       
    41 #define TRANSLATOR_PT_H
       
    42 
       
    43 class TranslatorPortuguese : public TranslatorAdapter_1_3_3
       
    44 {
       
    45   public:
       
    46 
       
    47     // --- Language control methods -------------------
       
    48 
       
    49     /*! Used for identification of the language. The identification 
       
    50      * should not be translated. It should be replaced by the name 
       
    51      * of the language in English using lower-case characters only
       
    52      * (e.g. "czech", "japanese", "russian", etc.). It should be equal to 
       
    53      * the identification used in language.cpp.
       
    54      */
       
    55     QCString idLanguage()
       
    56     { return "portuguese"; }
       
    57 
       
    58     /*! Used to get the LaTeX command(s) for the language support. 
       
    59      *  This method should return string with commands that switch
       
    60      *  LaTeX to the desired language.  For example 
       
    61      *  <pre>"\\usepackage[german]{babel}\n"
       
    62      *  </pre>
       
    63      *  or
       
    64      *  <pre>"\\usepackage{polski}\n"
       
    65      *  "\\usepackage[latin2]{inputenc}\n"
       
    66      *  "\\usepackage[T1]{fontenc}\n"
       
    67      *  </pre>
       
    68      * 
       
    69      * The English LaTeX does not use such commands.  Because of this
       
    70      * the empty string is returned in this implementation.
       
    71      */
       
    72     virtual QCString latexLanguageSupportCommand()
       
    73     { return "Portuguese"; }
       
    74 
       
    75     /*! return the language charset. This will be used for the HTML output */
       
    76     virtual QCString idLanguageCharset()
       
    77     { return "iso-8859-1"; }
       
    78 
       
    79     // --- Language translation methods -------------------
       
    80 
       
    81     /*! used in the compound documentation before a list of related functions. */
       
    82     QCString trRelatedFunctions()
       
    83     { return "Funções associadas"; }
       
    84 
       
    85     /*! subscript for the related functions. */
       
    86     QCString trRelatedSubscript()
       
    87     { return "(Note que não são funções membro)"; }
       
    88 
       
    89     /*! header that is put before the detailed description of files, classes and namespaces. */
       
    90     QCString trDetailedDescription()
       
    91     { return "Descrição detalhada"; }
       
    92 
       
    93     /*! header that is put before the list of typedefs. */
       
    94     QCString trMemberTypedefDocumentation()
       
    95     { return "Documentação das definições de tipo"; }
       
    96 
       
    97     /*! header that is put before the list of enumerations. */
       
    98     QCString trMemberEnumerationDocumentation()
       
    99     { return "Documentação das enumerações"; }
       
   100 
       
   101     /*! header that is put before the list of member functions. */
       
   102     QCString trMemberFunctionDocumentation()
       
   103     { return "Documentação dos métodos"; }
       
   104 
       
   105     /*! header that is put before the list of member attributes. */
       
   106     QCString trMemberDataDocumentation()
       
   107     {
       
   108       if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
       
   109       {
       
   110         return "Documentação dos campos e atributos"; 
       
   111       }
       
   112       else
       
   113       {
       
   114         return "Documentação dos dados membro";
       
   115       }
       
   116     }
       
   117 
       
   118     /*! this is the text of a link put after brief descriptions. */
       
   119     QCString trMore()
       
   120     { return "Mais..."; }
       
   121 
       
   122     /*! put in the class documentation */
       
   123     QCString trListOfAllMembers()
       
   124     { return "Mostrar lista completa dos membros"; }
       
   125 
       
   126     /*! used as the title of the "list of all members" page of a class */
       
   127     QCString trMemberList()
       
   128     { return "Lista dos membros"; }
       
   129 
       
   130     /*! this is the first part of a sentence that is followed by a class name */
       
   131     QCString trThisIsTheListOfAllMembers()
       
   132     { return "Lista completa de todos os membros de "; }
       
   133 
       
   134     /*! this is the remainder of the sentence after the class name */
       
   135     QCString trIncludingInheritedMembers()
       
   136     { return ", incluindo todos os membros herdados."; }
       
   137 
       
   138     /*! this is put at the author sections at the bottom of man pages.
       
   139      *  parameter s is name of the project name.
       
   140      */
       
   141     QCString trGeneratedAutomatically(const char *s)
       
   142     { QCString result="Gerado automaticamente por Doxygen";
       
   143       if (s) result+=(QCString)" para "+s;
       
   144       result+=" a partir do código fonte.";
       
   145       return result;
       
   146     }
       
   147 
       
   148     /*! put after an enum name in the list of all members */
       
   149     QCString trEnumName()
       
   150     { return "enumeração"; }
       
   151 
       
   152     /*! put after an enum value in the list of all members */
       
   153     QCString trEnumValue()
       
   154     { return "valor enumerado"; }
       
   155 
       
   156     /*! put after an undocumented member in the list of all members */
       
   157     QCString trDefinedIn()
       
   158     { return "definido em"; }
       
   159 
       
   160     // quick reference sections
       
   161 
       
   162     /*! This is put above each page as a link to the list of all groups of
       
   163      *  compounds or files (see the \\group command).
       
   164      */
       
   165     QCString trModules()
       
   166     { return "Módulos"; }
       
   167 
       
   168     /*! This is put above each page as a link to the class hierarchy */
       
   169     QCString trClassHierarchy()
       
   170     { return "Hierarquia de classes"; }
       
   171 
       
   172     /*! This is put above each page as a link to the list of annotated classes */
       
   173     QCString trCompoundList()
       
   174     {
       
   175       if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
       
   176       {
       
   177         return "Estruturas de dados";
       
   178       }
       
   179       else
       
   180       {
       
   181         return "Lista de componentes";
       
   182       }
       
   183     }
       
   184 
       
   185     /*! This is put above each page as a link to the list of documented files */
       
   186     QCString trFileList()
       
   187     { return "Lista de ficheiros"; }
       
   188 
       
   189     /*! This is put above each page as a link to the list of all verbatim headers */
       
   190     QCString trHeaderFiles()
       
   191     { return "Ficheiros incluídos"; }
       
   192 
       
   193     /*! This is put above each page as a link to all members of compounds. */
       
   194     QCString trCompoundMembers()
       
   195     {
       
   196       if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
       
   197       {
       
   198         return "Campos de dados";
       
   199       }
       
   200       else
       
   201       {
       
   202         return "Componentes membro";
       
   203       }
       
   204     }
       
   205 
       
   206     /*! This is put above each page as a link to all members of files. */
       
   207     QCString trFileMembers()
       
   208     {
       
   209       if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
       
   210       {
       
   211         return "Globais";
       
   212       }
       
   213       else
       
   214       {
       
   215         return "Ficheiros membro";
       
   216       }
       
   217     }
       
   218 
       
   219     /*! This is put above each page as a link to all related pages. */
       
   220     QCString trRelatedPages()
       
   221     { return "Páginas relacionadas"; }
       
   222 
       
   223     /*! This is put above each page as a link to all examples. */
       
   224     QCString trExamples()
       
   225     { return "Exemplos"; }
       
   226 
       
   227     /*! This is put above each page as a link to the search engine. */
       
   228     QCString trSearch()
       
   229     { return "Localizar"; }
       
   230 
       
   231     /*! This is an introduction to the class hierarchy. */
       
   232     QCString trClassHierarchyDescription()
       
   233     { return "Esta lista de heranças está organizada, dentro do possível, por ordem alfabética:"; }
       
   234 
       
   235     /*! This is an introduction to the list with all files. */
       
   236     QCString trFileListDescription(bool extractAll)
       
   237     {
       
   238       QCString result="Lista de todos os ficheiros ";
       
   239       if (!extractAll) result+="documentados ";
       
   240       result+="com uma breve descrição:";
       
   241       return result;
       
   242     }
       
   243 
       
   244     /*! This is an introduction to the annotated compound list. */
       
   245     QCString trCompoundListDescription()
       
   246     {       
       
   247       if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
       
   248       {
       
   249         return "Lista das estruturas de dados com uma breve descrição:";
       
   250       }
       
   251       else
       
   252       {
       
   253         return "Lista de classes, estruturas, uniões e interfaces com uma breve descrição:";
       
   254       }
       
   255     }
       
   256 
       
   257     /*! This is an introduction to the page with all class members. */
       
   258     QCString trCompoundMembersDescription(bool extractAll)
       
   259     {
       
   260       QCString result="Lista de todas as";
       
   261       if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
       
   262       {
       
   263         result+=" estruturas e campos de uniões";
       
   264       }
       
   265       else
       
   266       {
       
   267         result+=" classes membro";
       
   268       }
       
   269       if (!extractAll)
       
   270       {
       
   271         result+=" documentadas";
       
   272       }
       
   273       result+=" com referência para ";
       
   274       if (!extractAll) 
       
   275       {
       
   276         if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
       
   277         {
       
   278           result+="a respectiva documentação:";
       
   279         }
       
   280         else
       
   281         {
       
   282           result+="a documentação de cada membro:";
       
   283         }
       
   284       }
       
   285       else 
       
   286       {
       
   287         if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
       
   288         {
       
   289           result+="as estruturas/uniões a que pertencem:";
       
   290         }
       
   291         else
       
   292         {
       
   293           result+="as classes a que pertencem:";
       
   294         }
       
   295       }
       
   296       return result;
       
   297     }
       
   298 
       
   299     /*! This is an introduction to the page with all file members. */
       
   300     QCString trFileMembersDescription(bool extractAll)
       
   301     {
       
   302       QCString result="Lista de ";
       
   303       if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
       
   304       {
       
   305         result+="todas as funções, variáveis, definições, enumerações e definições de tipo ";
       
   306         if (!extractAll) result+="documentadas ";
       
   307       }
       
   308       else
       
   309       {
       
   310         result+="todos os ficheiros membro ";
       
   311         if (!extractAll) result+="documentados ";
       
   312       }
       
   313       result+="com referência para ";
       
   314       if (extractAll) 
       
   315         result+="o ficheiro a que pertecem:";
       
   316       else 
       
   317         result+="a respectiva documentação:";
       
   318       return result;
       
   319     }
       
   320 
       
   321     /*! This is an introduction to the page with the list of all header files. */
       
   322     QCString trHeaderFilesDescription()
       
   323     { return "Lista de todos os ficheiros cabeçalho que constituem a API:"; }
       
   324 
       
   325     /*! This is an introduction to the page with the list of all examples */
       
   326     QCString trExamplesDescription()
       
   327     { return "Lista de todos os exemplos:"; }
       
   328 
       
   329     /*! This is an introduction to the page with the list of related pages */
       
   330     QCString trRelatedPagesDescription()
       
   331     { return "Lista de documentação relacionada:"; }
       
   332 
       
   333     /*! This is an introduction to the page with the list of class/file groups */
       
   334     QCString trModulesDescription()
       
   335     { return "Lista de todos os módulos:"; }
       
   336 
       
   337     /*! This sentences is used in the annotated class/file lists if no brief
       
   338      * description is given.
       
   339      */
       
   340     QCString trNoDescriptionAvailable()
       
   341     { return "Nenhuma descrição disponível"; }
       
   342 
       
   343     // index titles (the project name is prepended for these)
       
   344 
       
   345 
       
   346     /*! This is used in HTML as the title of index.html. */
       
   347     QCString trDocumentation()
       
   348     { return "Documentação"; }
       
   349 
       
   350     /*! This is used in LaTeX as the title of the chapter with the
       
   351      * index of all groups.
       
   352      */
       
   353     QCString trModuleIndex()
       
   354     { return "Índice dos módulos"; }
       
   355 
       
   356     /*! This is used in LaTeX as the title of the chapter with the
       
   357      * class hierarchy.
       
   358      */
       
   359     QCString trHierarchicalIndex()
       
   360     { return "Índice da hierarquia"; }
       
   361 
       
   362     /*! This is used in LaTeX as the title of the chapter with the
       
   363      * annotated compound index.
       
   364      */
       
   365     QCString trCompoundIndex()
       
   366     {
       
   367       if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
       
   368       { 
       
   369         return "Índice das estruturas de dados";
       
   370       }
       
   371       else
       
   372       {
       
   373         return "Índice dos componentes";
       
   374       }
       
   375     }
       
   376 
       
   377     /*! This is used in LaTeX as the title of the chapter with the
       
   378      * list of all files.
       
   379      */
       
   380     QCString trFileIndex()
       
   381     { return "Índice dos ficheiros"; }
       
   382 
       
   383     /*! This is used in LaTeX as the title of the chapter containing
       
   384      *  the documentation of all groups.
       
   385      */
       
   386     QCString trModuleDocumentation()
       
   387     { return "Documentação do módulo"; }
       
   388 
       
   389     /*! This is used in LaTeX as the title of the chapter containing
       
   390      *  the documentation of all classes, structs and unions.
       
   391      */
       
   392     QCString trClassDocumentation()
       
   393     { return "Documentação da classe"; }
       
   394 
       
   395     /*! This is used in LaTeX as the title of the chapter containing
       
   396      *  the documentation of all files.
       
   397      */
       
   398     QCString trFileDocumentation()
       
   399     { return "Documentação do ficheiro"; }
       
   400 
       
   401     /*! This is used in LaTeX as the title of the chapter containing
       
   402      *  the documentation of all examples.
       
   403      */
       
   404     QCString trExampleDocumentation()
       
   405     { return "Documentação do exemplo"; }
       
   406 
       
   407     /*! This is used in LaTeX as the title of the chapter containing
       
   408      *  the documentation of all related pages.
       
   409      */
       
   410     QCString trPageDocumentation()
       
   411     { return "Documentação da página"; }
       
   412 
       
   413     /*! This is used in LaTeX as the title of the document */
       
   414     QCString trReferenceManual()
       
   415     { return "Manual de referência"; }
       
   416 
       
   417     /*! This is used in the documentation of a file as a header before the
       
   418      *  list of defines
       
   419      */
       
   420     QCString trDefines()
       
   421     { return "Macros"; }
       
   422 
       
   423     /*! This is used in the documentation of a file as a header before the
       
   424      *  list of function prototypes
       
   425      */
       
   426     QCString trFuncProtos()
       
   427     { return "Protótipos de funções"; }
       
   428 
       
   429     /*! This is used in the documentation of a file as a header before the
       
   430      *  list of typedefs
       
   431      */
       
   432     QCString trTypedefs()
       
   433     { return "Definições de tipos"; }
       
   434 
       
   435     /*! This is used in the documentation of a file as a header before the
       
   436      *  list of enumerations
       
   437      */
       
   438     QCString trEnumerations()
       
   439     { return "Enumerações"; }
       
   440 
       
   441     /*! This is used in the documentation of a file as a header before the
       
   442      *  list of (global) functions
       
   443      */
       
   444     QCString trFunctions()
       
   445     { return "Funções"; }
       
   446 
       
   447     /*! This is used in the documentation of a file as a header before the
       
   448      *  list of (global) variables
       
   449      */
       
   450     QCString trVariables()
       
   451     { return "Variáveis"; }
       
   452 
       
   453     /*! This is used in the documentation of a file as a header before the
       
   454      *  list of (global) variables
       
   455      */
       
   456     QCString trEnumerationValues()
       
   457     { return "Valores da enumeração"; }
       
   458 
       
   459     /*! This is used in the documentation of a file before the list of
       
   460      *  documentation blocks for defines
       
   461      */
       
   462     QCString trDefineDocumentation()
       
   463     { return "Documentação das macros"; }
       
   464 
       
   465     /*! This is used in the documentation of a file/namespace before the list
       
   466      *  of documentation blocks for function prototypes
       
   467      */
       
   468     QCString trFunctionPrototypeDocumentation()
       
   469     { return "Documentação dos protótipos de funções"; }
       
   470 
       
   471     /*! This is used in the documentation of a file/namespace before the list
       
   472      *  of documentation blocks for typedefs
       
   473      */
       
   474     QCString trTypedefDocumentation()
       
   475     { return "Documentação dos tipos"; }
       
   476 
       
   477     /*! This is used in the documentation of a file/namespace before the list
       
   478      *  of documentation blocks for enumeration types
       
   479      */
       
   480     QCString trEnumerationTypeDocumentation()
       
   481     { return "Documentação dos valores da enumeração"; }
       
   482 
       
   483     /*! This is used in the documentation of a file/namespace before the list
       
   484      *  of documentation blocks for enumeration values
       
   485      */
       
   486     QCString trEnumerationValueDocumentation()
       
   487     { return "Documentação dos elementos da enumeração"; }
       
   488 
       
   489     /*! This is used in the documentation of a file/namespace before the list
       
   490      *  of documentation blocks for functions
       
   491      */
       
   492     QCString trFunctionDocumentation()
       
   493     { return "Documentação das funções"; }
       
   494 
       
   495     /*! This is used in the documentation of a file/namespace before the list
       
   496      *  of documentation blocks for variables
       
   497      */
       
   498     QCString trVariableDocumentation()
       
   499     { return "Documentação das variáveis"; }
       
   500 
       
   501     /*! This is used in the documentation of a file/namespace/group before
       
   502      *  the list of links to documented compounds
       
   503      */
       
   504     QCString trCompounds()
       
   505     {
       
   506       if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
       
   507       {
       
   508         return "Estruturas de Dados";
       
   509       }
       
   510       else
       
   511       {
       
   512         return "Componentes";
       
   513       }
       
   514     }
       
   515 
       
   516     /*! This is used in the standard footer of each page and indicates when
       
   517      *  the page was generated
       
   518      */
       
   519     QCString trGeneratedAt(const char *date,const char *projName)
       
   520     {
       
   521       QCString result=(QCString)"Gerado em "+date;
       
   522       if (projName) result+=(QCString)" para "+projName;
       
   523       result+=(QCString)" por";
       
   524       return result;
       
   525     }
       
   526     /*! This is part of the sentence used in the standard footer of each page.
       
   527      */
       
   528     QCString trWrittenBy()
       
   529     {
       
   530       return "escrito por";
       
   531     }
       
   532 
       
   533     /*! this text is put before a class diagram */
       
   534     QCString trClassDiagram(const char *clName)
       
   535     {
       
   536       return (QCString)"Diagrama de heranças da classe "+clName;
       
   537     }
       
   538 
       
   539     /*! this text is generated when the \\internal command is used. */
       
   540     QCString trForInternalUseOnly()
       
   541     { return "Apenas para uso interno."; }
       
   542 
       
   543     /*! this text is generated when the \\reimp command is used. */
       
   544     QCString trReimplementedForInternalReasons()
       
   545     { return "Redefinido por razões internas; A interface não foi afectada.";
       
   546     }
       
   547 
       
   548     /*! this text is generated when the \\warning command is used. */
       
   549     QCString trWarning()
       
   550     { return "Aviso"; }
       
   551 
       
   552     /*! this text is generated when the \\bug command is used. */
       
   553     QCString trBugsAndLimitations()
       
   554     { return "Bugs e limitações"; }
       
   555 
       
   556     /*! this text is generated when the \\version command is used. */
       
   557     QCString trVersion()
       
   558     { return "Versão"; }
       
   559 
       
   560     /*! this text is generated when the \\date command is used. */
       
   561     QCString trDate()
       
   562     { return "Data"; }
       
   563 
       
   564     /*! this text is generated when the \\return command is used. */
       
   565     QCString trReturns()
       
   566     { return "Retorna"; }
       
   567 
       
   568     /*! this text is generated when the \\sa command is used. */
       
   569     QCString trSeeAlso()
       
   570     { return "Veja também"; }
       
   571 
       
   572     /*! this text is generated when the \\param command is used. */
       
   573     QCString trParameters()
       
   574     { return "Parâmetros"; }
       
   575 
       
   576     /*! this text is generated when the \\exception command is used. */
       
   577     QCString trExceptions()
       
   578     { return "Excepções"; }
       
   579 
       
   580     /*! this text is used in the title page of a LaTeX document. */
       
   581     QCString trGeneratedBy()
       
   582     { return "Gerado por"; }
       
   583 
       
   584 //////////////////////////////////////////////////////////////////////////
       
   585 // new since 0.49-990307
       
   586 //////////////////////////////////////////////////////////////////////////
       
   587 
       
   588     /*! used as the title of page containing all the index of all namespaces. */
       
   589     virtual QCString trNamespaceList()
       
   590     { return "Lista de namespaces"; }
       
   591 
       
   592     /*! used as an introduction to the namespace list */
       
   593     virtual QCString trNamespaceListDescription(bool extractAll)
       
   594     {
       
   595       QCString result="Lista ";
       
   596       if (!extractAll) result+="de toda a documentação ";
       
   597       result+="dos namespaces com uma breve descrição:";
       
   598       return result;
       
   599     }
       
   600 
       
   601     /*! used in the class documentation as a header before the list of all
       
   602      *  friends of a class
       
   603      */
       
   604     virtual QCString trFriends()
       
   605     { return "Amigos"; }
       
   606 
       
   607 //////////////////////////////////////////////////////////////////////////
       
   608 // new since 0.49-990405
       
   609 //////////////////////////////////////////////////////////////////////////
       
   610 
       
   611     /*! used in the class documentation as a header before the list of all
       
   612      * related classes
       
   613      */
       
   614     virtual QCString trRelatedFunctionDocumentation()
       
   615     { return "Documentação das classes amigas e funções relacionadas"; }
       
   616 
       
   617 //////////////////////////////////////////////////////////////////////////
       
   618 // new since 0.49-990425
       
   619 //////////////////////////////////////////////////////////////////////////
       
   620 
       
   621     /*! used as the title of the HTML page of a class/struct/union */
       
   622     virtual QCString trCompoundReference(const char *clName,
       
   623                                     ClassDef::CompoundType compType,
       
   624                                     bool isTemplate)
       
   625     {
       
   626       QCString result="Referência ";
       
   627       switch(compType)
       
   628       {
       
   629         case ClassDef::Class:      result+="à classe "; break;
       
   630         case ClassDef::Struct:     result+="à estrutura "; break;
       
   631         case ClassDef::Union:      result+="à união "; break;
       
   632         case ClassDef::Interface:  result+="ao interface "; break;
       
   633         case ClassDef::Protocol:   result+="protocol "; break; // translate me!
       
   634         case ClassDef::Category:   result+="category "; break; // translate me!
       
   635         case ClassDef::Exception:  result+="à excepção "; break;
       
   636       }
       
   637       if (isTemplate) result+="Template ";
       
   638       result+=(QCString)clName;
       
   639       return result;
       
   640     }
       
   641 
       
   642     /*! used as the title of the HTML page of a file */
       
   643     virtual QCString trFileReference(const char *fileName)
       
   644     {
       
   645       QCString result= "Referência ao ficheiro ";
       
   646       result += fileName;
       
   647       return result;
       
   648     }
       
   649 
       
   650     /*! used as the title of the HTML page of a namespace */
       
   651     virtual QCString trNamespaceReference(const char *namespaceName)
       
   652     {
       
   653       QCString result= "Referência ao namespace ";
       
   654       result += namespaceName;
       
   655       return result;
       
   656     }
       
   657 
       
   658     /* these are for the member sections of a class, struct or union */
       
   659     virtual QCString trPublicMembers()
       
   660     { return "Membros públicos"; }
       
   661     virtual QCString trPublicSlots()
       
   662     { return "Slots públicos"; }
       
   663     virtual QCString trSignals()
       
   664     { return "Sinais"; }
       
   665     virtual QCString trStaticPublicMembers()
       
   666     { return "Membros públicos estáticos"; }
       
   667     virtual QCString trProtectedMembers()
       
   668     { return "Membros protegidos"; }
       
   669     virtual QCString trProtectedSlots()
       
   670     { return "Slots protegidos"; }
       
   671     virtual QCString trStaticProtectedMembers()
       
   672     { return "Membros protegidos estáticos"; }
       
   673     virtual QCString trPrivateMembers()
       
   674     { return "Membros privados"; }
       
   675     virtual QCString trPrivateSlots()
       
   676     { return "Slots privados"; }
       
   677     virtual QCString trStaticPrivateMembers()
       
   678     { return "Membros privados estáticos"; }
       
   679 
       
   680     /*! this function is used to produce a comma-separated list of items.
       
   681      *  use generateMarker(i) to indicate where item i should be put.
       
   682      */
       
   683     virtual QCString trWriteList(int numEntries)
       
   684     {
       
   685       QCString result;
       
   686       int i;
       
   687       // the inherits list contain `numEntries' classes
       
   688       for (i=0;i<numEntries;i++)
       
   689       {
       
   690         // use generateMarker to generate placeholders for the class links!
       
   691         result+=generateMarker(i); // generate marker for entry i in the list
       
   692                                    // (order is left to right)
       
   693 
       
   694         if (i!=numEntries-1)  // not the last entry, so we need a separator
       
   695         {
       
   696           if (i<numEntries-2) // not the fore last entry
       
   697             result+=", ";
       
   698           else                // the fore last entry
       
   699             result+=" e ";
       
   700         }
       
   701       }
       
   702       return result;
       
   703     }
       
   704 
       
   705     /*! used in class documentation to produce a list of base classes,
       
   706      *  if class diagrams are disabled.
       
   707      */
       
   708     virtual QCString trInheritsList(int numEntries)
       
   709     {
       
   710       return "Derivada de "+trWriteList(numEntries)+".";
       
   711     }
       
   712 
       
   713     /*! used in class documentation to produce a list of super classes,
       
   714      *  if class diagrams are disabled.
       
   715      */
       
   716     virtual QCString trInheritedByList(int numEntries)
       
   717     {
       
   718       return "Herdado por "+trWriteList(numEntries)+".";
       
   719     }
       
   720 
       
   721     /*! used in member documentation blocks to produce a list of
       
   722      *  members that are hidden by this one.
       
   723      */
       
   724     virtual QCString trReimplementedFromList(int numEntries)
       
   725     {
       
   726       return "Reimplementado de "+trWriteList(numEntries)+".";
       
   727     }
       
   728 
       
   729     /*! used in member documentation blocks to produce a list of
       
   730      *  all member that overwrite the implementation of this member.
       
   731      */
       
   732     virtual QCString trReimplementedInList(int numEntries)
       
   733     {
       
   734       return "Reimplementado em "+trWriteList(numEntries)+".";
       
   735     }
       
   736 
       
   737     /*! This is put above each page as a link to all members of namespaces. */
       
   738     virtual QCString trNamespaceMembers()
       
   739     { return "Membros do namespace"; }
       
   740 
       
   741     /*! This is an introduction to the page with all namespace members */
       
   742     virtual QCString trNamespaceMemberDescription(bool extractAll)
       
   743     {
       
   744       QCString result="Lista ";
       
   745       if (extractAll) result+="de todos os ";
       
   746       else result+="de toda a documentação dos ";
       
   747       result+="membros do namespace com referência para ";
       
   748       if (extractAll)
       
   749         result+="a documentação de cada membro:";
       
   750       else
       
   751         result+="o namespace correspondente:";
       
   752       return result;
       
   753     }
       
   754 
       
   755   /*! This is used in LaTeX as the title of the chapter with the
       
   756      *  index of all namespaces.
       
   757      */
       
   758     virtual QCString trNamespaceIndex()
       
   759     { return "Índice dos namespaces"; }
       
   760 
       
   761     /*! This is used in LaTeX as the title of the chapter containing
       
   762      *  the documentation of all namespaces.
       
   763      */
       
   764     virtual QCString trNamespaceDocumentation()
       
   765     { return "Documentação dos namespaces"; }
       
   766 
       
   767 //////////////////////////////////////////////////////////////////////////
       
   768 // new since 0.49-990522
       
   769 //////////////////////////////////////////////////////////////////////////
       
   770 
       
   771     /*! This is used in the documentation before the list of all
       
   772      *  namespaces in a file.
       
   773      */
       
   774     virtual QCString trNamespaces()
       
   775     { return "Namespaces"; }
       
   776 
       
   777 //////////////////////////////////////////////////////////////////////////
       
   778 // new since 0.49-990728
       
   779 //////////////////////////////////////////////////////////////////////////
       
   780 
       
   781     /*! This is put at the bottom of a class documentation page and is
       
   782      *  followed by a list of files that were used to generate the page.
       
   783      */
       
   784     virtual QCString trGeneratedFromFiles(ClassDef::CompoundType compType,
       
   785         bool single)
       
   786     { // here s is one of " Class", " Struct" or " Union"
       
   787       // single is true implies a single file
       
   788       QCString result=(QCString)"A documentação para ";
       
   789       switch(compType)
       
   790       {
       
   791         case ClassDef::Class:      result+="esta classe"; break;
       
   792         case ClassDef::Struct:     result+="esta estrutura"; break;
       
   793         case ClassDef::Union:      result+="esta união"; break;
       
   794         case ClassDef::Interface:  result+="este interface"; break;
       
   795         case ClassDef::Protocol:   result+="protocol"; break; // translate me!
       
   796         case ClassDef::Category:   result+="category"; break; // translate me!
       
   797         case ClassDef::Exception:  result+="esta excepção"; break;
       
   798       }
       
   799       result+=" foi gerada a partir ";
       
   800       if (single) result+=" do seguinte ficheiro:";
       
   801       else result+="dos seguintes ficheiros:";
       
   802       return result;
       
   803     }
       
   804 
       
   805     /*! This is in the (quick) index as a link to the alphabetical compound
       
   806      * list.
       
   807      */
       
   808     virtual QCString trAlphabeticalList()
       
   809     {
       
   810       return "Lista alfabética";
       
   811     }
       
   812 
       
   813 
       
   814 //////////////////////////////////////////////////////////////////////////
       
   815 // new since 0.49-990901
       
   816 //////////////////////////////////////////////////////////////////////////
       
   817 
       
   818     /*! This is used as the heading text for the retval command. */
       
   819     virtual QCString trReturnValues()
       
   820     { return "Valores retornados"; }
       
   821 
       
   822     /*! This is in the (quick) index as a link to the main page (index.html)
       
   823      */
       
   824     virtual QCString trMainPage()
       
   825     { return "Página principal"; }
       
   826 
       
   827     /*! This is used in references to page that are put in the LaTeX
       
   828      *  documentation. It should be an abbreviation of the word page.
       
   829      */
       
   830     virtual QCString trPageAbbreviation()
       
   831     { return "p. "; }
       
   832 
       
   833 //////////////////////////////////////////////////////////////////////////
       
   834 // new since 0.49-991003
       
   835 //////////////////////////////////////////////////////////////////////////
       
   836 
       
   837     virtual QCString trSources()
       
   838     {
       
   839       return "Fontes";
       
   840     }
       
   841     virtual QCString trDefinedAtLineInSourceFile()
       
   842     {
       
   843       return "Definido na linha @0 do ficheiro @1.";
       
   844     }
       
   845     virtual QCString trDefinedInSourceFile()
       
   846     {
       
   847       return "Definido no ficheiro @0.";
       
   848     }
       
   849 
       
   850 //////////////////////////////////////////////////////////////////////////
       
   851 // new since 0.49-991205
       
   852 //////////////////////////////////////////////////////////////////////////
       
   853 
       
   854     virtual QCString trDeprecated()
       
   855     {
       
   856       return "Desaprovado";
       
   857     }
       
   858 
       
   859 //////////////////////////////////////////////////////////////////////////
       
   860 // new since 1.0.0
       
   861 //////////////////////////////////////////////////////////////////////////
       
   862 
       
   863     /*! this text is put before a collaboration diagram */
       
   864     virtual QCString trCollaborationDiagram(const char *clName)
       
   865     {
       
   866       return (QCString)"Diagrama de colaboração para "+clName+":";
       
   867     }
       
   868     /*! this text is put before an include dependency graph */
       
   869     virtual QCString trInclDepGraph(const char *fName)
       
   870     {
       
   871       return (QCString)"Diagrama de dependências de inclusão para "+fName+":";
       
   872     }
       
   873     /*! header that is put before the list of constructor/destructors. */
       
   874     virtual QCString trConstructorDocumentation()
       
   875     {
       
   876       return "Documentação dos Construtores & Destrutor";
       
   877     }
       
   878     /*! Used in the file documentation to point to the corresponding sources. */
       
   879     virtual QCString trGotoSourceCode()
       
   880     {
       
   881       return "Ir para o código fonte deste ficheiro.";
       
   882     }
       
   883     /*! Used in the file sources to point to the corresponding documentation. */
       
   884     virtual QCString trGotoDocumentation()
       
   885     {
       
   886       return "Ir para a documentação deste ficheiro.";
       
   887     }
       
   888     /*! Text for the \\pre command */
       
   889     virtual QCString trPrecondition()
       
   890     {
       
   891       return "Precondição";
       
   892     }
       
   893     /*! Text for the \\post command */
       
   894     virtual QCString trPostcondition()
       
   895     {
       
   896       return "Poscondição";
       
   897     }
       
   898     /*! Text for the \\invariant command */
       
   899     virtual QCString trInvariant()
       
   900     {
       
   901       return "Invariante";
       
   902     }
       
   903     /*! Text shown before a multi-line variable/enum initialization */
       
   904     virtual QCString trInitialValue()
       
   905     {
       
   906       return "Valor inicial:";
       
   907     }
       
   908     /*! Text used the source code in the file index */
       
   909     virtual QCString trCode()
       
   910     {
       
   911       return "código";
       
   912     }
       
   913     virtual QCString trGraphicalHierarchy()
       
   914     {
       
   915       return "Representação gráfica da hiearquia da classe";
       
   916     }
       
   917     virtual QCString trGotoGraphicalHierarchy()
       
   918     {
       
   919       return "Ir para a representação gráfica da hierarquia da classe";
       
   920     }
       
   921     virtual QCString trGotoTextualHierarchy()
       
   922     {
       
   923       return "Ir para a representação textual da hierarquia da classe";
       
   924     }
       
   925     virtual QCString trPageIndex()
       
   926     {
       
   927       return "Índice da página";
       
   928     }
       
   929 
       
   930 //////////////////////////////////////////////////////////////////////////
       
   931 // new since 1.1.0
       
   932 //////////////////////////////////////////////////////////////////////////
       
   933 
       
   934     virtual QCString trNote()
       
   935     {
       
   936       return "Nota";
       
   937     }
       
   938     virtual QCString trPublicTypes()
       
   939     {
       
   940       return "Tipos Públicos";
       
   941     }
       
   942     virtual QCString trPublicAttribs()
       
   943     {
       
   944       if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
       
   945       {
       
   946         return "Campos de Dados";
       
   947       }
       
   948       else
       
   949       {
       
   950         return "Atributos Públicos";
       
   951       }
       
   952     }
       
   953     virtual QCString trStaticPublicAttribs()
       
   954     {
       
   955       return "Atributos Públicos Estáticos";
       
   956     }
       
   957     virtual QCString trProtectedTypes()
       
   958     {
       
   959       return "Tipos Protegidos";
       
   960     }
       
   961     virtual QCString trProtectedAttribs()
       
   962     {
       
   963       return "Atributos Protegidos";
       
   964     }
       
   965     virtual QCString trStaticProtectedAttribs()
       
   966     {
       
   967       return "Atributos Protegidos Estáticos";
       
   968     }
       
   969     virtual QCString trPrivateTypes()
       
   970     {
       
   971       return "Tipos Privados";
       
   972     }
       
   973     virtual QCString trPrivateAttribs()
       
   974     {
       
   975       return "Atributos Privados";
       
   976     }
       
   977     virtual QCString trStaticPrivateAttribs()
       
   978     {
       
   979       return "Atributos Privados Estáticos";
       
   980     }
       
   981 
       
   982 //////////////////////////////////////////////////////////////////////////
       
   983 // new since 1.1.3
       
   984 //////////////////////////////////////////////////////////////////////////
       
   985 
       
   986     /*! Used as a marker that is put before a todo item */
       
   987     virtual QCString trTodo()
       
   988     {
       
   989       return "Tarefa";
       
   990     }
       
   991     /*! Used as the header of the todo list */
       
   992     virtual QCString trTodoList()
       
   993     {
       
   994       return "Lista de tarefas";
       
   995     }
       
   996 
       
   997 //////////////////////////////////////////////////////////////////////////
       
   998 // new since 1.1.4
       
   999 //////////////////////////////////////////////////////////////////////////
       
  1000 
       
  1001     virtual QCString trReferencedBy()
       
  1002     {
       
  1003       return "Referenciado por";
       
  1004     }
       
  1005     virtual QCString trRemarks()
       
  1006     {
       
  1007       return "Observações";
       
  1008     }
       
  1009     virtual QCString trAttention()
       
  1010     {
       
  1011       return "Atenção";
       
  1012     }
       
  1013     virtual QCString trInclByDepGraph()
       
  1014     {
       
  1015       return "Este grafo mostra quais são os ficheiros que incluem directamente ou indirectamente este ficheiro:";
       
  1016     }
       
  1017     virtual QCString trSince()
       
  1018     {
       
  1019       return "Desde";
       
  1020     }
       
  1021 
       
  1022 //////////////////////////////////////////////////////////////////////////
       
  1023 // new since 1.1.5
       
  1024 //////////////////////////////////////////////////////////////////////////
       
  1025 
       
  1026     /*! title of the graph legend page */
       
  1027     virtual QCString trLegendTitle()
       
  1028     {
       
  1029       return "Legenda do grafo";
       
  1030     }
       
  1031     /*! page explaining how the dot graph's should be interpreted */
       
  1032     virtual QCString trLegendDocs()
       
  1033     {
       
  1034       return
       
  1035         "Esta página explica como interpretar os grafos gerados pelo doxygen.<p>\n"
       
  1036         "Considere o seguinte exemplo:\n"
       
  1037         "\\code\n"
       
  1038         "/*! Esta classe vai estar escondida devido à truncação */\n"
       
  1039         "class Invisible { };\n\n"
       
  1040         "/*! Esta classe tem a relação de herança escondida */\n"
       
  1041         "class Truncated : public Invisible { };\n\n"
       
  1042         "/* Classe não documentada por comentários doxygen */\n"
       
  1043         "class Undocumented { };\n\n"
       
  1044         "/*! Classe derivada usando derivação pública */\n"
       
  1045         "class PublicBase : public Truncated { };\n\n"
       
  1046         "/*! A template class */\n"
       
  1047         "template<class T> class Templ { };\n\n"
       
  1048         "/*! Classe derivada usando derivação protegida */\n"
       
  1049         "class ProtectedBase { };\n\n"
       
  1050         "/*! Classe derivada usando derivação privada */\n"
       
  1051         "class PrivateBase { };\n\n"
       
  1052         "/*! Classe usada pela classe Inherited */\n"
       
  1053         "class Used { };\n\n"
       
  1054         "/*! Super classe que deriva de várias classes */\n"
       
  1055         "class Inherited : public PublicBase,\n"
       
  1056         "                  protected ProtectedBase,\n"
       
  1057         "                  private PrivateBase,\n"
       
  1058         "                  public Undocumented,\n"
       
  1059         "                  public Templ<int>\n"
       
  1060         "{\n"
       
  1061         "  private:\n"
       
  1062         "    Used *m_usedClass;\n"
       
  1063         "};\n"
       
  1064         "\\endcode\n"
       
  1065         "Se no ficheiro de configuração estiver a tag \\c MAX_DOT_GRAPH_HEIGHT "
       
  1066         "com o valor de 200 então o seguinte grafo será gerado:"
       
  1067         "<p><center><img src=\"graph_legend."+Config_getEnum("DOT_IMAGE_FORMAT")+"\"></center>\n"
       
  1068         "<p>\n"
       
  1069         "As caixas no grafo anterior têm as seguintes interpretações:\n"
       
  1070         "<ul>\n"
       
  1071         "<li>Uma caixa inteiramente preta representa a estrutura ou a classe para "
       
  1072         "a qual o grafo foi gerado.\n"
       
  1073         "<li>Uma caixa com borda preta representa uma estrutura ou classe documentada.\n"
       
  1074         "<li>Uma caixa com borda cinzenta representa uma estrutura ou classe não documentada.\n"
       
  1075         "<li>Uma caixa com borda vermelha representa uma estrutura ou classe documentada onde "
       
  1076         "nem todas as relações de herança/encapsulamento são exibidas. Um grafo é truncado "
       
  1077         "quando não cabe na sua área predefinida.\n"
       
  1078         "</ul>\n"
       
  1079         "As setas têm a seguinte interpretação:\n"
       
  1080         "<ul>\n"
       
  1081         "<li>Uma seta azul escura representa uma relação de herança pública entre duas classes.\n"
       
  1082         "<li>Uma seta verde escura representa uma relação de herança protegida.\n"
       
  1083         "<li>Uma seta vermelha escura representa uma relação de herança privada.\n"
       
  1084         "<li>Uma seta rocha em tracejado representa uma relação de encapsulamento ou uso por "
       
  1085         "parte de outra classe. A legenda da seta contém o nome da variável ou variáveis da "
       
  1086         "relação. A seta aponta da classe que estabelece a relação para a classe ou estrutura que "
       
  1087         "é acessível.\n"
       
  1088         "</ul>\n";
       
  1089     }
       
  1090     /*! text for the link to the legend page */
       
  1091     virtual QCString trLegend()
       
  1092     {
       
  1093       return "legenda";
       
  1094     }
       
  1095 
       
  1096 //////////////////////////////////////////////////////////////////////////
       
  1097 // new since 1.2.0
       
  1098 //////////////////////////////////////////////////////////////////////////
       
  1099 
       
  1100     /*! Used as a marker that is put before a test item */
       
  1101     virtual QCString trTest()
       
  1102     {
       
  1103       return "Teste";
       
  1104     }
       
  1105     /*! Used as the header of the test list */
       
  1106     virtual QCString trTestList()
       
  1107     {
       
  1108       return "Lista de teste";
       
  1109     }
       
  1110 
       
  1111 //////////////////////////////////////////////////////////////////////////
       
  1112 // new since 1.2.1
       
  1113 //////////////////////////////////////////////////////////////////////////
       
  1114 
       
  1115     /*! Used as a section header for KDE-2 IDL methods */
       
  1116     virtual QCString trDCOPMethods()
       
  1117     {
       
  1118       return "Métodos DCOP";
       
  1119     }
       
  1120 
       
  1121 //////////////////////////////////////////////////////////////////////////
       
  1122 // new since 1.2.2
       
  1123 //////////////////////////////////////////////////////////////////////////
       
  1124 
       
  1125     /*! Used as a section header for IDL properties */
       
  1126     virtual QCString trProperties()
       
  1127     {
       
  1128       return "Propriedades";
       
  1129     }
       
  1130     /*! Used as a section header for IDL property documentation */
       
  1131     virtual QCString trPropertyDocumentation()
       
  1132     {
       
  1133       return "Documentação das propriedades";
       
  1134     }
       
  1135 
       
  1136 //////////////////////////////////////////////////////////////////////////
       
  1137 // new since 1.2.4
       
  1138 //////////////////////////////////////////////////////////////////////////
       
  1139 
       
  1140     /*! Used for Java interfaces in the summary section of Java packages */
       
  1141     virtual QCString trInterfaces()
       
  1142     {
       
  1143       return "Interfaces";
       
  1144     }
       
  1145     /*! Used for Java classes in the summary section of Java packages */
       
  1146     virtual QCString trClasses()
       
  1147     {
       
  1148       if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
       
  1149       {
       
  1150         return "Estruturas de dados";
       
  1151       }
       
  1152       else
       
  1153       {
       
  1154         return "Classes";
       
  1155       }
       
  1156     }
       
  1157     /*! Used as the title of a Java package */
       
  1158     virtual QCString trPackage(const char *name)
       
  1159     {
       
  1160       return (QCString)"Pacote "+name;
       
  1161     }
       
  1162     /*! Title of the package index page */
       
  1163     virtual QCString trPackageList()
       
  1164     {
       
  1165       return "Lista de pacotes";
       
  1166     }
       
  1167     /*! The description of the package index page */
       
  1168     virtual QCString trPackageListDescription()
       
  1169     {
       
  1170       return "Lista de pacotes com uma breve descrição (se disponível):";
       
  1171     }
       
  1172     /*! The link name in the Quick links header for each page */
       
  1173     virtual QCString trPackages()
       
  1174     {
       
  1175       return "Pacotes";
       
  1176     }
       
  1177     /*! Used as a chapter title for Latex & RTF output */
       
  1178     virtual QCString trPackageDocumentation()
       
  1179     {
       
  1180       return "Documentação do pacote";
       
  1181     }
       
  1182     /*! Text shown before a multi-line define */
       
  1183     virtual QCString trDefineValue()
       
  1184     {
       
  1185       return "Valor:";
       
  1186     }
       
  1187 
       
  1188 //////////////////////////////////////////////////////////////////////////
       
  1189 // new since 1.2.5
       
  1190 //////////////////////////////////////////////////////////////////////////
       
  1191 
       
  1192     /*! Used as a marker that is put before a \\bug item */
       
  1193     virtual QCString trBug()
       
  1194     {
       
  1195       return "Bug";
       
  1196     }
       
  1197     /*! Used as the header of the bug list */
       
  1198     virtual QCString trBugList()
       
  1199     {
       
  1200       return "Lista de Bugs";
       
  1201     }
       
  1202 
       
  1203 //////////////////////////////////////////////////////////////////////////
       
  1204 // new since 1.2.6
       
  1205 //////////////////////////////////////////////////////////////////////////
       
  1206 
       
  1207     /*! Used as ansicpg for RTF file
       
  1208      *
       
  1209      * The following table shows the correlation of Charset name, Charset Value and
       
  1210      * <pre>
       
  1211      * Codepage number:
       
  1212      * Charset Name       Charset Value(hex)  Codepage number
       
  1213      * ------------------------------------------------------
       
  1214      * DEFAULT_CHARSET           1 (x01)
       
  1215      * SYMBOL_CHARSET            2 (x02)
       
  1216      * OEM_CHARSET             255 (xFF)
       
  1217      * ANSI_CHARSET              0 (x00)            1252
       
  1218      * RUSSIAN_CHARSET         204 (xCC)            1251
       
  1219      * EE_CHARSET              238 (xEE)            1250
       
  1220      * GREEK_CHARSET           161 (xA1)            1253
       
  1221      * TURKISH_CHARSET         162 (xA2)            1254
       
  1222      * BALTIC_CHARSET          186 (xBA)            1257
       
  1223      * HEBREW_CHARSET          177 (xB1)            1255
       
  1224      * ARABIC _CHARSET         178 (xB2)            1256
       
  1225      * SHIFTJIS_CHARSET        128 (x80)             932
       
  1226      * HANGEUL_CHARSET         129 (x81)             949
       
  1227      * GB2313_CHARSET          134 (x86)             936
       
  1228      * CHINESEBIG5_CHARSET     136 (x88)             950
       
  1229      * </pre>
       
  1230      *
       
  1231      */
       
  1232     virtual QCString trRTFansicp()
       
  1233     {
       
  1234       return "1252";
       
  1235     }
       
  1236 
       
  1237 
       
  1238     /*! Used as ansicpg for RTF fcharset
       
  1239      *  \see trRTFansicp() for a table of possible values.
       
  1240      */
       
  1241     virtual QCString trRTFCharSet()
       
  1242     {
       
  1243       return "0";
       
  1244     }
       
  1245 
       
  1246     /*! Used as header RTF general index */
       
  1247     virtual QCString trRTFGeneralIndex()
       
  1248     {
       
  1249       return "Índice";
       
  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 trClass(bool first_capital, bool singular)
       
  1257     {
       
  1258       QCString result((first_capital ? "Classe" : "classe"));
       
  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 trFile(bool first_capital, bool singular)
       
  1268     {
       
  1269       QCString result((first_capital ? "Ficheiro" : "ficheiro"));
       
  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 trNamespace(bool first_capital, bool singular)
       
  1279     {
       
  1280       QCString result((first_capital ? "Namespace" : "namespace"));
       
  1281       if (!singular)  result+="s";
       
  1282       return result;
       
  1283     }
       
  1284 
       
  1285     /*! This is used for translation of the word that will possibly
       
  1286      *  be followed by a single name or by a list of names
       
  1287      *  of the category.
       
  1288      */
       
  1289     virtual QCString trGroup(bool first_capital, bool singular)
       
  1290     {
       
  1291       QCString result((first_capital ? "Grupo" : "grupo"));
       
  1292       if (!singular)  result+="s";
       
  1293       return result;
       
  1294     }
       
  1295 
       
  1296     /*! This is used for translation of the word that will possibly
       
  1297      *  be followed by a single name or by a list of names
       
  1298      *  of the category.
       
  1299      */
       
  1300     virtual QCString trPage(bool first_capital, bool singular)
       
  1301     {
       
  1302       QCString result((first_capital ? "Página" : "página"));
       
  1303       if (!singular)  result+="s";
       
  1304       return result;
       
  1305     }
       
  1306 
       
  1307     /*! This is used for translation of the word that will possibly
       
  1308      *  be followed by a single name or by a list of names
       
  1309      *  of the category.
       
  1310      */
       
  1311     virtual QCString trMember(bool first_capital, bool singular)
       
  1312     {
       
  1313       QCString result((first_capital ? "Membro" : "membro"));
       
  1314       if (!singular)  result+="s";
       
  1315       return result;
       
  1316     }
       
  1317 
       
  1318     /*! This is used for translation of the word that will possibly
       
  1319      *  be followed by a single name or by a list of names
       
  1320      *  of the category.
       
  1321      */
       
  1322     virtual QCString trField(bool first_capital, bool singular)
       
  1323     {
       
  1324       QCString result((first_capital ? "Campo" : "campo"));
       
  1325       if (!singular)  result+="s";
       
  1326       return result;
       
  1327     }
       
  1328 
       
  1329     /*! This is used for translation of the word that will possibly
       
  1330      *  be followed by a single name or by a list of names
       
  1331      *  of the category.
       
  1332      */
       
  1333     virtual QCString trGlobal(bool first_capital, bool singular)
       
  1334     {
       
  1335       QCString result((first_capital ? "Globa" : "globa"));
       
  1336       result+= singular? "l" : "ais";
       
  1337       return result;
       
  1338     }
       
  1339 
       
  1340 //////////////////////////////////////////////////////////////////////////
       
  1341 // new since 1.2.7
       
  1342 //////////////////////////////////////////////////////////////////////////
       
  1343 
       
  1344     /*! This text is generated when the \\author command is used and
       
  1345      *  for the author section in man pages. */
       
  1346     virtual QCString trAuthor(bool first_capital, bool singular)
       
  1347     {
       
  1348       QCString result((first_capital ? "Autor" : "autor"));
       
  1349       if (!singular) result+="es";
       
  1350       return result;
       
  1351     }
       
  1352 
       
  1353 //////////////////////////////////////////////////////////////////////////
       
  1354 // new since 1.2.11
       
  1355 //////////////////////////////////////////////////////////////////////////
       
  1356 
       
  1357     /*! This text is put before the list of members referenced by a member
       
  1358      */
       
  1359     virtual QCString trReferences()
       
  1360     {
       
  1361       return "Referências";
       
  1362     }
       
  1363 
       
  1364 //////////////////////////////////////////////////////////////////////////
       
  1365 // new since 1.2.13
       
  1366 //////////////////////////////////////////////////////////////////////////
       
  1367 
       
  1368     /*! used in member documentation blocks to produce a list of 
       
  1369      *  members that are implemented by this one.
       
  1370      */
       
  1371     virtual QCString trImplementedFromList(int numEntries)
       
  1372     {
       
  1373       return "Implementa "+trWriteList(numEntries)+".";
       
  1374     }
       
  1375 
       
  1376     /*! used in member documentation blocks to produce a list of
       
  1377      *  all members that implement this abstract member.
       
  1378      */
       
  1379     virtual QCString trImplementedInList(int numEntries)
       
  1380     {
       
  1381       return "Implementado em "+trWriteList(numEntries)+".";
       
  1382     }
       
  1383 
       
  1384 //////////////////////////////////////////////////////////////////////////
       
  1385 // new since 1.2.16
       
  1386 //////////////////////////////////////////////////////////////////////////
       
  1387 
       
  1388     /*! used in RTF documentation as a heading for the Table
       
  1389      *  of Contents.
       
  1390      */
       
  1391     virtual QCString trRTFTableOfContents()
       
  1392     {
       
  1393       return "Índice";
       
  1394     }
       
  1395 
       
  1396 //////////////////////////////////////////////////////////////////////////
       
  1397 // new since 1.2.17
       
  1398 //////////////////////////////////////////////////////////////////////////
       
  1399 
       
  1400     /*! Used as the header of the list of item that have been
       
  1401      *  flagged deprecated
       
  1402      */
       
  1403     virtual QCString trDeprecatedList()
       
  1404     {
       
  1405       return "Lista de Deprecados";
       
  1406     }
       
  1407 
       
  1408 //////////////////////////////////////////////////////////////////////////
       
  1409 // new since 1.2.18
       
  1410 //////////////////////////////////////////////////////////////////////////
       
  1411 
       
  1412     /*! Used as a header for declaration section of the events found in 
       
  1413      * a C# program
       
  1414      */
       
  1415     virtual QCString trEvents()
       
  1416     {
       
  1417       return "Eventos";
       
  1418     }
       
  1419     /*! Header used for the documentation section of a class' events. */
       
  1420     virtual QCString trEventDocumentation()
       
  1421     {
       
  1422       return "Documentação dos eventos";
       
  1423     }
       
  1424 
       
  1425 //////////////////////////////////////////////////////////////////////////
       
  1426 // new since 1.3
       
  1427 //////////////////////////////////////////////////////////////////////////
       
  1428 
       
  1429     /*! Used as a heading for a list of Java class types with package scope.
       
  1430      */
       
  1431     virtual QCString trPackageTypes()
       
  1432     { 
       
  1433       return "Tipos do Pacote";
       
  1434     }
       
  1435     /*! Used as a heading for a list of Java class functions with package 
       
  1436      * scope. 
       
  1437      */
       
  1438     virtual QCString trPackageMembers()
       
  1439     { 
       
  1440       return "Funções do Pacote";
       
  1441     }
       
  1442     /*! Used as a heading for a list of static Java class functions with 
       
  1443      *  package scope.
       
  1444      */
       
  1445     virtual QCString trStaticPackageMembers()
       
  1446     { 
       
  1447       return "Funções Estáticas do Pacote";
       
  1448     }
       
  1449     /*! Used as a heading for a list of Java class variables with package 
       
  1450      * scope.
       
  1451      */
       
  1452     virtual QCString trPackageAttribs()
       
  1453     { 
       
  1454       return "Atributos do Pacote";
       
  1455     }
       
  1456     /*! Used as a heading for a list of static Java class variables with 
       
  1457      * package scope.
       
  1458      */
       
  1459     virtual QCString trStaticPackageAttribs()
       
  1460     { 
       
  1461       return "Atributos Estáticos do Pacote";
       
  1462     }
       
  1463     
       
  1464 //////////////////////////////////////////////////////////////////////////
       
  1465 // new since 1.3.1
       
  1466 //////////////////////////////////////////////////////////////////////////
       
  1467 
       
  1468     /*! Used in the quick index of a class/file/namespace member list page 
       
  1469      *  to link to the unfiltered list of all members.
       
  1470      */
       
  1471     virtual QCString trAll()
       
  1472     {
       
  1473       return "Tudo";
       
  1474     }
       
  1475     /*! Put in front of the call graph for a function. */
       
  1476     virtual QCString trCallGraph()
       
  1477     {
       
  1478       return "Grafo de chamadas desta função:";
       
  1479     }
       
  1480 
       
  1481 };
       
  1482 
       
  1483 #endif