translator_pt.h 61.8 KB
Newer Older
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1
/******************************************************************************
Dimitri van Heesch's avatar
Dimitri van Heesch committed
2
 * Copyright (C) 1997-2013 by Dimitri van Heesch.
Dimitri van Heesch's avatar
Dimitri van Heesch committed
3 4 5 6 7 8 9 10 11 12
 *
 * 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.
 *
Dimitri van Heesch's avatar
Dimitri van Heesch committed
13 14 15 16 17 18 19 20 21 22
 * Portuguese translation version 20110428
 *    Maintainer (from 04/28/2011): 
 *       Fabio "FJTC" Jun Takada Chino <jun-chino at uol.com.br>
 *    Maintainer (until 04/28/2011):
 *       Rui Godinho Lopes <rui at ruilopes.com>
 *
 * 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.
23 24 25
 *
 * VERSION HISTORY
 * ---------------
Dimitri van Heesch's avatar
Dimitri van Heesch committed
26 27 28 29 30 31 32
 * 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);
Dimitri van Heesch's avatar
Dimitri van Heesch committed
33 34
 * 007 09 june 2003
 *   ! Updated for doxygen v1.3.1
35 36
 * 006 30 july 2002
 *   ! Updated for doxygen v1.2.17
Dimitri van Heesch's avatar
Dimitri van Heesch committed
37 38
 * 005 10 july 2002
 *   ! Updated for doxygen v1.2.16
39 40
 * 004 03 march 2002
 *   ! Updated for doxygen v1.2.14
41 42
 * 003 23 november 2001
 *   - Removed some obsolete methods (latexBabelPackage, trAuthor, trAuthors and trFiles)
43 44
 * 002 19 november 2001
 *   ! Updated for doxygen v1.2.12
45
 * 001 20 july 2001
46
 *   ! Updated for doxygen v1.2.8.1
47
 * 000 ?
48
 *   + Initial translation for doxygen v1.1.5
Dimitri van Heesch's avatar
Dimitri van Heesch committed
49 50 51 52 53
 */

#ifndef TRANSLATOR_PT_H
#define TRANSLATOR_PT_H

Dimitri van Heesch's avatar
Dimitri van Heesch committed
54

