translator_br.h 61.7 KB
Newer Older
1
/******************************************************************************
Dimitri van Heesch's avatar
Dimitri van Heesch committed
2
 * Copyright (C) 1997-2013 by Dimitri van Heesch.
3 4 5 6 7 8 9
 *
 * 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.
 *
10
 * Documents produced by Doxygen are derivative workns derived from the
11 12
 * input used in their production; they are not affected by this license.
 *
13
 * Brazilian Portuguese translation version 20100531
14
 *    Maintainer: Fabio "FJTC" Jun Takada Chino <jun-chino at uol.com.br>
15
 *    Thanks to Jorge Ramos, Fernando Carijo and others for their contributions.
16 17
 *
 * History:
Dimitri van Heesch's avatar
Dimitri van Heesch committed
18 19
 *   20110628:
 *	- Updated to 1.7.5;
20 21
 *   20100531:
 *	- Updated to 1.6.3;
22 23 24 25
 *   20091218:
 *      - Updated to 1.6.1;
 *      - Copyright year updated;
 *      - Translation updates suggested by Fernando Carijó added;
26 27
 *   20080709:
 *	- References to MAX_DOT_GRAPH_HEIGHT removed from trLegendDocs().
Dimitri van Heesch's avatar
Dimitri van Heesch committed
28 29
 *   20080206:
 *      - Method trTypeContraints() renamed to trTypeConstraints().
30
 *   20071216:
Dimitri van Heesch's avatar
Dimitri van Heesch committed
31
 * 	- New methods since 1.5.4 updated. 
32
 *   Previous history removed from this version.
33 34 35 36
 */
#ifndef TRANSLATOR_BR_H
#define TRANSLATOR_BR_H

