/****************************************************************************** * Copyright (C) 1997-2012 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby * granted. No representations are made about the suitability of this software * for any purpose. It is provided "as is" without express or implied warranty. * See the GNU General Public License for more details. * * Documents produced by Doxygen are derivative works derived from the * input used in their production; they are not affected by this license. * * Portuguese translation version 20110428 * Maintainer (from 04/28/2011): * Fabio "FJTC" Jun Takada Chino * Maintainer (until 04/28/2011): * Rui Godinho Lopes * * Notes about this translation: * Since I'm Brazilian, this translation may be odd or even incorect for * Portuguese (from Portugal) speakers. If you find any errors, feel free * to contact me. * * VERSION HISTORY * --------------- * History: * 20110628: * - Updated to 1.7.5; * - All obsolete methods have been removed; * 20110428 * - Updated to doxygen 1.6.3 using the Brazilian Portuguese as the base. * Requires revision by a Portuguese (Portugal native speaker); * 007 09 june 2003 * ! Updated for doxygen v1.3.1 * 006 30 july 2002 * ! Updated for doxygen v1.2.17 * 005 10 july 2002 * ! Updated for doxygen v1.2.16 * 004 03 march 2002 * ! Updated for doxygen v1.2.14 * 003 23 november 2001 * - Removed some obsolete methods (latexBabelPackage, trAuthor, trAuthors and trFiles) * 002 19 november 2001 * ! Updated for doxygen v1.2.12 * 001 20 july 2001 * ! Updated for doxygen v1.2.8.1 * 000 ? * + Initial translation for doxygen v1.1.5 */ #ifndef TRANSLATOR_PT_H #define TRANSLATOR_PT_H class TranslatorPortuguese : public Translator { public: // --- Language control methods ------------------- /*! Used for identification of the language. The identification * should not be translated. It should be replaced by the name * of the language in English using lower-case characters only * (e.g. "czech", "japanese", "russian", etc.). It should be equal to * the identification used in language.cpp. */ QCString idLanguage() { return "portuguese"; } /*! Used to get the LaTeX command(s) for the language support. * This method should return string with commands that switch * LaTeX to the desired language. For example *
"\\usepackage[german]{babel}\n"
     *  
* or *
"\\usepackage{polski}\n"
     *  "\\usepackage[latin2]{inputenc}\n"
     *  "\\usepackage[T1]{fontenc}\n"
     *  
