Doxygen
Loading...
Searching...
No Matches
translator_br.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 workns derived from the
12 * input used in their production; they are not affected by this license.
13 *
14 * Brazilian Portuguese translation
15 * Maintainer:
16 * Fabio "FJTC" Jun Takada Chino <fjtc at brokenbits dot com dot br>
17 * Collaborators:
18 * Emerson Ferreira <nuskorpios at gmail dot com>
19 * Ulisses Guedes <uli1958 at hotmail dot com>
20 * Thanks to Jorge Ramos, Fernando Carijo and others for their contributions.
21 *
22 * History:
23 * 20260112:
24 * - Updated to 1.16.0;
25 * 20240204:
26 * - Updated to 1.11.0:
27 * 20231107:
28 * - Updated to 1.10.0:
29 * 20230817:
30 * - Updated to 1.9.8;
31 * - Small fixes to the method TranslatorBrazilian::trNamespaceMembersDescriptionTotal().
32 * 20230430:
33 * - Updated to 1.9.7;
34 * - Adding the namespace PortugueseTranslatorUtils to hold common
35 * functions shared by both Portuguese translators;
36 * - Some translations used by TranslatorPortuguese have been merged
37 * into this translator to make both classes more similar.
38 * 20220911:
39 * - Updated to 1.9.6;
40 * 20220525:
41 * - Updated to 1.9.4;
42 * 20211003:
43 * - Updated to 1.9.3;
44 * 20200112:
45 * - Updated to 1.9.1;
46 * 20190203:
47 * - Slice methods added;
48 * 20180612:
49 * - Updated to 1.8.15;
50 * 20170123:
51 * - Full translation revision;
52 * - trLegendDocs() is now synchronized with the English version;
53 * - Merging most of the suggestions sent by Emerson Ferreira;
54 * 20131129:
55 * - Updated to 1.8.5;
56 * - Translation in the method trFileMembers() fixed;
57 * - Translation in the method trEnumerationValues() fixed;
58 * 20110628:
59 * - Updated to 1.7.5;
60 * 20100531:
61 * - Updated to 1.6.3;
62 * 20091218:
63 * - Updated to 1.6.1;
64 * - Copyright year updated;
65 * - Translation updates suggested by Fernando Carijó added;
66 * 20080709:
67 * - References to MAX_DOT_GRAPH_HEIGHT removed from trLegendDocs().
68 * 20080206:
69 * - Method trTypeContraints() renamed to trTypeConstraints().
70 * 20071216:
71 * - New methods since 1.5.4 updated.
72 * Previous history removed from this version.
73 */
74#ifndef TRANSLATOR_BR_H
75#define TRANSLATOR_BR_H
76
78{
79 /*! Returns true if the gender of the given component is masculine in
80 Portuguese. */
82 {
83 switch (hl)
84 {
86 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
87 {
88 // as estruturas e uniões
89 return false;
90 }
91 else
92 {
93 // os membros da classe
94 return true;
95 }
96 break;
102 return false;
106 default:
107 return true;
108 }
109 }
110
111 /*! Returns true if the gender of the given component is masculine in
112 Portuguese. */
114 {
115 switch (hl)
116 {
120 return true;
127 return false;
128 default:
129 return true;
130 }
131 }
132
133 /*! Returns true if the gender of the given component is masculine in
134 Brazilian Portuguese and European Portuguese. */
153
154 /*! Returns true if the gender of the given component is masculine in
155 Brazilian Portuguese and European Portuguese. */
157 {
158 switch (hl)
159 {
162 return true;
167 return false;
168 default:
169 return true;
170 }
171 }
172}
173
175{
176 public:
177
178 // --- Language control methods -------------------
179
180 /*! Used for identification of the language. The identification
181 * should not be translated. It should be replaced by the name
182 * of the language in English using lower-case characters only
183 * (e.g. "czech", "japanese", "russian", etc.). It should be equal to
184 * the identification used in language.cpp.
185 */
187 {
188 return "brazilian";
189 }
190
191 /*! Used to get the LaTeX command(s) for the language support.
192 * This method should return string with commands that switch
193 * LaTeX to the desired language. For example
194 * <pre>"\\usepackage[german]{babel}\n"
195 * </pre>
196 * or
197 * <pre>"\\usepackage{polski}\n"
198 * "\\usepackage[latin2]{inputenc}\n"
199 * "\\usepackage[T1]{fontenc}\n"
200 * </pre>
201 *
202 * The English LaTeX does not use such commands. Because of this
203 * the empty string is returned in this implementation.
204 */
206 {
207 return "\\usepackage[brazil]{babel}";
208 }
209
211 {
212 return "pt-BR";
213 }
215 {
216 return "0x416 Portuguese(Brazil)";
217 }
218
219 // --- Language translation methods -------------------
220
221 /*! used in the compound documentation before a list of related functions. */
223 { return "Funções relacionadas"; }
224
225 /*! subscript for the related functions. */
227 { return "(Note que estas não são funções membros.)"; }
228
229 /*! header that is put before the detailed description of files, classes and namespaces. */
231 { return "Descrição detalhada"; }
232
233 /*! header that is used when the summary tag is missing inside the details tag */
235 { return "Detalhes"; }
236
237 /*! header that is put before the list of typedefs. */
239 { return "Documentação das definições de tipos"; }
240
241 /*! header that is put before the list of enumerations. */
243 { return "Documentação das enumerações"; }
244
245 /*! header that is put before the list of member functions. */
247 {
248 if (Config_getBool(OPTIMIZE_OUTPUT_VHDL))
249 {
250 return "Documentação das funções, procedimentos e processos";
251 }
252 else
253 {
254 return "Documentação das funções";
255 }
256 }
257
258 /*! header that is put before the list of member attributes. */
260 {
261 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
262 {
263 return "Campos";
264 }
265 else
266 {
267 return "Atributos";
268 }
269 }
270
271 /*! this is the text of a link put after brief descriptions. */
272 DString trMore() override
273 { return "Mais..."; }
274
275 /*! put in the class documentation */
277 { return "Lista de todos os Membros"; }
278
279 /*! used as the title of the "list of all members" page of a class */
281 { return "Lista dos Membros"; }
282
283 /*! this is the first part of a sentence that is followed by a class name */
285 { return "Esta é a lista de todos os membros de"; }
286
287 /*! this is the remainder of the sentence after the class name */
289 { return ", incluindo os membros herdados."; }
290
291 /*! this is put at the author sections at the bottom of man pages.
292 * parameter s is name of the project name.
293 */
295 { DString result="Gerado automaticamente por Doxygen";
296 if (!s.empty()) result+=" para "+s;
297 result+=" a partir do código fonte.";
298 return result;
299 }
300
301 /*! put after an enum name in the list of all members */
303 { return "Enumeração"; }
304
305 /*! put after an enum value in the list of all members */
307 { return "Valor enumerado"; }
308
309 /*! put after an undocumented member in the list of all members */
311 { return "definido(a) em"; }
312
313 // quick reference sections
314
315 /*! This is put above each page as a link to the list of all groups of
316 * compounds or files (see the \\group command).
317 */
319 { return "Módulos"; }
320
321 /*! This is put above each page as a link to the class hierarchy */
323 { return "Hierarquia de Classes"; }
324
325 /*! This is put above each page as a link to the list of annotated classes */
327 {
328 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
329 {
330 return "Estruturas de Dados";
331 }
332 else
333 {
334 return "Lista de Classes";
335 }
336 }
337
338 /*! This is put above each page as a link to the list of documented files */
340 { return "Lista de Arquivos"; }
341
342 /*! This is put above each page as a link to all members of compounds. */
344 {
345 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
346 {
347 return "Campos de Dados";
348 }
349 else
350 {
351 return "Membros de classe";
352 }
353 }
354
355 /*! This is put above each page as a link to all members of files. */
357 {
358 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
359 {
360 return "Globais";
361 }
362 else
363 {
364 return "Membros dos Arquivos";
365 }
366 }
367
368 /*! This is put above each page as a link to all related pages. */
370 { return "Páginas relacionadas"; }
371
372 /*! This is put above each page as a link to all examples. */
374 { return "Exemplos"; }
375
376 /*! This is put above each page as a link to the search engine. */
377 DString trSearch() override
378 { return "Busca"; }
379
380 /*! This is an introduction to the class hierarchy. */
382 { return "Esta lista de hierarquias está parcialmente ordenada (ordem alfabética):"; }
383
384 /*! This is an introduction to the list with all files. */
385 DString trFileListDescription(bool extractAll) override
386 {
387 DString result="Esta é a lista de todos os arquivos ";
388 if (!extractAll) result+="documentados ";
389 result+="e suas respectivas descrições:";
390 return result;
391 }
392
393 /*! This is an introduction to the annotated compound list. */
395 {
396 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
397 {
398 return "Aqui estão as estruturas de dados, uniões e suas respectivas descrições:";
399 }
400 else if (Config_getBool(OPTIMIZE_OUTPUT_SLICE))
401 {
402 return "Aqui estão as classes e suas respectivas descrições:";
403 }
404 else
405 {
406 return "Aqui estão as classes, estruturas, uniões e interfaces e suas respectivas descrições:";
407 }
408 }
409
410 /*! This is an introduction to the page with all class members. */
411 DString trCompoundMembersDescription(bool extractAll) override
412 {
413 DString result="Esta é a lista de ";
414
415 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
416 {
417 result+="todas as estruturas e campos de uniões ";
418 if (!extractAll)
419 {
420 result+="documentados";
421 }
422 }
423 else
424 {
425 result+="todos os membros de classes ";
426 if (!extractAll)
427 {
428 result+="documentados";
429 }
430 }
431 result+=" com referências para ";
432 if (!extractAll)
433 {
434 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
435 {
436 result+="a documentação da estrutura/união de cada campo:";
437 }
438 else
439 {
440 result+="a documentação da classe de cada membro:";
441 }
442 }
443 else
444 {
445 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
446 {
447 result+="a estrutura/união a que pertencem:";
448 }
449 else
450 {
451 result+="a classe a que pertencem:";
452 }
453 }
454 return result;
455 }
456
457 /*! This is an introduction to the page with all file members. */
458 DString trFileMembersDescription(bool extractAll) override
459 {
460 DString result="Esta é a lista de ";
461 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
462 {
463 result+="todas as funções, variáveis, definições, enumerações e definições de tipos ";
464 if (!extractAll) result+="documentadas ";
465 }
466 else
467 {
468 result+="todos os membros dos arquivos ";
469 if (!extractAll) result+="documentados ";
470 }
471 result+="com referências para ";
472 if (extractAll)
473 result+="seus respectivos arquivos:";
474 else
475 result+="suas respectivas documentações:";
476 return result;
477 }
478
479 /*! This is an introduction to the page with the list of all examples */
481 { return "Lista de todos os exemplos:"; }
482
483 /*! This is an introduction to the page with the list of related pages */
485 { return "Lista de toda a documentação relacionadas:"; }
486
487 /*! This is an introduction to the page with the list of class/file groups */
489 { return "Lista de todos os módulos:"; }
490
491 /*! This is used in HTML as the title of index.html. */
492 DString trDocumentation(const DString &projName) override
493 { return "Documentação" + (!projName.empty()? " de " + projName : ""); }
494
495 /*! This is used in LaTeX as the title of the chapter with the
496 * index of all groups.
497 */
499 { return "Índice dos módulos"; }
500
501 /*! This is used in LaTeX as the title of the chapter with the
502 * class hierarchy.
503 */
505 { return "Índice Hierárquico"; }
506
507 /*! This is used in LaTeX as the title of the chapter with the
508 * annotated compound index.
509 */
511 {
512 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
513 {
514 return "Índice das Estruturas de Dados";
515 }
516 else
517 {
518 return "Índice dos Componentes";
519 }
520 }
521
522 /*! This is used in LaTeX as the title of the chapter with the
523 * list of all files.
524 */
526 { return "Índice dos Arquivos"; }
527
528 /*! This is used in LaTeX as the title of the chapter containing
529 * the documentation of all groups.
530 */
532 { return "Módulos"; }
533
534 /*! This is used in LaTeX as the title of the chapter containing
535 * the documentation of all classes, structs and unions.
536 */
538 {
539 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
540 {
541 return "Estruturas";
542 }
543 else if (Config_getBool(OPTIMIZE_OUTPUT_VHDL))
544 {
546 }
547 else
548 {
549 return "Classes";
550 }
551 }
552
553 /*! This is used in LaTeX as the title of the chapter containing
554 * the documentation of all files.
555 */
557 { return "Arquivos"; }
558
559 /*! This is used in LaTeX as the title of the document */
561 { return "Guia de Referência"; }
562
563 /*! This is used in the documentation of a file as a header before the
564 * list of defines
565 */
567 { return "Definições e Macros"; }
568
569 /*! This is used in the documentation of a file as a header before the
570 * list of typedefs
571 */
573 { return "Definições de Tipos"; }
574
575 /*! This is used in the documentation of a file as a header before the
576 * list of enumerations
577 */
579 { return "Enumerações"; }
580
581 /*! This is used in the documentation of a file as a header before the
582 * list of (global) functions
583 */
585 { return "Funções"; }
586
587 /*! This is used in the documentation of a file as a header before the
588 * list of (global) variables
589 */
591 { return "Variáveis"; }
592
593 /*! This is used in the documentation of a file as a header before the
594 * list of (global) variables
595 */
597 { return "Enumeradores"; }
598
599 /*! This is used in the documentation of a file before the list of
600 * documentation blocks for defines
601 */
603 { return "Definições e macros"; }
604
605 /*! This is used in the documentation of a file/namespace before the list
606 * of documentation blocks for typedefs
607 */
609 { return "Definições dos tipos"; }
610
611 /*! This is used in the documentation of a file/namespace before the list
612 * of documentation blocks for enumeration types
613 */
615 { return "Enumerações"; }
616
617 /*! This is used in the documentation of a file/namespace before the list
618 * of documentation blocks for functions
619 */
621 { return "Funções"; }
622
623 /*! This is used in the documentation of a file/namespace before the list
624 * of documentation blocks for variables
625 */
627 { return "Variáveis"; }
628
629 /*! This is used in the documentation of a file/namespace/group before
630 * the list of links to documented compounds
631 */
633 {
634 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
635 {
636 return "Estruturas de Dados";
637 }
638 else
639 {
640 return "Componentes";
641 }
642 }
643
644 /*! This is used in the standard footer of each page and indicates when
645 * the page was generated
646 */
647 DString trGeneratedAt(const DString &date,const DString &projName) override
648 {
649 DString result="Gerado em "+date;
650 if (!projName.empty()) result+=" para "+projName;
651 result+=" por";
652 return result;
653 }
654
655 /*! this text is put before a class diagram */
656 DString trClassDiagram(const DString &clName) override
657 {
658 return "Diagrama de hierarquia da classe "+clName+":";
659 }
660
661 /*! this text is generated when the \\warning command is used. */
663 { return "Aviso"; }
664
665 /*! this text is generated when the \\version command is used. */
667 { return "Versão"; }
668
669 /*! this text is generated when the \\date command is used. */
670 DString trDate() override
671 { return "Data"; }
672
673 /*! this text is generated when the \\return command is used. */
675 { return "Retorna"; }
676
677 /*! this text is generated when the \\sa command is used. */
679 { return "Veja também"; }
680
681 /*! this text is generated when the \\param command is used. */
683 { return "Parâmetros"; }
684
685 /*! this text is generated when the \\exception command is used. */
687 { return "Exceções"; }
688
689 /*! this text is used in the title page of a LaTeX document. */
691 { return "Gerado por"; }
692
693//////////////////////////////////////////////////////////////////////////
694// new since 0.49-990307
695//////////////////////////////////////////////////////////////////////////
696
697 /*! used as the title of page containing all the index of all namespaces. */
699 { return "Lista de Namespaces"; }
700
701 /*! used as an introduction to the namespace list */
702 DString trNamespaceListDescription(bool extractAll) override
703 {
704 DString result="Esta é a lista de todos os Namespaces ";
705 if (!extractAll) result+="documentados ";
706 result+="com suas respectivas descrições:";
707 return result;
708 }
709
710 /*! used in the class documentation as a header before the list of all
711 * friends of a class
712 */
714 { return "Amigos"; }
715
716//////////////////////////////////////////////////////////////////////////
717// new since 0.49-990405
718//////////////////////////////////////////////////////////////////////////
719
720 /*! used in the class documentation as a header before the list of all
721 * related classes
722 */
724 { return "Amigos e Funções Relacionadas"; }
725
726//////////////////////////////////////////////////////////////////////////
727// new since 0.49-990425
728//////////////////////////////////////////////////////////////////////////
729
730 /*! used as the title of the HTML page of a class/struct/union */
732 ClassDef::CompoundType compType,
733 bool isTemplate) override
734 {
735 DString result="Referência";
736 if (isTemplate) result+=" do Template";
737 if (compType == ClassDef::Protocol)
738 {
739 result+=" do ";
740 }
741 else
742 {
743 result+=" da ";
744 }
745 switch(compType)
746 {
747 case ClassDef::Class: result+="Classe "; break;
748 case ClassDef::Struct: result+="Estrutura "; break;
749 case ClassDef::Union: result+="União "; break;
750 case ClassDef::Interface: result+="Interface "; break;
751 case ClassDef::Protocol: result+="Protocolo "; break;
752 case ClassDef::Category: result+="Categoria "; break;
753 case ClassDef::Exception: result+="Exceção "; break;
754 default: break;
755 }
756 result+=clName;
757 return result;
758 }
759
760 /*! used as the title of the HTML page of a file */
761 DString trFileReference(const DString &fileName) override
762 {
763 DString result = "Referência do Arquivo ";
764 result += fileName;
765 return result;
766 }
767
768 /*! used as the title of the HTML page of a namespace */
769 DString trNamespaceReference(const DString &namespaceName) override
770 {
771 DString result ="Refência do Namespace ";
772 result += namespaceName;
773 return result;
774 }
775
777 {
778 if (Config_getBool(OPTIMIZE_OUTPUT_JAVA))
779 {
780 return "Métodos Públicos";
781 }
782 else
783 {
784 return "Membros Públicos";
785 }
786 }
787
789 { return "Slots Públicos"; }
790
792 { return "Sinais"; }
793
795 { return "Membros públicos estáticos"; }
796
798 { return "Membros protegidos"; }
799
801 { return "Slots protegidos"; }
802
804 { return "Membros protegidos estáticos"; }
805
807 { return "Membros privados"; }
808
810 { return "Slots privados"; }
811
813 { return "Membros privados estáticos"; }
814
815 /*! this function is used to produce a comma-separated list of items.
816 * use generateMarker(i) to indicate where item i should be put.
817 */
818 DString trWriteList(int numEntries) override
819 {
820 DString result;
821 // the inherits list contain `numEntries' classes
822 for (int i=0;i<numEntries;i++)
823 {
824 // use generateMarker to generate placeholders for the class links!
825 result+=generateMarker(i); // generate marker for entry i in the list
826 // (order is left to right)
827
828 if (i!=numEntries-1) // not the last entry, so we need a separator
829 {
830 if (i<numEntries-2) // not the fore last entry
831 result+=", ";
832 else // the fore last entry
833 result+=" e ";
834 }
835 }
836 return result;
837 }
838
839 /*! used in class documentation to produce a list of base classes,
840 * if class diagrams are disabled.
841 */
842 DString trInheritsList(int numEntries) override
843 {
844 return "Subclasse de " + trWriteList(numEntries) + ".";
845 }
846
847 /*! used in class documentation to produce a list of super classes,
848 * if class diagrams are disabled.
849 */
850 DString trInheritedByList(int numEntries) override
851 {
852 return "Superclasse de "+trWriteList(numEntries)+".";
853 }
854
855 /*! used in member documentation blocks to produce a list of
856 * members that are hidden by this one.
857 */
858 DString trReimplementedFromList(int numEntries) override
859 {
860 return "Reimplementa "+trWriteList(numEntries)+".";
861 }
862
863 /*! used in member documentation blocks to produce a list of
864 * all member that overwrite the implementation of this member.
865 */
866 DString trReimplementedInList(int numEntries) override
867 {
868 return "Reimplementado por "+trWriteList(numEntries)+".";
869 }
870
871 /*! This is put above each page as a link to all members of namespaces. */
873 { return "Membros do namespace"; }
874
875 /*! This is an introduction to the page with all namespace members */
876 DString trNamespaceMemberDescription(bool extractAll) override
877 {
878 DString result="Essa é a lista com todos os membros ";
879 if (!extractAll) result+="documentados ";
880 result+="do Namespace com referências para ";
881 if (extractAll)
882 result+="a documentação do Namespace para cada membro:";
883 else
884 result+="os seus respectivos Namespaces:";
885 return result;
886 }
887 /*! This is used in LaTeX as the title of the chapter with the
888 * index of all namespaces.
889 */
891 { return "Namespaces"; }
892
893 /*! This is used in LaTeX as the title of the chapter containing
894 * the documentation of all namespaces.
895 */
897 { return "Namespace"; }
898
899//////////////////////////////////////////////////////////////////////////
900// new since 0.49-990522
901//////////////////////////////////////////////////////////////////////////
902
903 /*! This is used in the documentation before the list of all
904 * namespaces in a file.
905 */
907 { return "Namespaces"; }
908
909//////////////////////////////////////////////////////////////////////////
910// new since 0.49-990728
911//////////////////////////////////////////////////////////////////////////
912
913 /*! This is put at the bottom of a class documentation page and is
914 * followed by a list of files that were used to generate the page.
915 */
917 bool single) override
918 { // here s is one of " Class", " Struct" or " Union"
919 // single is true implies a single file
920 bool vhdlOpt = Config_getBool(OPTIMIZE_OUTPUT_VHDL);
921 DString result="A documentação para ";
922 if (compType == ClassDef::Protocol)
923 {
924 result+= "esse ";
925 }
926 else
927 {
928 result+= "essa ";
929 }
930 switch(compType)
931 {
932 case ClassDef::Class: result+=vhdlOpt?"Unidade de Design ":"classe "; break;
933 case ClassDef::Struct: result+="estrutura "; break;
934 case ClassDef::Union: result+="união "; break;
935 case ClassDef::Interface: result+="interface "; break;
936 case ClassDef::Protocol: result+="protocolo "; break;
937 case ClassDef::Category: result+="categoria "; break;
938 case ClassDef::Exception: result+="exceção "; break;
939 default: break;
940 }
941 result+=" foi gerada a partir ";
942 if (single) result+="do seguinte arquivo:"; else result+="dos seguintes arquivos:";
943 return result;
944 }
945
946//////////////////////////////////////////////////////////////////////////
947// new since 0.49-990901
948//////////////////////////////////////////////////////////////////////////
949
950 /*! This is used as the heading text for the retval command. */
952 { return "Valores Retornados"; }
953
954 /*! This is in the (quick) index as a link to the main page (index.html)
955 */
957 { return "Página Principal"; }
958
959 /*! This is used in references to page that are put in the LaTeX
960 * documentation. It should be an abbreviation of the word page.
961 */
963 {
964 // Decidi mudar de página para "p." para ficar mais compacto.
965 return "p.";
966 }
967
968//////////////////////////////////////////////////////////////////////////
969// new since 0.49-991003
970//////////////////////////////////////////////////////////////////////////
971
973 {
974 return "Definição na linha @0 do arquivo @1.";
975 }
977 {
978 return "Definição no arquivo @0.";
979 }
980
981//////////////////////////////////////////////////////////////////////////
982// new since 0.49-991205
983//////////////////////////////////////////////////////////////////////////
984
986 {
987 return "Obsoleto(a)";
988 }
989
990//////////////////////////////////////////////////////////////////////////
991// new since 1.0.0
992//////////////////////////////////////////////////////////////////////////
993
994 /*! this text is put before a collaboration diagram */
995 DString trCollaborationDiagram(const DString &clName) override
996 {
997 return "Diagrama de colaboração para "+clName+":";
998 }
999 /*! this text is put before an include dependency graph */
1000 DString trInclDepGraph(const DString &fName) override
1001 {
1002 return "Gráfico de dependência de inclusões para "+fName+":";
1003 }
1004 /*! header that is put before the list of constructor/destructors. */
1006 {
1007 return "Construtores e Destrutores";
1008 }
1009 /*! Used in the file documentation to point to the corresponding sources. */
1011 {
1012 return "Ir para o código-fonte desse arquivo.";
1013 }
1014 /*! Used in the file sources to point to the corresponding documentation. */
1016 {
1017 return "Ir para a documentação desse arquivo.";
1018 }
1019 /*! Text for the \\pre command */
1021 {
1022 return "Pré-condição";
1023 }
1024 /*! Text for the \\post command */
1026 {
1027 return "Pós-condição";
1028 }
1029 /*! Text for the \\invariant command */
1031 {
1032 return "Invariante";
1033 }
1034 /*! Text shown before a multi-line variable/enum initialization */
1036 {
1037 return "Valor inicial:";
1038 }
1039 /*! Text used the source code in the file index */
1040 DString trCode() override
1041 {
1042 return "código";
1043 }
1045 {
1046 return "Gráfico de Hierarquia de Classes";
1047 }
1049 {
1050 return "Ir para o gráfico de hierarquia de classes";
1051 }
1053 {
1054 return "Ir para a hierarquia de classes (texto)";
1055 }
1057 {
1058 return "Índice da Página";
1059 }
1060
1061//////////////////////////////////////////////////////////////////////////
1062// new since 1.1.0
1063//////////////////////////////////////////////////////////////////////////
1064
1065 DString trNote() override
1066 {
1067 return "Observação";
1068 }
1070 {
1071 return "Tipos Públicos";
1072 }
1074 {
1075 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
1076 {
1077 return "Campos de Dados";
1078 }
1079 else
1080 {
1081 return "Atributos Públicos";
1082 }
1083 }
1085 {
1086 return "Atributos Públicos Estáticos";
1087 }
1089 {
1090 return "Tipos Protegidos";
1091 }
1093 {
1094 return "Atributos Protegidos";
1095 }
1097 {
1098 return "Atributos Protegidos Estáticos";
1099 }
1101 {
1102 return "Tipos Privados";
1103 }
1105 {
1106 return "Atributos Privados";
1107 }
1109 {
1110 return "Atributos Privados Estáticos";
1111 }
1112
1113//////////////////////////////////////////////////////////////////////////
1114// new since 1.1.3
1115//////////////////////////////////////////////////////////////////////////
1116
1117 /*! Used as a marker that is put before a todo item */
1118 DString trTodo() override
1119 {
1120 return "Atividades futuras";
1121 }
1122 /*! Used as the header of the todo list */
1124 {
1125 return "Lista de atividades futuras";
1126 }
1127
1128//////////////////////////////////////////////////////////////////////////
1129// new since 1.1.4
1130//////////////////////////////////////////////////////////////////////////
1131
1133 {
1134 return "Referenciado(a) por";
1135 }
1137 {
1138 return "Anotações";
1139 }
1141 {
1142 return "Atenção";
1143 }
1145 {
1146 return "Este grafo mostra quais arquivos estão direta ou indiretamente relacionados com esse arquivo:";
1147 }
1148 DString trSince() override
1149 {
1150 return "Desde";
1151 }
1152
1153//////////////////////////////////////////////////////////////////////////
1154// new since 1.1.5
1155//////////////////////////////////////////////////////////////////////////
1156
1157 /*! title of the graph legend page */
1159 {
1160 return "Legenda do Grafo";
1161 }
1162 /*! page explaining how the dot graph's should be interpreted
1163 * The %A in the text below are to prevent link to classes called "A".
1164 */
1166 {
1167 return
1168 "Esta página explica como interpretar os grafos gerados pelo doxygen.<p>\n"
1169 "Considere o seguinte exemplo:\n"
1170 "\\code\n"
1171 "/*! Classe oculta por causa da truncagem */\n"
1172 "class Invisible { };\n\n"
1173 "/*! Classe Truncated, relação de herança está oculta */\n"
1174 "class Truncated : public Invisible { };\n\n"
1175 "/* Classe não documentada com os comentários do Doxygen */\n"
1176 "class Undocumented { };\n\n"
1177 "/*! Classe possui que possui uma relação de herança pública */\n"
1178 "class PublicBase : public Truncated { };\n\n"
1179 "/*! Um template de classe */\n"
1180 "template<class T> class Templ { };\n\n"
1181 "/*! Classe possui que possui uma relação de herança protegida */\n"
1182 "class ProtectedBase { };\n\n"
1183 "/*! Classe possui que possui uma relação de herança privada */\n"
1184 "class PrivateBase { };\n\n"
1185 "/*! Classe utilizada pela classe Inherited */\n"
1186 "class Used { };\n\n"
1187 "/*! Super classe que herda outras classes */\n"
1188 "class Inherited : public PublicBase,\n"
1189 " protected ProtectedBase,\n"
1190 " private PrivateBase,\n"
1191 " public Undocumented,\n"
1192 " public Templ<int>\n"
1193 "{\n"
1194 " private:\n"
1195 " Used *m_usedClass;\n"
1196 "};\n"
1197 "\\endcode\n"
1198 "Isto irá gerar o seguinte gráfo:"
1199 "<p><center><img src=\"graph_legend."+getDotImageExtension()+"\"></center>\n"
1200 "<p>\n"
1201 "As caixas no grafo acima possuem os seguintes significados:\n"
1202 "</p>\n"
1203 "<ul>\n"
1204 "<li>Uma caixa cinza denota a estrutura ou a classe que gerou"
1205 "este grafo.</li>\n"
1206 "<li>Uma caixa com a borda preta denota uma estrutura ou classe documentada.</li>\n"
1207 "<li>Uma caixa com a borda cinza denota uma estrutura ou classe não documentada.</li>\n"
1208 "<li>Uma caixa com a borda vermelha denota uma estrutura ou classe na"
1209 "qual nem todas as relações são mostradas. Um grafo é truncado quando "
1210 "esse não cabe no espaço especificado.</li>\n"
1211 "</ul>\n"
1212 "<p>\n"
1213 "As setas possuem os seguintes significados:\n"
1214 "</p>\n"
1215 "<ul>\n"
1216 "<li>Uma seta azul escura denota a relação de herança pública entre "
1217 "duas classes.</li>\n"
1218 "<li>Uma seta verde escura denota a relação de herança protegida entre "
1219 "duas classes.</li>\n"
1220 "<li>Uma seta vermelha escura denota a relação de herança privada entre "
1221 "duas classes.</li>\n"
1222 "<li>Uma seta pontilhada púrpura denota a relação de uso e/ou agragação "
1223 "por outra classe/estrutura. A etiqueta da seta denota o nome do(s) campo(s) "
1224 "que representa(m) este apontamento.</li>\n"
1225 "<li>Uma seta pontilhada amarela denota a relação de instanciação de uma "
1226 "<em>template</em>. A etiqueta da seta denota os parâmetros de instanciação "
1227 "desta <em>template</em>.</li>\n"
1228 "</ul>\n";
1229 }
1230 /*! text for the link to the legend page */
1232 {
1233 return "legenda";
1234 }
1235
1236//////////////////////////////////////////////////////////////////////////
1237// new since 1.2.0
1238//////////////////////////////////////////////////////////////////////////
1239
1240 /*! Used as a marker that is put before a test item */
1241 DString trTest() override
1242 {
1243 return "Teste";
1244 }
1245 /*! Used as the header of the test list */
1247 {
1248 return "Lista de Testes";
1249 }
1250
1251//////////////////////////////////////////////////////////////////////////
1252// new since 1.2.2
1253//////////////////////////////////////////////////////////////////////////
1254
1255 /*! Used as a section header for IDL properties */
1257 {
1258 return "Propriedades";
1259 }
1260 /*! Used as a section header for IDL property documentation */
1262 {
1263 return "Propriedades";
1264 }
1265
1266//////////////////////////////////////////////////////////////////////////
1267// new since 1.2.4
1268//////////////////////////////////////////////////////////////////////////
1269
1270 /*! Used for Java classes in the summary section of Java packages */
1272 {
1273 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
1274 {
1275 return "Estruturas de dados";
1276 }
1277 else
1278 {
1279 return "Classes";
1280 }
1281 }
1282 /*! Used as the title of a Java package */
1283 DString trPackage(const DString &name) override
1284 {
1285 return "Pacote "+name;
1286 }
1287 /*! The description of the package index page */
1289 {
1290 return "Esta é a lista com os pacotes e suas respectivas descrições (quando disponíveis):";
1291 }
1292 /*! The link name in the Quick links header for each page */
1294 {
1295 return "Pacotes";
1296 }
1297 /*! Text shown before a multi-line define */
1299 {
1300 return "Valor:";
1301 }
1302
1303//////////////////////////////////////////////////////////////////////////
1304// new since 1.2.5
1305//////////////////////////////////////////////////////////////////////////
1306
1307 /*! Used as a marker that is put before a \\bug item */
1308 DString trBug() override
1309 {
1310 return "Bug";
1311 }
1312 /*! Used as the header of the bug list */
1314 {
1315 return "Lista de Bugs";
1316 }
1317
1318//////////////////////////////////////////////////////////////////////////
1319// new since 1.2.6
1320//////////////////////////////////////////////////////////////////////////
1321
1322 /*! Used as ansicpg for RTF file
1323 *
1324 * The following table shows the correlation of Charset name, Charset Value and
1325 * <pre>
1326 * Codepage number:
1327 * Charset Name Charset Value(hex) Codepage number
1328 * ------------------------------------------------------
1329 * DEFAULT_CHARSET 1 (x01)
1330 * SYMBOL_CHARSET 2 (x02)
1331 * OEM_CHARSET 255 (xFF)
1332 * ANSI_CHARSET 0 (x00) 1252
1333 * RUSSIAN_CHARSET 204 (xCC) 1251
1334 * EE_CHARSET 238 (xEE) 1250
1335 * GREEK_CHARSET 161 (xA1) 1253
1336 * TURKISH_CHARSET 162 (xA2) 1254
1337 * BALTIC_CHARSET 186 (xBA) 1257
1338 * HEBREW_CHARSET 177 (xB1) 1255
1339 * ARABIC _CHARSET 178 (xB2) 1256
1340 * SHIFTJIS_CHARSET 128 (x80) 932
1341 * HANGEUL_CHARSET 129 (x81) 949
1342 * GB2313_CHARSET 134 (x86) 936
1343 * CHINESEBIG5_CHARSET 136 (x88) 950
1344 * </pre>
1345 *
1346 */
1348 {
1349 return "1252";
1350 }
1351
1352
1353 /*! Used as ansicpg for RTF fcharset
1354 * \see trRTFansicp() for a table of possible values.
1355 */
1357 {
1358 return "0";
1359 }
1360
1361 /*! Used as header RTF general index */
1363 {
1364 return "Sumário";
1365 }
1366
1367 /*! This is used for translation of the word that will possibly
1368 * be followed by a single name or by a list of names
1369 * of the category.
1370 */
1371 DString trClass(bool first_capital, bool singular) override
1372 {
1373 return createNoun(first_capital, singular, "classe", "s");
1374 }
1375
1376 /*! This is used for translation of the word that will possibly
1377 * be followed by a single name or by a list of names
1378 * of the category.
1379 */
1380 DString trFile(bool first_capital, bool singular) override
1381 {
1382 return createNoun(first_capital, singular, "arquivo", "s");
1383 }
1384
1385 /*! This is used for translation of the word that will possibly
1386 * be followed by a single name or by a list of names
1387 * of the category.
1388 */
1389 DString trNamespace(bool first_capital, bool singular) override
1390 {
1391 return createNoun(first_capital, singular, "namespace", "s");
1392 }
1393
1394 /*! This is used for translation of the word that will possibly
1395 * be followed by a single name or by a list of names
1396 * of the category.
1397 */
1398 DString trGroup(bool first_capital, bool singular) override
1399 {
1400 return createNoun(first_capital, singular, "grupo", "s");
1401 }
1402
1403 /*! This is used for translation of the word that will possibly
1404 * be followed by a single name or by a list of names
1405 * of the category.
1406 */
1407 DString trPage(bool first_capital, bool singular) override
1408 {
1409 return createNoun(first_capital, singular, "página", "s");
1410 }
1411
1412 /*! This is used for translation of the word that will possibly
1413 * be followed by a single name or by a list of names
1414 * of the category.
1415 */
1416 DString trMember(bool first_capital, bool singular) override
1417 {
1418 return createNoun(first_capital, singular, "membro", "s");
1419 }
1420
1421 /*! This is used for translation of the word that will possibly
1422 * be followed by a single name or by a list of names
1423 * of the category.
1424 */
1425 DString trGlobal(bool first_capital, bool singular) override
1426 {
1427 return createNoun(first_capital, singular, "globa", "ais", "l");
1428 }
1429
1430//////////////////////////////////////////////////////////////////////////
1431// new since 1.2.7
1432//////////////////////////////////////////////////////////////////////////
1433
1434 /*! This text is generated when the \\author command is used and
1435 * for the author section in man pages. */
1436 DString trAuthor(bool first_capital, bool singular) override
1437 {
1438 return createNoun(first_capital, singular, "autor", "es");
1439 }
1440
1441//////////////////////////////////////////////////////////////////////////
1442// new since 1.2.11
1443//////////////////////////////////////////////////////////////////////////
1444
1445 /*! This text is put before the list of members referenced by a member
1446 */
1448 {
1449 return "Referencias";
1450 }
1451
1452//////////////////////////////////////////////////////////////////////////
1453// new since 1.2.13
1454//////////////////////////////////////////////////////////////////////////
1455
1456 /*! used in member documentation blocks to produce a list of
1457 * members that are implemented by this one.
1458 */
1459 DString trImplementedFromList(int numEntries) override
1460 {
1461 return "Implementa "+trWriteList(numEntries)+".";
1462 }
1463
1464 /*! used in member documentation blocks to produce a list of
1465 * all members that implementation this member.
1466 */
1467 DString trImplementedInList(int numEntries) override
1468 {
1469 return "Implementado por "+trWriteList(numEntries)+".";
1470 }
1471
1472//////////////////////////////////////////////////////////////////////////
1473// new since 1.2.16
1474//////////////////////////////////////////////////////////////////////////
1475
1476 /*! used in RTF documentation as a heading for the Table
1477 * of Contents.
1478 */
1480 {
1481 return "Sumário";
1482 }
1483
1484//////////////////////////////////////////////////////////////////////////
1485// new since 1.2.17
1486//////////////////////////////////////////////////////////////////////////
1487
1488 /*! Used as the header of the list of item that have been
1489 * flagged deprecated
1490 */
1492 {
1493 return "Lista de itens obsoletos";
1494 }
1495
1496//////////////////////////////////////////////////////////////////////////
1497// new since 1.2.18
1498//////////////////////////////////////////////////////////////////////////
1499
1500 /*! Used as a header for declaration section of the events found in
1501 * a C# program
1502 */
1504 {
1505 return "Eventos";
1506 }
1507 /*! Header used for the documentation section of a class' events. */
1509 {
1510 return "Eventos";
1511 }
1512
1513//////////////////////////////////////////////////////////////////////////
1514// new since 1.3
1515//////////////////////////////////////////////////////////////////////////
1516
1517 /*! Used as a heading for a list of Java class types with package scope.
1518 */
1520 {
1521 return "Tipos do Pacote";
1522 }
1523 /*! Used as a heading for a list of Java class functions with package
1524 * scope.
1525 */
1527 {
1528 return "Funções do Pacote";
1529 }
1531 {
1532 return "Membros do Pacote";
1533 }
1534 /*! Used as a heading for a list of static Java class functions with
1535 * package scope.
1536 */
1538 {
1539 return "Funções Estáticas do Pacote";
1540 }
1541 /*! Used as a heading for a list of Java class variables with package
1542 * scope.
1543 */
1545 {
1546 return "Atributos do Pacote";
1547 }
1548 /*! Used as a heading for a list of static Java class variables with
1549 * package scope.
1550 */
1552 {
1553 return "Atributos Estáticos do Pacote";
1554 }
1555
1556//////////////////////////////////////////////////////////////////////////
1557// new since 1.3.1
1558//////////////////////////////////////////////////////////////////////////
1559
1560 /*! Used in the quick index of a class/file/namespace member list page
1561 * to link to the unfiltered list of all members.
1562 */
1563 DString trAll() override
1564 {
1565 return "Todos";
1566 }
1567 /*! Put in front of the call graph for a function. */
1569 {
1570 return "Este é o diagrama das funções utilizadas por essa função:";
1571 }
1572
1573//////////////////////////////////////////////////////////////////////////
1574// new since 1.3.3
1575//////////////////////////////////////////////////////////////////////////
1576
1577 /*! This string is used as the title for the page listing the search
1578 * results.
1579 */
1581 {
1582 return "Resultado da Busca";
1583 }
1584 /*! This string is put just before listing the search results. The
1585 * text can be different depending on the number of documents found.
1586 * Inside the text you can put the special marker $num to insert
1587 * the number representing the actual number of search results.
1588 * The @a numDocuments parameter can be either 0, 1 or 2, where the
1589 * value 2 represents 2 or more matches. HTML markup is allowed inside
1590 * the returned string.
1591 */
1592 DString trSearchResults(int numDocuments) override
1593 {
1594 if (numDocuments==0)
1595 {
1596 return "Nenhum documento foi encontrado.";
1597 }
1598 else if (numDocuments==1)
1599 {
1600 return "Apenas <b>1</b> documento foi encontrado.";
1601 }
1602 else
1603 {
1604 return "<b>$num</b> documentos encontrados. "
1605 "Mostrando os melhores resultados primeiro.";
1606 }
1607 }
1608 /*! This string is put before the list of matched words, for each search
1609 * result. What follows is the list of words that matched the query.
1610 */
1612 {
1613 return "Resultados:";
1614 }
1615
1616//////////////////////////////////////////////////////////////////////////
1617// new since 1.3.8
1618//////////////////////////////////////////////////////////////////////////
1619
1620 /*! This is used in HTML as the title of page with source code for file filename
1621 */
1622 DString trSourceFile(const DString& filename) override
1623 {
1624 return "Código-Fonte de " + filename;
1625 }
1626
1627//////////////////////////////////////////////////////////////////////////
1628// new since 1.3.9
1629//////////////////////////////////////////////////////////////////////////
1630
1631 /*! This is used as the name of the chapter containing the directory
1632 * hierarchy.
1633 */
1635 { return "Hierarquia de Diretórios"; }
1636
1637 /*! This is used as the name of the chapter containing the documentation
1638 * of the directories.
1639 */
1641 { return "Documentação do Diretório"; }
1642
1643 /*! This is used as the title of the directory index and also in the
1644 * Quick links of a HTML page, to link to the directory hierarchy.
1645 */
1647 { return "Diretórios"; }
1648
1649 /*! This returns the title of a directory page. The name of the
1650 * directory is passed via \a dirName.
1651 */
1652 DString trDirReference(const DString &dirName) override
1653 {
1654 DString result = "Referência do diretório ";
1655 result += dirName;
1656 return result;
1657 }
1658
1659 /*! This returns the word directory with or without starting capital
1660 * (\a first_capital) and in singular or plural form (\a singular).
1661 */
1662 DString trDir(bool first_capital, bool singular) override
1663 {
1664 return createNoun(first_capital, singular, "diretório", "s");
1665 }
1666
1667//////////////////////////////////////////////////////////////////////////
1668// new since 1.4.1
1669//////////////////////////////////////////////////////////////////////////
1670
1671 /*! This text is added to the documentation when the \\overload command
1672 * is used for a overloaded function.
1673 */
1675 {
1676 return "Esse é um método provido por conveniência. "
1677 "Ele difere do método acima apenas na lista de "
1678 "argumentos que devem ser utilizados.";
1679 }
1680
1681//////////////////////////////////////////////////////////////////////////
1682// new since 1.4.6
1683//////////////////////////////////////////////////////////////////////////
1684
1685 /*! This is used to introduce a caller (or called-by) graph */
1687 {
1688 return "Esse é o diagrama das funções que utilizam essa função:";
1689 }
1690
1691 /*! This is used in the documentation of a file/namespace before the list
1692 * of documentation blocks for enumeration values
1693 */
1695 { return "Documentação da enumeração"; }
1696
1697
1698//////////////////////////////////////////////////////////////////////////
1699// new since 1.5.4 (mainly for Fortran)
1700//////////////////////////////////////////////////////////////////////////
1701
1702 /*! header that is put before the list of member subprograms (Fortran). */
1704 { return "Documentação de Função Membro/Subrotina"; }
1705
1706 /*! This is put above each page as a link to the list of annotated data types (Fortran). */
1708 { return "Lista de Tipos de Dados"; }
1709
1710 /*! This is put above each page as a link to all members of compounds (Fortran). */
1712 { return "Campos de Dados"; }
1713
1714 /*! This is an introduction to the annotated compound list (Fortran). */
1716 { return "Aqui estão os tipos de dados com descrições resumidas:"; }
1717
1718 /*! This is an introduction to the page with all data types (Fortran). */
1720 {
1721 DString result="Esta é a lista de todos os membros ";
1722 if (!extractAll) result+="documentados ";
1723 result+="dos tipos de dados com links para ";
1724 if (extractAll)
1725 {
1726 result+="a documentação dos tipos de dados para cada membro:";
1727 }
1728 else
1729 {
1730 result+="os tipos de dados a que pertencem:";
1731 }
1732 return result;
1733 }
1734
1735 /*! This is used in LaTeX as the title of the chapter with the
1736 * annotated compound index (Fortran).
1737 */
1739 { return "Índice de Tipos de Dados"; }
1740
1741 /*! This is used in LaTeX as the title of the chapter containing
1742 * the documentation of all data types (Fortran).
1743 */
1745 { return "Documentação dos Tipos de Dados"; }
1746
1747 /*! This is used in the documentation of a file as a header before the
1748 * list of (global) subprograms (Fortran).
1749 */
1751 { return "Funções/Subrotinas"; }
1752
1753 /*! This is used in the documentation of a file/namespace before the list
1754 * of documentation blocks for subprograms (Fortran)
1755 */
1757 { return "Documentação da Função/Subrotina"; }
1758
1759 /*! This is used in the documentation of a file/namespace/group before
1760 * the list of links to documented compounds (Fortran)
1761 */
1763 { return "Tipos de Dados"; }
1764
1765 /*! used as the title of page containing all the index of all modules (Fortran). */
1767 { return "Lista de Módulos"; }
1768
1769 /*! used as an introduction to the modules list (Fortran) */
1770 DString trModulesListDescription(bool extractAll) override
1771 {
1772 DString result="Esta é a lista de todos os módulos ";
1773 if (!extractAll) result+="documentados ";
1774 result+="com descrições resumidas:";
1775 return result;
1776 }
1777
1778 /*! used as the title of the HTML page of a module/type (Fortran) */
1780 ClassDef::CompoundType compType,
1781 bool isTemplate) override
1782 {
1783 DString result = "Referência ";
1784
1785 if (isTemplate) result+="da Template ";
1786
1787 switch(compType)
1788 {
1789 case ClassDef::Class: result+="do Modulo "; break;
1790 case ClassDef::Struct: result+="do Tipo "; break;
1791 case ClassDef::Union: result+="da União "; break;
1792 case ClassDef::Interface: result+="da Interface "; break;
1793 case ClassDef::Protocol: result+="do Protocolo "; break;
1794 case ClassDef::Category: result+="da Categoria "; break;
1795 case ClassDef::Exception: result+="da Exceção "; break;
1796 default: break;
1797 }
1798 result += clName;
1799
1800 return result;
1801 }
1802 /*! used as the title of the HTML page of a module (Fortran) */
1803 DString trModuleReference(const DString &namespaceName) override
1804 {
1805 DString result = "Referência do Módulo ";
1806 result += namespaceName;
1807 return result;
1808 }
1809
1810 /*! This is put above each page as a link to all members of modules. (Fortran) */
1812 { return "Membros do Módulo"; }
1813
1814 /*! This is an introduction to the page with all modules members (Fortran) */
1815 DString trModulesMemberDescription(bool extractAll) override
1816 {
1817 DString result="Esta é a lista de todos os membros ";
1818 if (!extractAll) result+="documentados ";
1819 result+="dos módulos com links para ";
1820 if (extractAll)
1821 {
1822 result+="a documentação dos módulos para cada membro:";
1823 }
1824 else
1825 {
1826 result+="os módulos a que pertencem:";
1827 }
1828 return result;
1829 }
1830
1831 /*! This is used in LaTeX as the title of the chapter with the
1832 * index of all modules (Fortran).
1833 */
1835 { return "Índice dos Módulos"; }
1836
1837 /*! This is used for translation of the word that will possibly
1838 * be followed by a single name or by a list of names
1839 * of the category.
1840 */
1841 DString trModule(bool first_capital, bool singular) override
1842 {
1843 return createNoun(first_capital, singular, "módulo", "s");
1844 }
1845
1846 /*! This is put at the bottom of a module documentation page and is
1847 * followed by a list of files that were used to generate the page.
1848 */
1850 bool single) override
1851 {
1852 // single is true implies a single file
1853 DString result="A documentação para ";
1854 switch(compType)
1855 {
1856 case ClassDef::Class: result+="esse modulo "; break;
1857 case ClassDef::Struct: result+="esse tipo "; break;
1858 case ClassDef::Union: result+="essa união "; break;
1859 case ClassDef::Interface: result+="essa interface "; break;
1860 case ClassDef::Protocol: result+="esso protocolo "; break;
1861 case ClassDef::Category: result+="essa categoria "; break;
1862 case ClassDef::Exception: result+="essa exceção "; break;
1863 default: break;
1864 }
1865
1866 result+=" foi gerada a partir do";
1867 if (single)
1868 result+=" seguinte arquivo:";
1869 else
1870 result+="s seguintes arquivos:";
1871
1872 return result;
1873 }
1874
1875 /*! This is used for translation of the word that will possibly
1876 * be followed by a single name or by a list of names
1877 * of the category.
1878 */
1879 DString trType(bool first_capital, bool singular) override
1880 {
1881 return createNoun(first_capital, singular, "tipo", "s");
1882 }
1883
1884 /*! This is used for translation of the word that will possibly
1885 * be followed by a single name or by a list of names
1886 * of the category.
1887 */
1888 DString trSubprogram(bool first_capital, bool singular) override
1889 {
1890 return createNoun(first_capital, singular, "subrotina", "s");
1891 }
1892
1893 /*! C# Type Constraint list */
1895 {
1896 return "Restrições do Tipo";
1897 }
1898
1899//////////////////////////////////////////////////////////////////////////
1900// new since 1.6.0 (mainly for the new search engine)
1901//////////////////////////////////////////////////////////////////////////
1902
1903 /*! directory relation for \a name */
1904 DString trDirRelation(const DString &name) override
1905 {
1906 return "Relação " + name;
1907 }
1908
1909 /*! Loading message shown when loading search results */
1911 {
1912 return "Carregando...";
1913 }
1914
1915 /*! Label used for search results in the global namespace */
1917 {
1918 return "Namespace global";
1919 }
1920
1921 /*! Message shown while searching */
1923 {
1924 return "Procurando...";
1925 }
1926
1927 /*! Text shown when no search results are found */
1929 {
1930 return "Nenhuma entrada encontrado";
1931 }
1932
1933//////////////////////////////////////////////////////////////////////////
1934// new since 1.6.3 (missing items for the directory pages)
1935//////////////////////////////////////////////////////////////////////////
1936
1937 /*! when clicking a directory dependency label, a page with a
1938 * table is shown. The heading for the first column mentions the
1939 * source file that has a relation to another file.
1940 */
1941 DString trFileIn(const DString &name) override
1942 {
1943 return "Arquivo em "+name;
1944 }
1945
1946 /*! when clicking a directory dependency label, a page with a
1947 * table is shown. The heading for the second column mentions the
1948 * destination file that is included.
1949 */
1950 DString trIncludesFileIn(const DString &name) override
1951 {
1952 return "Inclui arquivo em "+name;
1953 }
1954
1955 /** Compiles a date string.
1956 * @param year Year in 4 digits
1957 * @param month Month of the year: 1=January
1958 * @param day Day of the Month: 1..31
1959 * @param dayOfWeek Day of the week: 1=Monday..7=Sunday
1960 * @param hour Hour of the day: 0..23
1961 * @param minutes Minutes in the hour: 0..59
1962 * @param seconds Seconds within the minute: 0..59
1963 * @param includeTime Include time in the result string?
1964 */
1965 DString trDateTime(int year,int month,int day,int dayOfWeek,
1966 int hour,int minutes,int seconds,
1967 DateTimeType includeTime) override
1968 {
1969 static const char *days[] = { "Segunda","Terça","Quarta","Quinta","Sexta","Sábado","Domingo" };
1970 static const char *months[] = { "Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro" };
1971 DString sdate;
1972 if (includeTime == DateTimeType::DateTime || includeTime == DateTimeType::Date)
1973 {
1974 sdate.sprintf("%s, %d de %s de %d",days[dayOfWeek-1],day,months[month-1],year);
1975 }
1976 if (includeTime == DateTimeType::DateTime) sdate += " ";
1977 if (includeTime == DateTimeType::DateTime || includeTime == DateTimeType::Time)
1978 {
1979 DString stime;
1980 stime.sprintf("%.2d:%.2d:%.2d",hour,minutes,seconds);
1981 sdate+=stime;
1982 }
1983 return sdate;
1984 }
1985 DString trDayOfWeek(int dayOfWeek, bool first_capital, bool full) override
1986 {
1987 static const char *days_short[] = { "seg", "ter", "qua", "qui", "sex", "sáb", "dom" };
1988 static const char *days_full[] = { "segunda-feira", "terça-feira", "quarta-feira", "quinta-feira", "sexta-feira", "sábado", "domingo" };
1989 DString text = full? days_full[dayOfWeek-1] : days_short[dayOfWeek-1];
1990 if (first_capital) return text.mid(0,1).upper()+text.mid(1);
1991 else return text;
1992 }
1993 DString trMonth(int month, bool first_capital, bool full) override
1994 {
1995 static const char *months_short[] = { "jan", "fev", "mar", "abr", "mai", "jun", "jul", "ago", "set", "out", "nov", "dez" };
1996 static const char *months_full[] = { "janeiro", "fevereiro", "março", "abril", "maio", "junho", "julho", "agosto", "setembro", "outubro", "novembro", "dezembro" };
1997 DString text = full? months_full[month-1] : months_short[month-1];
1998 if (first_capital) return text.mid(0,1).upper()+text.mid(1);
1999 else return text;
2000 }
2001 DString trDayPeriod(bool period) override
2002 {
2003 static const char *dayPeriod[] = { "AM", "PM" };
2004 return dayPeriod[period?1:0];
2005 }
2006
2007//////////////////////////////////////////////////////////////////////////
2008// new since 1.7.5
2009//////////////////////////////////////////////////////////////////////////
2010
2011 /*! Header for the page with bibliographic citations */
2013 { return "Referências Bibliográficas"; }
2014
2015 /*! Text for copyright paragraph */
2017 {
2018 // Note: I will left it as is because "Direitos autorais" may not fit
2019 // in the text.
2020 return "Copyright";
2021 }
2022
2023 /*! Header for the graph showing the directory dependencies */
2024 DString trDirDepGraph(const DString &name) override
2025 { return DString("Grafo de dependências do diretório ")+name+":"; }
2026
2027//////////////////////////////////////////////////////////////////////////
2028// new since 1.8.0
2029//////////////////////////////////////////////////////////////////////////
2030
2031 /*! Detail level selector shown for hierarchical indices */
2033 { return "nível de detalhes"; }
2034
2035 /*! Section header for list of template parameters */
2037 { return "Parâmetros do template"; }
2038
2039 /*! Used in dot graph when UML_LOOK is enabled and there are many fields */
2040 DString trAndMore(const DString &number) override
2041 { return "e "+number+" mais..."; }
2042
2043 /*! Used file list for a Java enum */
2044 DString trEnumGeneratedFromFiles(bool single) override
2045 { DString result = "A documentação para essa enumeração foi gerada a partir ";
2046 if (single) {
2047 result += "do seguinte arquivo:";
2048 } else {
2049 result += "dos seguintes arquivos:";
2050 }
2051 return result;
2052 }
2053
2054 /*! Header of a Java enum page (Java enums are represented as classes). */
2055 DString trEnumReference(const DString &name) override
2056 {
2057 DString result = "Referência da enumeração ";
2058 return result + name;
2059 }
2060
2061 /*! Used for a section containing inherited members */
2062 DString trInheritedFrom(const DString &members,const DString &what) override
2063 { return members+" herdados de "+what; }
2064
2065 /*! Header of the sections with inherited members specific for the
2066 * base class(es)
2067 */
2069 { return "Outros membros herdados"; }
2070
2071//////////////////////////////////////////////////////////////////////////
2072// new since 1.8.2
2073//////////////////////////////////////////////////////////////////////////
2074
2075 /*! Used as a tooltip for the toggle button that appears in the
2076 * navigation tree in the HTML output when GENERATE_TREEVIEW is
2077 * enabled. This tooltip explains the meaning of the button.
2078 */
2080 {
2081 DString opt = enable ? "ativar" : "desativar";
2082 return "clique para "+opt+" a sincronização do painel";
2083 }
2084
2085 /*! Used in a method of an Objective-C class that is declared in a
2086 * a category. Note that the @1 marker is required and is replaced
2087 * by a link.
2088 */
2090 {
2091 return "Provido pela categoria @0.";
2092 }
2093
2094 /*! Used in a method of an Objective-C category that extends a class.
2095 * Note that the @1 marker is required and is replaced by a link to
2096 * the class method.
2097 */
2099 {
2100 return "estende a classe @0.";
2101 }
2102
2103 /*! Used as the header of a list of class methods in Objective-C.
2104 * These are similar to static public member functions in C++.
2105 */
2107 {
2108 return "Métodos da classe";
2109 }
2110
2111 /*! Used as the header of a list of instance methods in Objective-C.
2112 * These are similar to public member functions in C++.
2113 */
2115 {
2116 return "Métodos da instância";
2117 }
2118
2119 /*! Used as the header of the member functions of an Objective-C class.
2120 */
2122 {
2123 return "Documentação do método";
2124 }
2125
2126//////////////////////////////////////////////////////////////////////////
2127// new since 1.8.4
2128//////////////////////////////////////////////////////////////////////////
2129
2130 /** old style UNO IDL services: implemented interfaces */
2132 { return "Interfaces Exportadas"; }
2133
2134 /** old style UNO IDL services: inherited services */
2136 { return "Serviços Inclusos"; }
2137
2138 /** UNO IDL constant groups */
2140 { return "Grupos de Constantes"; }
2141
2142 /** UNO IDL constant groups */
2143 DString trConstantGroupReference(const DString &namespaceName) override
2144 {
2145 DString result = "Referência do grupo de constantes ";
2146 result += namespaceName;
2147 return result;
2148 }
2149 /** UNO IDL service page title */
2150 DString trServiceReference(const DString &sName) override
2151 {
2152 DString result = "Referência do serviço ";
2153 result += sName;
2154 return result;
2155 }
2156 /** UNO IDL singleton page title */
2157 DString trSingletonReference(const DString &sName) override
2158 {
2159 // TODO: Emerson Ferreira proposes to add emphasis around the word
2160 // Singleton but I'm not sure if this will work for non HTML generators.
2161 DString result = "Referência do Singleton ";
2162 result += sName;
2163 return result;
2164 }
2165 /** UNO IDL service page */
2167 {
2168 // single is true implies a single file
2169 DString result="A documentação para esse serviço "
2170 "foi gerada a partir ";
2171 if (single) {
2172 result+="do seguinte arquivo:";
2173 } else {
2174 result+="dos seguintes arquivos:";
2175 }
2176 return result;
2177 }
2178 /** UNO IDL singleton page */
2180 {
2181 // single is true implies a single file
2182 DString result="A documentação para esse Singleton "
2183 "foi gerada a partir ";
2184 if (single) {
2185 result+="do seguinte arquivo:";
2186 } else {
2187 result+="dos: seguintes arquivos:";
2188 }
2189
2190 return result;
2191 }
2192 //////////////////////////////////////////////////////////////////////////
2193 // new since 1.8.15
2194 //////////////////////////////////////////////////////////////////////////
2195
2196 /** VHDL design unit hierarchy */
2198 { return "Hierarquia da Unidade de Design"; }
2199 /** VHDL design unit list */
2201 { return "Lista de Unidades de Design"; }
2202 /** VHDL design unit members */
2204 { return "Membros da Unidade de Design"; }
2205 /** VHDL design unit list description */
2207 {
2208 return "Esta é uma lista de todos os membros de unidades de design "
2209 "com ligações para as entidades às quais pertencem:";
2210 }
2211 /** VHDL design unit index */
2213 { return "Índice de Unidades de Design"; }
2214 /** VHDL design units */
2216 { return "Unidades de Design"; }
2217 /** VHDL functions/procedures/processes */
2219 { return "Funções/Procedimentos/Processos"; }
2220 /** VHDL type */
2221 DString trVhdlType(VhdlSpecifier type,bool single) override
2222 {
2223 switch(type)
2224 {
2226 if (single) return "Biblioteca";
2227 else return "Bibliotecas";
2229 if (single) return "Pacote";
2230 else return "Pacotes";
2232 if (single) return "Sinal";
2233 else return "Sinais";
2235 if (single) return "Componente";
2236 else return "Componentes";
2238 if (single) return "Constante";
2239 else return "Constantes";
2241 if (single) return "Entidade";
2242 else return "Entidades";
2244 if (single) return "Tipo";
2245 else return "Tipos";
2247 if (single) return "Subtipo";
2248 else return "Subtipos";
2250 if (single) return "Função";
2251 else return "Funções";
2253 if (single) return "Registro";
2254 else return "Registros";
2256 if (single) return "Procedimento";
2257 else return "Procedimentos";
2259 if (single) return "Arquitetura";
2260 else return "Arquiteturas";
2262 if (single) return "Atributo";
2263 else return "Atributos";
2265 if (single) return "Processo";
2266 else return "Processos";
2268 if (single) return "Porta";
2269 else return "Portas";
2270 case VhdlSpecifier::USE:
2271 if (single) return "cláusula de uso";
2272 else return "cláusulas de uso";
2274 if (single) return "Generico";
2275 else return "Genericos";
2277 return "Corpo do Pacote";
2279 return "Unidades";
2281 if (single) return "Variável Compartilhada";
2282 else return "Variáveis Compartilhadas";
2284 if (single) return "Arquivo";
2285 else return "Arquivos";
2287 if (single) return "Grupo";
2288 else return "Grupos";
2290 if (single) return "Instância";
2291 else return "Instâncias";
2293 if (single) return "Apelido";
2294 else return "Apelidos";
2296 if (single) return "Configuração";
2297 else return "Configurações";
2299 return "Outros"; // Is this correct for VHDL?
2301 return "Restrições";
2302 default:
2303 return "Classe";
2304 }
2305 }
2306 DString trCustomReference(const DString &name) override
2307 { return "Referência de " + name; }
2308
2309 /* Slice */
2311 {
2312 return "Constantes";
2313 }
2315 {
2316 return "Constantes";
2317 }
2319 {
2320 return "Sequências";
2321 }
2323 {
2324 return "Sequências";
2325 }
2327 {
2328 return "Dicionários";
2329 }
2331 {
2332 return "Dicionários";
2333 }
2335 {
2336 return "Interfaces";
2337 }
2339 {
2340 return "Índice de Interfaces";
2341 }
2343 {
2344 return "Lista de Interfaces";
2345 }
2347 {
2348 return "Estas são as interfaces com suas respectivas descrições:";
2349 }
2351 {
2352 return "Hierarquia de Interfaces";
2353 }
2355 {
2356 return "Esta é a lista parcialmente ordenadas de heranças:";
2357 }
2359 {
2360 return "Interfaces";
2361 }
2363 {
2364 return "Estruturas";
2365 }
2367 {
2368 return "Índice de Estruturas";
2369 }
2371 {
2372 return "Lista de Estruturas";
2373 }
2375 {
2376 return "Estas são as estruturas com suas respectivas descrições:";
2377 }
2379 {
2380 return "Estruturas";
2381 }
2383 {
2384 return "Índice the Exceções";
2385 }
2387 {
2388 return "Lista de Exceções";
2389 }
2391 {
2392 return "Estas são as exceções com suas respectivas descrições:";
2393 }
2395 {
2396 return "Hierarquia de Exceções";
2397 }
2399 {
2400 return "Esta é a lista parcialmente ordenadas de heranças:";
2401 }
2403 {
2404 return "Exceções";
2405 }
2406 DString trCompoundReferenceSlice(const DString &clName, ClassDef::CompoundType compType, bool isLocal) override
2407 {
2408 DString result="Referência ";
2409 switch(compType)
2410 {
2411 case ClassDef::Class: result+="da Classe "; break;
2412 case ClassDef::Struct: result+="da Estrutura "; break;
2413 case ClassDef::Union: result+="da União "; break;
2414 case ClassDef::Interface: result+="da Interface "; break;
2415 case ClassDef::Protocol: result+="do Protocolo "; break;
2416 case ClassDef::Category: result+="da Categoria "; break;
2417 case ClassDef::Exception: result+="da Exceção "; break;
2418 default: break;
2419 }
2420 if (isLocal) result+="Local ";
2421 result+= clName;
2422 return result;
2423 }
2425 {
2426 return "Operações";
2427 }
2429 {
2430 return "Operações";
2431 }
2433 {
2434 return "Dados Membros";
2435 }
2437 {
2438 return "Dados Membros";
2439 }
2440
2441 //////////////////////////////////////////////////////////////////////////
2442 // new since 1.8.19
2443 //////////////////////////////////////////////////////////////////////////
2444
2445 /** VHDL design unit documentation */
2447 {
2448 return "Documentação da Unidade de Projeto";
2449 }
2450
2451 //////////////////////////////////////////////////////////////////////////
2452 // new since 1.9.2
2453 //////////////////////////////////////////////////////////////////////////
2454
2455 /** C++20 concept */
2456 DString trConcept(bool first_capital, bool singular) override
2457 {
2458 return createNoun(first_capital, singular, "conceito", "s");
2459 }
2460 /*! used as the title of the HTML page of a C++20 concept page */
2461 DString trConceptReference(const DString &conceptName) override
2462 {
2463 DString result= "Referência do Conceito ";
2464 result+=conceptName;
2465 return result;
2466 }
2467
2468 /*! used as the title of page containing all the index of all concepts. */
2470 { return "Lista de Conceitos"; }
2471
2472 /*! used as the title of chapter containing the index listing all concepts. */
2474 { return "Índice de Conceitos"; }
2475
2476 /*! used as the title of chapter containing all information about concepts. */
2478 { return "Documentação do Conceito"; }
2479
2480 /*! used as an introduction to the concept list */
2481 DString trConceptListDescription(bool extractAll) override
2482 {
2483 DString result="Esta é a lista de todos os conceitos ";
2484 if (!extractAll) result+="documentados ";
2485 result+="com suas respectivas descrições:";
2486 return result;
2487 }
2488
2489 /*! used to introduce the definition of the C++20 concept */
2491 {
2492 return "Definição de conceito";
2493 }
2494
2495 //////////////////////////////////////////////////////////////////////////
2496 // new since 1.9.4
2497 //////////////////////////////////////////////////////////////////////////
2499 { return "Lista de pacotes"; }
2500
2501 //////////////////////////////////////////////////////////////////////////
2502 // new since 1.9.6
2503 //////////////////////////////////////////////////////////////////////////
2504
2505 /*! This is used for translation of the word that will be
2506 * followed by a single name of the VHDL process flowchart.
2507 */
2509 {
2510 return "Fluxograma:";
2511 }
2512
2513 /*! Please translate also updated body of the method
2514 * trMemberFunctionDocumentation(), now better adapted for
2515 * VHDL sources documentation.
2516 */
2517
2518 //////////////////////////////////////////////////////////////////////////
2519 // new since 1.9.7
2520 //////////////////////////////////////////////////////////////////////////
2521 /*! used in the compound documentation before a list of related symbols.
2522 *
2523 * Supersedes trRelatedFunctions
2524 */
2526 { return "Símbolos relacionados"; }
2527
2528 /*! subscript for the related symbols
2529 *
2530 * Supersedes trRelatedSubscript
2531 */
2533 { return "(Note que estes não são símbolos membros.)"; }
2534
2535 /*! used in the class documentation as a header before the list of all
2536 * related classes.
2537 *
2538 * Supersedes trRelatedFunctionDocumentation
2539 */
2541 { return "Documentação dos símbolos amigos e relacionados"; }
2542
2543 /*! the compound type as used for the xrefitems */
2545 {
2546 DString result;
2547 switch(compType)
2548 {
2549 case ClassDef::Class:
2550 if (lang == SrcLangExt::Fortran) result=trType(true,true);
2551 else result=trClass(true,true);
2552 break;
2553 case ClassDef::Struct: result="Estrutura"; break;
2554 case ClassDef::Union: result="União"; break;
2555 case ClassDef::Interface: result="Interface"; break;
2556 case ClassDef::Protocol: result="Protocolo"; break;
2557 case ClassDef::Category: result="Categoria"; break;
2558 case ClassDef::Exception: result="Exceção"; break;
2559 case ClassDef::Service: result="Serviço"; break;
2560 case ClassDef::Singleton: result="Singleton"; break;
2561 default: break;
2562 }
2563 return result;
2564 }
2565
2567 {
2568 bool extractAll = Config_getBool(EXTRACT_ALL);
2570 DString result="Esta é a list de ";
2571 result+= (masculine?"todos os ":"todas as ");
2572 switch (hl)
2573 {
2575 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
2576 {
2577 result+="funções, variáveis, definições, enumerações e definições de tipos";
2578 }
2579 else
2580 {
2581 result+="membros do arquivo";
2582 }
2583 break;
2585 result+="funções";
2586 break;
2588 result+="variáveis";
2589 break;
2591 result+="definições de tipos";
2592 break;
2594 result+="sequencias";
2595 break;
2597 result+="dicionários";
2598 break;
2600 result+="enumerações";
2601 break;
2603 result+="valores da enumeração";
2604 break;
2606 result+="definições/macros";
2607 break;
2608 case FileMemberHighlight::Total: // for completeness
2609 break;
2610 }
2611 if (!extractAll)
2612 {
2613 result+= masculine? " documentados": " documentadas";
2614 }
2615 result+=" com links para ";
2616 if (extractAll)
2617 result+="os arquivos aos quais pertencem:";
2618 else
2619 result+="a documentação:";
2620 return result;
2621 }
2622
2624 {
2625 bool extractAll = Config_getBool(EXTRACT_ALL);
2627 DString result="Esta é a list de ";
2628 result+= (masculine?"todos os ":"todas as ");
2629 switch (hl)
2630 {
2632 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
2633 {
2634 result+="estruturas e uniões";
2635 }
2636 else
2637 {
2638 result+="membros de classe";
2639 }
2640 break;
2642 result+="funções";
2643 break;
2645 result+="variáveis";
2646 break;
2648 result+="definições de tipo";
2649 break;
2651 result+="enumerações";
2652 break;
2654 result+="valores enumerados";
2655 break;
2657 result+="propriedades";
2658 break;
2660 result+="eventos";
2661 break;
2663 result+="símbolos relacionados";
2664 break;
2665 case ClassMemberHighlight::Total: // for completeness
2666 break;
2667 }
2668 if (!extractAll)
2669 {
2670 result+= masculine?" documentados":" documentadas";
2671 }
2672 result+=" com links para ";
2673 if (!extractAll)
2674 {
2675 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
2676 {
2677 result+="a documentação da estrutura/união para cada campo:";
2678 }
2679 else
2680 {
2681 result+="a documentação da classe para cada membro:";
2682 }
2683 }
2684 else
2685 {
2686 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
2687 {
2688 result+="a estrutura/união a que petencem:";
2689 }
2690 else
2691 {
2692 result+="a classe a que pertencem:";
2693 }
2694 }
2695 return result;
2696 }
2697
2699 {
2700 bool extractAll = Config_getBool(EXTRACT_ALL);
2702 DString result="Esta é a list de ";
2703 result+= (masculine?"todos os ":"todas as ");
2704 DString singularResult = "";
2705 DString pluralResult = "";
2706 switch (hl)
2707 {
2709 singularResult="membro";
2710 break;
2712 singularResult="função";
2713 pluralResult="funções";
2714 break;
2716 singularResult="variável";
2717 pluralResult="variáveis";
2718 break;
2720 singularResult="definição de tipo";
2721 pluralResult="definições de tipo";
2722 break;
2724 singularResult="sequencia";
2725 pluralResult="sequencias";
2726 break;
2728 singularResult="dicionário";
2729 break;
2731 singularResult="enumeração";
2732 pluralResult="enumerações";
2733 break;
2735 singularResult="valor enumerado";
2736 pluralResult="valores enumerados";
2737 break;
2738 case NamespaceMemberHighlight::Total: // for completeness
2739 break;
2740 }
2741 result+=(pluralResult.empty() ? singularResult+"s" : pluralResult);
2742 result+=" do namespace ";
2743 if (!extractAll) result+=" documentado";
2744 result+=" com links para ";
2745 if (extractAll)
2746 result+="a documentação de cada " + singularResult + ":";
2747 else
2748 result+="o namespace a que pertencem:";
2749 return result;
2750 }
2751 DString trDefinition() override { return "Definição";}
2752 DString trDeclaration() override { return "Declaração";}
2753
2754//////////////////////////////////////////////////////////////////////////
2755// new since 1.9.8
2756//////////////////////////////////////////////////////////////////////////
2757
2759 { return "Tópicos"; }
2761 { return "Tópico"; }
2763 { return "Lista de Tópicos"; }
2765 { return "Índice de Tópicos"; }
2767 { return "Esta é uma lista de todos os tópicos e suas descrições:"; }
2769 {
2770 bool extractAll = Config_getBool(EXTRACT_ALL);
2772 DString result="Esta é a list de ";
2773 result+= (masculine?"todos os ":"todas as ");
2774 DString singularResult = "";
2775 DString pluralResult = "";
2776 switch (hl)
2777 {
2779 singularResult="membro";
2780 break;
2782 singularResult="função";
2783 pluralResult="funções";
2784 break;
2786 singularResult="variável";
2787 pluralResult="variáveis";
2788 break;
2790 singularResult="definição de tipo";
2791 pluralResult="definições de tipo";
2792 break;
2794 singularResult="enumeração";
2795 pluralResult="enumerações";
2796 break;
2798 singularResult="valor enumerado";
2799 pluralResult="valores enumerados";
2800 break;
2801 case ModuleMemberHighlight::Total: // for completeness
2802 break;
2803 }
2804 result+=(pluralResult.empty() ? singularResult+"s" : pluralResult);
2805 result+="do módulo ";
2806 if (!extractAll) result+="documentado ";
2807 result+=" com links para ";
2808 if (extractAll)
2809 result+="a documentação de cada " + singularResult + ":";
2810 else
2811 result+="o módulo a que pertencem:";
2812 return result;
2813 }
2815 {
2816 return "Módulos Exportados";
2817 }
2818
2819//////////////////////////////////////////////////////////////////////////
2820// new since 1.10.0
2821//////////////////////////////////////////////////////////////////////////
2822
2824 {
2825 return "Copiado para a área de transferência";
2826 }
2827//////////////////////////////////////////////////////////////////////////
2828// new since 1.11.0
2829//////////////////////////////////////////////////////////////////////////
2831 {
2832 return "Importante";
2833 }
2834
2835//////////////////////////////////////////////////////////////////////////
2836// new since 1.16.0
2837//////////////////////////////////////////////////////////////////////////
2838
2839 // the title of the requirements overview page
2841 {
2842 return "Requisitos";
2843 }
2844 // table header for the column with the requirements IDs
2846 {
2847 return "ID";
2848 }
2849 // indicates a symbol implements (satisfies) a requirement
2850 DString trSatisfies(bool singular) override
2851 {
2852 // createNoun() cannot be used because the article must match the noum
2853 DString result = "Satisfaz o";
2854 return result + (singular ? " requisito" : "s requisitos");
2855 }
2856 // indicates a requirement is satisfied (implemented) by one or more symbols
2857 DString trSatisfiedBy(const DString &list) override
2858 {
2859 return "Satisfeito por "+list+".";
2860 }
2862 {
2863 return "Requisitos não satisfeitos";
2864 }
2865 DString trUnsatisfiedRequirementsText(bool singular,const DString &list) override
2866 {
2867 return singular ?
2868 "O requisito "+list+" não possui a relação 'satisfaz'." :
2869 "Os requisitos "+list+" não possuem a relação 'satisfaz'.";
2870 }
2871 // indicates a symbol verifies (tests) a requirement
2872 DString trVerifies(bool singular) override
2873 {
2874 // createNoun() cannot be used because the article must match the noum
2875 DString result = "Verifica o";
2876 return result + (singular ? " requisito" : "s requisitos");
2877 }
2878 // indicates a requirement is verified (tested) by one or more symbols
2879 DString trVerifiedBy(const DString &list) override
2880 {
2881 return "Verificado por "+list+".";
2882 }
2884 {
2885 return "Requisitos não verificados";
2886 }
2887 DString trUnverifiedRequirementsText(bool singular,const DString &list) override
2888 {
2889 return singular ?
2890 "O requisito "+list+" não possui a relação 'verificado por'." :
2891 "Os requisitos "+list+" não possuem a relação 'verificado por'.";
2892 }
2893};
2894
2895#endif
CompoundType
The various compound types.
Definition classdef.h:105
@ Singleton
Definition classdef.h:113
@ Interface
Definition classdef.h:108
@ Exception
Definition classdef.h:111
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
DString trThisIsTheListOfAllMembers() override
DString trDesignUnitIndex() override
VHDL design unit index.
DString trImplementedFromList(int numEntries) override
DString trCompoundListDescriptionFortran() override
DString trNamespaceDocumentation() override
DString trEnumName() override
DString trDayPeriod(bool period) override
DString trReimplementedFromList(int numEntries) override
DString trSeeAlso() override
DString trGlobalNamespace() override
DString trEnumValue() override
DString trPage(bool first_capital, bool singular) override
DString trIncludingInheritedMembers() override
DString trTypedefDocumentation() override
DString trSignals() override
DString trModulesListDescription(bool extractAll) override
DString trFriends() override
DString trNamespaceReference(const DString &namespaceName) override
DString trConceptDefinition() override
DString trAttention() override
DString trProtectedTypes() override
DString trPrivateTypes() override
DString trDefinedIn() override
DString trCustomReference(const DString &name) override
DString trEnumReference(const DString &name) override
DString trConstants() override
DString trOperations() override
DString trPanelSynchronisationTooltip(bool enable) override
DString trInterfaceHierarchyDescription() override
DString trModuleIndex() override
DString trStructList() override
DString trConceptList() override
DString trInstanceMethods() override
DString trCompoundReferenceSlice(const DString &clName, ClassDef::CompoundType compType, bool isLocal) override
DString trExceptionListDescription() override
DString trMore() override
DString trInheritsList(int numEntries) override
DString trLoading() override
DString trInterfaceList() override
DString trRelatedSubscript() override
DString trModule(bool first_capital, bool singular) override
DString trOperationDocumentation() override
DString trDefinedAtLineInSourceFile() override
DString trInterfaceIndex() override
DString trVerifies(bool singular) override
DString trSatisfies(bool singular) override
DString trExceptionHierarchyDescription() override
DString trPackageAttribs() override
DString trPageAbbreviation() override
DString trTypeDocumentation() override
DString trPublicSlots() override
DString trInterfaceListDescription() override
DString trProperties() override
DString latexLanguageSupportCommand() override
DString trGeneratedBy() override
DString trInitialValue() override
DString trBug() override
DString trClassMethods() override
DString trMainPage() override
DString trFileListDescription(bool extractAll) override
DString trExceptionHierarchy() override
DString trStaticProtectedAttribs() override
DString trSliceInterfaces() override
DString trDirReference(const DString &dirName) override
DString trInterfaceDocumentation() override
DString trDefineValue() override
DString trDictionaryDocumentation() override
DString trProvidedByCategory() override
DString trStaticProtectedMembers() override
DString trReimplementedInList(int numEntries) override
DString trServiceGeneratedFromFiles(bool single) override
UNO IDL service page.
DString trSearchResults(int numDocuments) override
DString trDirectories() override
DString trRequirements() override
DString trEnumGeneratedFromFiles(bool single) override
DString trGraphicalHierarchy() override
DString trServiceReference(const DString &sName) override
UNO IDL service page title.
DString trEnumerationValueDocumentation() override
DString trDataTypes() override
DString trGeneratedFromFiles(ClassDef::CompoundType compType, bool single) override
DString trInheritedFrom(const DString &members, const DString &what) override
DString trMethodDocumentation() override
DString trRelatedFunctionDocumentation() override
DString trRTFansicp() override
DString trNote() override
DString trReturns() override
DString trMemberDataDocumentation() override
DString trNamespaceList() override
DString trMemberEnumerationDocumentation() override
DString trReferenceManual() override
DString trExceptions() override
DString trExceptionList() override
DString trCompoundReference(const DString &clName, ClassDef::CompoundType compType, bool isTemplate) override
DString trTopicListDescription() override
DString trDataMembers() override
DString trSince() override
DString trCompoundMembersDescriptionFortran(bool extractAll) override
DString trReturnValues() override
DString trCompoundMembersDescriptionTotal(ClassMemberHighlight::Enum hl) override
DString trSubprogram(bool first_capital, bool singular) override
DString trGeneratedFromFilesFortran(ClassDef::CompoundType compType, bool single) override
DString trNoMatches() override
DString trMemberFunctionDocumentationFortran() override
DString trStaticPublicAttribs() override
DString trRelatedFunctions() override
DString trRTFGeneralIndex() override
DString trExportedModules() override
DString trDocumentation(const DString &projName) override
DString trEnumerationValues() override
DString trClass(bool first_capital, bool singular) override
DString trDirIndex() override
DString trTopics() override
DString trSearch() override
DString trDesignUnitDocumentation() override
VHDL design unit documentation.
DString trExamplesDescription() override
DString trDetailedDescription() override
DString trNamespaceIndex() override
DString trDeprecated() override
DString trCopyright() override
DString trModulesDescription() override
DString trModuleReference(const DString &namespaceName) override
DString trDate() override
DString trParameters() override
DString trStructs() override
DString trDefineDocumentation() override
DString trModulesMemberDescription(bool extractAll) override
DString trRelatedPagesDescription() override
DString trReferences() override
DString trPackages() override
DString trNamespaceListDescription(bool extractAll) override
DString trReferencedBy() override
DString trSingletonGeneratedFromFiles(bool single) override
UNO IDL singleton page.
DString trSatisfiedBy(const DString &list) override
DString trModulesIndex() override
DString trDirDocumentation() override
DString trVariables() override
DString trVerifiedBy(const DString &list) override
DString trExceptionIndex() override
DString trRelatedSymbolDocumentation() override
DString trPrivateAttribs() override
DString trDesignUnitListDescription() override
VHDL design unit list description.
DString trGotoGraphicalHierarchy() override
DString trCallerGraph() override
DString trDirDepGraph(const DString &name) override
DString trSearchResultsTitle() override
DString trFile(bool first_capital, bool singular) override
DString trCopyToClipboard() override
DString trStructIndex() override
DString trImplementedInList(int numEntries) override
DString trConstructorDocumentation() override
DString trExceptionDocumentation() override
DString trConceptIndex() override
DString trLegend() override
DString trDefinition() override
DString trConstantGroupReference(const DString &namespaceName) override
UNO IDL constant groups.
DString trClassHierarchy() override
DString trCompoundMembersDescription(bool extractAll) override
DString trSequenceDocumentation() override
DString trGlobal(bool first_capital, bool singular) override
DString trFileDocumentation() override
DString trSequences() override
DString trRTFCharSet() override
DString trAndMore(const DString &number) override
DString trInclByDepGraph() override
DString trGroup(bool first_capital, bool singular) override
DString trPackage(const DString &name) override
DString trDayOfWeek(int dayOfWeek, bool first_capital, bool full) override
DString trTestList() override
DString trAuthor(bool first_capital, bool singular) override
DString trStaticPublicMembers() override
DString trCompoundIndex() override
DString trProtectedSlots() override
DString trModulesMembers() override
DString trFlowchart() override
DString trEventDocumentation() override
DString trInheritedByList(int numEntries) override
DString trMember(bool first_capital, bool singular) override
DString trType(bool first_capital, bool singular) override
DString trGotoDocumentation() override
DString trHierarchicalIndex() override
DString trRelatedSymbols() override
DString trMemberFunctionDocumentation() override
DString trSearching() override
DString trTypeConstraints() override
DString trUnsatisfiedRequirementsText(bool singular, const DString &list) override
DString trPrivateSlots() override
DString trCompoundListFortran() override
DString trVhdlType(VhdlSpecifier type, bool single) override
VHDL type.
DString trTodoList() override
DString trFileIn(const DString &name) override
DString trStructDocumentation() override
DString trPublicMembers() override
DString trPageIndex() override
DString trRTFTableOfContents() override
DString trWriteList(int numEntries) override
DString trDefines() override
DString trCompoundType(ClassDef::CompoundType compType, SrcLangExt lang) override
DString trUnverifiedRequirements() override
DString trFunctionDocumentation() override
DString trInvariant() override
DString trDesignUnits() override
VHDL design units.
DString trFileMembers() override
DString trStaticPrivateMembers() override
DString trISOLang() override
DString trTopicIndex() override
DString trModules() override
DString trDetails() override
DString trProtectedAttribs() override
DString trMonth(int month, bool first_capital, bool full) override
DString trSingletonReference(const DString &sName) override
UNO IDL singleton page title.
DString trClassHierarchyDescription() override
DString trTopicDocumentation() override
DString trCiteReferences() override
DString trSubprogramDocumentation() override
DString trServices() override
old style UNO IDL services: inherited services
DString trTopicList() override
DString trBugList() override
DString trModuleDocumentation() override
DString trGotoSourceCode() override
DString trPackageList() override
DString trProtectedMembers() override
DString trCompoundList() override
DString trFileMembersDescriptionTotal(FileMemberHighlight::Enum hl) override
DString trDesignUnitMembers() override
VHDL design unit members.
DString trFunctions() override
DString trGeneratedAutomatically(const DString &s) override
DString trDeclaration() override
DString trEvents() override
DString trNamespace(bool first_capital, bool singular) override
DString trTemplateParameters() override
DString trLegendTitle() override
DString trModuleMembersDescriptionTotal(ModuleMemberHighlight::Enum hl) override
DString trAdditionalInheritedMembers() override
DString trTodo() override
DString trDictionaries() override
DString trCompoundListDescription() override
DString trConcept(bool first_capital, bool singular) override
C++20 concept.
DString trInterfaces() override
old style UNO IDL services: implemented interfaces
DString trPrecondition() override
DString trNamespaceMemberDescription(bool extractAll) override
DString trPropertyDocumentation() override
DString trAll() override
DString trStructListDescription() override
DString trRelatedSymbolsSubscript() override
DString trPackageListDescription() override
DString trDir(bool first_capital, bool singular) override
DString trConstantDocumentation() override
DString trConceptListDescription(bool extractAll) override
DString trDeprecatedList() override
DString trTypedefs() override
DString trRemarks() override
DString trGeneratedAt(const DString &date, const DString &projName) override
DString trLegendDocs() override
DString trUnverifiedRequirementsText(bool singular, const DString &list) override
DString trExtendsClass() override
DString trDetailLevel() override
DString trPackageTypes() override
DString trDataMemberDocumentation() override
DString trCompounds() override
DString trOverloadText() override
DString trTest() override
DString trModulesList() override
DString trNamespaceMembers() override
DString trFileMembersDescription(bool extractAll) override
DString trRelatedPages() override
DString trNamespaces() override
DString trConceptReference(const DString &conceptName) override
DString trConstantGroups() override
UNO IDL constant groups.
DString trEnumerationTypeDocumentation() override
DString trFunctionAndProc() override
VHDL functions/procedures/processes.
DString trInclDepGraph(const DString &fName) override
DString trCompoundIndexFortran() override
DString trCompoundReferenceFortran(const DString &clName, ClassDef::CompoundType compType, bool isTemplate) override
DString trListOfAllMembers() override
DString trRequirementID() override
DString trSubprograms() override
DString trMemberList() override
DString trDesignUnitHierarchy() override
VHDL design unit hierarchy.
DString idLanguage() override
DString trDirRelation(const DString &name) override
DString trUnsatisfiedRequirements() override
DString trStaticPackageFunctions() override
DString trFileReference(const DString &fileName) override
DString trPublicAttribs() override
DString trPrivateMembers() override
DString trClassDocumentation() override
DString trSourceFile(const DString &filename) override
DString trCallGraph() override
DString trPackageMembers() override
DString trStaticPrivateAttribs() override
DString trImportant() override
DString trFileIndex() override
DString trWarning() override
DString trCompoundMembersFortran() override
DString trFileList() override
DString trCollaborationDiagram(const DString &clName) override
DString trDefinedInSourceFile() override
DString trPostcondition() override
DString trVariableDocumentation() override
DString trNamespaceMembersDescriptionTotal(NamespaceMemberHighlight::Enum hl) override
DString trPublicTypes() override
DString trStaticPackageAttribs() override
DString trMemberTypedefDocumentation() override
DString getLanguageString() override
language codes for Html help
DString trVersion() override
DString trSearchMatches() override
DString trPackageFunctions() 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 trIncludesFileIn(const DString &name) override
DString trClassDiagram(const DString &clName) override
DString trClasses() override
DString trGotoTextualHierarchy() override
DString trDesignUnitList() override
VHDL design unit list.
DString trConceptDocumentation() override
DString trEnumerations() override
DString trCode() override
DString trCompoundMembers() override
DString trExamples() override
DString trInterfaceHierarchy() override
Abstract base class for all translatable text fragments.
Definition translator.h:27
DString createNoun(bool first_capital, bool singular, const DString &base, const DString &plurSuffix, const DString &singSuffix="")
Definition translator.h:799
#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:770
@ INSTANTIATION
Definition types.h:791
@ MISCELLANEOUS
Definition types.h:797
@ SHAREDVARIABLE
Definition types.h:794
DString getDotImageExtension()
Definition util.cpp:4964