37
class TranslatorBrazilian : public TranslatorAdapter_1_8_0
38 39
{
  public:
40

41
    // --- Language control methods -------------------
42 43 44 45 46 47 48 49 50 51

    /*! Used for identification of the language. May resemble
     * the string returned by latexBabelPackage(), but it is not used
     * for the same purpose. The identification should not be translated.
     * It should be replaced by the name of the language in English
     * (e.g. Czech, Japanese, Russian, etc.). It should be equal to
     * the identification in language.h.
     */
    virtual QCString idLanguage()
    {
52
      return "brazil";
53 54 55 56 57 58 59 60 61
    }

    /*! Used to get the command(s) for the language support. This method
     *  was designed for languages which do not prefer babel package.
     *  If this methods returns empty string, then the latexBabelPackage()
     *  method is used to generate the command for using the babel package.
     */
    virtual QCString latexLanguageSupportCommand()
    {
62
      return "\\usepackage[brazil]{babel}";
63 64 65 66 67
    }

    /*! return the language charset. This will be used for the HTML output */
    virtual QCString idLanguageCharset()
    {
68
      return "utf-8";
69 70 71
    }

    // --- Language translation methods -------------------
72 73

    /*! used in the compound documentation before a list of related functions. */
74
    virtual QCString trRelatedFunctions()
75
    { return "Funções Relacionadas"; }
76 77

    /*! subscript for the related functions. */
78
    virtual QCString trRelatedSubscript()
79
    { return "(Note que estas não são funções membros.)"; }
80 81

    /*! header that is put before the detailed description of files, classes and namespaces. */
82
    virtual QCString trDetailedDescription()
83
    { return "Descrição Detalhada"; }
84 85

    /*! header that is put before the list of typedefs. */
86
    virtual QCString trMemberTypedefDocumentation()
87
    { return "Definições de Tipos"; }
88 89

    /*! header that is put before the list of enumerations. */
90
    virtual QCString trMemberEnumerationDocumentation()
91
    { return "Enumerações"; }
92 93

    /*! header that is put before the list of member functions. */
94
    virtual QCString trMemberFunctionDocumentation()
95
    { return "Métodos"; }
96 97

    /*! header that is put before the list of member attributes. */
98 99 100 101
    virtual QCString trMemberDataDocumentation()
    {
      if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
      {
102
        return "Campos";
103 104 105
      }
      else
      {
106
        return "Atributos";
107 108
      }
    }
109 110

    /*! this is the text of a link put after brief descriptions. */
111
    virtual QCString trMore()
112 113 114
    { return "Mais..."; }

    /*! put in the class documentation */
115
    virtual QCString trListOfAllMembers()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
116
    { return "Lista de todos os Membros"; }
117 118

    /*! used as the title of the "list of all members" page of a class */
119
    virtual QCString trMemberList()
120
    { return "Lista dos Membros"; }
121 122

    /*! this is the first part of a sentence that is followed by a class name */
123
    virtual QCString trThisIsTheListOfAllMembers()
124
    { return "Esta é a lista de todos os membros de "; }
125 126

    /*! this is the remainder of the sentence after the class name */
127
    virtual QCString trIncludingInheritedMembers()
128
    { return ", incluindo os membros herdados."; }
129 130 131 132

    /*! this is put at the author sections at the bottom of man pages.
     *  parameter s is name of the project name.
     */
133
    virtual QCString trGeneratedAutomatically(const char *s)
134 135
    { QCString result="Gerado automaticamente por Doxygen";
      if (s) result+=(QCString)" para "+s;
136
      result+=" a partir de seu código-fonte.";
137 138 139 140
      return result;
    }

    /*! put after an enum name in the list of all members */
141
    virtual QCString trEnumName()
142
    { return "[Enumeração]"; }
143 144

    /*! put after an enum value in the list of all members */
145
    virtual QCString trEnumValue()
146
    { return "[Valor enumerado]"; }
147 148

    /*! put after an undocumented member in the list of all members */
149
    virtual QCString trDefinedIn()
150
    { return "definido(a) em"; }
151 152 153 154

    // quick reference sections

    /*! This is put above each page as a link to the list of all groups of
155
     *  compounds or files (see the \\group command).
156
     */
157
    virtual QCString trModules()
158
    { return "Módulos"; }
159 160

    /*! This is put above each page as a link to the class hierarchy */
161 162
    virtual QCString trClassHierarchy()
    { return "Hierarquia de Classes"; }
163 164

    /*! This is put above each page as a link to the list of annotated classes */
165 166 167 168
    virtual QCString trCompoundList()
    {
      if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
      {
169
        return "Estruturas de Dados";
170 171 172 173 174 175
      }
      else
      {
        return "Lista de Componentes";
      }
    }
176

177 178 179
    /*! This is put above each page as a link to the list of documented files */
    virtual QCString trFileList()
    { return "Lista de Arquivos"; }
180 181

    /*! This is put above each page as a link to all members of compounds. */
182 183 184 185 186 187 188 189 190 191 192
    virtual QCString trCompoundMembers()
    {
      if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
      {
        return "Campos de Dados";
      }
      else
      {
        return "Componentes Membros";
      }
    }
193 194

    /*! This is put above each page as a link to all members of files. */
195 196 197 198 199 200 201 202 203 204 205
    virtual QCString trFileMembers()
    {
      if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
      {
        return "Globais";
      }
      else
      {
        return "Arquivos Membros";
      }
    }
206 207

    /*! This is put above each page as a link to all related pages. */
208
    virtual QCString trRelatedPages()
209
    { return "Páginas relacionadas"; }
210 211

    /*! This is put above each page as a link to all examples. */
212
    virtual QCString trExamples()
213 214 215
    { return "Exemplos"; }

    /*! This is put above each page as a link to the search engine. */
216 217
    virtual QCString trSearch()
    { return "Busca"; }
218 219

    /*! This is an introduction to the class hierarchy. */
220
    virtual QCString trClassHierarchyDescription()
221
    { return "Esta lista de hierarquias está parcialmente ordenada (ordem alfabética):"; }
222 223

    /*! This is an introduction to the list with all files. */
224
    virtual QCString trFileListDescription(bool extractAll)
225
    {
226
      QCString result="Esta é a lista de todos os arquivos ";
227
      if (!extractAll) result+="documentados ";
228
      result+="e suas respectivas descrições:";
229 230 231 232
      return result;
    }

    /*! This is an introduction to the annotated compound list. */
233 234 235 236 237
    virtual QCString trCompoundListDescription()
    {

      if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
      {
238
        return "Aqui estão as estruturas de dados, uniões e suas respectivas descrições:";
239 240 241
      }
      else
      {
242
        return "Aqui estão as classes, estruturas, uniões e interfaces e suas respectivas descrições:";
243
      }
244 245 246
    }

    /*! This is an introduction to the page with all class members. */
247
    virtual QCString trCompoundMembersDescription(bool extractAll)
248
    {
249
      QCString result="Esta é a lista de ";
250 251 252
      
      if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
      {
253
        result+="todas as estruturas e campos de uniões ";
254 255 256 257 258 259 260 261 262 263 264 265 266
        if (!extractAll)
        {
          result+="documentas";
        }
      }
      else
      {
        result+="todos os membros de classes ";
        if (!extractAll)
        {
          result+="documentos";
        }
      }
267
      result+=" com referências para ";
268 269 270 271
      if (!extractAll)
      {
        if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
        {
272
          result+="a documentação da estrutura/união de cada campo:";
273 274 275
        }
        else
        {
276
          result+="a documentação da classe de cada membro:";
277 278
        }
      }
279
      else
280 281 282
      {
        if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
        {
283
          result+="a estrutura/união a que pertencem:";
284 285 286 287 288 289
        }
        else
        {
          result+="a classe a que pertencem:";
        }
      }
290 291 292 293
      return result;
    }

    /*! This is an introduction to the page with all file members. */
294
    virtual QCString trFileMembersDescription(bool extractAll)
295
    {
296
      QCString result="Esta é a lista de ";
297 298
      if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
      {
299
        result+="todas as funções, variáveis, definições, enumerações e definições de tipos ";
300 301 302 303 304 305 306
        if (!extractAll) result+="documentadas ";
      }
      else
      {
        result+="todos os membros dos arquivos ";
        if (!extractAll) result+="documentados ";
      }
307
      result+="com referências para ";
308 309 310
      if (extractAll)
        result+="seus respectivos arquivos:";
      else
311
        result+="suas respectivas documentações:";
312 313 314 315
      return result;
    }

    /*! This is an introduction to the page with the list of all examples */
316
    virtual QCString trExamplesDescription()
317
    { return "Esta é a lista com todos os exemplos:"; }
318 319

    /*! This is an introduction to the page with the list of related pages */
320
    virtual QCString trRelatedPagesDescription()
321
    { return "Esta é a lista com toda a documentação relacionadas:"; }
322 323

    /*! This is an introduction to the page with the list of class/file groups */
324
    virtual QCString trModulesDescription()
325
    { return "Esta é a lista com todos os módulos:"; }
326 327

    /*! This is used in HTML as the title of index.html. */
328
    virtual QCString trDocumentation()
329
    { return "\nDocumentação"; }
330 331 332 333

    /*! This is used in LaTeX as the title of the chapter with the
     * index of all groups.
     */
334
    virtual QCString trModuleIndex()
335
    { return "Índice dos Módulos"; }
336 337 338 339

    /*! This is used in LaTeX as the title of the chapter with the
     * class hierarchy.
     */
340
    virtual QCString trHierarchicalIndex()
341
    { return "Índice Hierárquico"; }
342 343 344 345

    /*! This is used in LaTeX as the title of the chapter with the
     * annotated compound index.
     */
346 347 348 349
    virtual QCString trCompoundIndex()
    {
      if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
      {
350
        return "Índice das Estruturas de Dados";
351 352 353
      }
      else
      {
354
        return "Índice dos Componentes";
355 356
      }
    }
357 358 359 360

    /*! This is used in LaTeX as the title of the chapter with the
     * list of all files.
     */
361
    virtual QCString trFileIndex()
362
    { return "Índice dos Arquivos"; }
363 364 365 366

    /*! This is used in LaTeX as the title of the chapter containing
     *  the documentation of all groups.
     */
367
    virtual QCString trModuleDocumentation()
368
    { return "Módulos"; }
369 370 371 372

    /*! This is used in LaTeX as the title of the chapter containing
     *  the documentation of all classes, structs and unions.
     */
373
    virtual QCString trClassDocumentation()
374 375 376 377 378 379 380 381 382 383
    {
      if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
      {
        return "Estruturas";
      }
      else
      {
        return "Classes";
      }
    }
384 385 386 387

    /*! This is used in LaTeX as the title of the chapter containing
     *  the documentation of all files.
     */
388 389
    virtual QCString trFileDocumentation()
    { return "Arquivos"; }
390 391 392 393

    /*! This is used in LaTeX as the title of the chapter containing
     *  the documentation of all examples.
     */
394 395
    virtual QCString trExampleDocumentation()
    { return "Exemplos"; }
396 397 398 399

    /*! This is used in LaTeX as the title of the chapter containing
     *  the documentation of all related pages.
     */
400
    virtual QCString trPageDocumentation()
401
    { return "Documentação Relacionada"; }
402 403

    /*! This is used in LaTeX as the title of the document */
404
    virtual QCString trReferenceManual()
405
    { return "Guia de Referência"; }
406 407 408 409

    /*! This is used in the documentation of a file as a header before the
     *  list of defines
     */
410
    virtual QCString trDefines()
411
    { return "Definições e Macros"; }
412 413 414 415

    /*! This is used in the documentation of a file as a header before the
     *  list of function prototypes
     */
416
    virtual QCString trFuncProtos()
417
    { return "Protótipos de Funções"; }
418 419 420 421

    /*! This is used in the documentation of a file as a header before the
     *  list of typedefs
     */
422
    virtual QCString trTypedefs()
423
    { return "Definições de Tipos"; }
424 425 426 427

    /*! This is used in the documentation of a file as a header before the
     *  list of enumerations
     */
428
    virtual QCString trEnumerations()
429
    { return "Enumerações"; }
430 431 432 433

    /*! This is used in the documentation of a file as a header before the
     *  list of (global) functions
     */
434
    virtual QCString trFunctions()
435
    { return "Funções"; }
436 437 438 439

    /*! This is used in the documentation of a file as a header before the
     *  list of (global) variables
     */
440
    virtual QCString trVariables()
441
    { return "Variáveis"; }
442 443 444 445

    /*! This is used in the documentation of a file as a header before the
     *  list of (global) variables
     */
446
    virtual QCString trEnumerationValues()
447
    { return "Valores enumerados"; }
448 449 450 451

    /*! This is used in the documentation of a file before the list of
     *  documentation blocks for defines
     */
452
    virtual QCString trDefineDocumentation()
453
    { return "Definições e macros"; }
454 455 456 457

    /*! This is used in the documentation of a file/namespace before the list
     *  of documentation blocks for function prototypes
     */
458
    virtual QCString trFunctionPrototypeDocumentation()
459
    { return "Protótipos das funções"; }
460 461 462 463

    /*! This is used in the documentation of a file/namespace before the list
     *  of documentation blocks for typedefs
     */
464
    virtual QCString trTypedefDocumentation()
465
    { return "Definições dos tipos"; }
466 467 468 469

    /*! This is used in the documentation of a file/namespace before the list
     *  of documentation blocks for enumeration types
     */
470
    virtual QCString trEnumerationTypeDocumentation()
471
    { return "Enumerações"; }
472 473 474 475

    /*! This is used in the documentation of a file/namespace before the list
     *  of documentation blocks for functions
     */
476
    virtual QCString trFunctionDocumentation()
477
    { return "Funções"; }
478 479 480 481

    /*! This is used in the documentation of a file/namespace before the list
     *  of documentation blocks for variables
     */
482
    virtual QCString trVariableDocumentation()
483
    { return "Variáveis"; }
484 485 486 487

    /*! This is used in the documentation of a file/namespace/group before
     *  the list of links to documented compounds
     */
488 489 490 491 492 493 494 495 496 497 498
    virtual QCString trCompounds()
    {
      if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
      {
        return "Estruturas de Dados";
      }
      else
      {
        return "Componentes";
      }
    }
499 500 501 502

    /*! This is used in the standard footer of each page and indicates when
     *  the page was generated
     */
503
    virtual QCString trGeneratedAt(const char *date,const char *projName)
504
    {
505
      QCString result=(QCString)"Gerado em "+date;
506 507 508 509 510 511
      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.
     */
512
    virtual QCString trWrittenBy()
513 514 515 516 517
    {
      return "escrito por";
    }

    /*! this text is put before a class diagram */
518
    virtual QCString trClassDiagram(const char *clName)
519
    {
520
      return (QCString)"Diagrama de Hierarquia para "+clName+":";
521 522
    }

523 524
    /*! this text is generated when the \\internal command is used. */
    virtual QCString trForInternalUseOnly()
525 526
    { return "Apenas para uso interno."; }

527 528
    /*! this text is generated when the \\warning command is used. */
    virtual QCString trWarning()
529 530
    { return "Aviso"; }

531 532
    /*! this text is generated when the \\version command is used. */
    virtual QCString trVersion()
533
    { return "Versão"; }
534

535 536
    /*! this text is generated when the \\date command is used. */
    virtual QCString trDate()
537 538
    { return "Data"; }

539 540
    /*! this text is generated when the \\return command is used. */
    virtual QCString trReturns()
541 542
    { return "Retorna"; }

543 544
    /*! this text is generated when the \\sa command is used. */
    virtual QCString trSeeAlso()
545
    { return "Veja também"; }
546

547 548
    /*! this text is generated when the \\param command is used. */
    virtual QCString trParameters()
549
    { return "Parâmetros"; }
550

551 552
    /*! this text is generated when the \\exception command is used. */
    virtual QCString trExceptions()
553
    { return "Exceções"; }
554 555

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

559 560 561
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990307
//////////////////////////////////////////////////////////////////////////
562

563
    /*! used as the title of page containing all the index of all namespaces. */
564
    virtual QCString trNamespaceList()
565
    { return "Lista de Namespaces"; }
566 567 568 569

    /*! used as an introduction to the namespace list */
    virtual QCString trNamespaceListDescription(bool extractAll)
    {
570
      QCString result="Esta é a lista de todos os Namespaces ";
571
      if (!extractAll) result+="documentados ";
572
      result+="com suas respectivas descrições:";
573 574 575 576 577 578 579
      return result;
    }

    /*! used in the class documentation as a header before the list of all
     *  friends of a class
     */
    virtual QCString trFriends()
580
    { return "Amigas"; }
581 582 583 584 585 586 587 588 589

//////////////////////////////////////////////////////////////////////////
// new since 0.49-990405
//////////////////////////////////////////////////////////////////////////

    /*! used in the class documentation as a header before the list of all
     * related classes
     */
    virtual QCString trRelatedFunctionDocumentation()
590
    { return "Amigas e Funções Relacionadas"; }
591 592 593 594 595 596 597 598 599 600

//////////////////////////////////////////////////////////////////////////
// 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)
    {
601
      QCString result="Referência da";
602
      if (isTemplate) result+=" Template de";
603 604
      switch(compType)
      {
605 606
        case ClassDef::Class:      result+=" Classe "; break;
        case ClassDef::Struct:     result+=" Estrutura "; break;
607
        case ClassDef::Union:      result+=" União "; break;
608
        case ClassDef::Interface:  result+=" Interface "; break;
609 610
        case ClassDef::Protocol:   result+=" Protocolo "; break;
        case ClassDef::Category:   result+=" Categoria "; break;
611
        case ClassDef::Exception:  result+=" Exceção "; break;
612
        default: break;
613 614 615 616 617 618 619 620
      }
      result+=(QCString)clName;
      return result;
    }

    /*! used as the title of the HTML page of a file */
    virtual QCString trFileReference(const char *fileName)
    {
621
      QCString result = "Referência do Arquivo ";
622 623 624 625 626 627 628
      result += fileName;
      return result;
    }

    /*! used as the title of the HTML page of a namespace */
    virtual QCString trNamespaceReference(const char *namespaceName)
    {
629
      QCString result ="Refência do Namespace ";
630 631 632 633 634
      result += namespaceName;
      return result;
    }

    virtual QCString trPublicMembers()
635
    { return "Métodos Públicos"; }
636
    virtual QCString trPublicSlots()
637
    { return "Slots Públicos"; }
638
    virtual QCString trSignals()
639
    { return "Sinais"; }
640
    virtual QCString trStaticPublicMembers()
641
    { return "Métodos Públicos Estáticos"; }
642
    virtual QCString trProtectedMembers()
643
    { return "Métodos Protegidos"; }
644
    virtual QCString trProtectedSlots()
645
    { return "Slots Protegidos"; }
646
    virtual QCString trStaticProtectedMembers()
647
    { return "Métodos Protegidos Estáticos"; }
648
    virtual QCString trPrivateMembers()
649
    { return "Métodos Privados"; }
650
    virtual QCString trPrivateSlots()
651
    { return "Slots Privados"; }
652
    virtual QCString trStaticPrivateMembers()
653
    { return "Métodos Privados Estáticos"; }
654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673

    /*! 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
674
            result+=" e ";
675 676 677 678 679 680 681 682 683 684
        }
      }
      return result;
    }

    /*! used in class documentation to produce a list of base classes,
     *  if class diagrams are disabled.
     */
    virtual QCString trInheritsList(int numEntries)
    {
685
      return "Herdeiro de " + trWriteList(numEntries) + ".";
686 687 688 689 690 691 692
    }

    /*! used in class documentation to produce a list of super classes,
     *  if class diagrams are disabled.
     */
    virtual QCString trInheritedByList(int numEntries)
    {
693
      return "Superclasse de "+trWriteList(numEntries)+".";
694 695 696 697 698 699 700
    }

    /*! used in member documentation blocks to produce a list of
     *  members that are hidden by this one.
     */
    virtual QCString trReimplementedFromList(int numEntries)
    {
701
      return "Reimplementação de "+trWriteList(numEntries)+".";
702 703 704 705 706 707 708
    }

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

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

    /*! This is an introduction to the page with all namespace members */
    virtual QCString trNamespaceMemberDescription(bool extractAll)
    {
719
      QCString result="Esta é a lista com todos os membros do Namespace ";
720
      if (!extractAll) result+="documentados ";
721
      result+="com referências para ";
722
      if (extractAll)
723
        result+="a documentação de seus respectivos Namespaces:";
724 725
      else
        result+="os seus respectivos namespaces:";
726 727
      return result;
    }
728
    /*! This is used in LaTeX as the title of the chapter with the
729 730 731
     *  index of all namespaces.
     */
    virtual QCString trNamespaceIndex()
732
    { return "Namespaces"; }
733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760

    /*! This is used in LaTeX as the title of the chapter containing
     *  the documentation of all namespaces.
     */
    virtual QCString trNamespaceDocumentation()
    { return "Namespaces"; }

//////////////////////////////////////////////////////////////////////////
// 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
761
      QCString result=(QCString)"A documentação para esta ";
762 763
      switch(compType)
      {
764
        case ClassDef::Class:      result+="classe "; break;
765
        case ClassDef::Struct:     result+="estrutura "; break;
766
        case ClassDef::Union:      result+="união "; break;
767
        case ClassDef::Interface:  result+="interface "; break;
768 769
        case ClassDef::Protocol:   result+="protocolo "; break;
        case ClassDef::Category:   result+="categoria "; break;
770
        case ClassDef::Exception:  result+="exceção "; break;
771
        default: break;
772 773
      }
      result+=" foi gerada a partir ";
774
      if (single) result+="do seguinte arquivo:"; else result+="dos seguintes arquivos:";
775 776 777 778 779 780 781
      return result;
    }

    /*! This is in the (quick) index as a link to the alphabetical compound
     * list.
     */
    virtual QCString trAlphabeticalList()
782
    { return "Lista Alfabética"; }
783 784 785 786 787 788 789

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

    /*! This is used as the heading text for the retval command. */
    virtual QCString trReturnValues()
790
    { return "Valores Retornados"; }
791 792 793 794

    /*! This is in the (quick) index as a link to the main page (index.html)
     */
    virtual QCString trMainPage()
795
    { return "Página Principal"; }
796 797 798 799 800

    /*! 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()
801
    { return "pag."; }
802 803 804 805 806 807 808

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

    virtual QCString trDefinedAtLineInSourceFile()
    {
809
      return "Definição na linha @0 do arquivo @1.";
810 811 812
    }
    virtual QCString trDefinedInSourceFile()
    {
813
      return "Definição no arquivo @0.";
814 815 816 817 818 819 820 821
    }

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

    virtual QCString trDeprecated()
    {
822 823
      /*
      * This note is for brazilians only.
824
      * Esta é uma boa tradução para "deprecated"?
825
      */
826
      return "Descontinuado(a)";
827 828 829 830 831 832 833 834 835
    }

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

    /*! this text is put before a collaboration diagram */
    virtual QCString trCollaborationDiagram(const char *clName)
    {
836
      return (QCString)"Diagrama de colaboração para "+clName+":";
837 838 839 840
    }
    /*! this text is put before an include dependency graph */
    virtual QCString trInclDepGraph(const char *fName)
    {
841
      return (QCString)"Gráfico de dependência de inclusões para "+fName+":";
842 843 844 845
    }
    /*! header that is put before the list of constructor/destructors. */
    virtual QCString trConstructorDocumentation()
    {
846
      return "Construtores & Destrutores";
847 848 849 850
    }
    /*! Used in the file documentation to point to the corresponding sources. */
    virtual QCString trGotoSourceCode()
    {
851
      return "Vá para o código-fonte deste arquivo.";
852 853 854 855
    }
    /*! Used in the file sources to point to the corresponding documentation. */
    virtual QCString trGotoDocumentation()
    {
856
      return "Vá para a documentação deste arquivo.";
857
    }