* * The English LaTeX does not use such commands. Because of this * the empty string is returned in this implementation. */ virtual QCString latexLanguageSupportCommand() { return "Portuguese"; } /*! return the language charset. This will be used for the HTML output */ virtual QCString idLanguageCharset() { return "utf-8"; } // --- Language translation methods ------------------- /*! used in the compound documentation before a list of related functions. */ QCString trRelatedFunctions() { return "Funções associadas"; } /*! subscript for the related functions. */ QCString trRelatedSubscript() { return "(Note que não são funções membro)"; } /*! header that is put before the detailed description of files, classes and namespaces. */ QCString trDetailedDescription() { return "Descrição detalhada"; } /*! header that is put before the list of typedefs. */ QCString trMemberTypedefDocumentation() { return "Documentação das definições de tipo"; } /*! header that is put before the list of enumerations. */ QCString trMemberEnumerationDocumentation() { return "Documentação das enumerações"; } /*! header that is put before the list of member functions. */ QCString trMemberFunctionDocumentation() { return "Documentação dos métodos"; } /*! header that is put before the list of member attributes. */ QCString trMemberDataDocumentation() { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { return "Documentação dos campos e atributos"; } else { return "Documentação dos dados membro"; } } /*! this is the text of a link put after brief descriptions. */ QCString trMore() { return "Mais..."; } /*! put in the class documentation */ QCString trListOfAllMembers() { return "Mostrar lista completa dos membros"; } /*! used as the title of the "list of all members" page of a class */ QCString trMemberList() { return "Lista dos membros"; } /*! this is the first part of a sentence that is followed by a class name */ QCString trThisIsTheListOfAllMembers() { return "Lista completa de todos os membros de "; } /*! this is the remainder of the sentence after the class name */ QCString trIncludingInheritedMembers() { return ", incluindo todos os membros herdados."; } /*! this is put at the author sections at the bottom of man pages. * parameter s is name of the project name. */ QCString trGeneratedAutomatically(const char *s) { QCString result="Gerado automaticamente por Doxygen"; if (s) result+=(QCString)" para "+s; result+=" a partir do código fonte."; return result; } /*! put after an enum name in the list of all members */ QCString trEnumName() { return "enumeração"; } /*! put after an enum value in the list of all members */ QCString trEnumValue() { return "valor enumerado"; } /*! put after an undocumented member in the list of all members */ QCString trDefinedIn() { return "definido em"; } // quick reference sections /*! This is put above each page as a link to the list of all groups of * compounds or files (see the \\group command). */ QCString trModules() { return "Módulos"; } /*! This is put above each page as a link to the class hierarchy */ QCString trClassHierarchy() { return "Hierarquia de classes"; } /*! This is put above each page as a link to the list of annotated classes */ QCString trCompoundList() { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { return "Estruturas de dados"; } else { return "Lista de componentes"; } } /*! This is put above each page as a link to the list of documented files */ QCString trFileList() { return "Lista de ficheiros"; } /*! This is put above each page as a link to all members of compounds. */ QCString trCompoundMembers() { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { return "Campos de dados"; } else { return "Componentes membro"; } } /*! This is put above each page as a link to all members of files. */ QCString trFileMembers() { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { return "Globais"; } else { return "Ficheiros membro"; } } /*! This is put above each page as a link to all related pages. */ QCString trRelatedPages() { return "Páginas relacionadas"; } /*! This is put above each page as a link to all examples. */ QCString trExamples() { return "Exemplos"; } /*! This is put above each page as a link to the search engine. */ QCString trSearch() { return "Localizar"; } /*! This is an introduction to the class hierarchy. */ QCString trClassHierarchyDescription() { return "Esta lista de heranças está organizada, dentro do possível, por ordem alfabética:"; } /*! This is an introduction to the list with all files. */ QCString trFileListDescription(bool extractAll) { QCString result="Lista de todos os ficheiros "; if (!extractAll) result+="documentados "; result+="com uma breve descrição:"; return result; } /*! This is an introduction to the annotated compound list. */ QCString trCompoundListDescription() { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { return "Lista das estruturas de dados com uma breve descrição:"; } else { return "Lista de classes, estruturas, uniões e interfaces com uma breve descrição:"; } } /*! This is an introduction to the page with all class members. */ QCString trCompoundMembersDescription(bool extractAll) { QCString result="Lista de todas as"; if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { result+=" estruturas e campos de uniões"; } else { result+=" classes membro"; } if (!extractAll) { result+=" documentadas"; } result+=" com referência para "; if (!extractAll) { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { result+="a respectiva documentação:"; } else { result+="a documentação de cada membro:"; } } else { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { result+="as estruturas/uniões a que pertencem:"; } else { result+="as classes a que pertencem:"; } } return result; } /*! This is an introduction to the page with all file members. */ QCString trFileMembersDescription(bool extractAll) { QCString result="Lista de "; if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { result+="todas as funções, variáveis, definições, enumerações e definições de tipo "; if (!extractAll) result+="documentadas "; } else { result+="todos os ficheiros membro "; if (!extractAll) result+="documentados "; } result+="com referência para "; if (extractAll) result+="o ficheiro a que pertecem:"; else result+="a respectiva documentação:"; return result; } /*! This is an introduction to the page with the list of all examples */ QCString trExamplesDescription() { return "Lista de todos os exemplos:"; } /*! This is an introduction to the page with the list of related pages */ QCString trRelatedPagesDescription() { return "Lista de documentação relacionada:"; } /*! This is an introduction to the page with the list of class/file groups */ QCString trModulesDescription() { return "Lista de todos os módulos:"; } // index titles (the project name is prepended for these) /*! This is used in HTML as the title of index.html. */ QCString trDocumentation() { return "Documentação"; } /*! This is used in LaTeX as the title of the chapter with the * index of all groups. */ QCString trModuleIndex() { return "Índice dos módulos"; } /*! This is used in LaTeX as the title of the chapter with the * class hierarchy. */ QCString trHierarchicalIndex() { return "Índice da hierarquia"; } /*! This is used in LaTeX as the title of the chapter with the * annotated compound index. */ QCString trCompoundIndex() { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { return "Índice das estruturas de dados"; } else { return "Índice dos componentes"; } } /*! This is used in LaTeX as the title of the chapter with the * list of all files. */ QCString trFileIndex() { return "Índice dos ficheiros"; } /*! This is used in LaTeX as the title of the chapter containing * the documentation of all groups. */ QCString trModuleDocumentation() { return "Documentação do módulo"; } /*! This is used in LaTeX as the title of the chapter containing * the documentation of all classes, structs and unions. */ QCString trClassDocumentation() { return "Documentação da classe"; } /*! This is used in LaTeX as the title of the chapter containing * the documentation of all files. */ QCString trFileDocumentation() { return "Documentação do ficheiro"; } /*! This is used in LaTeX as the title of the chapter containing * the documentation of all examples. */ QCString trExampleDocumentation() { return "Documentação do exemplo"; } /*! This is used in LaTeX as the title of the chapter containing * the documentation of all related pages. */ QCString trPageDocumentation() { return "Documentação da página"; } /*! This is used in LaTeX as the title of the document */ QCString trReferenceManual() { return "Manual de referência"; } /*! This is used in the documentation of a file as a header before the * list of defines */ QCString trDefines() { return "Macros"; } /*! This is used in the documentation of a file as a header before the * list of function prototypes */ QCString trFuncProtos() { return "Protótipos de funções"; } /*! This is used in the documentation of a file as a header before the * list of typedefs */ QCString trTypedefs() { return "Definições de tipos"; } /*! This is used in the documentation of a file as a header before the * list of enumerations */ QCString trEnumerations() { return "Enumerações"; } /*! This is used in the documentation of a file as a header before the * list of (global) functions */ QCString trFunctions() { return "Funções"; } /*! This is used in the documentation of a file as a header before the * list of (global) variables */ QCString trVariables() { return "Variáveis"; } /*! This is used in the documentation of a file as a header before the * list of (global) variables */ QCString trEnumerationValues() { return "Valores da enumeração"; } /*! This is used in the documentation of a file before the list of * documentation blocks for defines */ QCString trDefineDocumentation() { return "Documentação das macros"; } /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for function prototypes */ QCString trFunctionPrototypeDocumentation() { return "Documentação dos protótipos de funções"; } /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for typedefs */ QCString trTypedefDocumentation() { return "Documentação dos tipos"; } /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for enumeration types */ QCString trEnumerationTypeDocumentation() { return "Documentação dos valores da enumeração"; } /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for functions */ QCString trFunctionDocumentation() { return "Documentação das funções"; } /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for variables */ QCString trVariableDocumentation() { return "Documentação das variáveis"; } /*! This is used in the documentation of a file/namespace/group before * the list of links to documented compounds */ QCString trCompounds() { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { return "Estruturas de Dados"; } else { return "Componentes"; } } /*! This is used in the standard footer of each page and indicates when * the page was generated */ QCString trGeneratedAt(const char *date,const char *projName) { QCString result=(QCString)"Gerado em "+date; if (projName) result+=(QCString)" para "+projName; result+=(QCString)" por"; return result; } /*! This is part of the sentence used in the standard footer of each page. */ QCString trWrittenBy() { return "escrito por"; } /*! this text is put before a class diagram */ QCString trClassDiagram(const char *clName) { return (QCString)"Diagrama de heranças da classe "+clName; } /*! this text is generated when the \\internal command is used. */ QCString trForInternalUseOnly() { return "Apenas para uso interno."; } /*! this text is generated when the \\warning command is used. */ QCString trWarning() { return "Aviso"; } /*! this text is generated when the \\version command is used. */ QCString trVersion() { return "Versão"; } /*! this text is generated when the \\date command is used. */ QCString trDate() { return "Data"; } /*! this text is generated when the \\return command is used. */ QCString trReturns() { return "Retorna"; } /*! this text is generated when the \\sa command is used. */ QCString trSeeAlso() { return "Veja também"; } /*! this text is generated when the \\param command is used. */ QCString trParameters() { return "Parâmetros"; } /*! this text is generated when the \\exception command is used. */ QCString trExceptions() { return "Excepções"; } /*! this text is used in the title page of a LaTeX document. */ QCString trGeneratedBy() { return "Gerado por"; } ////////////////////////////////////////////////////////////////////////// // new since 0.49-990307 ////////////////////////////////////////////////////////////////////////// /*! used as the title of page containing all the index of all namespaces. */ virtual QCString trNamespaceList() { return "Lista de namespaces"; } /*! used as an introduction to the namespace list */ virtual QCString trNamespaceListDescription(bool extractAll) { QCString result="Lista "; if (!extractAll) result+="de toda a documentação "; result+="dos namespaces com uma breve descrição:"; return result; } /*! used in the class documentation as a header before the list of all * friends of a class */ virtual QCString trFriends() { return "Amigos"; } ////////////////////////////////////////////////////////////////////////// // new since 0.49-990405 ////////////////////////////////////////////////////////////////////////// /*! used in the class documentation as a header before the list of all * related classes */ virtual QCString trRelatedFunctionDocumentation() { return "Documentação das classes amigas e funções relacionadas"; } ////////////////////////////////////////////////////////////////////////// // new since 0.49-990425 ////////////////////////////////////////////////////////////////////////// /*! used as the title of the HTML page of a class/struct/union */ virtual QCString trCompoundReference(const char *clName, ClassDef::CompoundType compType, bool isTemplate) { QCString result="Referência "; switch(compType) { case ClassDef::Class: result+="à classe "; break; case ClassDef::Struct: result+="à estrutura "; break; case ClassDef::Union: result+="à união "; break; case ClassDef::Interface: result+="ao interface "; break; case ClassDef::Protocol: result+="ao protocolo "; break; case ClassDef::Category: result+="à categoria "; break; case ClassDef::Exception: result+="à excepção "; break; } if (isTemplate) result+="Template "; result+=(QCString)clName; return result; } /*! used as the title of the HTML page of a file */ virtual QCString trFileReference(const char *fileName) { QCString result= "Referência ao ficheiro "; result += fileName; return result; } /*! used as the title of the HTML page of a namespace */ virtual QCString trNamespaceReference(const char *namespaceName) { QCString result= "Referência ao namespace "; result += namespaceName; return result; } /* these are for the member sections of a class, struct or union */ virtual QCString trPublicMembers() { return "Membros públicos"; } virtual QCString trPublicSlots() { return "Slots públicos"; } virtual QCString trSignals() { return "Sinais"; } virtual QCString trStaticPublicMembers() { return "Membros públicos estáticos"; } virtual QCString trProtectedMembers() { return "Membros protegidos"; } virtual QCString trProtectedSlots() { return "Slots protegidos"; } virtual QCString trStaticProtectedMembers() { return "Membros protegidos estáticos"; } virtual QCString trPrivateMembers() { return "Membros privados"; } virtual QCString trPrivateSlots() { return "Slots privados"; } virtual QCString trStaticPrivateMembers() { return "Membros privados estáticos"; } /*! this function is used to produce a comma-separated list of items. * use generateMarker(i) to indicate where item i should be put. */ virtual QCString trWriteList(int numEntries) { QCString result; int i; // the inherits list contain `numEntries' classes for (i=0;i