diff options
author | Petr Prikryl <prikryl@atlas.cz> | 2013-06-25 09:57:37 (GMT) |
---|---|---|
committer | Petr Prikryl <prikryl@atlas.cz> | 2013-06-25 09:57:37 (GMT) |
commit | c84e679ca11f8945f449b8b8ad6d93c05d97839e (patch) | |
tree | a6fa55863e72439cd3f81b0f72fe01193ee9064a /src/translator_br.h | |
parent | d274d6cf193b4e719804965671f23ab9c41f7727 (diff) | |
download | Doxygen-c84e679ca11f8945f449b8b8ad6d93c05d97839e.zip Doxygen-c84e679ca11f8945f449b8b8ad6d93c05d97839e.tar.gz Doxygen-c84e679ca11f8945f449b8b8ad6d93c05d97839e.tar.bz2 |
idLanguageCharset() method removed from all translator classes
Diffstat (limited to 'src/translator_br.h')
-rw-r--r-- | src/translator_br.h | 94 |
1 files changed, 44 insertions, 50 deletions
diff --git a/src/translator_br.h b/src/translator_br.h index e67ad9f..288b4b0 100644 --- a/src/translator_br.h +++ b/src/translator_br.h @@ -28,7 +28,7 @@ * 20080206: * - Method trTypeContraints() renamed to trTypeConstraints(). * 20071216: - * - New methods since 1.5.4 updated. + * - New methods since 1.5.4 updated. * Previous history removed from this version. */ #ifndef TRANSLATOR_BR_H @@ -62,12 +62,6 @@ class TranslatorBrazilian : public TranslatorAdapter_1_8_0 return "\\usepackage[brazil]{babel}"; } - /*! 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. */ @@ -247,7 +241,7 @@ class TranslatorBrazilian : public TranslatorAdapter_1_8_0 virtual QCString trCompoundMembersDescription(bool extractAll) { QCString result="Esta é a lista de "; - + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { result+="todas as estruturas e campos de uniões "; @@ -1485,7 +1479,7 @@ class TranslatorBrazilian : public TranslatorAdapter_1_8_0 { return "Resultados:"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.3.8 ////////////////////////////////////////////////////////////////////////// @@ -1519,7 +1513,7 @@ class TranslatorBrazilian : public TranslatorAdapter_1_8_0 virtual QCString trDirectories() { return "Diretórios"; } - /*! This returns a sentences that introduces the directory hierarchy. + /*! This returns a sentences that introduces the directory hierarchy. * and the fact that it is sorted alphabetically per level */ virtual QCString trDirDescription() @@ -1539,10 +1533,10 @@ class TranslatorBrazilian : public TranslatorAdapter_1_8_0 * (\a first_capital) and in sigular or plural form (\a singular). */ virtual QCString trDir(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Diretório" : "diretório")); if (!singular) result+="s"; - return result; + return result; } ////////////////////////////////////////////////////////////////////////// // new since 1.4.1 @@ -1556,7 +1550,7 @@ class TranslatorBrazilian : public TranslatorAdapter_1_8_0 return "Este é um método provido por conveniência. " "Ele difere do método acima apenas na lista de " "argumentos que devem ser utilizados."; - } + } ////////////////////////////////////////////////////////////////////////// // new since 1.4.6 @@ -1568,22 +1562,22 @@ class TranslatorBrazilian : public TranslatorAdapter_1_8_0 return "Este é o diagrama das funções que utilizam esta função:"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for enumeration values */ virtual QCString trEnumerationValueDocumentation() { return "Documentação da enumeração"; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.5.4 (mainly for Fortran) ////////////////////////////////////////////////////////////////////////// - + /*! header that is put before the list of member subprograms (Fortran). */ virtual QCString trMemberFunctionDocumentationFortran() { return "Documentação de Função Membro/Subrotina"; } - /*! This is put above each page as a link to the list of annotated data types (Fortran). */ + /*! This is put above each page as a link to the list of annotated data types (Fortran). */ virtual QCString trCompoundListFortran() { return "Lista de Tipos de Dados"; } @@ -1601,18 +1595,18 @@ class TranslatorBrazilian : public TranslatorAdapter_1_8_0 QCString result="Esta é a lista de todos os membros "; if (!extractAll) result+="documentados "; result+="dos tipos de dados com links para "; - if (extractAll) + if (extractAll) { result+="a documentação dos tipos de dados para cada membro:"; } - else + else { result+="os tipos de dados a que pertencem:"; } return result; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * annotated compound index (Fortran). */ virtual QCString trCompoundIndexFortran() @@ -1624,24 +1618,24 @@ class TranslatorBrazilian : public TranslatorAdapter_1_8_0 virtual QCString trTypeDocumentation() { return "Documentação dos Tipos de Dados"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) subprograms (Fortran). */ virtual QCString trSubprograms() { return "Funções/Subrotinas"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for subprograms (Fortran) */ virtual QCString trSubprogramDocumentation() { return "Documentação da Função/Subrotina"; } - /*! This is used in the documentation of a file/namespace/group before + /*! This is used in the documentation of a file/namespace/group before * the list of links to documented compounds (Fortran) */ virtual QCString trDataTypes() { return "Tipos de Dados"; } - + /*! used as the title of page containing all the index of all modules (Fortran). */ virtual QCString trModulesList() { return "Lista de Módulos"; } @@ -1663,7 +1657,7 @@ class TranslatorBrazilian : public TranslatorAdapter_1_8_0 QCString result = (QCString)"Referência "; if (isTemplate) result+="da Template "; - + switch(compType) { case ClassDef::Class: result+="do Modulo "; break; @@ -1675,54 +1669,54 @@ class TranslatorBrazilian : public TranslatorAdapter_1_8_0 case ClassDef::Exception: result+="da Exceção "; break; default: break; } - result += clName; - + result += clName; + return result; } /*! used as the title of the HTML page of a module (Fortran) */ virtual QCString trModuleReference(const char *namespaceName) { QCString result = "Referência do Módulo "; - result += namespaceName; + result += namespaceName; return result; } - + /*! This is put above each page as a link to all members of modules. (Fortran) */ virtual QCString trModulesMembers() { return "Membros do Módulo"; } /*! This is an introduction to the page with all modules members (Fortran) */ virtual QCString trModulesMemberDescription(bool extractAll) - { + { QCString result="Esta é a lista de todos os membros "; if (!extractAll) result+="documentados "; result+="dos módulos com links para "; - if (extractAll) + if (extractAll) { result+="a documentação dos módulos para cada membro:"; } - else + else { result+="os módulos a que pertencem:"; } return result; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * index of all modules (Fortran). */ virtual QCString trModulesIndex() { return "Índice dos Módulos"; } - + /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * be followed by a single name or by a list of names * of the category. */ virtual QCString trModule(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Modulo" : "modulo")); if (!singular) result+="s"; - return result; + return result; } /*! This is put at the bottom of a module documentation page and is * followed by a list of files that were used to generate the page. @@ -1743,41 +1737,41 @@ class TranslatorBrazilian : public TranslatorAdapter_1_8_0 case ClassDef::Exception: result+="esta exceção "; break; default: break; } - + result+=" foi gerada a partir do"; - if (single) + if (single) result+=" seguinte arquivo:"; else result+="s seguintes arquivos:"; - + return result; } /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * be followed by a single name or by a list of names * of the category. */ virtual QCString trType(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Tipo" : "tipo")); if (!singular) result+="s"; - return result; + return result; } /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names + * be followed by a single name or by a list of names * of the category. */ virtual QCString trSubprogram(bool first_capital, bool singular) - { + { QCString result((first_capital ? "Subprograma" : "subprograma")); if (!singular) result+="s"; - return result; + return result; } /*! C# Type Contraint list */ virtual QCString trTypeConstraints() { return "Restrições do Tipo"; - } + } ////////////////////////////////////////////////////////////////////////// // new since 1.6.0 (mainly for the new search engine) @@ -1842,7 +1836,7 @@ class TranslatorBrazilian : public TranslatorAdapter_1_8_0 return (QCString)"Inclui arquivo em "+name; } - /** Compiles a date string. + /** Compiles a date string. * @param year Year in 4 digits * @param month Month of the year: 1=January * @param day Day of the Month: 1..31 @@ -1868,7 +1862,7 @@ class TranslatorBrazilian : public TranslatorAdapter_1_8_0 } return sdate; } - + ////////////////////////////////////////////////////////////////////////// // new since 1.7.5 ////////////////////////////////////////////////////////////////////////// @@ -1887,6 +1881,6 @@ class TranslatorBrazilian : public TranslatorAdapter_1_8_0 /*! Header for the graph showing the directory dependencies */ virtual QCString trDirDepGraph(const char *name) - { return QCString("Grafo de dependências do diretório ")+name+":"; } + { return QCString("Grafo de dependências do diretório ")+name+":"; } }; #endif |