858
    /*! Text for the \\pre command */
859 860
    virtual QCString trPrecondition()
    {
861
      return "Pré-Condição";
862
    }
863
    /*! Text for the \\post command */
864 865
    virtual QCString trPostcondition()
    {
866
      return "Pós-Condição";
867
    }
868
    /*! Text for the \\invariant command */
869 870
    virtual QCString trInvariant()
    {
871
      return "Invariante";
872 873 874 875
    }
    /*! Text shown before a multi-line variable/enum initialization */
    virtual QCString trInitialValue()
    {
876
      return "Valor Inicial:";
877 878 879 880
    }
    /*! Text used the source code in the file index */
    virtual QCString trCode()
    {
881
      return "código";
882 883 884
    }
    virtual QCString trGraphicalHierarchy()
    {
885
      return "Gráfico de Hierarquia de Classes";
886 887 888
    }
    virtual QCString trGotoGraphicalHierarchy()
    {
889
      return "Vá para o Gráfico de Hierarquia de Classes";
890 891 892
    }
    virtual QCString trGotoTextualHierarchy()
    {
893
      return "Vá para a Hierarquia de Classes (texto)";
894 895 896
    }
    virtual QCString trPageIndex()
    {
897
      return "Índice da Página";
898 899 900 901 902
    }

