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::Record: return english.trCompoundReference(clName,compType,isTemplate);
750 case ClassDef::Union: result+="União "; break;
751 case ClassDef::Interface: result+="Interface "; break;
752 case ClassDef::Protocol: result+="Protocolo "; break;
753 case ClassDef::Category: result+="Categoria "; break;
754 case ClassDef::Exception: result+="Exceção "; break;
755 default: break;
756 }
757 result+=clName;
758 return result;
759 }
760
761 /*! used as the title of the HTML page of a file */
762 DString trFileReference(const DString &fileName) override
763 {
764 DString result = "Referência do Arquivo ";
765 result += fileName;
766 return result;
767 }
768
769 /*! used as the title of the HTML page of a namespace */
770 DString trNamespaceReference(const DString &namespaceName) override
771 {
772 DString result ="Refência do Namespace ";
773 result += namespaceName;
774 return result;
775 }
776
778 {
779 if (Config_getBool(OPTIMIZE_OUTPUT_JAVA))
780 {
781 return "Métodos Públicos";
782 }
783 else
784 {
785 return "Membros Públicos";
786 }
787 }
788
790 { return "Slots Públicos"; }
791
793 { return "Sinais"; }
794
796 { return "Membros públicos estáticos"; }
797
799 { return "Membros protegidos"; }
800
802 { return "Slots protegidos"; }
803
805 { return "Membros protegidos estáticos"; }
806
808 { return "Membros privados"; }
809
811 { return "Slots privados"; }
812
814 { return "Membros privados estáticos"; }
815
816 /*! this function is used to produce a comma-separated list of items.
817 * use generateMarker(i) to indicate where item i should be put.
818 */
819 DString trWriteList(int numEntries) override
820 {
821 DString result;
822 // the inherits list contain `numEntries' classes
823 for (int i=0;i<numEntries;i++)
824 {
825 // use generateMarker to generate placeholders for the class links!
826 result+=generateMarker(i); // generate marker for entry i in the list
827 // (order is left to right)
828
829 if (i!=numEntries-1) // not the last entry, so we need a separator
830 {
831 if (i<numEntries-2) // not the fore last entry
832 result+=", ";
833 else // the fore last entry
834 result+=" e ";
835 }
836 }
837 return result;
838 }
839
840 /*! used in class documentation to produce a list of base classes,
841 * if class diagrams are disabled.
842 */
843 DString trInheritsList(int numEntries) override
844 {
845 return "Subclasse de " + trWriteList(numEntries) + ".";
846 }
847
848 /*! used in class documentation to produce a list of super classes,
849 * if class diagrams are disabled.
850 */
851 DString trInheritedByList(int numEntries) override
852 {
853 return "Superclasse de "+trWriteList(numEntries)+".";
854 }
855
856 /*! used in member documentation blocks to produce a list of
857 * members that are hidden by this one.
858 */
859 DString trReimplementedFromList(int numEntries) override
860 {
861 return "Reimplementa "+trWriteList(numEntries)+".";
862 }
863
864 /*! used in member documentation blocks to produce a list of
865 * all member that overwrite the implementation of this member.
866 */
867 DString trReimplementedInList(int numEntries) override
868 {
869 return "Reimplementado por "+trWriteList(numEntries)+".";
870 }
871
872 /*! This is put above each page as a link to all members of namespaces. */
874 { return "Membros do namespace"; }
875
876 /*! This is an introduction to the page with all namespace members */
877 DString trNamespaceMemberDescription(bool extractAll) override
878 {
879 DString result="Essa é a lista com todos os membros ";
880 if (!extractAll) result+="documentados ";
881 result+="do Namespace com referências para ";
882 if (extractAll)
883 result+="a documentação do Namespace para cada membro:";
884 else
885 result+="os seus respectivos Namespaces:";
886 return result;
887 }
888 /*! This is used in LaTeX as the title of the chapter with the
889 * index of all namespaces.
890 */
892 { return "Namespaces"; }
893
894 /*! This is used in LaTeX as the title of the chapter containing
895 * the documentation of all namespaces.
896 */
898 { return "Namespace"; }
899
900//////////////////////////////////////////////////////////////////////////
901// new since 0.49-990522
902//////////////////////////////////////////////////////////////////////////
903
904 /*! This is used in the documentation before the list of all
905 * namespaces in a file.
906 */
908 { return "Namespaces"; }
909
910//////////////////////////////////////////////////////////////////////////
911// new since 0.49-990728
912//////////////////////////////////////////////////////////////////////////
913
914 /*! This is put at the bottom of a class documentation page and is
915 * followed by a list of files that were used to generate the page.
916 */
918 bool single) override
919 { // here s is one of " Class", " Struct" or " Union"
920 // single is true implies a single file
921 bool vhdlOpt = Config_getBool(OPTIMIZE_OUTPUT_VHDL);
922 DString result="A documentação para ";
923 if (compType == ClassDef::Protocol)
924 {
925 result+= "esse ";
926 }
927 else
928 {
929 result+= "essa ";
930 }
931 switch(compType)
932 {
933 case ClassDef::Class: result+=vhdlOpt?"Unidade de Design ":"classe "; break;
934 case ClassDef::Struct: result+="estrutura "; break;
935 case ClassDef::Record: return english.trGeneratedFromFiles(compType,single);
936 case ClassDef::Union: result+="união "; break;
937 case ClassDef::Interface: result+="interface "; break;
938 case ClassDef::Protocol: result+="protocolo "; break;
939 case ClassDef::Category: result+="categoria "; break;
940 case ClassDef::Exception: result+="exceção "; break;
941 default: break;
942 }
943 result+=" foi gerada a partir ";
944 if (single) result+="do seguinte arquivo:"; else result+="dos seguintes arquivos:";
945 return result;
946 }
947
948//////////////////////////////////////////////////////////////////////////
949// new since 0.49-990901
950//////////////////////////////////////////////////////////////////////////
951
952 /*! This is used as the heading text for the retval command. */
954 { return "Valores Retornados"; }
955
956 /*! This is in the (quick) index as a link to the main page (index.html)
957 */
959 { return "Página Principal"; }
960
961 /*! This is used in references to page that are put in the LaTeX
962 * documentation. It should be an abbreviation of the word page.
963 */
965 {
966 // Decidi mudar de página para "p." para ficar mais compacto.
967 return "p.";
968 }
969
970//////////////////////////////////////////////////////////////////////////
971// new since 0.49-991003
972//////////////////////////////////////////////////////////////////////////
973
975 {
976 return "Definição na linha @0 do arquivo @1.";
977 }
979 {
980 return "Definição no arquivo @0.";
981 }
982
983//////////////////////////////////////////////////////////////////////////
984// new since 0.49-991205
985//////////////////////////////////////////////////////////////////////////
986
988 {
989 return "Obsoleto(a)";
990 }
991
992//////////////////////////////////////////////////////////////////////////
993// new since 1.0.0
994//////////////////////////////////////////////////////////////////////////
995
996 /*! this text is put before a collaboration diagram */
997 DString trCollaborationDiagram(const DString &clName) override
998 {
999 return "Diagrama de colaboração para "+clName+":";
1000 }
1001 /*! this text is put before an include dependency graph */
1002 DString trInclDepGraph(const DString &fName) override
1003 {
1004 return "Gráfico de dependência de inclusões para "+fName+":";
1005 }
1006 /*! header that is put before the list of constructor/destructors. */
1008 {
1009 return "Construtores e Destrutores";
1010 }
1011 /*! Used in the file documentation to point to the corresponding sources. */
1013 {
1014 return "Ir para o código-fonte desse arquivo.";
1015 }
1016 /*! Used in the file sources to point to the corresponding documentation. */
1018 {
1019 return "Ir para a documentação desse arquivo.";
1020 }
1021 /*! Text for the \\pre command */
1023 {
1024 return "Pré-condição";
1025 }
1026 /*! Text for the \\post command */
1028 {
1029 return "Pós-condição";
1030 }
1031 /*! Text for the \\invariant command */
1033 {
1034 return "Invariante";
1035 }
1036 /*! Text shown before a multi-line variable/enum initialization */
1038 {
1039 return "Valor inicial:";
1040 }
1041 /*! Text used the source code in the file index */
1042 DString trCode() override
1043 {
1044 return "código";
1045 }
1047 {
1048 return "Gráfico de Hierarquia de Classes";
1049 }
1051 {
1052 return "Ir para o gráfico de hierarquia de classes";
1053 }
1055 {
1056 return "Ir para a hierarquia de classes (texto)";
1057 }
1059 {
1060 return "Índice da Página";
1061 }
1062
1063//////////////////////////////////////////////////////////////////////////
1064// new since 1.1.0
1065//////////////////////////////////////////////////////////////////////////
1066
1067 DString trNote() override
1068 {
1069 return "Observação";
1070 }
1072 {
1073 return "Tipos Públicos";
1074 }
1076 {
1077 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
1078 {
1079 return "Campos de Dados";
1080 }
1081 else
1082 {
1083 return "Atributos Públicos";
1084 }
1085 }
1087 {
1088 return "Atributos Públicos Estáticos";
1089 }
1091 {
1092 return "Tipos Protegidos";
1093 }
1095 {
1096 return "Atributos Protegidos";
1097 }
1099 {
1100 return "Atributos Protegidos Estáticos";
1101 }
1103 {
1104 return "Tipos Privados";
1105 }
1107 {
1108 return "Atributos Privados";
1109 }
1111 {
1112 return "Atributos Privados Estáticos";
1113 }
1114
1115//////////////////////////////////////////////////////////////////////////
1116// new since 1.1.3
1117//////////////////////////////////////////////////////////////////////////
1118
1119 /*! Used as a marker that is put before a todo item */
1120 DString trTodo() override
1121 {
1122 return "Atividades futuras";
1123 }
1124 /*! Used as the header of the todo list */
1126 {
1127 return "Lista de atividades futuras";
1128 }
1129
1130//////////////////////////////////////////////////////////////////////////
1131// new since 1.1.4
1132//////////////////////////////////////////////////////////////////////////
1133
1135 {
1136 return "Referenciado(a) por";
1137 }
1139 {
1140 return "Anotações";
1141 }
1143 {
1144 return "Atenção";
1145 }
1147 {
1148 return "Este grafo mostra quais arquivos estão direta ou indiretamente relacionados com esse arquivo:";
1149 }
1150 DString trSince() override
1151 {
1152 return "Desde";
1153 }
1154
1155//////////////////////////////////////////////////////////////////////////
1156// new since 1.1.5
1157//////////////////////////////////////////////////////////////////////////
1158
1159 /*! title of the graph legend page */
1161 {
1162 return "Legenda do Grafo";
1163 }
1164 /*! page explaining how the dot graph's should be interpreted
1165 * The %A in the text below are to prevent link to classes called "A".
1166 */
1168 {
1169 return
1170 "Esta página explica como interpretar os grafos gerados pelo doxygen.<p>\n"
1171 "Considere o seguinte exemplo:\n"
1172 "\\code\n"
1173 "/*! Classe oculta por causa da truncagem */\n"
1174 "class Invisible { };\n\n"
1175 "/*! Classe Truncated, relação de herança está oculta */\n"
1176 "class Truncated : public Invisible { };\n\n"
1177 "/* Classe não documentada com os comentários do Doxygen */\n"
1178 "class Undocumented { };\n\n"
1179 "/*! Classe possui que possui uma relação de herança pública */\n"
1180 "class PublicBase : public Truncated { };\n\n"
1181 "/*! Um template de classe */\n"
1182 "template<class T> class Templ { };\n\n"
1183 "/*! Classe possui que possui uma relação de herança protegida */\n"
1184 "class ProtectedBase { };\n\n"
1185 "/*! Classe possui que possui uma relação de herança privada */\n"
1186 "class PrivateBase { };\n\n"
1187 "/*! Classe utilizada pela classe Inherited */\n"
1188 "class Used { };\n\n"
1189 "/*! Super classe que herda outras classes */\n"
1190 "class Inherited : public PublicBase,\n"
1191 " protected ProtectedBase,\n"
1192 " private PrivateBase,\n"
1193 " public Undocumented,\n"
1194 " public Templ<int>\n"
1195 "{\n"
1196 " private:\n"
1197 " Used *m_usedClass;\n"
1198 "};\n"
1199 "\\endcode\n"
1200 "Isto irá gerar o seguinte gráfo:"
1201 "<p><center><img src=\"graph_legend."+getDotImageExtension()+"\"></center>\n"
1202 "<p>\n"
1203 "As caixas no grafo acima possuem os seguintes significados:\n"
1204 "</p>\n"
1205 "<ul>\n"
1206 "<li>Uma caixa cinza denota a estrutura ou a classe que gerou"
1207 "este grafo.</li>\n"
1208 "<li>Uma caixa com a borda preta denota uma estrutura ou classe documentada.</li>\n"
1209 "<li>Uma caixa com a borda cinza denota uma estrutura ou classe não documentada.</li>\n"
1210 "<li>Uma caixa com a borda vermelha denota uma estrutura ou classe na"
1211 "qual nem todas as relações são mostradas. Um grafo é truncado quando "
1212 "esse não cabe no espaço especificado.</li>\n"
1213 "</ul>\n"
1214 "<p>\n"
1215 "As setas possuem os seguintes significados:\n"
1216 "</p>\n"
1217 "<ul>\n"
1218 "<li>Uma seta azul escura denota a relação de herança pública entre "
1219 "duas classes.</li>\n"
1220 "<li>Uma seta verde escura denota a relação de herança protegida entre "
1221 "duas classes.</li>\n"
1222 "<li>Uma seta vermelha escura denota a relação de herança privada entre "
1223 "duas classes.</li>\n"
1224 "<li>Uma seta pontilhada púrpura denota a relação de uso e/ou agragação "
1225 "por outra classe/estrutura. A etiqueta da seta denota o nome do(s) campo(s) "
1226 "que representa(m) este apontamento.</li>\n"
1227 "<li>Uma seta pontilhada amarela denota a relação de instanciação de uma "
1228 "<em>template</em>. A etiqueta da seta denota os parâmetros de instanciação "
1229 "desta <em>template</em>.</li>\n"
1230 "</ul>\n";
1231 }
1232 /*! text for the link to the legend page */
1234 {
1235 return "legenda";
1236 }
1237
1238//////////////////////////////////////////////////////////////////////////
1239// new since 1.2.0
1240//////////////////////////////////////////////////////////////////////////
1241
1242 /*! Used as a marker that is put before a test item */
1243 DString trTest() override
1244 {
1245 return "Teste";
1246 }
1247 /*! Used as the header of the test list */
1249 {
1250 return "Lista de Testes";
1251 }
1252
1253//////////////////////////////////////////////////////////////////////////
1254// new since 1.2.2
1255//////////////////////////////////////////////////////////////////////////
1256
1257 /*! Used as a section header for IDL properties */
1259 {
1260 return "Propriedades";
1261 }
1262 /*! Used as a section header for IDL property documentation */
1264 {
1265 return "Propriedades";
1266 }
1267
1268//////////////////////////////////////////////////////////////////////////
1269// new since 1.2.4
1270//////////////////////////////////////////////////////////////////////////
1271
1272 /*! Used for Java classes in the summary section of Java packages */
1274 {
1275 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
1276 {
1277 return "Estruturas de dados";
1278 }
1279 else
1280 {
1281 return "Classes";
1282 }
1283 }
1284 /*! Used as the title of a Java package */
1285 DString trPackage(const DString &name) override
1286 {
1287 return "Pacote "+name;
1288 }
1289 /*! The description of the package index page */
1291 {
1292 return "Esta é a lista com os pacotes e suas respectivas descrições (quando disponíveis):";
1293 }
1294 /*! The link name in the Quick links header for each page */
1296 {
1297 return "Pacotes";
1298 }
1299 /*! Text shown before a multi-line define */
1301 {
1302 return "Valor:";
1303 }
1304
1305//////////////////////////////////////////////////////////////////////////
1306// new since 1.2.5
1307//////////////////////////////////////////////////////////////////////////
1308
1309 /*! Used as a marker that is put before a \\bug item */
1310 DString trBug() override
1311 {
1312 return "Bug";
1313 }
1314 /*! Used as the header of the bug list */
1316 {
1317 return "Lista de Bugs";
1318 }
1319
1320//////////////////////////////////////////////////////////////////////////
1321// new since 1.2.6
1322//////////////////////////////////////////////////////////////////////////
1323
1324 /*! Used as ansicpg for RTF file
1325 *
1326 * The following table shows the correlation of Charset name, Charset Value and
1327 * <pre>
1328 * Codepage number:
1329 * Charset Name Charset Value(hex) Codepage number
1330 * ------------------------------------------------------
1331 * DEFAULT_CHARSET 1 (x01)
1332 * SYMBOL_CHARSET 2 (x02)
1333 * OEM_CHARSET 255 (xFF)
1334 * ANSI_CHARSET 0 (x00) 1252
1335 * RUSSIAN_CHARSET 204 (xCC) 1251
1336 * EE_CHARSET 238 (xEE) 1250
1337 * GREEK_CHARSET 161 (xA1) 1253
1338 * TURKISH_CHARSET 162 (xA2) 1254
1339 * BALTIC_CHARSET 186 (xBA) 1257
1340 * HEBREW_CHARSET 177 (xB1) 1255
1341 * ARABIC _CHARSET 178 (xB2) 1256
1342 * SHIFTJIS_CHARSET 128 (x80) 932
1343 * HANGEUL_CHARSET 129 (x81) 949
1344 * GB2313_CHARSET 134 (x86) 936
1345 * CHINESEBIG5_CHARSET 136 (x88) 950
1346 * </pre>
1347 *
1348 */
1350 {
1351 return "1252";
1352 }
1353
1354
1355 /*! Used as ansicpg for RTF fcharset
1356 * \see trRTFansicp() for a table of possible values.
1357 */
1359 {
1360 return "0";
1361 }
1362
1363 /*! Used as header RTF general index */
1365 {
1366 return "Sumário";
1367 }
1368
1369 /*! This is used for translation of the word that will possibly
1370 * be followed by a single name or by a list of names
1371 * of the category.
1372 */
1373 DString trClass(bool first_capital, bool singular) override
1374 {
1375 return createNoun(first_capital, singular, "classe", "s");
1376 }
1377
1378 /*! This is used for translation of the word that will possibly
1379 * be followed by a single name or by a list of names
1380 * of the category.
1381 */
1382 DString trFile(bool first_capital, bool singular) override
1383 {
1384 return createNoun(first_capital, singular, "arquivo", "s");
1385 }
1386
1387 /*! This is used for translation of the word that will possibly
1388 * be followed by a single name or by a list of names
1389 * of the category.
1390 */
1391 DString trNamespace(bool first_capital, bool singular) override
1392 {
1393 return createNoun(first_capital, singular, "namespace", "s");
1394 }
1395
1396 /*! This is used for translation of the word that will possibly
1397 * be followed by a single name or by a list of names
1398 * of the category.
1399 */
1400 DString trGroup(bool first_capital, bool singular) override
1401 {
1402 return createNoun(first_capital, singular, "grupo", "s");
1403 }
1404
1405 /*! This is used for translation of the word that will possibly
1406 * be followed by a single name or by a list of names
1407 * of the category.
1408 */
1409 DString trPage(bool first_capital, bool singular) override
1410 {
1411 return createNoun(first_capital, singular, "página", "s");
1412 }
1413
1414 /*! This is used for translation of the word that will possibly
1415 * be followed by a single name or by a list of names
1416 * of the category.
1417 */
1418 DString trMember(bool first_capital, bool singular) override
1419 {
1420 return createNoun(first_capital, singular, "membro", "s");
1421 }
1422
1423 /*! This is used for translation of the word that will possibly
1424 * be followed by a single name or by a list of names
1425 * of the category.
1426 */
1427 DString trGlobal(bool first_capital, bool singular) override
1428 {
1429 return createNoun(first_capital, singular, "globa", "ais", "l");
1430 }
1431
1432//////////////////////////////////////////////////////////////////////////
1433// new since 1.2.7
1434//////////////////////////////////////////////////////////////////////////
1435
1436 /*! This text is generated when the \\author command is used and
1437 * for the author section in man pages. */
1438 DString trAuthor(bool first_capital, bool singular) override
1439 {
1440 return createNoun(first_capital, singular, "autor", "es");
1441 }
1442
1443//////////////////////////////////////////////////////////////////////////
1444// new since 1.2.11
1445//////////////////////////////////////////////////////////////////////////
1446
1447 /*! This text is put before the list of members referenced by a member
1448 */
1450 {
1451 return "Referencias";
1452 }
1453
1454//////////////////////////////////////////////////////////////////////////
1455// new since 1.2.13
1456//////////////////////////////////////////////////////////////////////////
1457
1458 /*! used in member documentation blocks to produce a list of
1459 * members that are implemented by this one.
1460 */
1461 DString trImplementedFromList(int numEntries) override
1462 {
1463 return "Implementa "+trWriteList(numEntries)+".";
1464 }
1465
1466 /*! used in member documentation blocks to produce a list of
1467 * all members that implementation this member.
1468 */
1469 DString trImplementedInList(int numEntries) override
1470 {
1471 return "Implementado por "+trWriteList(numEntries)+".";
1472 }
1473
1474//////////////////////////////////////////////////////////////////////////
1475// new since 1.2.16
1476//////////////////////////////////////////////////////////////////////////
1477
1478 /*! used in RTF documentation as a heading for the Table
1479 * of Contents.
1480 */
1482 {
1483 return "Sumário";
1484 }
1485
1486//////////////////////////////////////////////////////////////////////////
1487// new since 1.2.17
1488//////////////////////////////////////////////////////////////////////////
1489
1490 /*! Used as the header of the list of item that have been
1491 * flagged deprecated
1492 */
1494 {
1495 return "Lista de itens obsoletos";
1496 }
1497
1498//////////////////////////////////////////////////////////////////////////
1499// new since 1.2.18
1500//////////////////////////////////////////////////////////////////////////
1501
1502 /*! Used as a header for declaration section of the events found in
1503 * a C# program
1504 */
1506 {
1507 return "Eventos";
1508 }
1509 /*! Header used for the documentation section of a class' events. */
1511 {
1512 return "Eventos";
1513 }
1514
1515//////////////////////////////////////////////////////////////////////////
1516// new since 1.3
1517//////////////////////////////////////////////////////////////////////////
1518
1519 /*! Used as a heading for a list of Java class types with package scope.
1520 */
1522 {
1523 return "Tipos do Pacote";
1524 }
1525 /*! Used as a heading for a list of Java class functions with package
1526 * scope.
1527 */
1529 {
1530 return "Funções do Pacote";
1531 }
1533 {
1534 return "Membros do Pacote";
1535 }
1536 /*! Used as a heading for a list of static Java class functions with
1537 * package scope.
1538 */
1540 {
1541 return "Funções Estáticas do Pacote";
1542 }
1543 /*! Used as a heading for a list of Java class variables with package
1544 * scope.
1545 */
1547 {
1548 return "Atributos do Pacote";
1549 }
1550 /*! Used as a heading for a list of static Java class variables with
1551 * package scope.
1552 */
1554 {
1555 return "Atributos Estáticos do Pacote";
1556 }
1557
1558//////////////////////////////////////////////////////////////////////////
1559// new since 1.3.1
1560//////////////////////////////////////////////////////////////////////////
1561
1562 /*! Used in the quick index of a class/file/namespace member list page
1563 * to link to the unfiltered list of all members.
1564 */
1565 DString trAll() override
1566 {
1567 return "Todos";
1568 }
1569 /*! Put in front of the call graph for a function. */
1571 {
1572 return "Este é o diagrama das funções utilizadas por essa função:";
1573 }
1574
1575//////////////////////////////////////////////////////////////////////////
1576// new since 1.3.3
1577//////////////////////////////////////////////////////////////////////////
1578
1579 /*! This string is used as the title for the page listing the search
1580 * results.
1581 */
1583 {
1584 return "Resultado da Busca";
1585 }
1586 /*! This string is put just before listing the search results. The
1587 * text can be different depending on the number of documents found.
1588 * Inside the text you can put the special marker $num to insert
1589 * the number representing the actual number of search results.
1590 * The @a numDocuments parameter can be either 0, 1 or 2, where the
1591 * value 2 represents 2 or more matches. HTML markup is allowed inside
1592 * the returned string.
1593 */
1594 DString trSearchResults(int numDocuments) override
1595 {
1596 if (numDocuments==0)
1597 {
1598 return "Nenhum documento foi encontrado.";
1599 }
1600 else if (numDocuments==1)
1601 {
1602 return "Apenas <b>1</b> documento foi encontrado.";
1603 }
1604 else
1605 {
1606 return "<b>$num</b> documentos encontrados. "
1607 "Mostrando os melhores resultados primeiro.";
1608 }
1609 }
1610 /*! This string is put before the list of matched words, for each search
1611 * result. What follows is the list of words that matched the query.
1612 */
1614 {
1615 return "Resultados:";
1616 }
1617
1618//////////////////////////////////////////////////////////////////////////
1619// new since 1.3.8
1620//////////////////////////////////////////////////////////////////////////
1621
1622 /*! This is used in HTML as the title of page with source code for file filename
1623 */
1624 DString trSourceFile(const DString& filename) override
1625 {
1626 return "Código-Fonte de " + filename;
1627 }
1628
1629//////////////////////////////////////////////////////////////////////////
1630// new since 1.3.9
1631//////////////////////////////////////////////////////////////////////////
1632
1633 /*! This is used as the name of the chapter containing the directory
1634 * hierarchy.
1635 */
1637 { return "Hierarquia de Diretórios"; }
1638
1639 /*! This is used as the name of the chapter containing the documentation
1640 * of the directories.
1641 */
1643 { return "Documentação do Diretório"; }
1644
1645 /*! This is used as the title of the directory index and also in the
1646 * Quick links of a HTML page, to link to the directory hierarchy.
1647 */
1649 { return "Diretórios"; }
1650
1651 /*! This returns the title of a directory page. The name of the
1652 * directory is passed via \a dirName.
1653 */
1654 DString trDirReference(const DString &dirName) override
1655 {
1656 DString result = "Referência do diretório ";
1657 result += dirName;
1658 return result;
1659 }
1660
1661 /*! This returns the word directory with or without starting capital
1662 * (\a first_capital) and in singular or plural form (\a singular).
1663 */
1664 DString trDir(bool first_capital, bool singular) override
1665 {
1666 return createNoun(first_capital, singular, "diretório", "s");
1667 }
1668
1669//////////////////////////////////////////////////////////////////////////
1670// new since 1.4.1
1671//////////////////////////////////////////////////////////////////////////
1672
1673 /*! This text is added to the documentation when the \\overload command
1674 * is used for a overloaded function.
1675 */
1677 {
1678 return "Esse é um método provido por conveniência. "
1679 "Ele difere do método acima apenas na lista de "
1680 "argumentos que devem ser utilizados.";
1681 }
1682
1683//////////////////////////////////////////////////////////////////////////
1684// new since 1.4.6
1685//////////////////////////////////////////////////////////////////////////
1686
1687 /*! This is used to introduce a caller (or called-by) graph */
1689 {
1690 return "Esse é o diagrama das funções que utilizam essa função:";
1691 }
1692
1693 /*! This is used in the documentation of a file/namespace before the list
1694 * of documentation blocks for enumeration values
1695 */
1697 { return "Documentação da enumeração"; }
1698
1699
1700//////////////////////////////////////////////////////////////////////////
1701// new since 1.5.4 (mainly for Fortran)
1702//////////////////////////////////////////////////////////////////////////
1703
1704 /*! header that is put before the list of member subprograms (Fortran). */
1706 { return "Documentação de Função Membro/Subrotina"; }
1707
1708 /*! This is put above each page as a link to the list of annotated data types (Fortran). */
1710 { return "Lista de Tipos de Dados"; }
1711
1712 /*! This is put above each page as a link to all members of compounds (Fortran). */
1714 { return "Campos de Dados"; }
1715
1716 /*! This is an introduction to the annotated compound list (Fortran). */
1718 { return "Aqui estão os tipos de dados com descrições resumidas:"; }
1719
1720 /*! This is an introduction to the page with all data types (Fortran). */
1722 {
1723 DString result="Esta é a lista de todos os membros ";
1724 if (!extractAll) result+="documentados ";
1725 result+="dos tipos de dados com links para ";
1726 if (extractAll)
1727 {
1728 result+="a documentação dos tipos de dados para cada membro:";
1729 }
1730 else
1731 {
1732 result+="os tipos de dados a que pertencem:";
1733 }
1734 return result;
1735 }
1736
1737 /*! This is used in LaTeX as the title of the chapter with the
1738 * annotated compound index (Fortran).
1739 */
1741 { return "Índice de Tipos de Dados"; }
1742
1743 /*! This is used in LaTeX as the title of the chapter containing
1744 * the documentation of all data types (Fortran).
1745 */
1747 { return "Documentação dos Tipos de Dados"; }
1748
1749 /*! This is used in the documentation of a file as a header before the
1750 * list of (global) subprograms (Fortran).
1751 */
1753 { return "Funções/Subrotinas"; }
1754
1755 /*! This is used in the documentation of a file/namespace before the list
1756 * of documentation blocks for subprograms (Fortran)
1757 */
1759 { return "Documentação da Função/Subrotina"; }
1760
1761 /*! This is used in the documentation of a file/namespace/group before
1762 * the list of links to documented compounds (Fortran)
1763 */
1765 { return "Tipos de Dados"; }
1766
1767 /*! used as the title of page containing all the index of all modules (Fortran). */
1769 { return "Lista de Módulos"; }
1770
1771 /*! used as an introduction to the modules list (Fortran) */
1772 DString trModulesListDescription(bool extractAll) override
1773 {
1774 DString result="Esta é a lista de todos os módulos ";
1775 if (!extractAll) result+="documentados ";
1776 result+="com descrições resumidas:";
1777 return result;
1778 }
1779
1780 /*! used as the title of the HTML page of a module/type (Fortran) */
1782 ClassDef::CompoundType compType,
1783 bool isTemplate) override
1784 {
1785 DString result = "Referência ";
1786
1787 if (isTemplate) result+="da Template ";
1788
1789 switch(compType)
1790 {
1791 case ClassDef::Class: result+="do Modulo "; break;
1792 case ClassDef::Struct: result+="do Tipo "; break;
1793 case ClassDef::Union: result+="da União "; break;
1794 case ClassDef::Interface: result+="da Interface "; break;
1795 case ClassDef::Protocol: result+="do Protocolo "; break;
1796 case ClassDef::Category: result+="da Categoria "; break;
1797 case ClassDef::Exception: result+="da Exceção "; break;
1798 default: break;
1799 }
1800 result += clName;
1801
1802 return result;
1803 }
1804 /*! used as the title of the HTML page of a module (Fortran) */
1805 DString trModuleReference(const DString &namespaceName) override
1806 {
1807 DString result = "Referência do Módulo ";
1808 result += namespaceName;
1809 return result;
1810 }
1811
1812 /*! This is put above each page as a link to all members of modules. (Fortran) */
1814 { return "Membros do Módulo"; }
1815
1816 /*! This is an introduction to the page with all modules members (Fortran) */
1817 DString trModulesMemberDescription(bool extractAll) override
1818 {
1819 DString result="Esta é a lista de todos os membros ";
1820 if (!extractAll) result+="documentados ";
1821 result+="dos módulos com links para ";
1822 if (extractAll)
1823 {
1824 result+="a documentação dos módulos para cada membro:";
1825 }
1826 else
1827 {
1828 result+="os módulos a que pertencem:";
1829 }
1830 return result;
1831 }
1832
1833 /*! This is used in LaTeX as the title of the chapter with the
1834 * index of all modules (Fortran).
1835 */
1837 { return "Índice dos Módulos"; }
1838
1839 /*! This is used for translation of the word that will possibly
1840 * be followed by a single name or by a list of names
1841 * of the category.
1842 */
1843 DString trModule(bool first_capital, bool singular) override
1844 {
1845 return createNoun(first_capital, singular, "módulo", "s");
1846 }
1847
1848 /*! This is put at the bottom of a module documentation page and is
1849 * followed by a list of files that were used to generate the page.
1850 */
1852 bool single) override
1853 {
1854 // single is true implies a single file
1855 DString result="A documentação para ";
1856 switch(compType)
1857 {
1858 case ClassDef::Class: result+="esse modulo "; break;
1859 case ClassDef::Struct: result+="esse tipo "; break;
1860 case ClassDef::Union: result+="essa união "; break;
1861 case ClassDef::Interface: result+="essa interface "; break;
1862 case ClassDef::Protocol: result+="esso protocolo "; break;
1863 case ClassDef::Category: result+="essa categoria "; break;
1864 case ClassDef::Exception: result+="essa exceção "; break;
1865 default: break;
1866 }
1867
1868 result+=" foi gerada a partir do";
1869 if (single)
1870 result+=" seguinte arquivo:";
1871 else
1872 result+="s seguintes arquivos:";
1873
1874 return result;
1875 }
1876
1877 /*! This is used for translation of the word that will possibly
1878 * be followed by a single name or by a list of names
1879 * of the category.
1880 */
1881 DString trType(bool first_capital, bool singular) override
1882 {
1883 return createNoun(first_capital, singular, "tipo", "s");
1884 }
1885
1886 /*! This is used for translation of the word that will possibly
1887 * be followed by a single name or by a list of names
1888 * of the category.
1889 */
1890 DString trSubprogram(bool first_capital, bool singular) override
1891 {
1892 return createNoun(first_capital, singular, "subrotina", "s");
1893 }
1894
1895 /*! C# Type Constraint list */
1897 {
1898 return "Restrições do Tipo";
1899 }
1900
1901//////////////////////////////////////////////////////////////////////////
1902// new since 1.6.0 (mainly for the new search engine)
1903//////////////////////////////////////////////////////////////////////////
1904
1905 /*! directory relation for \a name */
1906 DString trDirRelation(const DString &name) override
1907 {
1908 return "Relação " + name;
1909 }
1910
1911 /*! Loading message shown when loading search results */
1913 {
1914 return "Carregando...";
1915 }
1916
1917 /*! Label used for search results in the global namespace */
1919 {
1920 return "Namespace global";
1921 }
1922
1923 /*! Message shown while searching */
1925 {
1926 return "Procurando...";
1927 }
1928
1929 /*! Text shown when no search results are found */
1931 {
1932 return "Nenhuma entrada encontrado";
1933 }
1934
1935//////////////////////////////////////////////////////////////////////////
1936// new since 1.6.3 (missing items for the directory pages)
1937//////////////////////////////////////////////////////////////////////////
1938
1939 /*! when clicking a directory dependency label, a page with a
1940 * table is shown. The heading for the first column mentions the
1941 * source file that has a relation to another file.
1942 */
1943 DString trFileIn(const DString &name) override
1944 {
1945 return "Arquivo em "+name;
1946 }
1947
1948 /*! when clicking a directory dependency label, a page with a
1949 * table is shown. The heading for the second column mentions the
1950 * destination file that is included.
1951 */
1952 DString trIncludesFileIn(const DString &name) override
1953 {
1954 return "Inclui arquivo em "+name;
1955 }
1956
1957 /** Compiles a date string.
1958 * @param year Year in 4 digits
1959 * @param month Month of the year: 1=January
1960 * @param day Day of the Month: 1..31
1961 * @param dayOfWeek Day of the week: 1=Monday..7=Sunday
1962 * @param hour Hour of the day: 0..23
1963 * @param minutes Minutes in the hour: 0..59
1964 * @param seconds Seconds within the minute: 0..59
1965 * @param includeTime Include time in the result string?
1966 */
1967 DString trDateTime(int year,int month,int day,int dayOfWeek,
1968 int hour,int minutes,int seconds,
1969 DateTimeType includeTime) override
1970 {
1971 static const char *days[] = { "Segunda","Terça","Quarta","Quinta","Sexta","Sábado","Domingo" };
1972 static const char *months[] = { "Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro" };
1973 DString sdate;
1974 if (includeTime == DateTimeType::DateTime || includeTime == DateTimeType::Date)
1975 {
1976 sdate.sprintf("%s, %d de %s de %d",days[dayOfWeek-1],day,months[month-1],year);
1977 }
1978 if (includeTime == DateTimeType::DateTime) sdate += " ";
1979 if (includeTime == DateTimeType::DateTime || includeTime == DateTimeType::Time)
1980 {
1981 DString stime;
1982 stime.sprintf("%.2d:%.2d:%.2d",hour,minutes,seconds);
1983 sdate+=stime;
1984 }
1985 return sdate;
1986 }
1987 DString trDayOfWeek(int dayOfWeek, bool first_capital, bool full) override
1988 {
1989 static const char *days_short[] = { "seg", "ter", "qua", "qui", "sex", "sáb", "dom" };
1990 static const char *days_full[] = { "segunda-feira", "terça-feira", "quarta-feira", "quinta-feira", "sexta-feira", "sábado", "domingo" };
1991 DString text = full? days_full[dayOfWeek-1] : days_short[dayOfWeek-1];
1992 if (first_capital) return text.mid(0,1).upper()+text.mid(1);
1993 else return text;
1994 }
1995 DString trMonth(int month, bool first_capital, bool full) override
1996 {
1997 static const char *months_short[] = { "jan", "fev", "mar", "abr", "mai", "jun", "jul", "ago", "set", "out", "nov", "dez" };
1998 static const char *months_full[] = { "janeiro", "fevereiro", "março", "abril", "maio", "junho", "julho", "agosto", "setembro", "outubro", "novembro", "dezembro" };
1999 DString text = full? months_full[month-1] : months_short[month-1];
2000 if (first_capital) return text.mid(0,1).upper()+text.mid(1);
2001 else return text;
2002 }
2003 DString trDayPeriod(bool period) override
2004 {
2005 static const char *dayPeriod[] = { "AM", "PM" };
2006 return dayPeriod[period?1:0];
2007 }
2008
2009//////////////////////////////////////////////////////////////////////////
2010// new since 1.7.5
2011//////////////////////////////////////////////////////////////////////////
2012
2013 /*! Header for the page with bibliographic citations */
2015 { return "Referências Bibliográficas"; }
2016
2017 /*! Text for copyright paragraph */
2019 {
2020 // Note: I will left it as is because "Direitos autorais" may not fit
2021 // in the text.
2022 return "Copyright";
2023 }
2024
2025 /*! Header for the graph showing the directory dependencies */
2026 DString trDirDepGraph(const DString &name) override
2027 { return DString("Grafo de dependências do diretório ")+name+":"; }
2028
2029//////////////////////////////////////////////////////////////////////////
2030// new since 1.8.0
2031//////////////////////////////////////////////////////////////////////////
2032
2033 /*! Detail level selector shown for hierarchical indices */
2035 { return "nível de detalhes"; }
2036
2037 /*! Section header for list of template parameters */
2039 { return "Parâmetros do template"; }
2040
2041 /*! Used in dot graph when UML_LOOK is enabled and there are many fields */
2042 DString trAndMore(const DString &number) override
2043 { return "e "+number+" mais..."; }
2044
2045 /*! Used file list for a Java enum */
2046 DString trEnumGeneratedFromFiles(bool single) override
2047 { DString result = "A documentação para essa enumeração foi gerada a partir ";
2048 if (single) {
2049 result += "do seguinte arquivo:";
2050 } else {
2051 result += "dos seguintes arquivos:";
2052 }
2053 return result;
2054 }
2055
2056 /*! Header of a Java enum page (Java enums are represented as classes). */
2057 DString trEnumReference(const DString &name) override
2058 {
2059 DString result = "Referência da enumeração ";
2060 return result + name;
2061 }
2062
2063 /*! Used for a section containing inherited members */
2064 DString trInheritedFrom(const DString &members,const DString &what) override
2065 { return members+" herdados de "+what; }
2066
2067 /*! Header of the sections with inherited members specific for the
2068 * base class(es)
2069 */
2071 { return "Outros membros herdados"; }
2072
2073//////////////////////////////////////////////////////////////////////////
2074// new since 1.8.2
2075//////////////////////////////////////////////////////////////////////////
2076
2077 /*! Used as a tooltip for the toggle button that appears in the
2078 * navigation tree in the HTML output when GENERATE_TREEVIEW is
2079 * enabled. This tooltip explains the meaning of the button.
2080 */
2082 {
2083 DString opt = enable ? "ativar" : "desativar";
2084 return "clique para "+opt+" a sincronização do painel";
2085 }
2086
2087 /*! Used in a method of an Objective-C class that is declared in a
2088 * a category. Note that the @1 marker is required and is replaced
2089 * by a link.
2090 */
2092 {
2093 return "Provido pela categoria @0.";
2094 }
2095
2096 /*! Used in a method of an Objective-C category that extends a class.
2097 * Note that the @1 marker is required and is replaced by a link to
2098 * the class method.
2099 */
2101 {
2102 return "estende a classe @0.";
2103 }
2104
2105 /*! Used as the header of a list of class methods in Objective-C.
2106 * These are similar to static public member functions in C++.
2107 */
2109 {
2110 return "Métodos da classe";
2111 }
2112
2113 /*! Used as the header of a list of instance methods in Objective-C.
2114 * These are similar to public member functions in C++.
2115 */
2117 {
2118 return "Métodos da instância";
2119 }
2120
2121 /*! Used as the header of the member functions of an Objective-C class.
2122 */
2124 {
2125 return "Documentação do método";
2126 }
2127
2128//////////////////////////////////////////////////////////////////////////
2129// new since 1.8.4
2130//////////////////////////////////////////////////////////////////////////
2131
2132 /** old style UNO IDL services: implemented interfaces */
2134 { return "Interfaces Exportadas"; }
2135
2136 /** old style UNO IDL services: inherited services */
2138 { return "Serviços Inclusos"; }
2139
2140 /** UNO IDL constant groups */
2142 { return "Grupos de Constantes"; }
2143
2144 /** UNO IDL constant groups */
2145 DString trConstantGroupReference(const DString &namespaceName) override
2146 {
2147 DString result = "Referência do grupo de constantes ";
2148 result += namespaceName;
2149 return result;
2150 }
2151 /** UNO IDL service page title */
2152 DString trServiceReference(const DString &sName) override
2153 {
2154 DString result = "Referência do serviço ";
2155 result += sName;
2156 return result;
2157 }
2158 /** UNO IDL singleton page title */
2159 DString trSingletonReference(const DString &sName) override
2160 {
2161 // TODO: Emerson Ferreira proposes to add emphasis around the word
2162 // Singleton but I'm not sure if this will work for non HTML generators.
2163 DString result = "Referência do Singleton ";
2164 result += sName;
2165 return result;
2166 }
2167 /** UNO IDL service page */
2169 {
2170 // single is true implies a single file
2171 DString result="A documentação para esse serviço "
2172 "foi gerada a partir ";
2173 if (single) {
2174 result+="do seguinte arquivo:";
2175 } else {
2176 result+="dos seguintes arquivos:";
2177 }
2178 return result;
2179 }
2180 /** UNO IDL singleton page */
2182 {
2183 // single is true implies a single file
2184 DString result="A documentação para esse Singleton "
2185 "foi gerada a partir ";
2186 if (single) {
2187 result+="do seguinte arquivo:";
2188 } else {
2189 result+="dos: seguintes arquivos:";
2190 }
2191
2192 return result;
2193 }
2194 //////////////////////////////////////////////////////////////////////////
2195 // new since 1.8.15
2196 //////////////////////////////////////////////////////////////////////////
2197
2198 /** VHDL design unit hierarchy */
2200 { return "Hierarquia da Unidade de Design"; }
2201 /** VHDL design unit list */
2203 { return "Lista de Unidades de Design"; }
2204 /** VHDL design unit members */
2206 { return "Membros da Unidade de Design"; }
2207 /** VHDL design unit list description */
2209 {
2210 return "Esta é uma lista de todos os membros de unidades de design "
2211 "com ligações para as entidades às quais pertencem:";
2212 }
2213 /** VHDL design unit index */
2215 { return "Índice de Unidades de Design"; }
2216 /** VHDL design units */
2218 { return "Unidades de Design"; }
2219 /** VHDL functions/procedures/processes */
2221 { return "Funções/Procedimentos/Processos"; }
2222 /** VHDL type */
2223 DString trVhdlType(VhdlSpecifier type,bool single) override
2224 {
2225 switch(type)
2226 {
2228 if (single) return "Biblioteca";
2229 else return "Bibliotecas";
2231 if (single) return "Pacote";
2232 else return "Pacotes";
2234 if (single) return "Sinal";
2235 else return "Sinais";
2237 if (single) return "Componente";
2238 else return "Componentes";
2240 if (single) return "Constante";
2241 else return "Constantes";
2243 if (single) return "Entidade";
2244 else return "Entidades";
2246 if (single) return "Tipo";
2247 else return "Tipos";
2249 if (single) return "Subtipo";
2250 else return "Subtipos";
2252 if (single) return "Função";
2253 else return "Funções";
2255 if (single) return "Registro";
2256 else return "Registros";
2258 if (single) return "Procedimento";
2259 else return "Procedimentos";
2261 if (single) return "Arquitetura";
2262 else return "Arquiteturas";
2264 if (single) return "Atributo";
2265 else return "Atributos";
2267 if (single) return "Processo";
2268 else return "Processos";
2270 if (single) return "Porta";
2271 else return "Portas";
2272 case VhdlSpecifier::USE:
2273 if (single) return "cláusula de uso";
2274 else return "cláusulas de uso";
2276 if (single) return "Generico";
2277 else return "Genericos";
2279 return "Corpo do Pacote";
2281 return "Unidades";
2283 if (single) return "Variável Compartilhada";
2284 else return "Variáveis Compartilhadas";
2286 if (single) return "Arquivo";
2287 else return "Arquivos";
2289 if (single) return "Grupo";
2290 else return "Grupos";
2292 if (single) return "Instância";
2293 else return "Instâncias";
2295 if (single) return "Apelido";
2296 else return "Apelidos";
2298 if (single) return "Configuração";
2299 else return "Configurações";
2301 return "Outros"; // Is this correct for VHDL?
2303 return "Restrições";
2304 default:
2305 return "Classe";
2306 }
2307 }
2308 DString trCustomReference(const DString &name) override
2309 { return "Referência de " + name; }
2310
2311 /* Slice */
2313 {
2314 return "Constantes";
2315 }
2317 {
2318 return "Constantes";
2319 }
2321 {
2322 return "Sequências";
2323 }
2325 {
2326 return "Sequências";
2327 }
2329 {
2330 return "Dicionários";
2331 }
2333 {
2334 return "Dicionários";
2335 }
2337 {
2338 return "Interfaces";
2339 }
2341 {
2342 return "Índice de Interfaces";
2343 }
2345 {
2346 return "Lista de Interfaces";
2347 }
2349 {
2350 return "Estas são as interfaces com suas respectivas descrições:";
2351 }
2353 {
2354 return "Hierarquia de Interfaces";
2355 }
2357 {
2358 return "Esta é a lista parcialmente ordenadas de heranças:";
2359 }
2361 {
2362 return "Interfaces";
2363 }
2365 {
2366 return "Estruturas";
2367 }
2369 {
2370 return "Índice de Estruturas";
2371 }
2373 {
2374 return "Lista de Estruturas";
2375 }
2377 {
2378 return "Estas são as estruturas com suas respectivas descrições:";
2379 }
2381 {
2382 return "Estruturas";
2383 }
2385 {
2386 return "Índice the Exceções";
2387 }
2389 {
2390 return "Lista de Exceções";
2391 }
2393 {
2394 return "Estas são as exceções com suas respectivas descrições:";
2395 }
2397 {
2398 return "Hierarquia de Exceções";
2399 }
2401 {
2402 return "Esta é a lista parcialmente ordenadas de heranças:";
2403 }
2405 {
2406 return "Exceções";
2407 }
2408 DString trCompoundReferenceSlice(const DString &clName, ClassDef::CompoundType compType, bool isLocal) override
2409 {
2410 DString result="Referência ";
2411 switch(compType)
2412 {
2413 case ClassDef::Class: result+="da Classe "; break;
2414 case ClassDef::Struct: result+="da Estrutura "; break;
2415 case ClassDef::Union: result+="da União "; break;
2416 case ClassDef::Interface: result+="da Interface "; break;
2417 case ClassDef::Protocol: result+="do Protocolo "; break;
2418 case ClassDef::Category: result+="da Categoria "; break;
2419 case ClassDef::Exception: result+="da Exceção "; break;
2420 default: break;
2421 }
2422 if (isLocal) result+="Local ";
2423 result+= clName;
2424 return result;
2425 }
2427 {
2428 return "Operações";
2429 }
2431 {
2432 return "Operações";
2433 }
2435 {
2436 return "Dados Membros";
2437 }
2439 {
2440 return "Dados Membros";
2441 }
2442
2443 //////////////////////////////////////////////////////////////////////////
2444 // new since 1.8.19
2445 //////////////////////////////////////////////////////////////////////////
2446
2447 /** VHDL design unit documentation */
2449 {
2450 return "Documentação da Unidade de Projeto";
2451 }
2452
2453 //////////////////////////////////////////////////////////////////////////
2454 // new since 1.9.2
2455 //////////////////////////////////////////////////////////////////////////
2456
2457 /** C++20 concept */
2458 DString trConcept(bool first_capital, bool singular) override
2459 {
2460 return createNoun(first_capital, singular, "conceito", "s");
2461 }
2462 /*! used as the title of the HTML page of a C++20 concept page */
2463 DString trConceptReference(const DString &conceptName) override
2464 {
2465 DString result= "Referência do Conceito ";
2466 result+=conceptName;
2467 return result;
2468 }
2469
2470 /*! used as the title of page containing all the index of all concepts. */
2472 { return "Lista de Conceitos"; }
2473
2474 /*! used as the title of chapter containing the index listing all concepts. */
2476 { return "Índice de Conceitos"; }
2477
2478 /*! used as the title of chapter containing all information about concepts. */
2480 { return "Documentação do Conceito"; }
2481
2482 /*! used as an introduction to the concept list */
2483 DString trConceptListDescription(bool extractAll) override
2484 {
2485 DString result="Esta é a lista de todos os conceitos ";
2486 if (!extractAll) result+="documentados ";
2487 result+="com suas respectivas descrições:";
2488 return result;
2489 }
2490
2491 /*! used to introduce the definition of the C++20 concept */
2493 {
2494 return "Definição de conceito";
2495 }
2496
2497 //////////////////////////////////////////////////////////////////////////
2498 // new since 1.9.4
2499 //////////////////////////////////////////////////////////////////////////
2501 { return "Lista de pacotes"; }
2502
2503 //////////////////////////////////////////////////////////////////////////
2504 // new since 1.9.6
2505 //////////////////////////////////////////////////////////////////////////
2506
2507 /*! This is used for translation of the word that will be
2508 * followed by a single name of the VHDL process flowchart.
2509 */
2511 {
2512 return "Fluxograma:";
2513 }
2514
2515 /*! Please translate also updated body of the method
2516 * trMemberFunctionDocumentation(), now better adapted for
2517 * VHDL sources documentation.
2518 */
2519
2520 //////////////////////////////////////////////////////////////////////////
2521 // new since 1.9.7
2522 //////////////////////////////////////////////////////////////////////////
2523 /*! used in the compound documentation before a list of related symbols.
2524 *
2525 * Supersedes trRelatedFunctions
2526 */
2528 { return "Símbolos relacionados"; }
2529
2530 /*! subscript for the related symbols
2531 *
2532 * Supersedes trRelatedSubscript
2533 */
2535 { return "(Note que estes não são símbolos membros.)"; }
2536
2537 /*! used in the class documentation as a header before the list of all
2538 * related classes.
2539 *
2540 * Supersedes trRelatedFunctionDocumentation
2541 */
2543 { return "Documentação dos símbolos amigos e relacionados"; }
2544
2545 /*! the compound type as used for the xrefitems */
2547 {
2548 DString result;
2549 switch(compType)
2550 {
2551 case ClassDef::Class:
2552 if (lang == SrcLangExt::Fortran) result=trType(true,true);
2553 else result=trClass(true,true);
2554 break;
2555 case ClassDef::Struct: result="Estrutura"; break;
2556 case ClassDef::Record: return english.trCompoundType(compType,lang);
2557 case ClassDef::Union: result="União"; break;
2558 case ClassDef::Interface: result="Interface"; break;
2559 case ClassDef::Protocol: result="Protocolo"; break;
2560 case ClassDef::Category: result="Categoria"; break;
2561 case ClassDef::Exception: result="Exceção"; break;
2562 case ClassDef::Service: result="Serviço"; break;
2563 case ClassDef::Singleton: result="Singleton"; break;
2564 default: break;
2565 }
2566 return result;
2567 }
2568
2570 {
2571 bool extractAll = Config_getBool(EXTRACT_ALL);
2573 DString result="Esta é a list de ";
2574 result+= (masculine?"todos os ":"todas as ");
2575 switch (hl)
2576 {
2578 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
2579 {
2580 result+="funções, variáveis, definições, enumerações e definições de tipos";
2581 }
2582 else
2583 {
2584 result+="membros do arquivo";
2585 }
2586 break;
2588 result+="funções";
2589 break;
2591 result+="variáveis";
2592 break;
2594 result+="definições de tipos";
2595 break;
2597 result+="sequencias";
2598 break;
2600 result+="dicionários";
2601 break;
2603 result+="enumerações";
2604 break;
2606 result+="valores da enumeração";
2607 break;
2609 result+="definições/macros";
2610 break;
2611 case FileMemberHighlight::Total: // for completeness
2612 break;
2613 }
2614 if (!extractAll)
2615 {
2616 result+= masculine? " documentados": " documentadas";
2617 }
2618 result+=" com links para ";
2619 if (extractAll)
2620 result+="os arquivos aos quais pertencem:";
2621 else
2622 result+="a documentação:";
2623 return result;
2624 }
2625
2627 {
2628 bool extractAll = Config_getBool(EXTRACT_ALL);
2630 DString result="Esta é a list de ";
2631 result+= (masculine?"todos os ":"todas as ");
2632 switch (hl)
2633 {
2635 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
2636 {
2637 result+="estruturas e uniões";
2638 }
2639 else
2640 {
2641 result+="membros de classe";
2642 }
2643 break;
2645 result+="funções";
2646 break;
2648 result+="variáveis";
2649 break;
2651 result+="definições de tipo";
2652 break;
2654 result+="enumerações";
2655 break;
2657 result+="valores enumerados";
2658 break;
2660 result+="propriedades";
2661 break;
2663 result+="eventos";
2664 break;
2666 result+="símbolos relacionados";
2667 break;
2668 case ClassMemberHighlight::Total: // for completeness
2669 break;
2670 }
2671 if (!extractAll)
2672 {
2673 result+= masculine?" documentados":" documentadas";
2674 }
2675 result+=" com links para ";
2676 if (!extractAll)
2677 {
2678 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
2679 {
2680 result+="a documentação da estrutura/união para cada campo:";
2681 }
2682 else
2683 {
2684 result+="a documentação da classe para cada membro:";
2685 }
2686 }
2687 else
2688 {
2689 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
2690 {
2691 result+="a estrutura/união a que petencem:";
2692 }
2693 else
2694 {
2695 result+="a classe a que pertencem:";
2696 }
2697 }
2698 return result;
2699 }
2700
2702 {
2703 bool extractAll = Config_getBool(EXTRACT_ALL);
2705 DString result="Esta é a list de ";
2706 result+= (masculine?"todos os ":"todas as ");
2707 DString singularResult = "";
2708 DString pluralResult = "";
2709 switch (hl)
2710 {
2712 singularResult="membro";
2713 break;
2715 singularResult="função";
2716 pluralResult="funções";
2717 break;
2719 singularResult="variável";
2720 pluralResult="variáveis";
2721 break;
2723 singularResult="definição de tipo";
2724 pluralResult="definições de tipo";
2725 break;
2727 singularResult="sequencia";
2728 pluralResult="sequencias";
2729 break;
2731 singularResult="dicionário";
2732 break;
2734 singularResult="enumeração";
2735 pluralResult="enumerações";
2736 break;
2738 singularResult="valor enumerado";
2739 pluralResult="valores enumerados";
2740 break;
2741 case NamespaceMemberHighlight::Total: // for completeness
2742 break;
2743 }
2744 result+=(pluralResult.empty() ? singularResult+"s" : pluralResult);
2745 result+=" do namespace ";
2746 if (!extractAll) result+=" documentado";
2747 result+=" com links para ";
2748 if (extractAll)
2749 result+="a documentação de cada " + singularResult + ":";
2750 else
2751 result+="o namespace a que pertencem:";
2752 return result;
2753 }
2754 DString trDefinition() override { return "Definição";}
2755 DString trDeclaration() override { return "Declaração";}
2756
2757//////////////////////////////////////////////////////////////////////////
2758// new since 1.9.8
2759//////////////////////////////////////////////////////////////////////////
2760
2762 { return "Tópicos"; }
2764 { return "Tópico"; }
2766 { return "Lista de Tópicos"; }
2768 { return "Índice de Tópicos"; }
2770 { return "Esta é uma lista de todos os tópicos e suas descrições:"; }
2772 {
2773 bool extractAll = Config_getBool(EXTRACT_ALL);
2775 DString result="Esta é a list de ";
2776 result+= (masculine?"todos os ":"todas as ");
2777 DString singularResult = "";
2778 DString pluralResult = "";
2779 switch (hl)
2780 {
2782 singularResult="membro";
2783 break;
2785 singularResult="função";
2786 pluralResult="funções";
2787 break;
2789 singularResult="variável";
2790 pluralResult="variáveis";
2791 break;
2793 singularResult="definição de tipo";
2794 pluralResult="definições de tipo";
2795 break;
2797 singularResult="enumeração";
2798 pluralResult="enumerações";
2799 break;
2801 singularResult="valor enumerado";
2802 pluralResult="valores enumerados";
2803 break;
2804 case ModuleMemberHighlight::Total: // for completeness
2805 break;
2806 }
2807 result+=(pluralResult.empty() ? singularResult+"s" : pluralResult);
2808 result+="do módulo ";
2809 if (!extractAll) result+="documentado ";
2810 result+=" com links para ";
2811 if (extractAll)
2812 result+="a documentação de cada " + singularResult + ":";
2813 else
2814 result+="o módulo a que pertencem:";
2815 return result;
2816 }
2818 {
2819 return "Módulos Exportados";
2820 }
2821
2822//////////////////////////////////////////////////////////////////////////
2823// new since 1.10.0
2824//////////////////////////////////////////////////////////////////////////
2825
2827 {
2828 return "Copiado para a área de transferência";
2829 }
2830//////////////////////////////////////////////////////////////////////////
2831// new since 1.11.0
2832//////////////////////////////////////////////////////////////////////////
2834 {
2835 return "Importante";
2836 }
2837
2838//////////////////////////////////////////////////////////////////////////
2839// new since 1.16.0
2840//////////////////////////////////////////////////////////////////////////
2841
2842 // the title of the requirements overview page
2844 {
2845 return "Requisitos";
2846 }
2847 // table header for the column with the requirements IDs
2849 {
2850 return "ID";
2851 }
2852 // indicates a symbol implements (satisfies) a requirement
2853 DString trSatisfies(bool singular) override
2854 {
2855 // createNoun() cannot be used because the article must match the noum
2856 DString result = "Satisfaz o";
2857 return result + (singular ? " requisito" : "s requisitos");
2858 }
2859 // indicates a requirement is satisfied (implemented) by one or more symbols
2860 DString trSatisfiedBy(const DString &list) override
2861 {
2862 return "Satisfeito por "+list+".";
2863 }
2865 {
2866 return "Requisitos não satisfeitos";
2867 }
2868 DString trUnsatisfiedRequirementsText(bool singular,const DString &list) override
2869 {
2870 return singular ?
2871 "O requisito "+list+" não possui a relação 'satisfaz'." :
2872 "Os requisitos "+list+" não possuem a relação 'satisfaz'.";
2873 }
2874 // indicates a symbol verifies (tests) a requirement
2875 DString trVerifies(bool singular) override
2876 {
2877 // createNoun() cannot be used because the article must match the noum
2878 DString result = "Verifica o";
2879 return result + (singular ? " requisito" : "s requisitos");
2880 }
2881 // indicates a requirement is verified (tested) by one or more symbols
2882 DString trVerifiedBy(const DString &list) override
2883 {
2884 return "Verificado por "+list+".";
2885 }
2887 {
2888 return "Requisitos não verificados";
2889 }
2890 DString trUnverifiedRequirementsText(bool singular,const DString &list) override
2891 {
2892 return singular ?
2893 "O requisito "+list+" não possui a relação 'verificado por'." :
2894 "Os requisitos "+list+" não possuem a relação 'verificado por'.";
2895 }
2896};
2897
2898#endif
CompoundType
The various compound types.
Definition classdef.h:105
@ Singleton
Definition classdef.h:114
@ Interface
Definition classdef.h:109
@ Exception
Definition classdef.h:112
A String class for use with Doxygen wrapping std::string and adding some additional functionality off...
Definition dstring.h:84
DString upper() const
Definition dstring.h:331
DString mid(size_t index, size_t len=npos) const
Definition dstring.h:318
bool empty() const
Returns true iff the string is empty (std::string compatible alias for isEmpty()).
Definition dstring.h:148
DString & sprintf(const char *format,...)
Definition dstring.cpp:34
TranslatorEnglish english
DString 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
DString trCompoundReference(const DString &clName, ClassDef::CompoundType compType, bool isTemplate) override
DString trGeneratedFromFiles(ClassDef::CompoundType compType, bool single) override
DString trCompoundType(ClassDef::CompoundType compType, SrcLangExt lang) override
DString createNoun(bool first_capital, bool singular, const DString &base, const DString &plurSuffix, const DString &singSuffix="")
Definition translator.h:807
#define Config_getBool(name)
Definition config.h:33
DateTimeType
Definition datetime.h:38
DString generateMarker(int id)
Definition dstring.h:904
bool isNamespaceMemberHighlightMasculine(NamespaceMemberHighlight::Enum hl)
bool isClassMemberHighlightMasculine(ClassMemberHighlight::Enum hl)
bool isFileMemberHighlightMasculine(FileMemberHighlight::Enum hl)
bool isModuleMemberHighlightMasculine(ModuleMemberHighlight::Enum hl)
SrcLangExt
Definition types.h:207
VhdlSpecifier
Definition types.h:772
@ INSTANTIATION
Definition types.h:793
@ MISCELLANEOUS
Definition types.h:799
@ SHAREDVARIABLE
Definition types.h:796
DString getDotImageExtension()
Definition util.cpp:5100