/****************************************************************************** * * * * Copyright (C) 1997-2001 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. * * The translation into Portuguese was provided by * Rui Godinho Lopes */ #ifndef TRANSLATOR_PT_H #define TRANSLATOR_PT_H #include "translator_adapter.h" class TranslatorPortuguese : public TranslatorAdapter_1_1_5 { public: QCString idLanguage() { return "portuguese"; } /*! returns the name of the package that is included by LaTeX */ QCString latexBabelPackage() { return "portuguese"; } /*! 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 de tipos definidos"; } /*! header that is put before the list of enumerations. */ QCString trMemberEnumerationDocumentation() { return "Documentação da 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() { return "Documentação dos dados"; } /*! 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 "Esta é a lista completa dos 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"; } /*! put as in introduction in the verbatim header file of a class. * parameter f is the name of the include file. */ QCString trIncludeFile() { return "Ficheiro incluído"; } QCString trVerbatimText(const char *f) { return (QCString)"Este texto foi originado pelo ficheiro incluído "+f+"."; } // 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() { 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 the list of all verbatim headers */ QCString trHeaderFiles() { return "Ficheiros Incluídos"; } /*! This is put above each page as a link to all members of compounds. */ QCString trCompoundMembers() { return "Componentes"; } /*! This is put above each page as a link to all members of files. */ QCString trFileMembers() { return "Declarações"; } /*! This is put above each page as a link to all related pages. */ QCString trRelatedPages() { return "Paginas 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() { return "Lista da 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 funções membro "; if (!extractAll) result+="documentadas "; result+="com links para "; if (extractAll) result+="a documentação da classe correspondente:"; else result+="o ficheiro a que pertencem:"; return result; } /*! This is an introduction to the page with all file members. */ QCString trFileMembersDescription(bool extractAll) { QCString result="Lista de todas as funções membro "; if (!extractAll) result+="documentadas "; result+="com links para "; if (extractAll) result+="a documentação correspondente:"; else result+="os ficheiros onde foram definidas:"; return result; } /*! This is an introduction to the page with the list of all header files. */ QCString trHeaderFilesDescription() { return "Lista de todos os ficheiros cabeçalho que constituem a API:"; } /*! 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:"; } /*! This sentences is used in the annotated class/file lists if no brief * description is given. */ QCString trNoDescriptionAvailable() { return "Nenhuma descrição disponível"; } // 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() { 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 "Definição de 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ção 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 man pages as the author section. */ QCString trAuthor() { return "Autor"; } /*! This is used in the documentation of a file before the list of * documentation blocks for defines */ QCString trDefineDocumentation() { return "Documentação da macro"; } /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for function prototypes */ QCString trFunctionPrototypeDocumentation() { return "Documentação do protótipo da função"; } /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for typedefs */ QCString trTypedefDocumentation() { return "Documentação do tipo"; } /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for enumeration types */ QCString trEnumerationTypeDocumentation() { return "Documentação do tipo de enumeração"; } /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for enumeration values */ QCString trEnumerationValueDocumentation() { return "Documentação dos elementos 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 da função"; } /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for variables */ QCString trVariableDocumentation() { return "Documentação da variável"; } /*! This is used in the documentation of a file/namespace/group before * the list of links to documented compounds */ QCString trCompounds() { return "Componentes"; } /*! This is used in the documentation of a group before the list of * links to documented files */ QCString trFiles() { return "Ficheiros"; } /*! 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 \\reimp command is used. */ QCString trReimplementedForInternalReasons() { return "Redefinido por razões internas; o interface não é afectado"; } /*! this text is generated when the \\warning command is used. */ QCString trWarning() { return "Aviso"; } /*! this text is generated when the \\bug command is used. */ QCString trBugsAndLimitations() { return "Bugs e limitações"; } /*! 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 \\author command is used. */ QCString trAuthors() { return "Autor(es)"; } /*! 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 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 funções relacionadas e classes amigas"; } ////////////////////////////////////////////////////////////////////////// // 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="Referencia "; 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::Exception: result+="à excepção "; break; } if (isTemplate) result+="