//////////////////////////////////////////////////////////////////////////
// new since 1.1.0
//////////////////////////////////////////////////////////////////////////
903

904 905
    virtual QCString trNote()
    {
906
      return "Observação";
907 908 909
    }
    virtual QCString trPublicTypes()
    {
910
      return "Tipos Públicos";
911 912 913
    }
    virtual QCString trPublicAttribs()
    {
914 915 916 917 918 919
      if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
      {
        return "Campos de Dados";
      }
      else
      {
920
        return "Atributos Públicos";
921
      }
922 923 924
    }
    virtual QCString trStaticPublicAttribs()
    {
925
      return "Atributos Estáticos Públicos";
926 927 928 929 930 931 932 933 934 935 936
    }
    virtual QCString trProtectedTypes()
    {
      return "Tipos Protegidos";
    }
    virtual QCString trProtectedAttribs()
    {
      return "Atributos Protegidos";
    }
    virtual QCString trStaticProtectedAttribs()
    {
937
      return "Atributos Estáticos Protegidos";
938 939 940 941 942 943 944 945 946 947 948
    }
    virtual QCString trPrivateTypes()
    {
      return "Tipos Privados";
    }
    virtual QCString trPrivateAttribs()
    {
      return "Atributos Privados";
    }
    virtual QCString trStaticPrivateAttribs()
    {
949
      return "Atributos Privados Estáticos";
950 951 952 953 954 955 956 957 958
    }

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

    /*! Used as a marker that is put before a todo item */
    virtual QCString trTodo()
    {
959
      return "Futuras Atividades";
960 961 962 963
    }
    /*! Used as the header of the todo list */
    virtual QCString trTodoList()
    {
964
      return "Lista de Futuras Atividades";
965 966 967 968 969 970 971 972 973 974 975 976
    }

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

    virtual QCString trReferencedBy()
    {
      return "Referenciado por";
    }
    virtual QCString trRemarks()
    {
977
      return "Anotações";
978 979 980
    }
    virtual QCString trAttention()
    {
981
      return "Atenção";
982 983 984
    }
    virtual QCString trInclByDepGraph()
    {
985
      return "Este grafo mostra quais arquivos estão direta ou indiretamente relacionados com este arquivo:";
986 987 988 989 990 991
    }
    virtual QCString trSince()
    {
      return "Desde";
    }