55
class TranslatorPortuguese : public TranslatorAdapter_1_8_0
Dimitri van Heesch's avatar
Dimitri van Heesch committed
56 57
{
  public:
58 59 60 61 62 63 64 65 66

    // --- 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.
     */
Dimitri van Heesch's avatar
Dimitri van Heesch committed
67 68
    QCString idLanguage()
    { return "portuguese"; }
69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88

    /*! 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 
     *  <pre>"\\usepackage[german]{babel}\n"
     *  </pre>
     *  or
     *  <pre>"\\usepackage{polski}\n"
     *  "\\usepackage[latin2]{inputenc}\n"
     *  "\\usepackage[T1]{fontenc}\n"
     *  </pre>
     * 
     * 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()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
89
    { return "utf-8"; }
90 91 92

    // --- Language translation methods -------------------

Dimitri van Heesch's avatar
Dimitri van Heesch committed
93 94
    /*! used in the compound documentation before a list of related functions. */
    QCString trRelatedFunctions()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
95
    { return "Funções associadas"; }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
96 97 98

    /*! subscript for the related functions. */
    QCString trRelatedSubscript()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
99
    { return "(Note que não são funções membro)"; }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
100 101 102

    /*! header that is put before the detailed description of files, classes and namespaces. */
    QCString trDetailedDescription()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
103
    { return "Descrição detalhada"; }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
104 105 106

    /*! header that is put before the list of typedefs. */
    QCString trMemberTypedefDocumentation()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
107
    { return "Documentação das definições de tipo"; }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
108 109 110

    /*! header that is put before the list of enumerations. */
    QCString trMemberEnumerationDocumentation()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
111
    { return "Documentação das enumerações"; }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
112 113 114

    /*! header that is put before the list of member functions. */
    QCString trMemberFunctionDocumentation()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
115
    { return "Documentação dos métodos"; }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
116 117 118

    /*! header that is put before the list of member attributes. */
    QCString trMemberDataDocumentation()
119 120 121
    {
      if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
      {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
122
        return "Documentação dos campos e atributos"; 
123 124 125
      }
      else
      {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
126
        return "Documentação dos dados membro";
127 128
      }
    }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
129 130 131 132 133 134 135 136 137 138 139 140 141 142 143

    /*! 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()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
144
    { return "Lista completa de todos os membros de "; }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
145 146 147 148 149 150 151 152 153 154 155

    /*! 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;
Dimitri van Heesch's avatar
Dimitri van Heesch committed
156
      result+=" a partir do código fonte.";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
157 158 159 160 161
      return result;
    }

    /*! put after an enum name in the list of all members */
    QCString trEnumName()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
162
    { return "enumeração"; }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
163 164 165 166 167 168 169 170 171 172 173 174

    /*! 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
175
     *  compounds or files (see the \\group command).
Dimitri van Heesch's avatar
Dimitri van Heesch committed
176 177
     */
    QCString trModules()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
178
    { return "Módulos"; }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
179 180 181 182 183 184 185

    /*! 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()
186 187 188 189 190 191 192 193 194 195
    {
      if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
      {
        return "Estruturas de dados";
      }
      else
      {
        return "Lista de componentes";
      }
    }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
196

197
    /*! This is put above each page as a link to the list of documented files */
Dimitri van Heesch's avatar
Dimitri van Heesch committed
198 199 200 201 202
    QCString trFileList()
    { return "Lista de ficheiros"; }

    /*! This is put above each page as a link to all members of compounds. */
    QCString trCompoundMembers()
203 204 205 206 207 208 209 210 211 212
    {
      if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
      {
        return "Campos de dados";
      }
      else
      {
        return "Componentes membro";
      }
    }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
213 214 215

    /*! This is put above each page as a link to all members of files. */
    QCString trFileMembers()
216 217 218 219 220 221 222 223 224 225
    {
      if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
      {
        return "Globais";
      }
      else
      {
        return "Ficheiros membro";
      }
    }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
226 227 228

    /*! This is put above each page as a link to all related pages. */
    QCString trRelatedPages()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
229
    { return "Páginas relacionadas"; }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
230 231 232 233 234 235 236 237 238 239 240

    /*! 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()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
241
    { return "Esta lista de heranças está organizada, dentro do possível, por ordem alfabética:"; }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
242 243 244 245 246 247

    /*! 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 ";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
248
      result+="com uma breve descrição:";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
249 250 251 252 253
      return result;
    }

    /*! This is an introduction to the annotated compound list. */
    QCString trCompoundListDescription()
254 255 256
    {       
      if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
      {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
257
        return "Lista das estruturas de dados com uma breve descrição:";
258 259 260
      }
      else
      {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
261
        return "Lista de classes, estruturas, uniões e interfaces com uma breve descrição:";
262
      }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
263 264 265 266 267
    }

    /*! This is an introduction to the page with all class members. */
    QCString trCompoundMembersDescription(bool extractAll)
    {
268 269 270
      QCString result="Lista de todas as";
      if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
      {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
271
        result+=" estruturas e campos de uniões";
272 273 274 275 276 277 278 279 280
      }
      else
      {
        result+=" classes membro";
      }
      if (!extractAll)
      {
        result+=" documentadas";
      }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
281
      result+=" com referência para ";
282
      if (!extractAll) 
283 284 285
      {
        if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
        {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
286
          result+="a respectiva documentação:";
287 288 289
        }
        else
        {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
290
          result+="a documentação de cada membro:";
291 292 293 294 295 296
        }
      }
      else 
      {
        if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
        {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
297
          result+="as estruturas/uniões a que pertencem:";
298 299 300 301 302 303
        }
        else
        {
          result+="as classes a que pertencem:";
        }
      }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
304 305 306 307 308 309
      return result;
    }

    /*! This is an introduction to the page with all file members. */
    QCString trFileMembersDescription(bool extractAll)
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
310
      QCString result="Lista de ";
311 312
      if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
      {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
313
        result+="todas as funções, variáveis, definições, enumerações e definições de tipo ";
314 315 316 317
        if (!extractAll) result+="documentadas ";
      }
      else
      {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
318
        result+="todos os ficheiros membro ";
319 320
        if (!extractAll) result+="documentados ";
      }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
321
      result+="com referência para ";
322
      if (extractAll) 
Dimitri van Heesch's avatar
Dimitri van Heesch committed
323
        result+="o ficheiro a que pertecem:";
324
      else 
Dimitri van Heesch's avatar
Dimitri van Heesch committed
325
        result+="a respectiva documentação:";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
326 327 328 329 330 331 332 333 334
      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()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
335
    { return "Lista de documentação relacionada:"; }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
336 337 338

    /*! This is an introduction to the page with the list of class/file groups */
    QCString trModulesDescription()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
339
    { return "Lista de todos os módulos:"; }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
340 341 342 343 344 345

    // index titles (the project name is prepended for these)


    /*! This is used in HTML as the title of index.html. */
    QCString trDocumentation()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
346
    { return "Documentação"; }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
347 348 349 350 351

    /*! This is used in LaTeX as the title of the chapter with the
     * index of all groups.
     */
    QCString trModuleIndex()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
352
    { return "Índice dos módulos"; }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
353 354 355 356 357

    /*! This is used in LaTeX as the title of the chapter with the
     * class hierarchy.
     */
    QCString trHierarchicalIndex()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
358
    { return "Índice da hierarquia"; }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
359 360 361 362 363

    /*! This is used in LaTeX as the title of the chapter with the
     * annotated compound index.
     */
    QCString trCompoundIndex()
364 365 366
    {
      if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
      { 
Dimitri van Heesch's avatar
Dimitri van Heesch committed
367
        return "Índice das estruturas de dados";
368 369 370
      }
      else
      {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
371
        return "Índice dos componentes";
372 373
      }
    }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
374 375 376 377 378

    /*! This is used in LaTeX as the title of the chapter with the
     * list of all files.
     */
    QCString trFileIndex()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
379
    { return "Índice dos ficheiros"; }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
380 381 382 383 384

    /*! This is used in LaTeX as the title of the chapter containing
     *  the documentation of all groups.
     */
    QCString trModuleDocumentation()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
385
    { return "Documentação do módulo"; }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
386 387 388 389 390

    /*! This is used in LaTeX as the title of the chapter containing
     *  the documentation of all classes, structs and unions.
     */
    QCString trClassDocumentation()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
391
    { return "Documentação da classe"; }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
392 393 394 395 396

    /*! This is used in LaTeX as the title of the chapter containing
     *  the documentation of all files.
     */
    QCString trFileDocumentation()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
397
    { return "Documentação do ficheiro"; }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
398 399 400 401 402

    /*! This is used in LaTeX as the title of the chapter containing
     *  the documentation of all examples.
     */
    QCString trExampleDocumentation()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
403
    { return "Documentação do exemplo"; }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
404 405 406 407 408

    /*! This is used in LaTeX as the title of the chapter containing
     *  the documentation of all related pages.
     */
    QCString trPageDocumentation()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
409
    { return "Documentação da página"; }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
410 411 412

    /*! This is used in LaTeX as the title of the document */
    QCString trReferenceManual()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
413
    { return "Manual de referência"; }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
414 415 416 417 418

    /*! This is used in the documentation of a file as a header before the
     *  list of defines
     */
    QCString trDefines()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
419
    { return "Macros"; }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
420 421 422 423 424

    /*! This is used in the documentation of a file as a header before the
     *  list of function prototypes
     */
    QCString trFuncProtos()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
425
    { return "Protótipos de funções"; }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
426 427 428 429 430

    /*! This is used in the documentation of a file as a header before the
     *  list of typedefs
     */
    QCString trTypedefs()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
431
    { return "Definições de tipos"; }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
432 433 434 435 436

    /*! This is used in the documentation of a file as a header before the
     *  list of enumerations
     */
    QCString trEnumerations()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
437
    { return "Enumerações"; }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
438 439 440 441 442

    /*! This is used in the documentation of a file as a header before the
     *  list of (global) functions
     */
    QCString trFunctions()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
443
    { return "Funções"; }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
444 445 446 447 448

    /*! This is used in the documentation of a file as a header before the
     *  list of (global) variables
     */
    QCString trVariables()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
449
    { return "Variáveis"; }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
450 451 452 453 454

    /*! This is used in the documentation of a file as a header before the
     *  list of (global) variables
     */
    QCString trEnumerationValues()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
455
    { return "Valores da enumeração"; }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
456 457 458 459 460

    /*! This is used in the documentation of a file before the list of
     *  documentation blocks for defines
     */
    QCString trDefineDocumentation()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
461
    { return "Documentação das macros"; }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
462 463 464 465 466

    /*! This is used in the documentation of a file/namespace before the list
     *  of documentation blocks for function prototypes
     */
    QCString trFunctionPrototypeDocumentation()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
467
    { return "Documentação dos protótipos de funções"; }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
468 469 470 471 472

    /*! This is used in the documentation of a file/namespace before the list
     *  of documentation blocks for typedefs
     */
    QCString trTypedefDocumentation()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
473
    { return "Documentação dos tipos"; }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
474 475 476 477 478

    /*! This is used in the documentation of a file/namespace before the list
     *  of documentation blocks for enumeration types
     */
    QCString trEnumerationTypeDocumentation()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
479
    { return "Documentação dos valores da enumeração"; }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
480 481 482 483 484

    /*! This is used in the documentation of a file/namespace before the list
     *  of documentation blocks for functions
     */
    QCString trFunctionDocumentation()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
485
    { return "Documentação das funções"; }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
486 487 488 489 490

    /*! This is used in the documentation of a file/namespace before the list
     *  of documentation blocks for variables
     */
    QCString trVariableDocumentation()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
491
    { return "Documentação das variáveis"; }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
492 493 494 495 496

    /*! This is used in the documentation of a file/namespace/group before
     *  the list of links to documented compounds
     */
    QCString trCompounds()
497 498 499 500 501 502 503 504 505 506
    {
      if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
      {
        return "Estruturas de Dados";
      }
      else
      {
        return "Componentes";
      }
    }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527

    /*! 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)
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
528
      return (QCString)"Diagrama de heranças da classe "+clName;
Dimitri van Heesch's avatar
Dimitri van Heesch committed
529 530
    }

Dimitri van Heesch's avatar
Dimitri van Heesch committed
531
    /*! this text is generated when the \\internal command is used. */
Dimitri van Heesch's avatar
Dimitri van Heesch committed
532 533 534
    QCString trForInternalUseOnly()
    { return "Apenas para uso interno."; }

Dimitri van Heesch's avatar
Dimitri van Heesch committed
535
    /*! this text is generated when the \\warning command is used. */
Dimitri van Heesch's avatar
Dimitri van Heesch committed
536 537 538
    QCString trWarning()
    { return "Aviso"; }

Dimitri van Heesch's avatar
Dimitri van Heesch committed
539
    /*! this text is generated when the \\version command is used. */
Dimitri van Heesch's avatar
Dimitri van Heesch committed
540
    QCString trVersion()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
541
    { return "Versão"; }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
542

Dimitri van Heesch's avatar
Dimitri van Heesch committed
543
    /*! this text is generated when the \\date command is used. */
Dimitri van Heesch's avatar
Dimitri van Heesch committed
544 545 546
    QCString trDate()
    { return "Data"; }

Dimitri van Heesch's avatar
Dimitri van Heesch committed
547
    /*! this text is generated when the \\return command is used. */
Dimitri van Heesch's avatar
Dimitri van Heesch committed
548 549 550
    QCString trReturns()
    { return "Retorna"; }

Dimitri van Heesch's avatar
Dimitri van Heesch committed
551
    /*! this text is generated when the \\sa command is used. */
Dimitri van Heesch's avatar
Dimitri van Heesch committed
552
    QCString trSeeAlso()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
553
    { return "Veja também"; }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
554

Dimitri van Heesch's avatar
Dimitri van Heesch committed
555
    /*! this text is generated when the \\param command is used. */
Dimitri van Heesch's avatar
Dimitri van Heesch committed
556
    QCString trParameters()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
557
    { return "Parâmetros"; }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
558

Dimitri van Heesch's avatar
Dimitri van Heesch committed
559
    /*! this text is generated when the \\exception command is used. */
Dimitri van Heesch's avatar
Dimitri van Heesch committed
560
    QCString trExceptions()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
561
    { return "Excepções"; }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
562 563 564 565 566

    /*! this text is used in the title page of a LaTeX document. */
    QCString trGeneratedBy()
    { return "Gerado por"; }

567 568 569
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990307
//////////////////////////////////////////////////////////////////////////
Dimitri van Heesch's avatar
Dimitri van Heesch committed
570

571
    /*! used as the title of page containing all the index of all namespaces. */
Dimitri van Heesch's avatar
Dimitri van Heesch committed
572 573 574 575 576 577 578
    virtual QCString trNamespaceList()
    { return "Lista de namespaces"; }

    /*! used as an introduction to the namespace list */
    virtual QCString trNamespaceListDescription(bool extractAll)
    {
      QCString result="Lista ";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
579 580
      if (!extractAll) result+="de toda a documentação ";
      result+="dos namespaces com uma breve descrição:";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597
      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()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
598
    { return "Documentação das classes amigas e funções relacionadas"; }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
599 600 601 602 603 604 605 606 607 608

//////////////////////////////////////////////////////////////////////////
// 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)
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
609
      QCString result="Referência ";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
610 611
      switch(compType)
      {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
612 613 614
        case ClassDef::Class:      result+="à classe "; break;
        case ClassDef::Struct:     result+="à estrutura "; break;
        case ClassDef::Union:      result+="à união "; break;
Dimitri van Heesch's avatar
Dimitri van Heesch committed
615
        case ClassDef::Interface:  result+="ao interface "; break;
Dimitri van Heesch's avatar
Dimitri van Heesch committed
616 617 618
        case ClassDef::Protocol:   result+="ao protocolo "; break;
        case ClassDef::Category:   result+="à categoria "; break;
        case ClassDef::Exception:  result+="à excepção "; break;
619
        default: break;
Dimitri van Heesch's avatar
Dimitri van Heesch committed
620
      }
621
      if (isTemplate) result+="Template ";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
622 623 624 625 626 627 628
      result+=(QCString)clName;
      return result;
    }

    /*! used as the title of the HTML page of a file */
    virtual QCString trFileReference(const char *fileName)
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
629
      QCString result= "Referência ao ficheiro ";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
630 631 632 633 634 635 636
      result += fileName;
      return result;
    }

    /*! used as the title of the HTML page of a namespace */
    virtual QCString trNamespaceReference(const char *namespaceName)
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
637
      QCString result= "Referência ao namespace ";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
