Doxygen
Loading...
Searching...
No Matches
translator_pt.h
Go to the documentation of this file.
1/******************************************************************************
2 *
3 * Copyright (C) 1997-2026 by Dimitri van Heesch.
4 *
5 * Permission to use, copy, modify, and distribute this software and its
6 * documentation under the terms of the GNU General Public License is hereby
7 * granted. No representations are made about the suitability of this software
8 * for any purpose. It is provided "as is" without express or implied warranty.
9 * See the GNU General Public License for more details.
10 *
11 * Documents produced by Doxygen are derivative works derived from the
12 * input used in their production; they are not affected by this license.
13 *
14 * Portuguese translation version
15 * Maintainer (from 04/28/2011):
16 * Fabio "FJTC" Jun Takada Chino <fjtc at brokenbits dot com dot br>
17 * Maintainer (until 04/28/2011):
18 * Rui Godinho Lopes <rui at ruilopes.com>
19 * Collaborators:
20 * Ulisses Guedes <uli1958 at hotmail dot com>
21 *
22 * Notes about this translation:
23 * Since I'm Brazilian, this translation may be odd or even incorrect for
24 * Portuguese (from Portugal) speakers. If you find any errors, feel free
25 * to contact me.
26 *
27 * VERSION HISTORY
28 * ---------------
29 * History:
30 * 20260112:
31 * - Updated to 1.16.0;
32 * 20240204:
33 * - Updated to 1.11.0:
34 * 20231107:
35 * - Updated to 1.10.0:
36 * 20230817:
37 * - Updated to 1.9.8;
38 * - Small fixes to the method TranslatorPortuguese::trNamespaceMembersDescriptionTotal().
39 * 20230430:
40 * - Updated to 1.9.7;
41 * - Inclusion of translator_br.h's PortugueseTranslatorUtils namespace;
42 * - All entries of "Directório" has been replaced by "Diretório";
43 * 20220911:
44 * - Updated to 1.9.6;
45 * 20220525:
46 * - Updated to 1.9.4;
47 * 20211003:
48 * - Updated to 1.9.3;
49 * 20200112:
50 * - Updated to 1.9.1;
51 * 20190203:
52 * - Slice methods added;
53 * 20180612:
54 * - Updated to 1.8.15;
55 * 20131129:
56 * - Updated to 1.8.5;
57 * - Translation in the method trFileMembers() fixed;
58 * 20110628:
59 * - Updated to 1.7.5;
60 * - All obsolete methods have been removed;
61 * 20110428
62 * - Updated to doxygen 1.6.3 using the Brazilian Portuguese as the base.
63 * Requires revision by a Portuguese (Portugal native speaker);
64 * 007 09 june 2003
65 * ! Updated for doxygen v1.3.1
66 * 006 30 july 2002
67 * ! Updated for doxygen v1.2.17
68 * 005 10 july 2002
69 * ! Updated for doxygen v1.2.16
70 * 004 03 march 2002
71 * ! Updated for doxygen v1.2.14
72 * 003 23 november 2001
73 * - Removed some obsolete methods (latexBabelPackage, trAuthor, trAuthors and trFiles)
74 * 002 19 november 2001
75 * ! Updated for doxygen v1.2.12
76 * 001 20 july 2001
77 * ! Updated for doxygen v1.2.8.1
78 * 000 ?
79 * + Initial translation for doxygen v1.1.5
80 */
81
82#ifndef TRANSLATOR_PT_H
83#define TRANSLATOR_PT_H
84
85#include "translator_br.h"
86
88{
89 public:
90
91 // --- Language control methods -------------------
92
93 /*! Used for identification of the language. The identification
94 * should not be translated. It should be replaced by the name
95 * of the language in English using lower-case characters only
96 * (e.g. "czech", "japanese", "russian", etc.). It should be equal to
97 * the identification used in language.cpp.
98 */
100 { return "portuguese"; }
101
102 /*! Used to get the LaTeX command(s) for the language support.
103 * This method should return string with commands that switch
104 * LaTeX to the desired language. For example
105 * <pre>"\\usepackage[german]{babel}\n"
106 * </pre>
107 * or
108 * <pre>"\\usepackage{polski}\n"
109 * "\\usepackage[latin2]{inputenc}\n"
110 * "\\usepackage[T1]{fontenc}\n"
111 * </pre>
112 *
113 * The English LaTeX does not use such commands. Because of this
114 * the empty string is returned in this implementation.
115 */
117 {
118 return
119 "\\usepackage[portuges]{babel}\n";
120 }
121
123 {
124 return "pt";
125 }
127 {
128 return "0x816 Portuguese(Portugal)";
129 }
130
131 // --- Language translation methods -------------------
132
133 /*! used in the compound documentation before a list of related functions. */
135 { return "Funções associadas"; }
136
137 /*! subscript for the related functions. */
139 { return "(Note que não são funções membro)"; }
140
141 /*! header that is put before the detailed description of files, classes and namespaces. */
143 { return "Descrição detalhada"; }
144
145 /*! header that is used when the summary tag is missing inside the details tag */
147 { return "Detalhes"; }
148
149 /*! header that is put before the list of typedefs. */
151 { return "Documentação das definições de tipo"; }
152
153 /*! header that is put before the list of enumerations. */
155 { return "Documentação das enumerações"; }
156
157 /*! header that is put before the list of member functions. */
159 {
160 if (Config_getBool(OPTIMIZE_OUTPUT_VHDL))
161 {
162 return "Documentação das funções, procedimentos e processos";
163 }
164 else
165 {
166 return "Documentação das funções";
167 }
168 }
169
170 /*! header that is put before the list of member attributes. */
172 {
173 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
174 {
175 return "Documentação dos campos e atributos";
176 }
177 else
178 {
179 return "Documentação dos dados membro";
180 }
181 }
182
183 /*! this is the text of a link put after brief descriptions. */
184 DString trMore() override
185 { return "Mais..."; }
186
187 /*! put in the class documentation */
189 { return "Mostrar lista completa dos membros"; }
190
191 /*! used as the title of the "list of all members" page of a class */
193 { return "Lista dos membros"; }
194
195 /*! this is the first part of a sentence that is followed by a class name */
197 { return "Lista completa de todos os membros de"; }
198
199 /*! this is the remainder of the sentence after the class name */
201 { return ", incluindo todos os membros herdados."; }
202
203 /*! this is put at the author sections at the bottom of man pages.
204 * parameter s is name of the project name.
205 */
207 { DString result="Gerado automaticamente por Doxygen";
208 if (!s.empty()) result+=" para "+s;
209 result+=" a partir do código fonte.";
210 return result;
211 }
212
213 /*! put after an enum name in the list of all members */
215 { return "enumeração"; }
216
217 /*! put after an enum value in the list of all members */
219 { return "valor enumerado"; }
220
221 /*! put after an undocumented member in the list of all members */
223 { return "definido em"; }
224
225 // quick reference sections
226
227 /*! This is put above each page as a link to the list of all groups of
228 * compounds or files (see the \\group command).
229 */
231 { return "Módulos"; }
232
233 /*! This is put above each page as a link to the class hierarchy */
235 { return "Hierarquia de classes"; }
236
237 /*! This is put above each page as a link to the list of annotated classes */
239 {
240 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
241 {
242 return "Estruturas de dados";
243 }
244 else
245 {
246 return "Lista de componentes";
247 }
248 }
249
250 /*! This is put above each page as a link to the list of documented files */
252 { return "Lista de ficheiros"; }
253
254 /*! This is put above each page as a link to all members of compounds. */
256 {
257 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
258 {
259 return "Campos de dados";
260 }
261 else
262 {
263 return "Componentes membro";
264 }
265 }
266
267 /*! This is put above each page as a link to all members of files. */
269 {
270 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
271 {
272 return "Globais";
273 }
274 else
275 {
276 return "Membros dos Ficheiros";
277 }
278 }
279
280 /*! This is put above each page as a link to all related pages. */
282 { return "Páginas relacionadas"; }
283
284 /*! This is put above each page as a link to all examples. */
286 { return "Exemplos"; }
287
288 /*! This is put above each page as a link to the search engine. */
289 DString trSearch() override
290 { return "Localizar"; }
291
292 /*! This is an introduction to the class hierarchy. */
294 { return "Esta lista de heranças está organizada, dentro do possível, por ordem alfabética:"; }
295
296 /*! This is an introduction to the list with all files. */
297 DString trFileListDescription(bool extractAll) override
298 {
299 DString result="Lista de todos os ficheiros ";
300 if (!extractAll) result+="documentados ";
301 result+="com uma breve descrição:";
302 return result;
303 }
304
305 /*! This is an introduction to the annotated compound list. */
307 {
308 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
309 {
310 return "Lista das estruturas de dados com uma breve descrição:";
311 }
312 else if (Config_getBool(OPTIMIZE_OUTPUT_SLICE))
313 {
314 return "Lista de classes com uma breve descrição:";
315 }
316 else
317 {
318 return "Lista de classes, estruturas, uniões e interfaces com uma breve descrição:";
319 }
320 }
321
322 /*! This is an introduction to the page with all class members. */
323 DString trCompoundMembersDescription(bool extractAll) override
324 {
325 DString result="Lista de todas as";
326 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
327 {
328 result+=" estruturas e campos de uniões";
329 }
330 else
331 {
332 result+=" classes membro";
333 }
334 if (!extractAll)
335 {
336 result+=" documentadas";
337 }
338 result+=" com referência para ";
339 if (!extractAll)
340 {
341 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
342 {
343 result+="a respectiva documentação:";
344 }
345 else
346 {
347 result+="a documentação de cada membro:";
348 }
349 }
350 else
351 {
352 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
353 {
354 result+="as estruturas/uniões a que pertencem:";
355 }
356 else
357 {
358 result+="as classes a que pertencem:";
359 }
360 }
361 return result;
362 }
363
364 /*! This is an introduction to the page with all file members. */
365 DString trFileMembersDescription(bool extractAll) override
366 {
367 DString result="Lista de ";
368 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
369 {
370 result+="todas as funções, variáveis, definições, enumerações e definições de tipo ";
371 if (!extractAll) result+="documentadas ";
372 }
373 else
374 {
375 result+="todos os ficheiros membro ";
376 if (!extractAll) result+="documentados ";
377 }
378 result+="com referência para ";
379 if (extractAll)
380 result+="o ficheiro a que pertecem:";
381 else
382 result+="a respectiva documentação:";
383 return result;
384 }
385
386 /*! This is an introduction to the page with the list of all examples */
388 { return "Lista de todos os exemplos:"; }
389
390 /*! This is an introduction to the page with the list of related pages */
392 { return "Lista de documentação relacionada:"; }
393
394 /*! This is an introduction to the page with the list of class/file groups */
396 { return "Lista de todos os módulos:"; }
397
398 // index titles (the project name is prepended for these)
399
400
401 /*! This is used in HTML as the title of index.html. */
402 DString trDocumentation(const DString &projName) override
403 { return "Documentação" + (!projName.empty()? " de " + projName : ""); }
404
405 /*! This is used in LaTeX as the title of the chapter with the
406 * index of all groups.
407 */
409 { return "Índice dos módulos"; }
410
411 /*! This is used in LaTeX as the title of the chapter with the
412 * class hierarchy.
413 */
415 { return "Índice da hierarquia"; }
416
417 /*! This is used in LaTeX as the title of the chapter with the
418 * annotated compound index.
419 */
421 {
422 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
423 {
424 return "Índice das estruturas de dados";
425 }
426 else
427 {
428 return "Índice dos componentes";
429 }
430 }
431
432 /*! This is used in LaTeX as the title of the chapter with the
433 * list of all files.
434 */
436 { return "Índice dos ficheiros"; }
437
438 /*! This is used in LaTeX as the title of the chapter containing
439 * the documentation of all groups.
440 */
442 { return "Documentação do módulo"; }
443
444 /*! This is used in LaTeX as the title of the chapter containing
445 * the documentation of all classes, structs and unions.
446 */
448 {
449 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
450 {
451 return "Documentação da estruturas de dados";
452 }
453 else if (Config_getBool(OPTIMIZE_OUTPUT_VHDL))
454 {
456 }
457 else
458 {
459 return "Documentação da classe";
460 }
461 }
462
463 /*! This is used in LaTeX as the title of the chapter containing
464 * the documentation of all files.
465 */
467 { return "Documentação do ficheiro"; }
468
469 /*! This is used in LaTeX as the title of the document */
471 { return "Manual de referência"; }
472
473 /*! This is used in the documentation of a file as a header before the
474 * list of defines
475 */
477 { return "Macros"; }
478
479 /*! This is used in the documentation of a file as a header before the
480 * list of typedefs
481 */
483 { return "Definições de tipos"; }
484
485 /*! This is used in the documentation of a file as a header before the
486 * list of enumerations
487 */
489 { return "Enumerações"; }
490
491 /*! This is used in the documentation of a file as a header before the
492 * list of (global) functions
493 */
495 { return "Funções"; }
496
497 /*! This is used in the documentation of a file as a header before the
498 * list of (global) variables
499 */
501 { return "Variáveis"; }
502
503 /*! This is used in the documentation of a file as a header before the
504 * list of (global) variables
505 */
507 { return "Valores de enumerações"; }
508
509 /*! This is used in the documentation of a file before the list of
510 * documentation blocks for defines
511 */
513 { return "Documentação das macros"; }
514
515 /*! This is used in the documentation of a file/namespace before the list
516 * of documentation blocks for typedefs
517 */
519 { return "Documentação dos tipos"; }
520
521 /*! This is used in the documentation of a file/namespace before the list
522 * of documentation blocks for enumeration types
523 */
525 { return "Documentação dos valores da enumeração"; }
526
527 /*! This is used in the documentation of a file/namespace before the list
528 * of documentation blocks for functions
529 */
531 { return "Documentação das funções"; }
532
533 /*! This is used in the documentation of a file/namespace before the list
534 * of documentation blocks for variables
535 */
537 { return "Documentação das variáveis"; }
538
539 /*! This is used in the documentation of a file/namespace/group before
540 * the list of links to documented compounds
541 */
543 {
544 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
545 {
546 return "Estruturas de Dados";
547 }
548 else
549 {
550 return "Componentes";
551 }
552 }
553
554 /*! This is used in the standard footer of each page and indicates when
555 * the page was generated
556 */
557 DString trGeneratedAt(const DString &date,const DString &projName) override
558 {
559 DString result="Gerado em "+date;
560 if (!projName.empty()) result+=" para "+projName;
561 result+=" por";
562 return result;
563 }
564
565 /*! this text is put before a class diagram */
566 DString trClassDiagram(const DString &clName) override
567 {
568 return "Diagrama de heranças da classe "+clName;
569 }
570
571 /*! this text is generated when the \\warning command is used. */
573 { return "Aviso"; }
574
575 /*! this text is generated when the \\version command is used. */
577 { return "Versão"; }
578
579 /*! this text is generated when the \\date command is used. */
580 DString trDate() override
581 { return "Data"; }
582
583 /*! this text is generated when the \\return command is used. */
585 { return "Retorna"; }
586
587 /*! this text is generated when the \\sa command is used. */
589 { return "Veja também"; }
590
591 /*! this text is generated when the \\param command is used. */
593 { return "Parâmetros"; }
594
595 /*! this text is generated when the \\exception command is used. */
597 { return "Excepções"; }
598
599 /*! this text is used in the title page of a LaTeX document. */
601 { return "Gerado por"; }
602
603//////////////////////////////////////////////////////////////////////////
604// new since 0.49-990307
605//////////////////////////////////////////////////////////////////////////
606
607 /*! used as the title of page containing all the index of all namespaces. */
609 { return "Lista de namespaces"; }
610
611 /*! used as an introduction to the namespace list */
612 DString trNamespaceListDescription(bool extractAll) override
613 {
614 DString result="Lista ";
615 if (!extractAll) result+="de toda a documentação ";
616 result+="dos namespaces com uma breve descrição:";
617 return result;
618 }
619
620 /*! used in the class documentation as a header before the list of all
621 * friends of a class
622 */
624 { return "Amigos"; }
625
626//////////////////////////////////////////////////////////////////////////
627// new since 0.49-990405
628//////////////////////////////////////////////////////////////////////////
629
630 /*! used in the class documentation as a header before the list of all
631 * related classes
632 */
634 { return "Documentação das classes amigas e funções relacionadas"; }
635
636//////////////////////////////////////////////////////////////////////////
637// new since 0.49-990425
638//////////////////////////////////////////////////////////////////////////
639
640 /*! used as the title of the HTML page of a class/struct/union */
642 ClassDef::CompoundType compType,
643 bool isTemplate) override
644 {
645 DString result="Referência ";
646 switch(compType)
647 {
648 case ClassDef::Class: result+="à classe "; break;
649 case ClassDef::Struct: result+="à estrutura "; break;
650 case ClassDef::Record: return english.trCompoundReference(clName,compType,isTemplate);
651 case ClassDef::Union: result+="à união "; break;
652 case ClassDef::Interface: result+="ao interface "; break;
653 case ClassDef::Protocol: result+="ao protocolo "; break;
654 case ClassDef::Category: result+="à categoria "; break;
655 case ClassDef::Exception: result+="à excepção "; break;
656 default: break;
657 }
658 if (isTemplate) result+="Template ";
659 result+=clName;
660 return result;
661 }
662
663 /*! used as the title of the HTML page of a file */
664 DString trFileReference(const DString &fileName) override
665 {
666 DString result= "Referência ao ficheiro ";
667 result += fileName;
668 return result;
669 }
670
671 /*! used as the title of the HTML page of a namespace */
672 DString trNamespaceReference(const DString &namespaceName) override
673 {
674 DString result= "Referência ao namespace ";
675 result += namespaceName;
676 return result;
677 }
678
679 /* these are for the member sections of a class, struct or union */
681 { return "Membros públicos"; }
683 { return "Slots públicos"; }
685 { return "Sinais"; }
687 { return "Membros públicos estáticos"; }
689 { return "Membros protegidos"; }
691 { return "Slots protegidos"; }
693 { return "Membros protegidos estáticos"; }
695 { return "Membros privados"; }
697 { return "Slots privados"; }
699 { return "Membros privados estáticos"; }
700
701 /*! this function is used to produce a comma-separated list of items.
702 * use generateMarker(i) to indicate where item i should be put.
703 */
704 DString trWriteList(int numEntries) override
705 {
706 DString result;
707 // the inherits list contain `numEntries' classes
708 for (int i=0;i<numEntries;i++)
709 {
710 // use generateMarker to generate placeholders for the class links!
711 result+=generateMarker(i); // generate marker for entry i in the list
712 // (order is left to right)
713
714 if (i!=numEntries-1) // not the last entry, so we need a separator
715 {
716 if (i<numEntries-2) // not the fore last entry
717 result+=", ";
718 else // the fore last entry
719 result+=" e ";
720 }
721 }
722 return result;
723 }
724
725 /*! used in class documentation to produce a list of base classes,
726 * if class diagrams are disabled.
727 */
728 DString trInheritsList(int numEntries) override
729 {
730 return "Derivada de "+trWriteList(numEntries)+".";
731 }
732
733 /*! used in class documentation to produce a list of super classes,
734 * if class diagrams are disabled.
735 */
736 DString trInheritedByList(int numEntries) override
737 {
738 return "Herdado por "+trWriteList(numEntries)+".";
739 }
740
741 /*! used in member documentation blocks to produce a list of
742 * members that are hidden by this one.
743 */
744 DString trReimplementedFromList(int numEntries) override
745 {
746 return "Reimplementado de "+trWriteList(numEntries)+".";
747 }
748
749 /*! used in member documentation blocks to produce a list of
750 * all member that overwrite the implementation of this member.
751 */
752 DString trReimplementedInList(int numEntries) override
753 {
754 return "Reimplementado em "+trWriteList(numEntries)+".";
755 }
756
757 /*! This is put above each page as a link to all members of namespaces. */
759 { return "Membros do namespace"; }
760
761 /*! This is an introduction to the page with all namespace members */
762 DString trNamespaceMemberDescription(bool extractAll) override
763 {
764 DString result="Lista ";
765 if (extractAll) result+="de todos os ";
766 else result+="de toda a documentação dos ";
767 result+="membros do namespace com referência para ";
768 if (extractAll)
769 result+="a documentação de cada membro:";
770 else
771 result+="o namespace correspondente:";
772 return result;
773 }
774
775 /*! This is used in LaTeX as the title of the chapter with the
776 * index of all namespaces.
777 */
779 { return "Índice dos namespaces"; }
780
781 /*! This is used in LaTeX as the title of the chapter containing
782 * the documentation of all namespaces.
783 */
785 { return "Documentação dos namespaces"; }
786
787//////////////////////////////////////////////////////////////////////////
788// new since 0.49-990522
789//////////////////////////////////////////////////////////////////////////
790
791 /*! This is used in the documentation before the list of all
792 * namespaces in a file.
793 */
795 { return "Namespaces"; }
796
797//////////////////////////////////////////////////////////////////////////
798// new since 0.49-990728
799//////////////////////////////////////////////////////////////////////////
800
801 /*! This is put at the bottom of a class documentation page and is
802 * followed by a list of files that were used to generate the page.
803 */
805 bool single) override
806 { // here s is one of " Class", " Struct" or " Union"
807 // single is true implies a single file
808 bool vhdlOpt = Config_getBool(OPTIMIZE_OUTPUT_VHDL);
809 DString result="A documentação para ";
810 switch(compType)
811 {
812 case ClassDef::Class: result+=vhdlOpt?"esta Unidade de Design":"esta classe"; break;
813 case ClassDef::Struct: result+="esta estrutura"; break;
814 case ClassDef::Record: return english.trGeneratedFromFiles(compType,single);
815 case ClassDef::Union: result+="esta união"; break;
816 case ClassDef::Interface: result+="este interface"; break;
817 case ClassDef::Protocol: result+="este protocolo"; break;
818 case ClassDef::Category: result+="esta categoria"; break;
819 case ClassDef::Exception: result+="esta excepção"; break;
820 default: break;
821 }
822 result+=" foi gerada a partir ";
823 if (single) result+=" do seguinte ficheiro:";
824 else result+="dos seguintes ficheiros:";
825 return result;
826 }
827
828//////////////////////////////////////////////////////////////////////////
829// new since 0.49-990901
830//////////////////////////////////////////////////////////////////////////
831
832 /*! This is used as the heading text for the retval command. */
834 { return "Valores retornados"; }
835
836 /*! This is in the (quick) index as a link to the main page (index.html)
837 */
839 { return "Página principal"; }
840
841 /*! This is used in references to page that are put in the LaTeX
842 * documentation. It should be an abbreviation of the word page.
843 */
845 { return "p. "; }
846
847//////////////////////////////////////////////////////////////////////////
848// new since 0.49-991003
849//////////////////////////////////////////////////////////////////////////
850
852 {
853 return "Definido na linha @0 do ficheiro @1.";
854 }
856 {
857 return "Definido no ficheiro @0.";
858 }
859
860//////////////////////////////////////////////////////////////////////////
861// new since 0.49-991205
862//////////////////////////////////////////////////////////////////////////
863
865 {
866 return "Desaprovado";
867 }
868
869//////////////////////////////////////////////////////////////////////////
870// new since 1.0.0
871//////////////////////////////////////////////////////////////////////////
872
873 /*! this text is put before a collaboration diagram */
874 DString trCollaborationDiagram(const DString &clName) override
875 {
876 return "Diagrama de colaboração para "+clName+":";
877 }
878 /*! this text is put before an include dependency graph */
879 DString trInclDepGraph(const DString &fName) override
880 {
881 return "Diagrama de dependências de inclusão para "+fName+":";
882 }
883 /*! header that is put before the list of constructor/destructors. */
885 {
886 return "Documentação dos Construtores & Destrutor";
887 }
888 /*! Used in the file documentation to point to the corresponding sources. */
890 {
891 return "Ir para o código fonte deste ficheiro.";
892 }
893 /*! Used in the file sources to point to the corresponding documentation. */
895 {
896 return "Ir para a documentação deste ficheiro.";
897 }
898 /*! Text for the \\pre command */
900 {
901 return "Precondição";
902 }
903 /*! Text for the \\post command */
905 {
906 return "Poscondição";
907 }
908 /*! Text for the \\invariant command */
910 {
911 return "Invariante";
912 }
913 /*! Text shown before a multi-line variable/enum initialization */
915 {
916 return "Valor inicial:";
917 }
918 /*! Text used the source code in the file index */
919 DString trCode() override
920 {
921 return "código";
922 }
924 {
925 return "Representação gráfica da hiearquia da classe";
926 }
928 {
929 return "Ir para a representação gráfica da hierarquia da classe";
930 }
932 {
933 return "Ir para a representação textual da hierarquia da classe";
934 }
936 {
937 return "Índice da página";
938 }
939
940//////////////////////////////////////////////////////////////////////////
941// new since 1.1.0
942//////////////////////////////////////////////////////////////////////////
943
944 DString trNote() override
945 {
946 return "Nota";
947 }
949 {
950 return "Tipos Públicos";
951 }
953 {
954 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
955 {
956 return "Campos de Dados";
957 }
958 else
959 {
960 return "Atributos Públicos";
961 }
962 }
964 {
965 return "Atributos Públicos Estáticos";
966 }
968 {
969 return "Tipos Protegidos";
970 }
972 {
973 return "Atributos Protegidos";
974 }
976 {
977 return "Atributos Protegidos Estáticos";
978 }
980 {
981 return "Tipos Privados";
982 }
984 {
985 return "Atributos Privados";
986 }
988 {
989 return "Atributos Privados Estáticos";
990 }
991
992//////////////////////////////////////////////////////////////////////////
993// new since 1.1.3
994//////////////////////////////////////////////////////////////////////////
995
996 /*! Used as a marker that is put before a todo item */
997 DString trTodo() override
998 {
999 return "Tarefa";
1000 }
1001 /*! Used as the header of the todo list */
1003 {
1004 return "Lista de tarefas";
1005 }
1006
1007//////////////////////////////////////////////////////////////////////////
1008// new since 1.1.4
1009//////////////////////////////////////////////////////////////////////////
1010
1012 {
1013 return "Referenciado por";
1014 }
1016 {
1017 return "Observações";
1018 }
1020 {
1021 return "Atenção";
1022 }
1024 {
1025 return "Este grafo mostra quais são os ficheiros que incluem directamente ou indirectamente este ficheiro:";
1026 }
1027 DString trSince() override
1028 {
1029 return "Desde";
1030 }
1031
1032//////////////////////////////////////////////////////////////////////////
1033// new since 1.1.5
1034//////////////////////////////////////////////////////////////////////////
1035
1036 /*! title of the graph legend page */
1038 {
1039 return "Legenda do grafo";
1040 }
1041 /*! page explaining how the dot graph's should be interpreted */
1043 {
1044 return
1045 "Esta página explica como interpretar os grafos gerados pelo doxygen.<p>\n"
1046 "Considere o seguinte exemplo:\n"
1047 "\\code\n"
1048 "/*! Esta classe vai estar escondida devido à truncação */\n"
1049 "class Invisible { };\n\n"
1050 "/*! Esta classe tem a relação de herança escondida */\n"
1051 "class Truncated : public Invisible { };\n\n"
1052 "/* Classe não documentada por comentários doxygen */\n"
1053 "class Undocumented { };\n\n"
1054 "/*! Classe derivada usando derivação pública */\n"
1055 "class PublicBase : public Truncated { };\n\n"
1056 "/*! A template class */\n"
1057 "template<class T> class Templ { };\n\n"
1058 "/*! Classe derivada usando derivação protegida */\n"
1059 "class ProtectedBase { };\n\n"
1060 "/*! Classe derivada usando derivação privada */\n"
1061 "class PrivateBase { };\n\n"
1062 "/*! Classe usada pela classe Inherited */\n"
1063 "class Used { };\n\n"
1064 "/*! Super classe que deriva de várias classes */\n"
1065 "class Inherited : public PublicBase,\n"
1066 " protected ProtectedBase,\n"
1067 " private PrivateBase,\n"
1068 " public Undocumented,\n"
1069 " public Templ<int>\n"
1070 "{\n"
1071 " private:\n"
1072 " Used *m_usedClass;\n"
1073 "};\n"
1074 "\\endcode\n"
1075 "Isto irá gerar o seguinte gráfo:"
1076 "<p><center><img src=\"graph_legend."+getDotImageExtension()+"\"></center>\n"
1077 "<p>\n"
1078 "As caixas no grafo anterior têm as seguintes interpretações:\n"
1079 "<ul>\n"
1080 "<li>Uma caixa inteiramente preta representa a estrutura ou a classe para "
1081 "a qual o grafo foi gerado.\n"
1082 "<li>Uma caixa com borda preta representa uma estrutura ou classe documentada.\n"
1083 "<li>Uma caixa com borda cinzenta representa uma estrutura ou classe não documentada.\n"
1084 "<li>Uma caixa com borda vermelha representa uma estrutura ou classe documentada onde "
1085 "nem todas as relações de herança/encapsulamento são exibidas. Um grafo é truncado "
1086 "quando não cabe na sua área predefinida.\n"
1087 "</ul>\n"
1088 "As setas têm a seguinte interpretação:\n"
1089 "<ul>\n"
1090 "<li>Uma seta azul escura representa uma relação de herança pública entre duas classes.\n"
1091 "<li>Uma seta verde escura representa uma relação de herança protegida.\n"
1092 "<li>Uma seta vermelha escura representa uma relação de herança privada.\n"
1093 "<li>Uma seta rocha em tracejado representa uma relação de encapsulamento ou uso por "
1094 "parte de outra classe. A legenda da seta contém o nome da variável ou variáveis da "
1095 "relação. A seta aponta da classe que estabelece a relação para a classe ou estrutura que "
1096 "é acessível.\n"
1097 "</ul>\n";
1098 }
1099 /*! text for the link to the legend page */
1101 {
1102 return "legenda";
1103 }
1104
1105//////////////////////////////////////////////////////////////////////////
1106// new since 1.2.0
1107//////////////////////////////////////////////////////////////////////////
1108
1109 /*! Used as a marker that is put before a test item */
1110 DString trTest() override
1111 {
1112 return "Teste";
1113 }
1114 /*! Used as the header of the test list */
1116 {
1117 return "Lista de teste";
1118 }
1119
1120//////////////////////////////////////////////////////////////////////////
1121// new since 1.2.2
1122//////////////////////////////////////////////////////////////////////////
1123
1124 /*! Used as a section header for IDL properties */
1126 {
1127 return "Propriedades";
1128 }
1129 /*! Used as a section header for IDL property documentation */
1131 {
1132 return "Documentação das propriedades";
1133 }
1134
1135//////////////////////////////////////////////////////////////////////////
1136// new since 1.2.4
1137//////////////////////////////////////////////////////////////////////////
1138
1139 /*! Used for Java classes in the summary section of Java packages */
1141 {
1142 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
1143 {
1144 return "Estruturas de dados";
1145 }
1146 else
1147 {
1148 return "Classes";
1149 }
1150 }
1151 /*! Used as the title of a Java package */
1152 DString trPackage(const DString &name) override
1153 {
1154 return "Pacote "+name;
1155 }
1156 /*! The description of the package index page */
1158 {
1159 return "Lista de pacotes com uma breve descrição (se disponível):";
1160 }
1161 /*! The link name in the Quick links header for each page */
1163 {
1164 return "Pacotes";
1165 }
1166 /*! Text shown before a multi-line define */
1168 {
1169 return "Valor:";
1170 }
1171
1172//////////////////////////////////////////////////////////////////////////
1173// new since 1.2.5
1174//////////////////////////////////////////////////////////////////////////
1175
1176 /*! Used as a marker that is put before a \\bug item */
1177 DString trBug() override
1178 {
1179 return "Bug";
1180 }
1181 /*! Used as the header of the bug list */
1183 {
1184 return "Lista de Bugs";
1185 }
1186
1187//////////////////////////////////////////////////////////////////////////
1188// new since 1.2.6
1189//////////////////////////////////////////////////////////////////////////
1190
1191 /*! Used as ansicpg for RTF file
1192 *
1193 * The following table shows the correlation of Charset name, Charset Value and
1194 * <pre>
1195 * Codepage number:
1196 * Charset Name Charset Value(hex) Codepage number
1197 * ------------------------------------------------------
1198 * DEFAULT_CHARSET 1 (x01)
1199 * SYMBOL_CHARSET 2 (x02)
1200 * OEM_CHARSET 255 (xFF)
1201 * ANSI_CHARSET 0 (x00) 1252
1202 * RUSSIAN_CHARSET 204 (xCC) 1251
1203 * EE_CHARSET 238 (xEE) 1250
1204 * GREEK_CHARSET 161 (xA1) 1253
1205 * TURKISH_CHARSET 162 (xA2) 1254
1206 * BALTIC_CHARSET 186 (xBA) 1257
1207 * HEBREW_CHARSET 177 (xB1) 1255
1208 * ARABIC _CHARSET 178 (xB2) 1256
1209 * SHIFTJIS_CHARSET 128 (x80) 932
1210 * HANGEUL_CHARSET 129 (x81) 949
1211 * GB2313_CHARSET 134 (x86) 936
1212 * CHINESEBIG5_CHARSET 136 (x88) 950
1213 * </pre>
1214 *
1215 */
1217 {
1218 return "1252";
1219 }
1220
1221
1222 /*! Used as ansicpg for RTF fcharset
1223 * \see trRTFansicp() for a table of possible values.
1224 */
1226 {
1227 return "0";
1228 }
1229
1230 /*! Used as header RTF general index */
1232 {
1233 return "Índice";
1234 }
1235
1236 /*! This is used for translation of the word that will possibly
1237 * be followed by a single name or by a list of names
1238 * of the category.
1239 */
1240 DString trClass(bool first_capital, bool singular) override
1241 {
1242 return createNoun(first_capital, singular, "classe", "s");
1243 }
1244
1245 /*! This is used for translation of the word that will possibly
1246 * be followed by a single name or by a list of names
1247 * of the category.
1248 */
1249 DString trFile(bool first_capital, bool singular) override
1250 {
1251 return createNoun(first_capital, singular, "ficheiro", "s");
1252 }
1253
1254 /*! This is used for translation of the word that will possibly
1255 * be followed by a single name or by a list of names
1256 * of the category.
1257 */
1258 DString trNamespace(bool first_capital, bool singular) override
1259 {
1260 return createNoun(first_capital, singular, "namespace", "s");
1261 }
1262
1263 /*! This is used for translation of the word that will possibly
1264 * be followed by a single name or by a list of names
1265 * of the category.
1266 */
1267 DString trGroup(bool first_capital, bool singular) override
1268 {
1269 return createNoun(first_capital, singular, "grupo", "s");
1270 }
1271
1272 /*! This is used for translation of the word that will possibly
1273 * be followed by a single name or by a list of names
1274 * of the category.
1275 */
1276 DString trPage(bool first_capital, bool singular) override
1277 {
1278 return createNoun(first_capital, singular, "página", "s");
1279 }
1280
1281 /*! This is used for translation of the word that will possibly
1282 * be followed by a single name or by a list of names
1283 * of the category.
1284 */
1285 DString trMember(bool first_capital, bool singular) override
1286 {
1287 return createNoun(first_capital, singular, "membro", "s");
1288 }
1289
1290 /*! This is used for translation of the word that will possibly
1291 * be followed by a single name or by a list of names
1292 * of the category.
1293 */
1294 DString trGlobal(bool first_capital, bool singular) override
1295 {
1296 return createNoun(first_capital, singular, "globa", "is", "l");
1297 }
1298
1299//////////////////////////////////////////////////////////////////////////
1300// new since 1.2.7
1301//////////////////////////////////////////////////////////////////////////
1302
1303 /*! This text is generated when the \\author command is used and
1304 * for the author section in man pages. */
1305 DString trAuthor(bool first_capital, bool singular) override
1306 {
1307 return createNoun(first_capital, singular, "autor", "es");
1308 }
1309
1310//////////////////////////////////////////////////////////////////////////
1311// new since 1.2.11
1312//////////////////////////////////////////////////////////////////////////
1313
1314 /*! This text is put before the list of members referenced by a member
1315 */
1317 {
1318 return "Referências";
1319 }
1320
1321//////////////////////////////////////////////////////////////////////////
1322// new since 1.2.13
1323//////////////////////////////////////////////////////////////////////////
1324
1325 /*! used in member documentation blocks to produce a list of
1326 * members that are implemented by this one.
1327 */
1328 DString trImplementedFromList(int numEntries) override
1329 {
1330 return "Implementa "+trWriteList(numEntries)+".";
1331 }
1332
1333 /*! used in member documentation blocks to produce a list of
1334 * all members that implement this abstract member.
1335 */
1336 DString trImplementedInList(int numEntries) override
1337 {
1338 return "Implementado em "+trWriteList(numEntries)+".";
1339 }
1340
1341//////////////////////////////////////////////////////////////////////////
1342// new since 1.2.16
1343//////////////////////////////////////////////////////////////////////////
1344
1345 /*! used in RTF documentation as a heading for the Table
1346 * of Contents.
1347 */
1349 {
1350 return "Índice";
1351 }
1352
1353//////////////////////////////////////////////////////////////////////////
1354// new since 1.2.17
1355//////////////////////////////////////////////////////////////////////////
1356
1357 /*! Used as the header of the list of item that have been
1358 * flagged deprecated
1359 */
1361 {
1362 return "Lista de Deprecados";
1363 }
1364
1365//////////////////////////////////////////////////////////////////////////
1366// new since 1.2.18
1367//////////////////////////////////////////////////////////////////////////
1368
1369 /*! Used as a header for declaration section of the events found in
1370 * a C# program
1371 */
1373 {
1374 return "Eventos";
1375 }
1376 /*! Header used for the documentation section of a class' events. */
1378 {
1379 return "Documentação dos eventos";
1380 }
1381
1382//////////////////////////////////////////////////////////////////////////
1383// new since 1.3
1384//////////////////////////////////////////////////////////////////////////
1385
1386 /*! Used as a heading for a list of Java class types with package scope.
1387 */
1389 {
1390 return "Tipos do Pacote";
1391 }
1392 /*! Used as a heading for a list of Java class functions with package
1393 * scope.
1394 */
1396 {
1397 return "Funções do Pacote";
1398 }
1400 {
1401 return "Membros do Pacote";
1402 }
1403 /*! Used as a heading for a list of static Java class functions with
1404 * package scope.
1405 */
1407 {
1408 return "Funções Estáticas do Pacote";
1409 }
1410 /*! Used as a heading for a list of Java class variables with package
1411 * scope.
1412 */
1414 {
1415 return "Atributos do Pacote";
1416 }
1417 /*! Used as a heading for a list of static Java class variables with
1418 * package scope.
1419 */
1421 {
1422 return "Atributos Estáticos do Pacote";
1423 }
1424
1425//////////////////////////////////////////////////////////////////////////
1426// new since 1.3.1
1427//////////////////////////////////////////////////////////////////////////
1428
1429 /*! Used in the quick index of a class/file/namespace member list page
1430 * to link to the unfiltered list of all members.
1431 */
1432 DString trAll() override
1433 {
1434 return "Tudo";
1435 }
1436 /*! Put in front of the call graph for a function. */
1438 {
1439 return "Grafo de chamadas desta função:";
1440 }
1441
1442//////////////////////////////////////////////////////////////////////////
1443// new since 1.3.3 - Based on the Brazilian Portuguese Translation
1444//////////////////////////////////////////////////////////////////////////
1445
1446 /*! This string is used as the title for the page listing the search
1447 * results.
1448 */
1450 {
1451 return "Resultado da Busca";
1452 }
1453 /*! This string is put just before listing the search results. The
1454 * text can be different depending on the number of documents found.
1455 * Inside the text you can put the special marker $num to insert
1456 * the number representing the actual number of search results.
1457 * The @a numDocuments parameter can be either 0, 1 or 2, where the
1458 * value 2 represents 2 or more matches. HTML markup is allowed inside
1459 * the returned string.
1460 */
1461 DString trSearchResults(int numDocuments) override
1462 {
1463 if (numDocuments==0)
1464 {
1465 return "Nenhum documento foi encontrado.";
1466 }
1467 else if (numDocuments==1)
1468 {
1469 return "Apenas <b>1</b> documento foi encontrado.";
1470 }
1471 else
1472 {
1473 return "<b>$num</b> documentos encontrados. "
1474 "Os melhores resultados vem primeiro.";
1475 }
1476 }
1477 /*! This string is put before the list of matched words, for each search
1478 * result. What follows is the list of words that matched the query.
1479 */
1481 {
1482 return "Resultados:";
1483 }
1484
1485//////////////////////////////////////////////////////////////////////////
1486// new since 1.3.8
1487//////////////////////////////////////////////////////////////////////////
1488
1489 /*! This is used in HTML as the title of page with source code for file filename
1490 */
1491 DString trSourceFile(const DString& filename) override
1492 {
1493 return "Código-Fonte de " + filename;
1494 }
1495
1496//////////////////////////////////////////////////////////////////////////
1497// new since 1.3.9
1498//////////////////////////////////////////////////////////////////////////
1499
1500 /*! This is used as the name of the chapter containing the directory
1501 * hierarchy.
1502 */
1504 { return "Hierarquia de Diretórios"; }
1505
1506 /*! This is used as the name of the chapter containing the documentation
1507 * of the directories.
1508 */
1510 { return "Documentação do Diretório"; }
1511
1512 /*! This is used as the title of the directory index and also in the
1513 * Quick links of a HTML page, to link to the directory hierarchy.
1514 */
1516 { return "Diretórios"; }
1517
1518 /*! This returns the title of a directory page. The name of the
1519 * directory is passed via \a dirName.
1520 */
1521 DString trDirReference(const DString &dirName) override
1522 {
1523 DString result = "Referência do diretório ";
1524 result += dirName;
1525 return result;
1526 }
1527
1528 /*! This returns the word directory with or without starting capital
1529 * (\a first_capital) and in singular or plural form (\a singular).
1530 */
1531 DString trDir(bool first_capital, bool singular) override
1532 {
1533 return createNoun(first_capital, singular, "diretório", "s");
1534 }
1535//////////////////////////////////////////////////////////////////////////
1536// new since 1.4.1
1537//////////////////////////////////////////////////////////////////////////
1538
1539 /*! This text is added to the documentation when the \\overload command
1540 * is used for a overloaded function.
1541 */
1543 {
1544 return "Este é um método provido por conveniência. "
1545 "Ele difere do método acima apenas na lista de "
1546 "argumentos que devem ser utilizados.";
1547 }
1548
1549//////////////////////////////////////////////////////////////////////////
1550// new since 1.4.6
1551//////////////////////////////////////////////////////////////////////////
1552
1553 /*! This is used to introduce a caller (or called-by) graph */
1555 {
1556 return "Este é o diagrama das funções que utilizam esta função:";
1557 }
1558
1559 /*! This is used in the documentation of a file/namespace before the list
1560 * of documentation blocks for enumeration values
1561 */
1563 { return "Documentação da enumeração"; }
1564
1565
1566//////////////////////////////////////////////////////////////////////////
1567// new since 1.5.4 (mainly for Fortran)
1568//////////////////////////////////////////////////////////////////////////
1569
1570 /*! header that is put before the list of member subprograms (Fortran). */
1572 { return "Documentação de Função Membro/Subrotina"; }
1573
1574 /*! This is put above each page as a link to the list of annotated data types (Fortran). */
1576 { return "Lista de Tipos de Dados"; }
1577
1578 /*! This is put above each page as a link to all members of compounds (Fortran). */
1580 { return "Campos de Dados"; }
1581
1582 /*! This is an introduction to the annotated compound list (Fortran). */
1584 { return "Aqui estão os tipos de dados com descrições resumidas:"; }
1585
1586 /*! This is an introduction to the page with all data types (Fortran). */
1588 {
1589 DString result="Esta é a lista de todos os membros ";
1590 if (!extractAll) result+="documentados ";
1591 result+="dos tipos de dados com links para ";
1592 if (extractAll)
1593 {
1594 result+="a documentação dos tipos de dados para cada membro:";
1595 }
1596 else
1597 {
1598 result+="os tipos de dados a que pertencem:";
1599 }
1600 return result;
1601 }
1602
1603 /*! This is used in LaTeX as the title of the chapter with the
1604 * annotated compound index (Fortran).
1605 */
1607 { return "Índice de Tipos de Dados"; }
1608
1609 /*! This is used in LaTeX as the title of the chapter containing
1610 * the documentation of all data types (Fortran).
1611 */
1613 { return "Documentação dos Tipos de Dados"; }
1614
1615 /*! This is used in the documentation of a file as a header before the
1616 * list of (global) subprograms (Fortran).
1617 */
1619 { return "Funções/Subrotinas"; }
1620
1621 /*! This is used in the documentation of a file/namespace before the list
1622 * of documentation blocks for subprograms (Fortran)
1623 */
1625 { return "Documentação da Função/Subrotina"; }
1626
1627 /*! This is used in the documentation of a file/namespace/group before
1628 * the list of links to documented compounds (Fortran)
1629 */
1631 { return "Tipos de Dados"; }
1632
1633 /*! used as the title of page containing all the index of all modules (Fortran). */
1635 { return "Lista de Módulos"; }
1636
1637 /*! used as an introduction to the modules list (Fortran) */
1638 DString trModulesListDescription(bool extractAll) override
1639 {
1640 DString result="Esta é a lista de todos os módulos ";
1641 if (!extractAll) result+="documentados ";
1642 result+="com descrições resumidas:";
1643 return result;
1644 }
1645
1646 /*! used as the title of the HTML page of a module/type (Fortran) */
1648 ClassDef::CompoundType compType,
1649 bool isTemplate) override
1650 {
1651 DString result = "Referência ";
1652
1653 if (isTemplate) result+="da Template ";
1654
1655 switch(compType)
1656 {
1657 case ClassDef::Class: result+="do Modulo "; break;
1658 case ClassDef::Struct: result+="do Tipo "; break;
1659 case ClassDef::Union: result+="da União "; break;
1660 case ClassDef::Interface: result+="da Interface "; break;
1661 case ClassDef::Protocol: result+="do Protocolo "; break;
1662 case ClassDef::Category: result+="da Categoria "; break;
1663 case ClassDef::Exception: result+="da Exceção "; break;
1664 default: break;
1665 }
1666 result += clName;
1667
1668 return result;
1669 }
1670 /*! used as the title of the HTML page of a module (Fortran) */
1671 DString trModuleReference(const DString &namespaceName) override
1672 {
1673 DString result = "Referência do Módulo ";
1674 result += namespaceName;
1675 return result;
1676 }
1677
1678 /*! This is put above each page as a link to all members of modules. (Fortran) */
1680 { return "Membros do Módulo"; }
1681
1682 /*! This is an introduction to the page with all modules members (Fortran) */
1683 DString trModulesMemberDescription(bool extractAll) override
1684 {
1685 DString result="Esta é a lista de todos os membros ";
1686 if (!extractAll) result+="documentados ";
1687 result+="dos módulos com links para ";
1688 if (extractAll)
1689 {
1690 result+="a documentação dos módulos para cada membro:";
1691 }
1692 else
1693 {
1694 result+="os módulos a que pertencem:";
1695 }
1696 return result;
1697 }
1698
1699 /*! This is used in LaTeX as the title of the chapter with the
1700 * index of all modules (Fortran).
1701 */
1703 { return "Índice dos Módulos"; }
1704
1705 /*! This is used for translation of the word that will possibly
1706 * be followed by a single name or by a list of names
1707 * of the category.
1708 */
1709 DString trModule(bool first_capital, bool singular) override
1710 {
1711 return createNoun(first_capital, singular, "modulo", "s");
1712 }
1713 /*! This is put at the bottom of a module documentation page and is
1714 * followed by a list of files that were used to generate the page.
1715 */
1717 bool single) override
1718 { // here s is one of " Module", " Struct" or " Union"
1719 // single is true implies a single file
1720 DString result="A documentação para ";
1721 switch(compType)
1722 {
1723 case ClassDef::Class: result+="este modulo "; break;
1724 case ClassDef::Struct: result+="este tipo "; break;
1725 case ClassDef::Union: result+="esta união "; break;
1726 case ClassDef::Interface: result+="esta interface "; break;
1727 case ClassDef::Protocol: result+="esto protocolo "; break;
1728 case ClassDef::Category: result+="esta categoria "; break;
1729 case ClassDef::Exception: result+="esta exceção "; break;
1730 default: break;
1731 }
1732
1733 result+=" foi gerada a partir do";
1734 if (single)
1735 result+=" seguinte ficheiro:";
1736 else
1737 result+="s seguintes ficheiros:";
1738
1739 return result;
1740 }
1741 /*! This is used for translation of the word that will possibly
1742 * be followed by a single name or by a list of names
1743 * of the category.
1744 */
1745 DString trType(bool first_capital, bool singular) override
1746 {
1747 return createNoun(first_capital, singular, "tipo", "s");
1748 }
1749 /*! This is used for translation of the word that will possibly
1750 * be followed by a single name or by a list of names
1751 * of the category.
1752 */
1753 DString trSubprogram(bool first_capital, bool singular) override
1754 {
1755 return createNoun(first_capital, singular, "subprograma", "s");
1756 }
1757
1758 /*! C# Type Constraint list */
1760 {
1761 return "Restrições do Tipo";
1762 }
1763
1764//////////////////////////////////////////////////////////////////////////
1765// new since 1.6.0 (mainly for the new search engine)
1766//////////////////////////////////////////////////////////////////////////
1767
1768 /*! directory relation for \a name
1769 */
1770 DString trDirRelation(const DString &name) override
1771 {
1772 return "Relação " + name;
1773 }
1774
1775 /*! Loading message shown when loading search results */
1777 {
1778 return "Carregando...";
1779 }
1780
1781 /*! Label used for search results in the global namespace */
1783 {
1784 return "Namespace global";
1785 }
1786
1787 /*! Message shown while searching */
1789 {
1790 return "Procurando...";
1791 }
1792
1793 /*! Text shown when no search results are found */
1795 {
1796 return "Nenhuma entrada encontrada";
1797 }
1798
1799//////////////////////////////////////////////////////////////////////////
1800// new since 1.6.3 (missing items for the directory pages)
1801//////////////////////////////////////////////////////////////////////////
1802
1803 /*! when clicking a directory dependency label, a page with a
1804 * table is shown. The heading for the first column mentions the
1805 * source file that has a relation to another file.
1806 */
1807 DString trFileIn(const DString &name) override
1808 {
1809 return "Ficheiro em "+name;
1810 }
1811
1812 /*! when clicking a directory dependency label, a page with a
1813 * table is shown. The heading for the second column mentions the
1814 * destination file that is included.
1815 */
1816 DString trIncludesFileIn(const DString &name) override
1817 {
1818 return "Inclui ficheiro em "+name;
1819 }
1820
1821 /** Compiles a date string.
1822 * @param year Year in 4 digits
1823 * @param month Month of the year: 1=January
1824 * @param day Day of the Month: 1..31
1825 * @param dayOfWeek Day of the week: 1=Monday..7=Sunday
1826 * @param hour Hour of the day: 0..23
1827 * @param minutes Minutes in the hour: 0..59
1828 * @param seconds Seconds within the minute: 0..59
1829 * @param includeTime Include time in the result string?
1830 */
1831 DString trDateTime(int year,int month,int day,int dayOfWeek,
1832 int hour,int minutes,int seconds,
1833 DateTimeType includeTime) override
1834 {
1835 static const char *days[] = { "Segunda","Terça","Quarta","Quinta","Sexta","Sábado","Domingo" };
1836 static const char *months[] = { "Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro" };
1837 DString sdate;
1838 if (includeTime == DateTimeType::DateTime || includeTime == DateTimeType::Date)
1839 {
1840 sdate.sprintf("%s, %d de %s de %d",days[dayOfWeek-1],day,months[month-1],year);
1841 }
1842 if (includeTime == DateTimeType::DateTime) sdate += " ";
1843 if (includeTime == DateTimeType::DateTime || includeTime == DateTimeType::Time)
1844 {
1845 DString stime;
1846 stime.sprintf("%.2d:%.2d:%.2d",hour,minutes,seconds);
1847 sdate+=stime;
1848 }
1849 return sdate;
1850 }
1851 DString trDayOfWeek(int dayOfWeek, bool first_capital, bool full) override
1852 {
1853 static const char *days_short[] = { "seg", "ter", "qua", "qui", "sex", "sáb", "dom" };
1854 static const char *days_full[] = { "segunda-feira", "terça-feira", "quarta-feira", "quinta-feira", "sexta-feira", "sábado", "domingo" };
1855 DString text = full? days_full[dayOfWeek-1] : days_short[dayOfWeek-1];
1856 if (first_capital) return text.mid(0,1).upper()+text.mid(1);
1857 else return text;
1858 }
1859 DString trMonth(int month, bool first_capital, bool full) override
1860 {
1861 static const char *months_short[] = { "jan", "fev", "mar", "abr", "mai", "jun", "jul", "ago", "set", "out", "nov", "dez" };
1862 static const char *months_full[] = { "janeiro", "fevereiro", "março", "abril", "maio", "junho", "julho", "agosto", "setembro", "outubro", "novembro", "dezembro" };
1863 DString text = full? months_full[month-1] : months_short[month-1];
1864 if (first_capital) return text.mid(0,1).upper()+text.mid(1);
1865 else return text;
1866 }
1867 DString trDayPeriod(bool period) override
1868 {
1869 static const char *dayPeriod[] = { "AM", "PM" };
1870 return dayPeriod[period?1:0];
1871 }
1872
1873//////////////////////////////////////////////////////////////////////////
1874// new since 1.7.5
1875//////////////////////////////////////////////////////////////////////////
1876
1877 /*! Header for the page with bibliographic citations */
1879 { return "Referências Bibliográficas"; }
1880
1881 /*! Text for copyright paragraph */
1883 {
1884 // Note: I will leave it as is because "Direitos de autor" may not fit
1885 // in the text.
1886 return "Copyright";
1887 }
1888
1889 /*! Header for the graph showing the directory dependencies */
1890 DString trDirDepGraph(const DString &name) override
1891 { return DString("Grafo de dependências do diretório ")+name+":"; }
1892
1893//////////////////////////////////////////////////////////////////////////
1894// new since 1.8.0
1895//////////////////////////////////////////////////////////////////////////
1896
1897 /*! Detail level selector shown for hierarchical indices */
1899 { return "nível de detalhes"; }
1900
1901 /*! Section header for list of template parameters */
1903 { return "Parâmetros de template"; }
1904
1905 /*! Used in dot graph when UML_LOOK is enabled and there are many fields */
1906 DString trAndMore(const DString &number) override
1907 { return "e "+number+" mais..."; }
1908
1909 /*! Used file list for a Java enum */
1910 DString trEnumGeneratedFromFiles(bool single) override
1911 { DString result = "A documentação para esta enumeração foi gerada a partir";
1912 if (single) {
1913 result += "do seguinte ficheiro:";
1914 } else {
1915 result += "dos seguintes ficheiros:";
1916 }
1917 return result;
1918 }
1919
1920 /*! Header of a Java enum page (Java enums are represented as classes). */
1921 DString trEnumReference(const DString &name) override
1922 {
1923 DString result = "Referência da enumeração ";
1924 return result + name;
1925 }
1926
1927 /*! Used for a section containing inherited members */
1928 DString trInheritedFrom(const DString &members,const DString &what) override
1929 { return members+" herdados de "+what; }
1930
1931 /*! Header of the sections with inherited members specific for the
1932 * base class(es)
1933 */
1935 { return "Outros membros herdados"; }
1936
1937//////////////////////////////////////////////////////////////////////////
1938// new since 1.8.2
1939//////////////////////////////////////////////////////////////////////////
1940
1941 /*! Used as a tooltip for the toggle button that appears in the
1942 * navigation tree in the HTML output when GENERATE_TREEVIEW is
1943 * enabled. This tooltip explains the meaning of the button.
1944 */
1946 {
1947 DString opt = enable ? "ativar" : "desativar";
1948 return "clique para "+opt+" a sincronização do painel";
1949 }
1950
1951 /*! Used in a method of an Objective-C class that is declared in a
1952 * a category. Note that the @1 marker is required and is replaced
1953 * by a link.
1954 */
1956 {
1957 return "Provido pela categoria @0.";
1958 }
1959
1960 /*! Used in a method of an Objective-C category that extends a class.
1961 * Note that the @1 marker is required and is replaced by a link to
1962 * the class method.
1963 */
1965 {
1966 return "estende a classe @0.";
1967 }
1968
1969 /*! Used as the header of a list of class methods in Objective-C.
1970 * These are similar to static public member functions in C++.
1971 */
1973 {
1974 return "Métodos de classe";
1975 }
1976
1977 /*! Used as the header of a list of instance methods in Objective-C.
1978 * These are similar to public member functions in C++.
1979 */
1981 {
1982 return "Métodos de instância";
1983 }
1984
1985 /*! Used as the header of the member functions of an Objective-C class.
1986 */
1988 {
1989 return "Documentação do método";
1990 }
1991
1992//////////////////////////////////////////////////////////////////////////
1993// new since 1.8.4
1994//////////////////////////////////////////////////////////////////////////
1995
1996 /** old style UNO IDL services: implemented interfaces */
1998 { return "Interfaces Exportadas"; }
1999
2000 /** old style UNO IDL services: inherited services */
2002 { return "Serviços Incluídos"; }
2003
2004 /** UNO IDL constant groups */
2006 { return "Grupos de Constantes"; }
2007
2008 /** UNO IDL constant groups */
2009 DString trConstantGroupReference(const DString &namespaceName) override
2010 {
2011 DString result = "Referência do grupo de constantes ";
2012 result += namespaceName;
2013 return result;
2014 }
2015
2016 /** UNO IDL service page title */
2017 DString trServiceReference(const DString &sName) override
2018 {
2019 DString result = "Referência do serviço ";
2020 result += sName;
2021 return result;
2022 }
2023
2024 /** UNO IDL singleton page title */
2025 DString trSingletonReference(const DString &sName) override
2026 {
2027 DString result = "Referência do Singleton ";
2028 result += sName;
2029 return result;
2030 }
2031
2032 /** UNO IDL service page */
2034 {
2035 // single is true implies a single file
2036 DString result="A documentação para este serviço "
2037 "foi gerada a partir ";
2038 if (single) {
2039 result+="do seguinte ficheiro:";
2040 } else {
2041 result+="dos: seguintes ficheiros:";
2042 }
2043 return result;
2044 }
2045
2046 /** UNO IDL singleton page */
2048 {
2049 // single is true implies a single file
2050 DString result="A documentação para este singleton "
2051 "foi gerada a partir ";
2052 if (single) {
2053 result+="do seguinte ficheiro:";
2054 } else {
2055 result+="dos: seguintes ficheiros:";
2056 }
2057
2058 return result;
2059 }
2060
2061 //////////////////////////////////////////////////////////////////////////
2062 // new since 1.8.15
2063 //////////////////////////////////////////////////////////////////////////
2064
2065 /** VHDL design unit hierarchy */
2067 { return "Hierarquia da Unidade de Design"; }
2068 /** VHDL design unit list */
2070 { return "Lista de Unidades de Design"; }
2071 /** VHDL design unit members */
2073 { return "Membros da Unidade de Design"; }
2074 /** VHDL design unit list description */
2076 {
2077 return "Esta é uma lista de todos os membros de unidades de design "
2078 "com ligações para as entidades às quais pertencem:";
2079 }
2080 /** VHDL design unit index */
2082 { return "Índice de Unidades de Design"; }
2083 /** VHDL design units */
2085 { return "Unidades de Design"; }
2086 /** VHDL functions/procedures/processes */
2088 { return "Funções/Procedimentos/Processos"; }
2089 /** VHDL type */
2090 DString trVhdlType(VhdlSpecifier type,bool single) override
2091 {
2092 switch(type)
2093 {
2095 if (single) return "Biblioteca";
2096 else return "Bibliotecas";
2098 if (single) return "Pacote";
2099 else return "Pacotes";
2101 if (single) return "Sinal";
2102 else return "Sinais";
2104 if (single) return "Componente";
2105 else return "Componentes";
2107 if (single) return "Constante";
2108 else return "Constantes";
2110 if (single) return "Entidade";
2111 else return "Entidades";
2113 if (single) return "Tipo";
2114 else return "Tipos";
2116 if (single) return "Subtipo";
2117 else return "Subtipos";
2119 if (single) return "Função";
2120 else return "Funções";
2122 if (single) return "Registro";
2123 else return "Registros";
2125 if (single) return "Procedimento";
2126 else return "Procedimentos";
2128 if (single) return "Arquitetura";
2129 else return "Arquiteturas";
2131 if (single) return "Atributo";
2132 else return "Atributos";
2134 if (single) return "Processo";
2135 else return "Processos";
2137 if (single) return "Porta";
2138 else return "Portas";
2139 case VhdlSpecifier::USE:
2140 if (single) return "cláusula de uso";
2141 else return "cláusulas de uso";
2143 if (single) return "Generico";
2144 else return "Genericos";
2146 return "Corpo do Pacote";
2148 return "Unidades";
2150 if (single) return "Variável Compartilhada";
2151 else return "Variáveis Compartilhadas";
2153 if (single) return "Ficheiro";
2154 else return "Ficheiros";
2156 if (single) return "Grupo";
2157 else return "Grupos";
2159 if (single) return "Instância";
2160 else return "Instâncias";
2162 if (single) return "Apelido";
2163 else return "Apelidos";
2165 if (single) return "Configuração";
2166 else return "Configurações";
2168 return "Outros"; // Is this correct for VHDL?
2170 return "Restrições";
2171 default:
2172 return "Classe";
2173 }
2174 }
2175 DString trCustomReference(const DString &name) override
2176 { return "Referência de " + name; }
2177
2178 /* Slice */
2180 {
2181 return "Constantes";
2182 }
2184 {
2185 return "Constantes";
2186 }
2188 {
2189 return "Sequências";
2190 }
2192 {
2193 return "Sequências";
2194 }
2196 {
2197 return "Dicionários";
2198 }
2200 {
2201 return "Dicionários";
2202 }
2204 {
2205 return "Interfaces";
2206 }
2208 {
2209 return "Índice de Interfaces";
2210 }
2212 {
2213 return "Lista de Interfaces";
2214 }
2216 {
2217 return "Estas são as interfaces com suas respectivas descrições:";
2218 }
2220 {
2221 return "Hierarquia de Interfaces";
2222 }
2224 {
2225 return "Esta é a lista parcialmente ordenadas de heranças:";
2226 }
2228 {
2229 return "Interfaces";
2230 }
2232 {
2233 return "Estruturas";
2234 }
2236 {
2237 return "Índice de Estruturas";
2238 }
2240 {
2241 return "Lista de Estruturas";
2242 }
2244 {
2245 return "Estas são as estruturas com suas respectivas descrições:";
2246 }
2248 {
2249 return "Estruturas";
2250 }
2252 {
2253 return "Índice the Exceções";
2254 }
2256 {
2257 return "Lista de Exceções";
2258 }
2260 {
2261 return "Estas são as exceções com suas respectivas descrições:";
2262 }
2264 {
2265 return "Hierarquia de Exceções";
2266 }
2268 {
2269 return "Esta é a lista parcialmente ordenadas de heranças:";
2270 }
2272 {
2273 return "Exceções";
2274 }
2275 DString trCompoundReferenceSlice(const DString &clName, ClassDef::CompoundType compType, bool isLocal) override
2276 {
2277 DString result="Referência ";
2278 switch(compType)
2279 {
2280 case ClassDef::Class: result+="da Classe "; break;
2281 case ClassDef::Struct: result+="da Estrutura "; break;
2282 case ClassDef::Union: result+="da União "; break;
2283 case ClassDef::Interface: result+="da Interface "; break;
2284 case ClassDef::Protocol: result+="do Protocolo "; break;
2285 case ClassDef::Category: result+="da Categoria "; break;
2286 case ClassDef::Exception: result+="da Exceção "; break;
2287 default: break;
2288 }
2289 if (isLocal) result+="Local ";
2290 result+= clName;
2291 return result;
2292 }
2294 {
2295 return "Operações";
2296 }
2298 {
2299 return "Operações";
2300 }
2302 {
2303 return "Dados Membros";
2304 }
2306 {
2307 return "Dados Membros";
2308 }
2309
2310 //////////////////////////////////////////////////////////////////////////
2311 // new since 1.8.19
2312 //////////////////////////////////////////////////////////////////////////
2313
2314 /** VHDL design unit documentation */
2316 {
2317 return "Documentação da Unidade de Projeto";
2318 }
2319
2320 //////////////////////////////////////////////////////////////////////////
2321 // new since 1.9.2
2322 //////////////////////////////////////////////////////////////////////////
2323
2324 /** C++20 concept */
2325 DString trConcept(bool first_capital, bool singular) override
2326 {
2327 return createNoun(first_capital, singular, "conceito", "s");
2328 }
2329 /*! used as the title of the HTML page of a C++20 concept page */
2330 DString trConceptReference(const DString &conceptName) override
2331 {
2332 DString result= "Referência do Conceito ";
2333 result+=conceptName;
2334 return result;
2335 }
2336
2337 /*! used as the title of page containing all the index of all concepts. */
2339 { return "Lista de Conceitos"; }
2340
2341 /*! used as the title of chapter containing the index listing all concepts. */
2343 { return "Índice de Conceitos"; }
2344
2345 /*! used as the title of chapter containing all information about concepts. */
2347 { return "Documentação do Conceito"; }
2348
2349 /*! used as an introduction to the concept list */
2350 DString trConceptListDescription(bool extractAll) override
2351 {
2352 DString result="Esta é a lista de todos os conceitos ";
2353 if (!extractAll) result+="documentados ";
2354 result+="com suas respectivas descrições:";
2355 return result;
2356 }
2357
2358 /*! used to introduce the definition of the C++20 concept */
2360 {
2361 return "Definição de conceito";
2362 }
2363
2364 //////////////////////////////////////////////////////////////////////////
2365 // new since 1.9.4
2366 //////////////////////////////////////////////////////////////////////////
2368 { return "Lista de pacotes"; }
2369
2370 //////////////////////////////////////////////////////////////////////////
2371 // new since 1.9.6
2372 //////////////////////////////////////////////////////////////////////////
2373
2374 /*! This is used for translation of the word that will be
2375 * followed by a single name of the VHDL process flowchart.
2376 */
2378 {
2379 return "Fluxograma:";
2380 }
2381
2382 /*! Please translate also updated body of the method
2383 * trMemberFunctionDocumentation(), now better adapted for
2384 * VHDL sources documentation.
2385 */
2386
2387 //////////////////////////////////////////////////////////////////////////
2388 // new since 1.9.7
2389 //////////////////////////////////////////////////////////////////////////
2390 /*! used in the compound documentation before a list of related symbols.
2391 *
2392 * Supersedes trRelatedFunctions
2393 */
2395 { return "Símbolos relacionados"; }
2396
2397 /*! subscript for the related symbols
2398 *
2399 * Supersedes trRelatedSubscript
2400 */
2402 { return "(Note que estes não são símbolos membros.)"; }
2403
2404 /*! used in the class documentation as a header before the list of all
2405 * related classes.
2406 *
2407 * Supersedes trRelatedFunctionDocumentation
2408 */
2410 { return "Documentação dos símbolos amigos e relacionados"; }
2411
2412 /*! the compound type as used for the xrefitems */
2414 {
2415 DString result;
2416 switch(compType)
2417 {
2418 case ClassDef::Class:
2419 if (lang == SrcLangExt::Fortran) result=trType(true,true);
2420 else result=trClass(true,true);
2421 break;
2422 case ClassDef::Struct: result="Estrutura"; break;
2423 case ClassDef::Record: return english.trCompoundType(compType,lang);
2424 case ClassDef::Union: result="União"; break;
2425 case ClassDef::Interface: result="Interface"; break;
2426 case ClassDef::Protocol: result="Protocolo"; break;
2427 case ClassDef::Category: result="Categoria"; break;
2428 case ClassDef::Exception: result="Exceção"; break;
2429 case ClassDef::Service: result="Serviço"; break;
2430 case ClassDef::Singleton: result="Singleton"; break;
2431 default: break;
2432 }
2433 return result;
2434 }
2435
2437 {
2438 bool extractAll = Config_getBool(EXTRACT_ALL);
2440 DString result="Esta é a list de ";
2441 result+= (masculine?"todos os ":"todas as ");
2442 switch (hl)
2443 {
2445 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
2446 {
2447 result+="funções, variáveis, definições, enumerações e definições de tipos";
2448 }
2449 else
2450 {
2451 result+="membros do ficheiro";
2452 }
2453 break;
2455 result+="funções";
2456 break;
2458 result+="variáveis";
2459 break;
2461 result+="definições de tipos";
2462 break;
2464 result+="sequencias";
2465 break;
2467 result+="dicionários";
2468 break;
2470 result+="enumerações";
2471 break;
2473 result+="valores da enumeração";
2474 break;
2476 result+="definições/macros";
2477 break;
2478 case FileMemberHighlight::Total: // for completeness
2479 break;
2480 }
2481 if (!extractAll)
2482 {
2483 result+= masculine? " documentados": " documentadas";
2484 }
2485 result+=" com links para ";
2486 if (extractAll)
2487 result+="os ficheiros aos quais pertencem:";
2488 else
2489 result+="a documentação:";
2490 return result;
2491 }
2492
2494 {
2495 bool extractAll = Config_getBool(EXTRACT_ALL);
2497 DString result="Esta é a list de ";
2498 result+= (masculine?"todos os ":"todas as ");
2499 switch (hl)
2500 {
2502 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
2503 {
2504 result+="estruturas e uniões";
2505 }
2506 else
2507 {
2508 result+="membros de classe";
2509 }
2510 break;
2512 result+="funções";
2513 break;
2515 result+="variáveis";
2516 break;
2518 result+="definições de tipo";
2519 break;
2521 result+="enumerações";
2522 break;
2524 result+="valores enumerados";
2525 break;
2527 result+="propriedades";
2528 break;
2530 result+="eventos";
2531 break;
2533 result+="símbolos relacionados";
2534 break;
2535 case ClassMemberHighlight::Total: // for completeness
2536 break;
2537 }
2538 if (!extractAll)
2539 {
2540 result+= masculine?" documentados":" documentadas";
2541 }
2542 result+=" com links para ";
2543 if (!extractAll)
2544 {
2545 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
2546 {
2547 result+="a documentação da estrutura/união para cada campo:";
2548 }
2549 else
2550 {
2551 result+="a documentação da classe para cada membro:";
2552 }
2553 }
2554 else
2555 {
2556 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
2557 {
2558 result+="a estrutura/união a que petencem:";
2559 }
2560 else
2561 {
2562 result+="a classe a que pertencem:";
2563 }
2564 }
2565 return result;
2566 }
2567
2569 {
2570 bool extractAll = Config_getBool(EXTRACT_ALL);
2572 DString result="Esta é a list de ";
2573 result+= (masculine?"todos os ":"todas as ");
2574 DString singularResult = "";
2575 DString pluralResult = "";
2576 switch (hl)
2577 {
2579 singularResult="membros";
2580
2581 break;
2583 singularResult="função";
2584 pluralResult="funções";
2585 break;
2587 singularResult="variável";
2588 pluralResult="variáveis";
2589 break;
2591 singularResult="definição de tipo";
2592 pluralResult="definições de tipo";
2593 break;
2595 singularResult="sequencia";
2596 pluralResult="sequencias";
2597 break;
2599 singularResult="dicionário";
2600 break;
2602 singularResult="enumeração";
2603 pluralResult="enumerações";
2604 break;
2606 singularResult="valor enumerado";
2607 pluralResult="valores enumerados";
2608 break;
2609 case NamespaceMemberHighlight::Total: // for completeness
2610 break;
2611 }
2612 result+=(pluralResult.empty() ? singularResult+"s" : pluralResult);
2613 result+=" do namespace ";
2614 if (!extractAll) result+="documentado ";
2615 result+=" com links para ";
2616 if (extractAll)
2617 result+="a documentação de cada " + singularResult + ":";
2618 else
2619 result+="o namespace a que pertencem:";
2620 return result;
2621 }
2622 DString trDefinition() override { return "Definição";}
2623 DString trDeclaration() override { return "Declaração";}
2624
2625//////////////////////////////////////////////////////////////////////////
2626// new since 1.9.8
2627//////////////////////////////////////////////////////////////////////////
2628
2630 { return "Tópicos"; }
2632 { return "Tópico"; }
2634 { return "Lista de Tópicos"; }
2636 { return "Índice de Tópicos"; }
2638 { return "Esta é uma lista de todos os tópicos e suas descrições:"; }
2640 {
2641 bool extractAll = Config_getBool(EXTRACT_ALL);
2643 DString result="Esta é a list de ";
2644 result+= (masculine?"todos os ":"todas as ");
2645 DString singularResult = "";
2646 DString pluralResult = "";
2647 switch (hl)
2648 {
2650 singularResult="membro";
2651 break;
2653 singularResult="função";
2654 pluralResult="funções";
2655 break;
2657 singularResult="variável";
2658 pluralResult="variáveis";
2659 break;
2661 singularResult="definição de tipo";
2662 pluralResult="definições de tipo";
2663 break;
2665 singularResult="enumeração";
2666 pluralResult="enumerações";
2667 break;
2669 singularResult="valor enumerado";
2670 pluralResult="valores enumerados";
2671 break;
2672 case ModuleMemberHighlight::Total: // for completeness
2673 break;
2674 }
2675 result+=(pluralResult.empty() ? singularResult+"s" : pluralResult);
2676 result+="do módulo ";
2677 if (!extractAll) result+="documentado ";
2678 result+=" com links para ";
2679 if (extractAll)
2680 result+="a documentação de cada " + singularResult + ":";
2681 else
2682 result+="o módulo a que pertencem:";
2683 return result;
2684 }
2686 {
2687 return "Módulos Exportados";
2688 }
2689
2690//////////////////////////////////////////////////////////////////////////
2691// new since 1.10.0
2692//////////////////////////////////////////////////////////////////////////
2693
2695 {
2696 return "Copiado para a área de transferência";
2697 }
2698//////////////////////////////////////////////////////////////////////////
2699// new since 1.11.0
2700//////////////////////////////////////////////////////////////////////////
2702 {
2703 return "Importante";
2704 }
2705
2706//////////////////////////////////////////////////////////////////////////
2707// new since 1.16.0
2708//////////////////////////////////////////////////////////////////////////
2709
2710 // the title of the requirements overview page
2712 {
2713 return "Requisitos";
2714 }
2715 // table header for the column with the requirements IDs
2717 {
2718 return "ID";
2719 }
2720 // indicates a symbol implements (satisfies) a requirement
2721 DString trSatisfies(bool singular) override
2722 {
2723 // createNoun() cannot be used because the article must match the noum
2724 DString result = "Satisfaz o";
2725 return result + (singular ? " requisito" : "s requisitos");
2726 }
2727 // indicates a requirement is satisfied (implemented) by one or more symbols
2728 DString trSatisfiedBy(const DString &list) override
2729 {
2730 return "Satisfeito por "+list+".";
2731 }
2733 {
2734 return "Requisitos não satisfeitos";
2735 }
2736 DString trUnsatisfiedRequirementsText(bool singular,const DString &list) override
2737 {
2738 return singular ?
2739 "O requisito "+list+" não possui a relação 'satisfaz'." :
2740 "Os requisitos "+list+" não possuem a relação 'satisfaz'.";
2741 }
2742 // indicates a symbol verifies (tests) a requirement
2743 DString trVerifies(bool singular) override
2744 {
2745 // createNoun() cannot be used because the article must match the noum
2746 DString result = "Verifica o";
2747 return result + (singular ? " requisito" : "s requisitos");
2748 }
2749 // indicates a requirement is verified (tested) by one or more symbols
2750 DString trVerifiedBy(const DString &list) override
2751 {
2752 return "Verificado por "+list+".";
2753 }
2755 {
2756 return "Requisitos não verificados";
2757 }
2758 DString trUnverifiedRequirementsText(bool singular,const DString &list) override
2759 {
2760 return singular ?
2761 "O requisito "+list+" não possui a relação 'verificado por'." :
2762 "Os requisitos "+list+" não possuem a relação 'verificado por'.";
2763 }
2764};
2765
2766#endif
CompoundType
The various compound types.
Definition classdef.h:105
@ Singleton
Definition classdef.h:114
@ Interface
Definition classdef.h:109
@ Exception
Definition classdef.h:112
A String class for use with Doxygen wrapping std::string and adding some additional functionality off...
Definition dstring.h:84
DString upper() const
Definition dstring.h:331
DString mid(size_t index, size_t len=npos) const
Definition dstring.h:318
bool empty() const
Returns true iff the string is empty (std::string compatible alias for isEmpty()).
Definition dstring.h:148
DString & sprintf(const char *format,...)
Definition dstring.cpp:34
TranslatorEnglish english
DString trCompoundReference(const DString &clName, ClassDef::CompoundType compType, bool isTemplate) override
DString trGeneratedFromFiles(ClassDef::CompoundType compType, bool single) override
DString trCompoundType(ClassDef::CompoundType compType, SrcLangExt lang) override
DString createNoun(bool first_capital, bool singular, const DString &base, const DString &plurSuffix, const DString &singSuffix="")
Definition translator.h:807
DString trStructs() override
DString trInterfaceList() override
DString trGotoTextualHierarchy() override
DString trStaticPrivateMembers() override
DString trSubprogramDocumentation() override
DString trDefineValue() override
DString trTopicIndex() override
DString trExportedModules() override
DString trMemberTypedefDocumentation() override
DString trExceptionIndex() override
DString trCompoundReferenceSlice(const DString &clName, ClassDef::CompoundType compType, bool isLocal) override
DString trLegend() override
DString trFunctionAndProc() override
VHDL functions/procedures/processes.
DString trMethodDocumentation() override
DString trVariables() override
DString trDocumentation(const DString &projName) override
DString trRelatedFunctionDocumentation() override
DString trUnsatisfiedRequirementsText(bool singular, const DString &list) override
DString trNamespaceDocumentation() override
DString trFunctionDocumentation() override
DString trPageIndex() override
DString trCompoundReferenceFortran(const DString &clName, ClassDef::CompoundType compType, bool isTemplate) override
DString trGlobalNamespace() override
DString trNamespace(bool first_capital, bool singular) override
DString trInterfaceDocumentation() override
DString trRequirementID() override
DString trGeneratedBy() override
DString trDetails() override
DString trTopicListDescription() override
DString trRemarks() override
DString trSatisfies(bool singular) override
DString trBugList() override
DString trModulesDescription() override
DString trServiceGeneratedFromFiles(bool single) override
UNO IDL service page.
DString trSeeAlso() override
DString trEnumGeneratedFromFiles(bool single) override
DString trProvidedByCategory() override
DString trClassHierarchyDescription() override
DString trPrivateMembers() override
DString trSignals() override
DString trRTFCharSet() override
DString trDesignUnitMembers() override
VHDL design unit members.
DString trModules() override
DString trLoading() override
DString trInterfaces() override
old style UNO IDL services: implemented interfaces
DString trExceptions() override
DString trDeclaration() override
DString trConceptReference(const DString &conceptName) override
DString trRelatedPages() override
DString trSequences() override
DString trPage(bool first_capital, bool singular) override
DString trDirDepGraph(const DString &name) override
DString trMemberList() override
DString trExceptionHierarchyDescription() override
DString trMemberDataDocumentation() override
DString trPropertyDocumentation() override
DString trTopics() override
DString trDetailedDescription() override
DString trModuleDocumentation() override
DString trProperties() override
DString trFunctions() override
DString trServices() override
old style UNO IDL services: inherited services
DString trSingletonGeneratedFromFiles(bool single) override
UNO IDL singleton page.
DString trModuleReference(const DString &namespaceName) override
DString trModule(bool first_capital, bool singular) override
DString trRelatedSubscript() override
DString trDataTypes() override
DString trGraphicalHierarchy() override
DString trAll() override
DString trGotoGraphicalHierarchy() override
DString trRelatedPagesDescription() override
DString trDesignUnitHierarchy() override
VHDL design unit hierarchy.
DString trIncludesFileIn(const DString &name) override
DString trReferences() override
DString trStructIndex() override
DString trConstructorDocumentation() override
DString trTypedefs() override
DString trFileList() override
DString trConstantGroupReference(const DString &namespaceName) override
UNO IDL constant groups.
DString trConceptIndex() override
DString trEnumValue() override
DString trDefinedInSourceFile() override
DString trAdditionalInheritedMembers() override
DString trThisIsTheListOfAllMembers() override
DString trVariableDocumentation() override
DString trRelatedSymbols() override
DString trDataMemberDocumentation() override
DString trClassDocumentation() override
DString trGroup(bool first_capital, bool singular) override
DString trNoMatches() override
DString trCopyToClipboard() override
DString trPackageFunctions() override
DString trClassMethods() override
DString trHierarchicalIndex() override
DString trImportant() override
DString trDefinedAtLineInSourceFile() override
DString trPublicAttribs() override
DString trEnumName() override
DString trTodo() override
DString trExceptionList() override
DString trRTFansicp() override
DString trExtendsClass() override
DString trExceptionDocumentation() override
DString trTypedefDocumentation() override
DString trRelatedFunctions() override
DString trFileMembersDescription(bool extractAll) override
DString trDictionaryDocumentation() override
DString trModulesMembers() override
DString trRTFGeneralIndex() override
DString trDateTime(int year, int month, int day, int dayOfWeek, int hour, int minutes, int seconds, DateTimeType includeTime) override
Compiles a date string.
DString trCompoundList() override
DString trDesignUnitIndex() override
VHDL design unit index.
DString trPublicTypes() override
DString trPublicMembers() override
DString trNamespaceMembers() override
DString trDeprecatedList() override
DString trSatisfiedBy(const DString &list) override
DString trDirDocumentation() override
DString trCustomReference(const DString &name) override
DString trProtectedAttribs() override
DString trModulesList() override
DString trModulesListDescription(bool extractAll) override
DString trImplementedInList(int numEntries) override
DString trServiceReference(const DString &sName) override
UNO IDL service page title.
DString trOperations() override
DString trRelatedSymbolDocumentation() override
DString trProtectedTypes() override
DString trDeprecated() override
DString trIncludingInheritedMembers() override
DString trInheritsList(int numEntries) override
DString trStaticPrivateAttribs() override
DString trParameters() override
DString trStructList() override
DString trModuleMembersDescriptionTotal(ModuleMemberHighlight::Enum hl) override
DString trDayPeriod(bool period) override
DString trInheritedByList(int numEntries) override
DString trClassHierarchy() override
DString trTopicList() override
DString trPackage(const DString &name) override
DString trGeneratedAutomatically(const DString &s) override
DString trCompoundMembersDescription(bool extractAll) override
DString trOverloadText() override
DString trDirectories() override
DString trCompoundListDescriptionFortran() override
DString trFriends() override
DString trDefinedIn() override
DString trInclByDepGraph() override
DString trGeneratedFromFiles(ClassDef::CompoundType compType, bool single) override
DString trReimplementedFromList(int numEntries) override
DString trEnumerationTypeDocumentation() override
DString trAuthor(bool first_capital, bool singular) override
DString trCompoundListFortran() override
DString trFileIndex() override
DString trDictionaries() override
DString trEnumReference(const DString &name) override
DString trConstantGroups() override
UNO IDL constant groups.
DString trCompoundMembersDescriptionFortran(bool extractAll) override
DString trFlowchart() override
DString trCallGraph() override
DString trSourceFile(const DString &filename) override
DString trGeneratedAt(const DString &date, const DString &projName) override
DString trEnumerationValues() override
DString trISOLang() override
DString trDetailLevel() override
DString trMemberEnumerationDocumentation() override
DString getLanguageString() override
language codes for Html help
DString trReferenceManual() override
DString trCopyright() override
DString trGeneratedFromFilesFortran(ClassDef::CompoundType compType, bool single) override
DString trConceptDocumentation() override
DString trCollaborationDiagram(const DString &clName) override
DString trTodoList() override
DString trCompoundIndex() override
DString trRequirements() override
DString trModulesIndex() override
DString trSubprograms() override
DString trLegendTitle() override
DString trNamespaceListDescription(bool extractAll) override
DString trCompoundMembersDescriptionTotal(ClassMemberHighlight::Enum hl) override
DString trBug() override
DString trSubprogram(bool first_capital, bool singular) override
DString trPackageList() override
DString trAttention() override
DString trCompoundType(ClassDef::CompoundType compType, SrcLangExt lang) override
DString trUnverifiedRequirements() override
DString trPrecondition() override
DString trCallerGraph() override
DString trInterfaceListDescription() override
DString latexLanguageSupportCommand() override
DString trDataMembers() override
DString trPackageTypes() override
DString trPackageAttribs() override
DString trInstanceMethods() override
DString trDefineDocumentation() override
DString trGlobal(bool first_capital, bool singular) override
DString trInterfaceIndex() override
DString trEnumerations() override
DString trMemberFunctionDocumentation() override
DString trFileMembers() override
DString trExceptionListDescription() override
DString trConceptList() override
DString trUnverifiedRequirementsText(bool singular, const DString &list) override
DString trDesignUnitDocumentation() override
VHDL design unit documentation.
DString trStructListDescription() override
DString trDayOfWeek(int dayOfWeek, bool first_capital, bool full) override
DString trSliceInterfaces() override
DString trConceptDefinition() override
DString trEnumerationValueDocumentation() override
DString trMore() override
DString trLegendDocs() override
DString trDefinition() override
DString trModuleIndex() override
DString trCompoundListDescription() override
DString trPrivateTypes() override
DString trConstantDocumentation() override
DString trCompoundReference(const DString &clName, ClassDef::CompoundType compType, bool isTemplate) override
DString trCompoundMembers() override
DString idLanguage() override
DString trReimplementedInList(int numEntries) override
DString trCode() override
DString trStructDocumentation() override
DString trNamespaceMembersDescriptionTotal(NamespaceMemberHighlight::Enum hl) override
DString trProtectedSlots() override
DString trEventDocumentation() override
DString trFileMembersDescriptionTotal(FileMemberHighlight::Enum hl) override
DString trPageAbbreviation() override
DString trStaticPackageFunctions() override
DString trPostcondition() override
DString trDefines() override
DString trMonth(int month, bool first_capital, bool full) override
DString trConceptListDescription(bool extractAll) override
DString trSince() override
DString trWarning() override
DString trClassDiagram(const DString &clName) override
DString trEvents() override
DString trListOfAllMembers() override
DString trStaticProtectedAttribs() override
DString trDesignUnitList() override
VHDL design unit list.
DString trDesignUnits() override
VHDL design units.
DString trNamespaceList() override
DString trNamespaceIndex() override
DString trOperationDocumentation() override
DString trDir(bool first_capital, bool singular) override
DString trWriteList(int numEntries) override
DString trClass(bool first_capital, bool singular) override
DString trCompoundIndexFortran() override
DString trProtectedMembers() override
DString trModulesMemberDescription(bool extractAll) override
DString trNamespaceMemberDescription(bool extractAll) override
DString trPublicSlots() override
DString trPrivateAttribs() override
DString trStaticProtectedMembers() override
DString trCiteReferences() override
DString trFileIn(const DString &name) override
DString trVerifies(bool singular) override
DString trImplementedFromList(int numEntries) override
DString trInitialValue() override
DString trInterfaceHierarchy() override
DString trCompoundMembersFortran() override
DString trRelatedSymbolsSubscript() override
DString trInvariant() override
DString trStaticPublicAttribs() override
DString trTest() override
DString trReferencedBy() override
DString trDirRelation(const DString &name) override
DString trMember(bool first_capital, bool singular) override
DString trPanelSynchronisationTooltip(bool enable) override
DString trDirIndex() override
DString trSearching() override
DString trTypeConstraints() override
DString trSearchResults(int numDocuments) override
DString trInheritedFrom(const DString &members, const DString &what) override
DString trReturns() override
DString trExamplesDescription() override
DString trTopicDocumentation() override
DString trMemberFunctionDocumentationFortran() override
DString trDesignUnitListDescription() override
VHDL design unit list description.
DString trInterfaceHierarchyDescription() override
DString trNamespaceReference(const DString &namespaceName) override
DString trConstants() override
DString trInclDepGraph(const DString &fName) override
DString trMainPage() override
DString trAndMore(const DString &number) override
DString trNote() override
DString trVhdlType(VhdlSpecifier type, bool single) override
VHDL type.
DString trCompounds() override
DString trExamples() override
DString trDate() override
DString trExceptionHierarchy() override
DString trPackages() override
DString trRTFTableOfContents() override
DString trClasses() override
DString trPrivateSlots() override
DString trStaticPackageAttribs() override
DString trTestList() override
DString trType(bool first_capital, bool singular) override
DString trPackageMembers() override
DString trStaticPublicMembers() override
DString trTemplateParameters() override
DString trSearchMatches() override
DString trSearch() override
DString trPackageListDescription() override
DString trGotoDocumentation() override
DString trSearchResultsTitle() override
DString trSequenceDocumentation() override
DString trSingletonReference(const DString &sName) override
UNO IDL singleton page title.
DString trFile(bool first_capital, bool singular) override
DString trUnsatisfiedRequirements() override
DString trReturnValues() override
DString trNamespaces() override
DString trTypeDocumentation() override
DString trFileReference(const DString &fileName) override
DString trGotoSourceCode() override
DString trDirReference(const DString &dirName) override
DString trVerifiedBy(const DString &list) override
DString trFileDocumentation() override
DString trVersion() override
DString trConcept(bool first_capital, bool singular) override
C++20 concept.
DString trFileListDescription(bool extractAll) override
#define Config_getBool(name)
Definition config.h:33
DateTimeType
Definition datetime.h:38
DString generateMarker(int id)
Definition dstring.h:904
bool isNamespaceMemberHighlightMasculine(NamespaceMemberHighlight::Enum hl)
bool isClassMemberHighlightMasculine(ClassMemberHighlight::Enum hl)
bool isFileMemberHighlightMasculine(FileMemberHighlight::Enum hl)
bool isModuleMemberHighlightMasculine(ModuleMemberHighlight::Enum hl)
SrcLangExt
Definition types.h:207
VhdlSpecifier
Definition types.h:772
@ INSTANTIATION
Definition types.h:793
@ MISCELLANEOUS
Definition types.h:799
@ SHAREDVARIABLE
Definition types.h:796
DString getDotImageExtension()
Definition util.cpp:5100