992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004
//////////////////////////////////////////////////////////////////////////
// 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
1005
        "Esta página explica como interpretar os grafos gerados pelo doxygen.<p>\n"
1006 1007 1008 1009 1010 1011 1012 1013 1014 1015
        "Considere o seguinte exemplo:\n"
        "\\code\n"
        "/*! Invisible class because of truncation */\n"
        "class Invisible { };\n\n"
        "/*! Truncated class, inheritance relation is hidden */\n"
        "class Truncated : public Invisible { };\n\n"
        "/* Class not documented with doxygen comments */\n"
        "class Undocumented { };\n\n"
        "/*! Class that is inherited using public inheritance */\n"
        "class PublicBase : public Truncated { };\n\n"
1016 1017
        "/*! A template class */\n"
        "template<class T> class Templ { };\n\n"
1018 1019 1020 1021 1022 1023 1024 1025 1026 1027
        "/*! Class that is inherited using protected inheritance */\n"
        "class ProtectedBase { };\n\n"
        "/*! Class that is inherited using private inheritance */\n"
        "class PrivateBase { };\n\n"
        "/*! Class that is used by the Inherited class */\n"
        "class Used { };\n\n"
        "/*! Super class that inherits a number of other classes */\n"
        "class Inherited : public PublicBase,\n"
        "                  protected ProtectedBase,\n"
        "                  private PrivateBase,\n"