638 639 640 641
      result += namespaceName;
      return result;
    }

642
    /* these are for the member sections of a class, struct or union */
Dimitri van Heesch's avatar
Dimitri van Heesch committed
643
    virtual QCString trPublicMembers()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
644
    { return "Membros públicos"; }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
645
    virtual QCString trPublicSlots()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
646
    { return "Slots públicos"; }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
647 648 649
    virtual QCString trSignals()
    { return "Sinais"; }
    virtual QCString trStaticPublicMembers()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
650
    { return "Membros públicos estáticos"; }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
651 652 653 654 655
    virtual QCString trProtectedMembers()
    { return "Membros protegidos"; }
    virtual QCString trProtectedSlots()
    { return "Slots protegidos"; }
    virtual QCString trStaticProtectedMembers()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
656
    { return "Membros protegidos estáticos"; }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
657 658 659 660 661
    virtual QCString trPrivateMembers()
    { return "Membros privados"; }
    virtual QCString trPrivateSlots()
    { return "Slots privados"; }
    virtual QCString trStaticPrivateMembers()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
662
    { return "Membros privados estáticos"; }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682

    /*! 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<numEntries;i++)
      {
        // use generateMarker to generate placeholders for the class links!
        result+=generateMarker(i); // generate marker for entry i in the list
                                   // (order is left to right)

        if (i!=numEntries-1)  // not the last entry, so we need a separator
        {
          if (i<numEntries-2) // not the fore last entry
            result+=", ";
          else                // the fore last entry
683
            result+=" e ";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728
        }
      }
      return result;
    }

    /*! used in class documentation to produce a list of base classes,
     *  if class diagrams are disabled.
     */
    virtual QCString trInheritsList(int numEntries)
    {
      return "Derivada de "+trWriteList(numEntries)+".";
    }

    /*! used in class documentation to produce a list of super classes,
     *  if class diagrams are disabled.
     */
    virtual QCString trInheritedByList(int numEntries)
    {
      return "Herdado por "+trWriteList(numEntries)+".";
    }

    /*! used in member documentation blocks to produce a list of
     *  members that are hidden by this one.
     */
    virtual QCString trReimplementedFromList(int numEntries)
    {
      return "Reimplementado de "+trWriteList(numEntries)+".";
    }

    /*! used in member documentation blocks to produce a list of
     *  all member that overwrite the implementation of this member.
     */
    virtual QCString trReimplementedInList(int numEntries)
    {
      return "Reimplementado em "+trWriteList(numEntries)+".";
    }

    /*! This is put above each page as a link to all members of namespaces. */
    virtual QCString trNamespaceMembers()
    { return "Membros do namespace"; }

    /*! This is an introduction to the page with all namespace members */
    virtual QCString trNamespaceMemberDescription(bool extractAll)
    {
      QCString result="Lista ";
729
      if (extractAll) result+="de todos os ";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
730 731
      else result+="de toda a documentação dos ";
      result+="membros do namespace com referência para ";
732
      if (extractAll)
Dimitri van Heesch's avatar
Dimitri van Heesch committed
733
        result+="a documentação de cada membro:";
734 735
      else
        result+="o namespace correspondente:";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
736 737 738
      return result;
    }