1028 1029
        "                  public Undocumented,\n"
        "                  public Templ<int>\n"
1030 1031 1032 1033 1034
        "{\n"
        "  private:\n"
        "    Used *m_usedClass;\n"
        "};\n"
        "\\endcode\n"
1035
        "Isto irá gerar o seguinte gráfo:"
1036
        "<p><center><img src=\"graph_legend."+Config_getEnum("DOT_IMAGE_FORMAT")+"\"></center>\n"
1037
        "<p>\n"
1038
        "As caixas no grafo acima tem as seguintes interpretações:\n"
1039 1040 1041 1042
        "<ul>\n"
        "<li>Uma caixa inteiramente preta representa a estrutura ou a classe para qual "
        "o grafo foi gerado.\n"
        "<li>Uma caixa com bordas pretas denota uma estrutura ou classe documentada.\n"
1043
        "<li>Uma caixa com bordas cinzas denota uma estrutura ou classe não documentada.\n"
1044 1045

        "<li>Uma caixa com bordas vermelhas denota uma estrutura ou classe documentada para\n"
1046 1047
        "a qual nem todas as heranças ou componentes são mostradas no grafo. Um grafo é "
        "truncado quando este é maior que o tamanho especificado."
1048 1049 1050
        "</ul>\n"
        "As setas tem os seguintes significados:\n"
        "<ul>\n"
1051 1052 1053 1054 1055 1056 1057
        "<li>Uma seta azul escura é utilizada para denotar uma relação de herança "
        "pública entre duas classes.\n"
        "<li>Uma seta verde escura é utilizada para denotar uma herança protegida.\n"
        "<li>Uma seta vermelho escura é utilizada para denotar uma herança privada.\n"
        "<li>Uma seta púrpura pontilhada é usada se uma classe está contida ou é utilizada"
        "por outra classe. A seta é marcada com a(s) variável(eis) "
        "através das quais a classe ou estrutura apontada está acessível. \n"
1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077
        "</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()
    {
1078
      return "Lista de Testes";
1079 1080 1081 1082 1083 1084 1085 1086 1087
    }

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

    /*! Used as a section header for KDE-2 IDL methods */
    virtual QCString trDCOPMethods()
    {
1088
      return "Métodos DCOP";
1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134
    }

//////////////////////////////////////////////////////////////////////////
// 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()
    {
      return "Propriedades";
    }

//////////////////////////////////////////////////////////////////////////
// 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()
    {
1135
      return "Esta é a lista com os pacotes e suas respectivas descrições (se disponíveis):";
1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154
    }
    /*! 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()
    {
1155
      return "Problema";
1156 1157 1158 1159
    }
    /*! Used as the header of the bug list */
    virtual QCString trBugList()
    {
1160
      return "Lista de Problemas";
1161 1162
    }

Dimitri van Heesch's avatar
Dimitri van Heesch committed
1163 1164 1165 1166 1167 1168
//////////////////////////////////////////////////////////////////////////
// new since 1.2.6
//////////////////////////////////////////////////////////////////////////

    /*! Used as ansicpg for RTF file
     *
1169
     * The following table shows the correlation of Charset name, Charset Value and
Dimitri van Heesch's avatar
Dimitri van Heesch committed
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
     * <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()
    {
1209
      return "Índice";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 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
    }

    /*! 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 ? "Arquivo": "arquivo"));
      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)
    {
1262
      QCString result((first_capital ? "Página" : "página"));
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 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
      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"));
      if (!singular){
        result+="is";
      }else{
        result+="l";
      }
      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;
    }
1305 1306 1307 1308 1309 1310 1311 1312 1313

//////////////////////////////////////////////////////////////////////////
// new since 1.2.11
//////////////////////////////////////////////////////////////////////////

    /*! This text is put before the list of members referenced by a member
     */
    virtual QCString trReferences()
    {
1314
      return "Referências";
1315
    }
1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333

//////////////////////////////////////////////////////////////////////////
// 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 implementation this member.
     */
    virtual QCString trImplementedInList(int numEntries)
    {
1334
      return "Implementado por "+trWriteList(numEntries)+".";
1335 1336
    }

Dimitri van Heesch's avatar
Dimitri van Heesch committed
1337 1338 1339 1340 1341 1342 1343 1344 1345
//////////////////////////////////////////////////////////////////////////
// new since 1.2.16
//////////////////////////////////////////////////////////////////////////

    /*! used in RTF documentation as a heading for the Table
     *  of Contents.
     */
    virtual QCString trRTFTableOfContents()
    {
1346
      return "Conteúdo";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1347 1348
    }