739
  /*! This is used in LaTeX as the title of the chapter with the
Dimitri van Heesch's avatar
Dimitri van Heesch committed
740 741 742
     *  index of all namespaces.
     */
    virtual QCString trNamespaceIndex()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
743
    { return "Índice dos namespaces"; }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
744 745 746 747 748

    /*! This is used in LaTeX as the title of the chapter containing
     *  the documentation of all namespaces.
     */
    virtual QCString trNamespaceDocumentation()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
749
    { return "Documentação dos namespaces"; }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771

//////////////////////////////////////////////////////////////////////////
// new since 0.49-990522
//////////////////////////////////////////////////////////////////////////

    /*! This is used in the documentation before the list of all
     *  namespaces in a file.
     */
    virtual QCString trNamespaces()
    { return "Namespaces"; }

//////////////////////////////////////////////////////////////////////////
// new since 0.49-990728
//////////////////////////////////////////////////////////////////////////

    /*! This is put at the bottom of a class documentation page and is
     *  followed by a list of files that were used to generate the page.
     */
    virtual QCString trGeneratedFromFiles(ClassDef::CompoundType compType,
        bool single)
    { // here s is one of " Class", " Struct" or " Union"
      // single is true implies a single file
Dimitri van Heesch's avatar
Dimitri van Heesch committed
772
      QCString result=(QCString)"A documentação para ";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
773 774 775 776
      switch(compType)
      {
        case ClassDef::Class:      result+="esta classe"; break;
        case ClassDef::Struct:     result+="esta estrutura"; break;
Dimitri van Heesch's avatar
Dimitri van Heesch committed
777
        case ClassDef::Union:      result+="esta união"; break;
Dimitri van Heesch's avatar
Dimitri van Heesch committed
778
        case ClassDef::Interface:  result+="este interface"; break;
Dimitri van Heesch's avatar
Dimitri van Heesch committed
779 780 781
        case ClassDef::Protocol:   result+="este protocolo"; break;
        case ClassDef::Category:   result+="esta categoria"; break;
        case ClassDef::Exception:  result+="esta excepção"; break;
782
        default: break;
Dimitri van Heesch's avatar
Dimitri van Heesch committed
783 784 785 786 787 788 789 790 791 792 793 794
      }
      result+=" foi gerada a partir ";
      if (single) result+=" do seguinte ficheiro:";
      else result+="dos seguintes ficheiros:";
      return result;
    }

    /*! This is in the (quick) index as a link to the alphabetical compound
     * list.
     */
    virtual QCString trAlphabeticalList()
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
795
      return "Lista alfabética";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
796 797 798 799 800 801 802 803 804 805 806 807 808 809
    }


//////////////////////////////////////////////////////////////////////////
// new since 0.49-990901
//////////////////////////////////////////////////////////////////////////

    /*! This is used as the heading text for the retval command. */
    virtual QCString trReturnValues()
    { return "Valores retornados"; }

    /*! This is in the (quick) index as a link to the main page (index.html)
     */
    virtual QCString trMainPage()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
810
    { return "Página principal"; }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846

    /*! This is used in references to page that are put in the LaTeX
     *  documentation. It should be an abbreviation of the word page.
     */
    virtual QCString trPageAbbreviation()
    { return "p. "; }

//////////////////////////////////////////////////////////////////////////
// new since 0.49-991003
//////////////////////////////////////////////////////////////////////////

    virtual QCString trDefinedAtLineInSourceFile()
    {
      return "Definido na linha @0 do ficheiro @1.";
    }
    virtual QCString trDefinedInSourceFile()
    {
      return "Definido no ficheiro @0.";
    }

//////////////////////////////////////////////////////////////////////////
// new since 0.49-991205
//////////////////////////////////////////////////////////////////////////

    virtual QCString trDeprecated()
    {
      return "Desaprovado";
    }

//////////////////////////////////////////////////////////////////////////
// new since 1.0.0
//////////////////////////////////////////////////////////////////////////

    /*! this text is put before a collaboration diagram */
    virtual QCString trCollaborationDiagram(const char *clName)
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
847
      return (QCString)"Diagrama de colaboração para "+clName+":";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
848 849 850 851
    }
    /*! this text is put before an include dependency graph */
    virtual QCString trInclDepGraph(const char *fName)
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
852
      return (QCString)"Diagrama de dependências de inclusão para "+fName+":";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
853 854 855 856
    }
    /*! header that is put before the list of constructor/destructors. */
    virtual QCString trConstructorDocumentation()
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
857
      return "Documentação dos Construtores & Destrutor";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
858 859 860 861
    }
    /*! Used in the file documentation to point to the corresponding sources. */
    virtual QCString trGotoSourceCode()
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
862
      return "Ir para o código fonte deste ficheiro.";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
863 864 865 866
    }
    /*! Used in the file sources to point to the corresponding documentation. */
    virtual QCString trGotoDocumentation()
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
867
      return "Ir para a documentação deste ficheiro.";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
868
    }
869
    /*! Text for the \\pre command */
Dimitri van Heesch's avatar
Dimitri van Heesch committed
870 871
    virtual QCString trPrecondition()
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
872
      return "Precondição";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
873
    }
874
    /*! Text for the \\post command */
Dimitri van Heesch's avatar
Dimitri van Heesch committed
875 876
    virtual QCString trPostcondition()
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
877
      return "Poscondição";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
878
    }
879
    /*! Text for the \\invariant command */