1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360
//////////////////////////////////////////////////////////////////////////
// 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 Descontinuados(as)";
    }

1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377
//////////////////////////////////////////////////////////////////////////
// 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()
    {
      return "Eventos";
    }

1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393
//////////////////////////////////////////////////////////////////////////
// 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()
    {
1394
      return "Funções do Pacote";
1395 1396 1397 1398 1399 1400 1401
    }

    /*! Used as a heading for a list of static Java class functions with
     *  package scope.
     */
    virtual QCString trStaticPackageMembers()
    {
1402
      return "Funções Estáticas do Pacote";
1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417
    }

    /*! 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()
    {
1418
      return "Atributos Estáticos do Pacote";
1419 1420
    }

Dimitri van Heesch's avatar
Dimitri van Heesch committed
1421 1422 1423 1424
//////////////////////////////////////////////////////////////////////////
// new since 1.3.1
//////////////////////////////////////////////////////////////////////////

1425
    /*! Used in the quick index of a class/file/namespace member list page
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1426 1427 1428 1429 1430 1431 1432 1433 1434
     *  to link to the unfiltered list of all members.
     */
    virtual QCString trAll()
    {
      return "Todos";
    }
    /*! Put in front of the call graph for a function. */
    virtual QCString trCallGraph()
    {
1435
      return "Este é o diagrama das funções utilizadas por esta função:";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1436 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
//////////////////////////////////////////////////////////////////////////
// new since 1.3.3
//////////////////////////////////////////////////////////////////////////

    /*! 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:";
    }
1488 1489 1490 1491 1492 1493 1494 1495 1496
    
//////////////////////////////////////////////////////////////////////////
// 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)
    {
1497
      return  "Código-Fonte de " + filename;
1498
    }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1499 1500 1501 1502 1503 1504 1505 1506 1507

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

    /*! This is used as the name of the chapter containing the directory
     *  hierarchy.
     */
    virtual QCString trDirIndex()
1508
    { return "Hierarquia de Diretórios"; }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1509 1510 1511 1512 1513

    /*! This is used as the name of the chapter containing the documentation
     *  of the directories.
     */
    virtual QCString trDirDocumentation()
1514
    { return "Documentação do Directório"; }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1515 1516 1517 1518 1519

    /*! 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()
1520
    { return "Diretórios"; }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1521 1522 1523 1524 1525

    /*! This returns a sentences that introduces the directory hierarchy. 
     *  and the fact that it is sorted alphabetically per level
     */
    virtual QCString trDirDescription()
1526
    { return "Esta Hierarquia de Diretórios está parcialmente ordenada (ordem alfabética)"; }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1527 1528 1529 1530 1531 1532

    /*! This returns the title of a directory page. The name of the
     *  directory is passed via \a dirName.
     */
    virtual QCString trDirReference(const char *dirName)
    {
1533
        QCString result = "Referência do diretório ";
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1534 1535 1536 1537 1538 1539 1540 1541 1542
     	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)
    { 
1543
      QCString result((first_capital ? "Diretório" : "diretório"));
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1544 1545 1546
      if (!singular) result+="s";
      return result; 
    }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1547 1548 1549 1550 1551 1552 1553 1554 1555
//////////////////////////////////////////////////////////////////////////
// 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()
    {
1556 1557
       return "Este é um método provido por conveniência. "
       		"Ele difere do método acima apenas na lista de "
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1558 1559
       		"argumentos que devem ser utilizados.";
    }    
1560 1561 1562 1563 1564 1565 1566 1567

//////////////////////////////////////////////////////////////////////////
// new since 1.4.6
//////////////////////////////////////////////////////////////////////////

    /*! This is used to introduce a caller (or called-by) graph */
    virtual QCString trCallerGraph()
    {
1568
      return "Este é o diagrama das funções que utilizam esta função:";
1569 1570 1571 1572 1573 1574
    }

    /*! This is used in the documentation of a file/namespace before the list 
     *  of documentation blocks for enumeration values
     */
    virtual QCString trEnumerationValueDocumentation()
1575 1576
    { return "Documentação da enumeração"; }

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
//////////////////////////////////////////////////////////////////////////
// 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;
1676
        default: break;
1677 1678 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
      }
      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;
1744
        default: break;
1745 1746 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
      }
      
      result+=" foi gerada a partir do";
      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 
     *  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 */
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1777
    virtual QCString trTypeConstraints()
1778 1779 1780
    {
      return "Restrições do Tipo";
    }    
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

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

//////////////////////////////////////////////////////////////////////////
// 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)"Arquivo 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 arquivo 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;
    }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890
    
//////////////////////////////////////////////////////////////////////////
// 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 autorais" may not fit
      // in the text.
      return "Copyright";
    }

    /*! Header for the graph showing the directory dependencies */
    virtual QCString trDirDepGraph(const char *name)
    { return QCString("Grafo de dependências do diretório ")+name+":"; }    
1891 1892
};
#endif