Dimitri van Heesch's avatar
Dimitri van Heesch committed
880 881 882 883 884 885 886 887 888 889 890 891
    virtual QCString trInvariant()
    {
      return "Invariante";
    }
    /*! Text shown before a multi-line variable/enum initialization */
    virtual QCString trInitialValue()
    {
      return "Valor inicial:";
    }
    /*! Text used the source code in the file index */
    virtual QCString trCode()
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
892
      return "código";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
893 894 895
    }
    virtual QCString trGraphicalHierarchy()
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
896
      return "Representação gráfica da hiearquia da classe";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
897 898 899
    }
    virtual QCString trGotoGraphicalHierarchy()
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
900
      return "Ir para a representação gráfica da hierarquia da classe";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
901 902 903
    }
    virtual QCString trGotoTextualHierarchy()
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
904
      return "Ir para a representação textual da hierarquia da classe";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
905 906 907
    }
    virtual QCString trPageIndex()
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
908
      return "Índice da página";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
909 910 911 912 913
    }

//////////////////////////////////////////////////////////////////////////
// new since 1.1.0
//////////////////////////////////////////////////////////////////////////
914

Dimitri van Heesch's avatar
Dimitri van Heesch committed
915 916 917 918 919 920
    virtual QCString trNote()
    {
      return "Nota";
    }
    virtual QCString trPublicTypes()
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
921
      return "Tipos Públicos";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
922 923 924
    }
    virtual QCString trPublicAttribs()
    {
925 926 927 928 929 930
      if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
      {
        return "Campos de Dados";
      }
      else
      {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
931
        return "Atributos Públicos";
932
      }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
933 934 935
    }
    virtual QCString trStaticPublicAttribs()
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
936
      return "Atributos Públicos Estáticos";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
937 938 939 940 941 942 943 944 945 946 947
    }
    virtual QCString trProtectedTypes()
    {
      return "Tipos Protegidos";
    }
    virtual QCString trProtectedAttribs()
    {
      return "Atributos Protegidos";
    }
    virtual QCString trStaticProtectedAttribs()
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
948
      return "Atributos Protegidos Estáticos";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
949 950 951 952 953 954 955 956 957 958 959
    }
    virtual QCString trPrivateTypes()
    {
      return "Tipos Privados";
    }
    virtual QCString trPrivateAttribs()
    {
      return "Atributos Privados";
    }
    virtual QCString trStaticPrivateAttribs()
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
960
      return "Atributos Privados Estáticos";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987
    }

//////////////////////////////////////////////////////////////////////////
// new since 1.1.3
//////////////////////////////////////////////////////////////////////////

    /*! Used as a marker that is put before a todo item */
    virtual QCString trTodo()
    {
      return "Tarefa";
    }
    /*! Used as the header of the todo list */
    virtual QCString trTodoList()
    {
      return "Lista de tarefas";
    }

//////////////////////////////////////////////////////////////////////////
// new since 1.1.4
//////////////////////////////////////////////////////////////////////////

    virtual QCString trReferencedBy()
    {
      return "Referenciado por";
    }
    virtual QCString trRemarks()
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
988
      return "Observações";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
989 990 991
    }
    virtual QCString trAttention()
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
992
      return "Atenção";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
993 994 995
    }
    virtual QCString trInclByDepGraph()
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
996
      return "Este grafo mostra quais são os ficheiros que incluem directamente ou indirectamente este ficheiro:";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
997 998 999 1000 1001 1002
    }
    virtual QCString trSince()
    {
      return "Desde";
    }

1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015
//////////////////////////////////////////////////////////////////////////
// new since 1.1.5
//////////////////////////////////////////////////////////////////////////

    /*! title of the graph legend page */
    virtual QCString trLegendTitle()
    {
      return "Legenda do grafo";
    }
    /*! page explaining how the dot graph's should be interpreted */
    virtual QCString trLegendDocs()
    {
      return
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1016
        "Esta página explica como interpretar os grafos gerados pelo doxygen.<p>\n"
1017 1018
        "Considere o seguinte exemplo:\n"
        "\\code\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1019
        "/*! Esta classe vai estar escondida devido à truncação */\n"
1020
        "class Invisible { };\n\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1021
        "/*! Esta classe tem a relação de herança escondida */\n"
1022
        "class Truncated : public Invisible { };\n\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1023
        "/* Classe não documentada por comentários doxygen */\n"
1024
        "class Undocumented { };\n\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1025
        "/*! Classe derivada usando derivação pública */\n"
1026
        "class PublicBase : public Truncated { };\n\n"
1027 1028
        "/*! A template class */\n"
        "template<class T> class Templ { };\n\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1029
        "/*! Classe derivada usando derivação protegida */\n"
1030
        "class ProtectedBase { };\n\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1031
        "/*! Classe derivada usando derivação privada */\n"
1032 1033 1034
        "class PrivateBase { };\n\n"
        "/*! Classe usada pela classe Inherited */\n"
        "class Used { };\n\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1035
        "/*! Super classe que deriva de várias classes */\n"
1036 1037 1038
        "class Inherited : public PublicBase,\n"
        "                  protected ProtectedBase,\n"
        "                  private PrivateBase,\n"
1039 1040
        "                  public Undocumented,\n"
        "                  public Templ<int>\n"
1041 1042 1043 1044 1045
        "{\n"
        "  private:\n"
        "    Used *m_usedClass;\n"
        "};\n"
        "\\endcode\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1046
        "Isto irá gerar o seguinte gráfo:"
1047
        "<p><center><img src=\"graph_legend."+Config_getEnum("DOT_IMAGE_FORMAT")+"\"></center>\n"
1048
        "<p>\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1049
        "As caixas no grafo anterior têm as seguintes interpretações:\n"
1050 1051 1052 1053
        "<ul>\n"
        "<li>Uma caixa inteiramente preta representa a estrutura ou a classe para "
        "a qual o grafo foi gerado.\n"
        "<li>Uma caixa com borda preta representa uma estrutura ou classe documentada.\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1054
        "<li>Uma caixa com borda cinzenta representa uma estrutura ou classe não documentada.\n"
1055
        "<li>Uma caixa com borda vermelha representa uma estrutura ou classe documentada onde "
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1056 1057
        "nem todas as relações de herança/encapsulamento são exibidas. Um grafo é truncado "
        "quando não cabe na sua área predefinida.\n"
1058
        "</ul>\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1059
        "As setas têm a seguinte interpretação:\n"
1060
        "<ul>\n"
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1061 1062 1063 1064 1065 1066 1067
        "<li>Uma seta azul escura representa uma relação de herança pública entre duas classes.\n"
        "<li>Uma seta verde escura representa uma relação de herança protegida.\n"
        "<li>Uma seta vermelha escura representa uma relação de herança privada.\n"
        "<li>Uma seta rocha em tracejado representa uma relação de encapsulamento ou uso por "
        "parte de outra classe. A legenda da seta contém o nome da variável ou variáveis da "
        "relação. A seta aponta da classe que estabelece a relação para a classe ou estrutura que "
        "é acessível.\n"
1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097
        "</ul>\n";
    }
    /*! text for the link to the legend page */
    virtual QCString trLegend()
    {
      return "legenda";
    }

//////////////////////////////////////////////////////////////////////////
// new since 1.2.0
//////////////////////////////////////////////////////////////////////////

    /*! Used as a marker that is put before a test item */
    virtual QCString trTest()
    {
      return "Teste";
    }
    /*! Used as the header of the test list */
    virtual QCString trTestList()
    {
      return "Lista de teste";
    }

//////////////////////////////////////////////////////////////////////////
// new since 1.2.1
//////////////////////////////////////////////////////////////////////////

    /*! Used as a section header for KDE-2 IDL methods */
    virtual QCString trDCOPMethods()
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1098
      return "Métodos DCOP";
1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112
    }

//////////////////////////////////////////////////////////////////////////
// new since 1.2.2
//////////////////////////////////////////////////////////////////////////

    /*! Used as a section header for IDL properties */
    virtual QCString trProperties()
    {
      return "Propriedades";
    }
    /*! Used as a section header for IDL property documentation */
    virtual QCString trPropertyDocumentation()
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1113
      return "Documentação das propriedades";
1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144
    }

//////////////////////////////////////////////////////////////////////////
// new since 1.2.4
//////////////////////////////////////////////////////////////////////////

    /*! Used for Java classes in the summary section of Java packages */
    virtual QCString trClasses()
    {
      if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
      {
        return "Estruturas de dados";
      }
      else
      {
        return "Classes";
      }
    }
    /*! Used as the title of a Java package */
    virtual QCString trPackage(const char *name)
    {
      return (QCString)"Pacote "+name;
    }
    /*! Title of the package index page */
    virtual QCString trPackageList()
    {
      return "Lista de pacotes";
    }
    /*! The description of the package index page */
    virtual QCString trPackageListDescription()
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1145
      return "Lista de pacotes com uma breve descrição (se disponível):";
1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218
    }
    /*! The link name in the Quick links header for each page */
    virtual QCString trPackages()
    {
      return "Pacotes";
    }
    /*! Text shown before a multi-line define */
    virtual QCString trDefineValue()
    {
      return "Valor:";
    }

//////////////////////////////////////////////////////////////////////////
// new since 1.2.5
//////////////////////////////////////////////////////////////////////////

    /*! Used as a marker that is put before a \\bug item */
    virtual QCString trBug()
    {
      return "Bug";
    }
    /*! Used as the header of the bug list */
    virtual QCString trBugList()
    {
      return "Lista de Bugs";
    }

//////////////////////////////////////////////////////////////////////////
// new since 1.2.6
//////////////////////////////////////////////////////////////////////////

    /*! Used as ansicpg for RTF file
     *
     * The following table shows the correlation of Charset name, Charset Value and
     * <pre>
     * Codepage number:
     * Charset Name       Charset Value(hex)  Codepage number
     * ------------------------------------------------------
     * DEFAULT_CHARSET           1 (x01)
     * SYMBOL_CHARSET            2 (x02)
     * OEM_CHARSET             255 (xFF)
     * ANSI_CHARSET              0 (x00)            1252
     * RUSSIAN_CHARSET         204 (xCC)            1251
     * EE_CHARSET              238 (xEE)            1250
     * GREEK_CHARSET           161 (xA1)            1253
     * TURKISH_CHARSET         162 (xA2)            1254
     * BALTIC_CHARSET          186 (xBA)            1257
     * HEBREW_CHARSET          177 (xB1)            1255
     * ARABIC _CHARSET         178 (xB2)            1256
     * SHIFTJIS_CHARSET        128 (x80)             932
     * HANGEUL_CHARSET         129 (x81)             949
     * GB2313_CHARSET          134 (x86)             936
     * CHINESEBIG5_CHARSET     136 (x88)             950
     * </pre>
     *
     */
    virtual QCString trRTFansicp()
    {
      return "1252";
    }


    /*! Used as ansicpg for RTF fcharset
     *  \see trRTFansicp() for a table of possible values.
     */
    virtual QCString trRTFCharSet()
    {
      return "0";
    }

    /*! Used as header RTF general index */
    virtual QCString trRTFGeneralIndex()
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1219
      return "Índice";
1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271
    }

    /*! This is used for translation of the word that will possibly
     *  be followed by a single name or by a list of names
     *  of the category.
     */
    virtual QCString trClass(bool first_capital, bool singular)
    {
      QCString result((first_capital ? "Classe" : "classe"));
      if (!singular)  result+="s";
      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
     *  of the category.
     */
    virtual QCString trFile(bool first_capital, bool singular)
    {
      QCString result((first_capital ? "Ficheiro" : "ficheiro"));
      if (!singular)  result+="s";
      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
     *  of the category.
     */
    virtual QCString trNamespace(bool first_capital, bool singular)
    {
      QCString result((first_capital ? "Namespace" : "namespace"));
      if (!singular)  result+="s";
      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
     *  of the category.
     */
    virtual QCString trGroup(bool first_capital, bool singular)
    {
      QCString result((first_capital ? "Grupo" : "grupo"));
      if (!singular)  result+="s";
      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
     *  of the category.
     */
    virtual QCString trPage(bool first_capital, bool singular)
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1272
      QCString result((first_capital ? "Página" : "página"));
1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311
      if (!singular)  result+="s";
      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
     *  of the category.
     */
    virtual QCString trMember(bool first_capital, bool singular)
    {
      QCString result((first_capital ? "Membro" : "membro"));
      if (!singular)  result+="s";
      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
     *  of the category.
     */
    virtual QCString trGlobal(bool first_capital, bool singular)
    {
      QCString result((first_capital ? "Globa" : "globa"));
      result+= singular? "l" : "ais";
      return result;
    }

//////////////////////////////////////////////////////////////////////////
// new since 1.2.7
//////////////////////////////////////////////////////////////////////////

    /*! This text is generated when the \\author command is used and
     *  for the author section in man pages. */
    virtual QCString trAuthor(bool first_capital, bool singular)
    {
      QCString result((first_capital ? "Autor" : "autor"));
      if (!singular) result+="es";
      return result;
    }

1312 1313 1314 1315 1316 1317 1318 1319
//////////////////////////////////////////////////////////////////////////
// new since 1.2.11
//////////////////////////////////////////////////////////////////////////

    /*! This text is put before the list of members referenced by a member
     */
    virtual QCString trReferences()
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1320
      return "Referências";
1321 1322
    }

1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342
//////////////////////////////////////////////////////////////////////////
// new since 1.2.13
//////////////////////////////////////////////////////////////////////////

    /*! used in member documentation blocks to produce a list of 
     *  members that are implemented by this one.
     */
    virtual QCString trImplementedFromList(int numEntries)
    {
      return "Implementa "+trWriteList(numEntries)+".";
    }

    /*! used in member documentation blocks to produce a list of
     *  all members that implement this abstract member.
     */
    virtual QCString trImplementedInList(int numEntries)
    {
      return "Implementado em "+trWriteList(numEntries)+".";
    }

Dimitri van Heesch's avatar
Dimitri van Heesch committed
1343 1344 1345 1346 1347 1348 1349 1350 1351
//////////////////////////////////////////////////////////////////////////
// new since 1.2.16
//////////////////////////////////////////////////////////////////////////

    /*! used in RTF documentation as a heading for the Table
     *  of Contents.
     */
    virtual QCString trRTFTableOfContents()
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1352
      return "Índice";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1353 1354
    }

1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366
//////////////////////////////////////////////////////////////////////////
// new since 1.2.17
//////////////////////////////////////////////////////////////////////////

    /*! Used as the header of the list of item that have been
     *  flagged deprecated
     */
    virtual QCString trDeprecatedList()
    {
      return "Lista de Deprecados";
    }

Dimitri van Heesch's avatar
Dimitri van Heesch committed
1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380
//////////////////////////////////////////////////////////////////////////
// new since 1.2.18
//////////////////////////////////////////////////////////////////////////

    /*! Used as a header for declaration section of the events found in 
     * a C# program
     */
    virtual QCString trEvents()
    {
      return "Eventos";
    }
    /*! Header used for the documentation section of a class' events. */
    virtual QCString trEventDocumentation()
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1381
      return "Documentação dos eventos";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398
    }

//////////////////////////////////////////////////////////////////////////
// new since 1.3
//////////////////////////////////////////////////////////////////////////

    /*! Used as a heading for a list of Java class types with package scope.
     */
    virtual QCString trPackageTypes()
    { 
      return "Tipos do Pacote";
    }
    /*! Used as a heading for a list of Java class functions with package 
     * scope. 
     */
    virtual QCString trPackageMembers()
    { 
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1399
      return "Funções do Pacote";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1400 1401 1402 1403 1404 1405
    }
    /*! Used as a heading for a list of static Java class functions with 
     *  package scope.
     */
    virtual QCString trStaticPackageMembers()
    { 
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1406
      return "Funções Estáticas do Pacote";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419
    }
    /*! Used as a heading for a list of Java class variables with package 
     * scope.
     */
    virtual QCString trPackageAttribs()
    { 
      return "Atributos do Pacote";
    }
    /*! Used as a heading for a list of static Java class variables with 
     * package scope.
     */
    virtual QCString trStaticPackageAttribs()
    { 
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1420
      return "Atributos Estáticos do Pacote";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436
    }
    
//////////////////////////////////////////////////////////////////////////
// new since 1.3.1
//////////////////////////////////////////////////////////////////////////

    /*! Used in the quick index of a class/file/namespace member list page 
     *  to link to the unfiltered list of all members.
     */
    virtual QCString trAll()
    {
      return "Tudo";
    }
    /*! Put in front of the call graph for a function. */
    virtual QCString trCallGraph()
    {
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677
      return "Grafo de chamadas desta função:";
    }
    
//////////////////////////////////////////////////////////////////////////
// new since 1.3.3 - Based on the Brazilian Portuguese Translation
//////////////////////////////////////////////////////////////////////////

    /*! When the search engine is enabled this text is put in the header
     *  of each page before the field where one can enter the text to search
     *  for.
     */
    virtual QCString trSearchForIndex()
    {
      return "Procurar por";
    }
    /*! This string is used as the title for the page listing the search
     *  results.
     */
    virtual QCString trSearchResultsTitle()
    {
      return "Resultado da Busca";
    }
    /*! This string is put just before listing the search results. The
     *  text can be different depending on the number of documents found.
     *  Inside the text you can put the special marker $num to insert
     *  the number representing the actual number of search results.
     *  The @a numDocuments parameter can be either 0, 1 or 2, where the
     *  value 2 represents 2 or more matches. HTML markup is allowed inside
     *  the returned string.
     */
    virtual QCString trSearchResults(int numDocuments)
    {
      if (numDocuments==0)
      {
        return "Nenhum documento foi encontrado.";
      }
      else if (numDocuments==1)
      {
        return "Apenas <b>1</b> documento foi encontrado.";
      }
      else
      {
        return "<b>$num</b> documentos encontrados. "
               "Os melhores resultados vem primeiro.";
      }
    }
    /*! This string is put before the list of matched words, for each search
     *  result. What follows is the list of words that matched the query.
     */
    virtual QCString trSearchMatches()
    {
      return "Resultados:";
    }
    
//////////////////////////////////////////////////////////////////////////
// new since 1.3.8
//////////////////////////////////////////////////////////////////////////

    /*! This is used in HTML as the title of page with source code for file filename
     */
    virtual QCString trSourceFile(QCString& filename)
    {
      return  "Código-Fonte de " + filename;
    }

//////////////////////////////////////////////////////////////////////////
// new since 1.3.9
//////////////////////////////////////////////////////////////////////////

    /*! This is used as the name of the chapter containing the directory
     *  hierarchy.
     */
    virtual QCString trDirIndex()
    { return "Hierarquia de Diretórios"; }

    /*! This is used as the name of the chapter containing the documentation
     *  of the directories.
     */
    virtual QCString trDirDocumentation()
    { return "Documentação do Directório"; }

    /*! This is used as the title of the directory index and also in the
     *  Quick links of a HTML page, to link to the directory hierarchy.
     */
    virtual QCString trDirectories()
    { return "Diretórios"; }

    /*! This returns a sentences that introduces the directory hierarchy. 
     *  and the fact that it is sorted alphabetically per level
     */
    virtual QCString trDirDescription()
    { return "Esta Hierarquia de Diretórios está parcialmente ordenada (ordem alfabética)"; }

    /*! This returns the title of a directory page. The name of the
     *  directory is passed via \a dirName.
     */
    virtual QCString trDirReference(const char *dirName)
    {
        QCString result = "Referência do diretório ";
     	result += dirName;
     	return result;
    }

    /*! This returns the word directory with or without starting capital
     *  (\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; 
    }
//////////////////////////////////////////////////////////////////////////
// new since 1.4.1
//////////////////////////////////////////////////////////////////////////

    /*! This text is added to the documentation when the \\overload command
     *  is used for a overloaded function.
     */
    virtual QCString trOverloadText()
    {
       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
//////////////////////////////////////////////////////////////////////////

    /*! This is used to introduce a caller (or called-by) graph */
    virtual QCString trCallerGraph()
    {
      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 
     *  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). */    
    virtual QCString trCompoundListFortran()
    { return "Lista de Tipos de Dados"; }

    /*! This is put above each page as a link to all members of compounds (Fortran). */
    virtual QCString trCompoundMembersFortran()
    { return "Campos de Dados"; }

    /*! This is an introduction to the annotated compound list (Fortran). */
    virtual QCString trCompoundListDescriptionFortran()
    { return "Aqui estão os tipos de dados com descrições resumidas:"; }

    /*! This is an introduction to the page with all data types (Fortran). */
    virtual QCString trCompoundMembersDescriptionFortran(bool extractAll)
    {
      QCString result="Esta é a lista de todos os membros ";
      if (!extractAll) result+="documentados ";
      result+="dos tipos de dados com links para ";
      if (extractAll) 
      {
        result+="a documentação dos tipos de dados para cada membro:";
      }
      else 
      {
        result+="os tipos de dados a que pertencem:";
      }
      return result;
    }

    /*! This is used in LaTeX as the title of the chapter with the 
     * annotated compound index (Fortran).
     */
    virtual QCString trCompoundIndexFortran()
    { return "Índice de Tipos de Dados"; }

    /*! This is used in LaTeX as the title of the chapter containing
     *  the documentation of all data types (Fortran).
     */
    virtual QCString trTypeDocumentation()
    { return "Documentação dos Tipos de Dados"; }

    /*! 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 
     *  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 
     *  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"; }

    /*! used as an introduction to the modules list (Fortran) */
    virtual QCString trModulesListDescription(bool extractAll)
    {
      QCString result="Esta é a lista de todos os módulos ";
      if (!extractAll) result+="documentados ";
      result+="com descrições resumidas:";
      return result;
    }

    /*! used as the title of the HTML page of a module/type (Fortran) */
    virtual QCString trCompoundReferenceFortran(const char *clName,
                                    ClassDef::CompoundType compType,
                                    bool isTemplate)
    {
      QCString result = (QCString)"Referência ";

      if (isTemplate) result+="da Template ";
      
      switch(compType)
      {
        case ClassDef::Class:      result+="do Modulo "; break;
        case ClassDef::Struct:     result+="do Tipo "; break;
        case ClassDef::Union:      result+="da União "; break;
        case ClassDef::Interface:  result+="da Interface "; break;
        case ClassDef::Protocol:   result+="do Protocolo "; break;
        case ClassDef::Category:   result+="da Categoria "; break;
        case ClassDef::Exception:  result+="da Exceção "; break;
1678
        default: break;
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745
      }
      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;        
      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) 
      {
        result+="a documentação dos módulos para cada membro:";
      }
      else 
      {
        result+="os módulos a que pertencem:";
      }
      return result;
    }

    /*! 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 
     *  of the category.
     */
    virtual QCString trModule(bool first_capital, bool singular)
    {       
      QCString result((first_capital ? "Modulo" : "modulo"));
      if (!singular)  result+="s";
      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.
     */
    virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType,
        bool single)
    { // here s is one of " Module", " Struct" or " Union"
      // single is true implies a single file
      QCString result=(QCString)"A documentação para ";
      switch(compType)
      {
        case ClassDef::Class:      result+="este modulo "; break;
        case ClassDef::Struct:     result+="este tipo "; break;
        case ClassDef::Union:      result+="esta união "; break;
        case ClassDef::Interface:  result+="esta interface "; break;
        case ClassDef::Protocol:   result+="esto protocolo "; break;
        case ClassDef::Category:   result+="esta categoria "; break;
        case ClassDef::Exception:  result+="esta exceção "; break;
1746
        default: break;
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887
      }
      
      result+=" foi gerada a partir do";
      if (single) 
    	result+=" seguinte ficheiro:";
      else
    	result+="s seguintes ficheiros:";
      
      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 
     *  of the category.
     */
    virtual QCString trType(bool first_capital, bool singular)
    { 
      QCString result((first_capital ? "Tipo" : "tipo"));
      if (!singular)  result+="s";
      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 
     *  of the category.
     */
    virtual QCString trSubprogram(bool first_capital, bool singular)
    { 
      QCString result((first_capital ? "Subprograma" : "subprograma"));
      if (!singular)  result+="s";
      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)
//////////////////////////////////////////////////////////////////////////

    /*! directory relation for \a name
     */
    virtual QCString trDirRelation(const char *name)
    {
      return "Relação " + QCString(name);
    }

    /*! Loading message shown when loading search results */
    virtual QCString trLoading()
    {
      return "Carregando...";
    }

    /*! Label used for search results in the global namespace */
    virtual QCString trGlobalNamespace()
    {
      return "Namespace global";
    }

    /*! Message shown while searching */
    virtual QCString trSearching()
    {
      return "Procurando...";
    }

    /*! Text shown when no search results are found */
    virtual QCString trNoMatches()
    {
      return "Nenhuma entrada encontrada";
    }

//////////////////////////////////////////////////////////////////////////
// new since 1.6.3 (missing items for the directory pages)
//////////////////////////////////////////////////////////////////////////

    /*! introduction text for the directory dependency graph */
    virtual QCString trDirDependency(const char *name)
    {
      return (QCString)"Grafo de dependência de diretórios para " + name;
    }

    /*! when clicking a directory dependency label, a page with a
     *  table is shown. The heading for the first column mentions the
     *  source file that has a relation to another file.
     */
    virtual QCString trFileIn(const char *name)
    {
      return (QCString)"Ficheiro em "+name;
    }

    /*! when clicking a directory dependency label, a page with a
     *  table is shown. The heading for the second column mentions the
     *  destination file that is included.
     */
    virtual QCString trIncludesFileIn(const char *name)
    {
      return (QCString)"Inclui ficheiro em "+name;
    }

    /** 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
     *  @param dayOfWeek Day of the week: 1=Monday..7=Sunday
     *  @param hour Hour of the day: 0..23
     *  @param minutes Minutes in the hour: 0..59
     *  @param seconds Seconds within the minute: 0..59
     *  @param includeTime Include time in the result string?
     */
    virtual QCString trDateTime(int year,int month,int day,int dayOfWeek,
                                int hour,int minutes,int seconds,
                                bool includeTime)
    {
      static const char *days[]   = { "Segunda","Terça","Quarta","Quinta","Sexta","Sábado","Domingo" };
      static const char *months[] = { "Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro" };
      QCString sdate;
      sdate.sprintf("%s, %d de %s de %d",days[dayOfWeek-1],day,months[month-1],year);
      if (includeTime)
      {
        QCString stime;
        stime.sprintf(" %.2d:%.2d:%.2d",hour,minutes,seconds);
        sdate+=stime;
      }
      return sdate;
    }
    
//////////////////////////////////////////////////////////////////////////
// new since 1.7.5
//////////////////////////////////////////////////////////////////////////

    /*! Header for the page with bibliographic citations */
    virtual QCString trCiteReferences()
    { return "Referências Bibliográficas"; }

    /*! Text for copyright paragraph */
    virtual QCString trCopyright()
    {
      // Note: I will left it as is because "Direitos de autor" may not fit
      // in the text.
      return "Copyright";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1888 1889
    }

Dimitri van Heesch's avatar
Dimitri van Heesch committed
1890 1891 1892
    /*! Header for the graph showing the directory dependencies */
    virtual QCString trDirDepGraph(const char *name)
    { return QCString("Grafo de dependências do directório ")+name+":"; }       
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1893
};
1894

Dimitri van Heesch's avatar
Dimitri van Heesch committed
1895
#endif