Doxygen
Loading...
Searching...
No Matches
translator_en.h
Go to the documentation of this file.
1/******************************************************************************
2 *
3 *
4 *
5 * Copyright (C) 1997-2015 by Dimitri van Heesch.
6 *
7 * Permission to use, copy, modify, and distribute this software and its
8 * documentation under the terms of the GNU General Public License is hereby
9 * granted. No representations are made about the suitability of this software
10 * for any purpose. It is provided "as is" without express or implied warranty.
11 * See the GNU General Public License for more details.
12 *
13 * Documents produced by Doxygen are derivative works derived from the
14 * input used in their production; they are not affected by this license.
15 *
16 */
17
18#ifndef TRANSLATOR_EN_H
19#define TRANSLATOR_EN_H
20
21/*!
22 When defining a translator class for the new language, follow
23 the description in the documentation. One of the steps says
24 that you should copy the translator_en.h (this) file to your
25 translator_xx.h new file. Your new language should use the
26 Translator class as the base class. This means that you need to
27 implement exactly the same (pure virtual) override methods as the
28 TranslatorEnglish does. Because of this, it is a good idea to
29 start with the copy of TranslatorEnglish and replace the strings
30 one by one.
31
32 It is not necessary to include "translator.h" or
33 "translator_adapter.h" here. The files are included in the
34 language.cpp correctly. Not including any of the mentioned
35 files frees the maintainer from thinking about whether the
36 first, the second, or both files should be included or not, and
37 why. This holds namely for localized translators because their
38 base class is changed occasionally to adapter classes when the
39 Translator class changes the interface, or back to the
40 Translator class (by the local maintainer) when the localized
41 translator is made up-to-date again.
42*/
44{
45 public:
46
47 // --- Language control methods -------------------
48
49 /*! Used for identification of the language. The identification
50 * should not be translated. It should be replaced by the name
51 * of the language in English using lower-case characters only
52 * (e.g. "czech", "japanese", "russian", etc.). It should be equal to
53 * the identification used in language.cpp.
54 */
55 QCString idLanguage() override
56 { return "english"; }
57
58 /*! Used to get the LaTeX command(s) for the language support.
59 * This method should return string with commands that switch
60 * LaTeX to the desired language. For example
61 * <pre>"\\usepackage[german]{babel}\n"
62 * </pre>
63 * or
64 * <pre>"\\usepackage{polski}\n"
65 * "\\usepackage[latin2]{inputenc}\n"
66 * "\\usepackage[T1]{fontenc}\n"
67 * </pre>
68 *
69 * The English LaTeX does not use such commands. Because of this
70 * the empty string is returned in this implementation.
71 */
72 QCString latexLanguageSupportCommand() override
73 {
74 return "";
75 }
76
77 QCString trISOLang() override
78 {
79 return "en-US";
80 }
81
82 QCString getLanguageString() override
83 {
84 return "0x409 English (United States)";
85 }
86 // --- Language translation methods -------------------
87
88 /*! used in the compound documentation before a list of related functions. */
89 QCString trRelatedFunctions() override
90 { return "Related Functions"; }
91
92 /*! subscript for the related functions. */
93 QCString trRelatedSubscript() override
94 { return "(Note that these are not member functions.)"; }
95
96 /*! header that is put before the detailed description of files, classes and namespaces. */
97 QCString trDetailedDescription() override
98 { return "Detailed Description"; }
99
100 /*! header that is used when the summary tag is missing inside the details tag */
101 QCString trDetails() override
102 { return "Details"; }
103
104 /*! header that is put before the list of typedefs. */
106 { return "Member Typedef Documentation"; }
107
108 /*! header that is put before the list of enumerations. */
110 { return "Member Enumeration Documentation"; }
111
112 /*! header that is put before the list of member functions. */
114 {
115 if (Config_getBool(OPTIMIZE_OUTPUT_VHDL))
116 {
117 return "Member Function/Procedure/Process Documentation";
118 }
119 else
120 {
121 return "Member Function Documentation";
122 }
123 }
124
125 /*! header that is put before the list of member attributes. */
126 QCString trMemberDataDocumentation() override
127 {
128 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
129 {
130 return "Field Documentation";
131 }
132 else
133 {
134 return "Member Data Documentation";
135 }
136 }
137
138 /*! this is the text of a link put after brief descriptions. */
139 QCString trMore() override
140 { return "More..."; }
141
142 /*! put in the class documentation */
143 QCString trListOfAllMembers() override
144 { return "List of all members"; }
145
146 /*! used as the title of the "list of all members" page of a class */
147 QCString trMemberList() override
148 { return "Member List"; }
149
150 /*! this is the first part of a sentence that is followed by a class name */
151 QCString trThisIsTheListOfAllMembers() override
152 { return "This is the complete list of members for"; }
153
154 /*! this is the remainder of the sentence after the class name */
155 QCString trIncludingInheritedMembers() override
156 { return ", including all inherited members."; }
157
158 /*! this is put at the author sections at the bottom of man pages.
159 * parameter s is name of the project name.
160 */
161 QCString trGeneratedAutomatically(const QCString &s) override
162 { QCString result="Generated automatically by Doxygen";
163 if (!s.isEmpty()) result+=" for "+s;
164 result+=" from the source code.";
165 return result;
166 }
167
168 /*! put after an enum name in the list of all members */
169 QCString trEnumName() override
170 { return "enum name"; }
171
172 /*! put after an enum value in the list of all members */
173 QCString trEnumValue() override
174 { return "enum value"; }
175
176 /*! put after an undocumented member in the list of all members */
177 QCString trDefinedIn() override
178 { return "defined in"; }
179
180 // quick reference sections
181
182 /*! This is put above each page as a link to the list of all groups of
183 * compounds or files (see the \\group command).
184 */
185 QCString trModules() override
186 { return "Modules"; }
187
188 /*! This is put above each page as a link to the class hierarchy */
189 QCString trClassHierarchy() override
190 { return "Class Hierarchy"; }
191
192 /*! This is put above each page as a link to the list of annotated classes */
193 QCString trCompoundList() override
194 {
195 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
196 {
197 return "Data Structures";
198 }
199 else
200 {
201 return "Class List";
202 }
203 }
204
205 /*! This is put above each page as a link to the list of documented files */
206 QCString trFileList() override
207 { return "File List"; }
208
209 /*! This is put above each page as a link to all members of compounds. */
210 QCString trCompoundMembers() override
211 {
212 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
213 {
214 return "Data Fields";
215 }
216 else
217 {
218 return "Class Members";
219 }
220 }
221
222 /*! This is put above each page as a link to all members of files. */
223 QCString trFileMembers() override
224 {
225 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
226 {
227 return "Globals";
228 }
229 else
230 {
231 return "File Members";
232 }
233 }
234
235 /*! This is put above each page as a link to all related pages. */
236 QCString trRelatedPages() override
237 { return "Related Pages"; }
238
239 /*! This is put above each page as a link to all examples. */
240 QCString trExamples() override
241 { return "Examples"; }
242
243 /*! This is put above each page as a link to the search engine. */
244 QCString trSearch() override
245 { return "Search"; }
246
247 /*! This is an introduction to the class hierarchy. */
248 QCString trClassHierarchyDescription() override
249 {
250 if (Config_getBool(OPTIMIZE_OUTPUT_VHDL))
251 {
252 return "Here is a hierarchical list of all entities:";
253 }
254 else
255 {
256 return "This inheritance list is sorted roughly, "
257 "but not completely, alphabetically:";
258 }
259 }
260
261 /*! This is an introduction to the list with all files. */
262 QCString trFileListDescription(bool extractAll) override
263 {
264 QCString result="Here is a list of all ";
265 if (!extractAll) result+="documented ";
266 result+="files with brief descriptions:";
267 return result;
268 }
269
270 /*! This is an introduction to the annotated compound list. */
271 QCString trCompoundListDescription() override
272 {
273
274 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
275 {
276 return "Here are the data structures with brief descriptions:";
277 }
278 else if (Config_getBool(OPTIMIZE_OUTPUT_SLICE))
279 {
280 return "Here are the classes with brief descriptions:";
281 }
282 else
283 {
284 return "Here are the classes, structs, "
285 "unions and interfaces with brief descriptions:";
286 }
287 }
288
289 /*! This is an introduction to the page with all class members. */
290 QCString trCompoundMembersDescription(bool extractAll) override
291 {
292 QCString result="Here is a list of all ";
293 if (!extractAll)
294 {
295 result+="documented ";
296 }
297 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
298 {
299 result+="struct and union fields";
300 }
301 else
302 {
303 result+="class members";
304 }
305 result+=" with links to ";
306 if (!extractAll)
307 {
308 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
309 {
310 result+="the struct/union documentation for each field:";
311 }
312 else
313 {
314 result+="the class documentation for each member:";
315 }
316 }
317 else
318 {
319 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
320 {
321 result+="the structures/unions they belong to:";
322 }
323 else
324 {
325 result+="the classes they belong to:";
326 }
327 }
328 return result;
329 }
330
331 /*! This is an introduction to the page with all file members. */
332 QCString trFileMembersDescription(bool extractAll) override
333 {
334 QCString result="Here is a list of all ";
335 if (!extractAll) result+="documented ";
336
337 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
338 {
339 result+="functions, variables, defines, enums, and typedefs";
340 }
341 else
342 {
343 result+="file members";
344 }
345 result+=" with links to ";
346 if (extractAll)
347 result+="the files they belong to:";
348 else
349 result+="the documentation:";
350 return result;
351 }
352
353 /*! This is an introduction to the page with the list of all examples */
354 QCString trExamplesDescription() override
355 { return "Here is a list of all examples:"; }
356
357 /*! This is an introduction to the page with the list of related pages */
358 QCString trRelatedPagesDescription() override
359 { return "Here is a list of all related documentation pages:"; }
360
361 /*! This is an introduction to the page with the list of class/file groups */
362 QCString trModulesDescription() override
363 { return "Here is a list of all modules:"; }
364
365 // index titles (the project name is prepended for these)
366
367 /*! This is used in HTML as the title of index.html. */
368 QCString trDocumentation(const QCString &projName) override
369 { return (!projName.isEmpty()?projName + " " : "") + "Documentation"; }
370
371 /*! This is used in LaTeX as the title of the chapter with the
372 * index of all groups.
373 */
374 QCString trModuleIndex() override
375 { return "Module Index"; }
376
377 /*! This is used in LaTeX as the title of the chapter with the
378 * class hierarchy.
379 */
380 QCString trHierarchicalIndex() override
381 { return "Hierarchical Index"; }
382
383 /*! This is used in LaTeX as the title of the chapter with the
384 * annotated compound index.
385 */
386 QCString trCompoundIndex() override
387 {
388 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
389 {
390 return "Data Structure Index";
391 }
392 else
393 {
394 return "Class Index";
395 }
396 }
397
398 /*! This is used in LaTeX as the title of the chapter with the
399 * list of all files.
400 */
401 QCString trFileIndex() override
402 { return "File Index"; }
403
404 /*! This is used in LaTeX as the title of the chapter containing
405 * the documentation of all groups.
406 */
407 QCString trModuleDocumentation() override
408 { return "Module Documentation"; }
409
410 /*! This is used in LaTeX as the title of the chapter containing
411 * the documentation of all classes, structs and unions.
412 */
413 QCString trClassDocumentation() override
414 {
415 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
416 {
417 return "Data Structure Documentation";
418 }
419 else if (Config_getBool(OPTIMIZE_OUTPUT_VHDL))
420 {
422 }
423 else
424 {
425 return "Class Documentation";
426 }
427 }
428
429 /*! This is used in LaTeX as the title of the chapter containing
430 * the documentation of all files.
431 */
432 QCString trFileDocumentation() override
433 { return "File Documentation"; }
434
435 /*! This is used in LaTeX as the title of the document */
436 QCString trReferenceManual() override
437 { return "Reference Manual"; }
438
439 /*! This is used in the documentation of a file as a header before the
440 * list of defines
441 */
442 QCString trDefines() override
443 { return "Macros"; }
444
445 /*! This is used in the documentation of a file as a header before the
446 * list of typedefs
447 */
448 QCString trTypedefs() override
449 { return "Typedefs"; }
450
451 /*! This is used in the documentation of a file as a header before the
452 * list of enumerations
453 */
454 QCString trEnumerations() override
455 { return "Enumerations"; }
456
457 /*! This is used in the documentation of a file as a header before the
458 * list of (global) functions
459 */
460 QCString trFunctions() override
461 { return "Functions"; }
462
463 /*! This is used in the documentation of a file as a header before the
464 * list of (global) variables
465 */
466 QCString trVariables() override
467 { return "Variables"; }
468
469 /*! This is used in the documentation of a file as a header before the
470 * list of (global) variables
471 */
472 QCString trEnumerationValues() override
473 { return "Enumerator"; }
474
475 /*! This is used in the documentation of a file before the list of
476 * documentation blocks for defines
477 */
478 QCString trDefineDocumentation() override
479 { return "Macro Definition Documentation"; }
480
481 /*! This is used in the documentation of a file/namespace before the list
482 * of documentation blocks for typedefs
483 */
484 QCString trTypedefDocumentation() override
485 { return "Typedef Documentation"; }
486
487 /*! This is used in the documentation of a file/namespace before the list
488 * of documentation blocks for enumeration types
489 */
491 { return "Enumeration Type Documentation"; }
492
493 /*! This is used in the documentation of a file/namespace before the list
494 * of documentation blocks for functions
495 */
496 QCString trFunctionDocumentation() override
497 { return "Function Documentation"; }
498
499 /*! This is used in the documentation of a file/namespace before the list
500 * of documentation blocks for variables
501 */
502 QCString trVariableDocumentation() override
503 { return "Variable Documentation"; }
504
505 /*! This is used in the documentation of a file/namespace/group before
506 * the list of links to documented compounds
507 */
508 QCString trCompounds() override
509 {
510 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
511 {
512 return "Data Structures";
513 }
514 else
515 {
516 return "Classes";
517 }
518 }
519
520 /*! This is used in the standard footer of each page and indicates when
521 * the page was generated
522 */
523 QCString trGeneratedAt(const QCString &date,const QCString &projName) override
524 {
525 QCString result="Generated on "+date;
526 if (!projName.isEmpty()) result+=" for "+projName;
527 result+=" by";
528 return result;
529 }
530
531 /*! this text is put before a class diagram */
532 QCString trClassDiagram(const QCString &clName) override
533 {
534 return "Inheritance diagram for "+clName+":";
535 }
536
537 /*! this text is generated when the \\warning command is used. */
538 QCString trWarning() override
539 { return "Warning"; }
540
541 /*! this text is generated when the \\version command is used. */
542 QCString trVersion() override
543 { return "Version"; }
544
545 /*! this text is generated when the \\date command is used. */
546 QCString trDate() override
547 { return "Date"; }
548
549 /*! this text is generated when the \\return command is used. */
550 QCString trReturns() override
551 { return "Returns"; }
552
553 /*! this text is generated when the \\sa command is used. */
554 QCString trSeeAlso() override
555 { return "See also"; }
556
557 /*! this text is generated when the \\param command is used. */
558 QCString trParameters() override
559 { return "Parameters"; }
560
561 /*! this text is generated when the \\exception command is used. */
562 QCString trExceptions() override
563 { return "Exceptions"; }
564
565 /*! this text is used in the title page of a LaTeX document. */
566 QCString trGeneratedBy() override
567 { return "Generated by"; }
568
569//////////////////////////////////////////////////////////////////////////
570// new since 0.49-990307
571//////////////////////////////////////////////////////////////////////////
572
573 /*! used as the title of page containing all the index of all namespaces. */
574 QCString trNamespaceList() override
575 { return "Namespace List"; }
576
577 /*! used as an introduction to the namespace list */
578 QCString trNamespaceListDescription(bool extractAll) override
579 {
580 QCString result="Here is a list of all ";
581 if (!extractAll) result+="documented ";
582 result+="namespaces with brief descriptions:";
583 return result;
584 }
585
586 /*! used in the class documentation as a header before the list of all
587 * friends of a class
588 */
589 QCString trFriends() override
590 { return "Friends"; }
591
592//////////////////////////////////////////////////////////////////////////
593// new since 0.49-990405
594//////////////////////////////////////////////////////////////////////////
595
596 /*! used in the class documentation as a header before the list of all
597 * related classes
598 */
600 { return "Friends And Related Function Documentation"; }
601
602//////////////////////////////////////////////////////////////////////////
603// new since 0.49-990425
604//////////////////////////////////////////////////////////////////////////
605
606 /*! used as the title of the HTML page of a class/struct/union */
607 QCString trCompoundReference(const QCString &clName,
608 ClassDef::CompoundType compType,
609 bool isTemplate) override
610 {
611 QCString result=clName;
612 switch(compType)
613 {
614 case ClassDef::Class: result+=" Class"; break;
615 case ClassDef::Struct: result+=" Struct"; break;
616 case ClassDef::Union: result+=" Union"; break;
617 case ClassDef::Interface: result+=" Interface"; break;
618 case ClassDef::Protocol: result+=" Protocol"; break;
619 case ClassDef::Category: result+=" Category"; break;
620 case ClassDef::Exception: result+=" Exception"; break;
621 default: break;
622 }
623 if (isTemplate) result+=" Template";
624 result+=" Reference";
625 return result;
626 }
627
628 /*! used as the title of the HTML page of a file */
629 QCString trFileReference(const QCString &fileName) override
630 {
631 QCString result=fileName;
632 result+=" File Reference";
633 return result;
634 }
635
636 /*! used as the title of the HTML page of a namespace */
637 QCString trNamespaceReference(const QCString &namespaceName) override
638 {
639 QCString result=namespaceName;
640 result+=" Namespace Reference";
641 return result;
642 }
643
644 QCString trPublicMembers() override
645 { return "Public Member Functions"; }
646 QCString trPublicSlots() override
647 { return "Public Slots"; }
648 QCString trSignals() override
649 { return "Signals"; }
650 QCString trStaticPublicMembers() override
651 { return "Static Public Member Functions"; }
652 QCString trProtectedMembers() override
653 { return "Protected Member Functions"; }
654 QCString trProtectedSlots() override
655 { return "Protected Slots"; }
656 QCString trStaticProtectedMembers() override
657 { return "Static Protected Member Functions"; }
658 QCString trPrivateMembers() override
659 { return "Private Member Functions"; }
660 QCString trPrivateSlots() override
661 { return "Private Slots"; }
662 QCString trStaticPrivateMembers() override
663 { return "Static Private Member Functions"; }
664
665 /*! this function is used to produce a comma-separated list of items.
666 * use generateMarker(i) to indicate where item i should be put.
667 */
668 QCString trWriteList(int numEntries) override
669 {
670 QCString result;
671 // the inherits list contain `numEntries' classes
672 for (int i=0;i<numEntries;i++)
673 {
674 // use generateMarker to generate placeholders for the class links!
675 result+=generateMarker(i); // generate marker for entry i in the list
676 // (order is left to right)
677
678 if (i!=numEntries-1) // not the last entry, so we need a separator
679 {
680 if (i<numEntries-2) // not the fore last entry
681 result+=", ";
682 else // the fore last entry
683 result+=", and ";
684 }
685 }
686 return result;
687 }
688
689 /*! used in class documentation to produce a list of base classes,
690 * if class diagrams are disabled.
691 */
692 QCString trInheritsList(int numEntries) override
693 {
694 return "Inherits "+trWriteList(numEntries)+".";
695 }
696
697 /*! used in class documentation to produce a list of super classes,
698 * if class diagrams are disabled.
699 */
700 QCString trInheritedByList(int numEntries) override
701 {
702 return "Inherited by "+trWriteList(numEntries)+".";
703 }
704
705 /*! used in member documentation blocks to produce a list of
706 * members that are hidden by this one.
707 */
708 QCString trReimplementedFromList(int numEntries) override
709 {
710 return "Reimplemented from "+trWriteList(numEntries)+".";
711 }
712
713 /*! used in member documentation blocks to produce a list of
714 * all member that overwrite the implementation of this member.
715 */
716 QCString trReimplementedInList(int numEntries) override
717 {
718 return "Reimplemented in "+trWriteList(numEntries)+".";
719 }
720
721 /*! This is put above each page as a link to all members of namespaces. */
722 QCString trNamespaceMembers() override
723 { return "Namespace Members"; }
724
725 /*! This is an introduction to the page with all namespace members */
726 QCString trNamespaceMemberDescription(bool extractAll) override
727 {
728 QCString result="Here is a list of all ";
729 if (!extractAll) result+="documented ";
730 result+="namespace members with links to ";
731 if (extractAll)
732 result+="the namespace documentation for each member:";
733 else
734 result+="the namespaces they belong to:";
735 return result;
736 }
737 /*! This is used in LaTeX as the title of the chapter with the
738 * index of all namespaces.
739 */
740 QCString trNamespaceIndex() override
741 { return "Namespace Index"; }
742
743 /*! This is used in LaTeX as the title of the chapter containing
744 * the documentation of all namespaces.
745 */
746 QCString trNamespaceDocumentation() override
747 { return "Namespace Documentation"; }
748
749//////////////////////////////////////////////////////////////////////////
750// new since 0.49-990522
751//////////////////////////////////////////////////////////////////////////
752
753 /*! This is used in the documentation before the list of all
754 * namespaces in a file.
755 */
756 QCString trNamespaces() override
757 { return "Namespaces"; }
758
759//////////////////////////////////////////////////////////////////////////
760// new since 0.49-990728
761//////////////////////////////////////////////////////////////////////////
762
763 /*! This is put at the bottom of a class documentation page and is
764 * followed by a list of files that were used to generate the page.
765 */
767 bool single) override
768 { // single is true implies a single file
769 bool vhdlOpt = Config_getBool(OPTIMIZE_OUTPUT_VHDL);
770 QCString result="The documentation for this ";
771 switch(compType)
772 {
773 case ClassDef::Class: result+=vhdlOpt?"design unit":"class"; break;
774 case ClassDef::Struct: result+="struct"; break;
775 case ClassDef::Union: result+="union"; break;
776 case ClassDef::Interface: result+="interface"; break;
777 case ClassDef::Protocol: result+="protocol"; break;
778 case ClassDef::Category: result+="category"; break;
779 case ClassDef::Exception: result+="exception"; break;
780 default: break;
781 }
782 result+=" was generated from the following file";
783 if (single) result+=":"; else result+="s:";
784 return result;
785 }
786
787//////////////////////////////////////////////////////////////////////////
788// new since 0.49-990901
789//////////////////////////////////////////////////////////////////////////
790
791 /*! This is used as the heading text for the retval command. */
792 QCString trReturnValues() override
793 { return "Return values"; }
794
795 /*! This is in the (quick) index as a link to the main page (index.html)
796 */
797 QCString trMainPage() override
798 { return "Main Page"; }
799
800 /*! This is used in references to page that are put in the LaTeX
801 * documentation. It should be an abbreviation of the word page.
802 */
803 QCString trPageAbbreviation() override
804 { return "p."; }
805
806//////////////////////////////////////////////////////////////////////////
807// new since 0.49-991003
808//////////////////////////////////////////////////////////////////////////
809
810 QCString trDefinedAtLineInSourceFile() override
811 {
812 return "Definition at line @0 of file @1.";
813 }
814 QCString trDefinedInSourceFile() override
815 {
816 return "Definition in file @0.";
817 }
818
819//////////////////////////////////////////////////////////////////////////
820// new since 0.49-991205
821//////////////////////////////////////////////////////////////////////////
822
823 QCString trDeprecated() override
824 {
825 return "Deprecated";
826 }
827
828//////////////////////////////////////////////////////////////////////////
829// new since 1.0.0
830//////////////////////////////////////////////////////////////////////////
831
832 /*! this text is put before a collaboration diagram */
833 QCString trCollaborationDiagram(const QCString &clName) override
834 {
835 return "Collaboration diagram for "+clName+":";
836 }
837 /*! this text is put before an include dependency graph */
838 QCString trInclDepGraph(const QCString &fName) override
839 {
840 return "Include dependency graph for "+fName+":";
841 }
842 /*! header that is put before the list of constructor/destructors. */
843 QCString trConstructorDocumentation() override
844 {
845 return "Constructor & Destructor Documentation";
846 }
847 /*! Used in the file documentation to point to the corresponding sources. */
848 QCString trGotoSourceCode() override
849 {
850 return "Go to the source code of this file.";
851 }
852 /*! Used in the file sources to point to the corresponding documentation. */
853 QCString trGotoDocumentation() override
854 {
855 return "Go to the documentation of this file.";
856 }
857 /*! Text for the \\pre command */
858 QCString trPrecondition() override
859 {
860 return "Precondition";
861 }
862 /*! Text for the \\post command */
863 QCString trPostcondition() override
864 {
865 return "Postcondition";
866 }
867 /*! Text for the \\invariant command */
868 QCString trInvariant() override
869 {
870 return "Invariant";
871 }
872 /*! Text shown before a multi-line variable/enum initialization */
873 QCString trInitialValue() override
874 {
875 return "Initial value:";
876 }
877 /*! Text used the source code in the file index */
878 QCString trCode() override
879 {
880 return "code";
881 }
882 QCString trGraphicalHierarchy() override
883 {
884 return "Graphical Class Hierarchy";
885 }
886 QCString trGotoGraphicalHierarchy() override
887 {
888 return "Go to the graphical class hierarchy";
889 }
890 QCString trGotoTextualHierarchy() override
891 {
892 return "Go to the textual class hierarchy";
893 }
894 QCString trPageIndex() override
895 {
896 return "Page Index";
897 }
898
899//////////////////////////////////////////////////////////////////////////
900// new since 1.1.0
901//////////////////////////////////////////////////////////////////////////
902
903 QCString trNote() override
904 {
905 return "Note";
906 }
907 QCString trPublicTypes() override
908 {
909 return "Public Types";
910 }
911 QCString trPublicAttribs() override
912 {
913 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
914 {
915 return "Data Fields";
916 }
917 else
918 {
919 return "Public Attributes";
920 }
921 }
922 QCString trStaticPublicAttribs() override
923 {
924 return "Static Public Attributes";
925 }
926 QCString trProtectedTypes() override
927 {
928 return "Protected Types";
929 }
930 QCString trProtectedAttribs() override
931 {
932 return "Protected Attributes";
933 }
934 QCString trStaticProtectedAttribs() override
935 {
936 return "Static Protected Attributes";
937 }
938 QCString trPrivateTypes() override
939 {
940 return "Private Types";
941 }
942 QCString trPrivateAttribs() override
943 {
944 return "Private Attributes";
945 }
946 QCString trStaticPrivateAttribs() override
947 {
948 return "Static Private Attributes";
949 }
950
951//////////////////////////////////////////////////////////////////////////
952// new since 1.1.3
953//////////////////////////////////////////////////////////////////////////
954
955 /*! Used as a marker that is put before a \\todo item */
956 QCString trTodo() override
957 {
958 return "Todo";
959 }
960 /*! Used as the header of the todo list */
961 QCString trTodoList() override
962 {
963 return "Todo List";
964 }
965
966//////////////////////////////////////////////////////////////////////////
967// new since 1.1.4
968//////////////////////////////////////////////////////////////////////////
969
970 QCString trReferencedBy() override
971 {
972 return "Referenced by";
973 }
974 QCString trRemarks() override
975 {
976 return "Remarks";
977 }
978 QCString trAttention() override
979 {
980 return "Attention";
981 }
982 QCString trInclByDepGraph() override
983 {
984 return "This graph shows which files directly or "
985 "indirectly include this file:";
986 }
987 QCString trSince() override
988 {
989 return "Since";
990 }
991
992//////////////////////////////////////////////////////////////////////////
993// new since 1.1.5
994//////////////////////////////////////////////////////////////////////////
995
996 /*! title of the graph legend page */
997 QCString trLegendTitle() override
998 {
999 return "Graph Legend";
1000 }
1001 /*! page explaining how the dot graph's should be interpreted
1002 * The %A in the text below are to prevent link to classes called "A".
1003 */
1004 QCString trLegendDocs() override
1005 {
1006 return
1007 "This page explains how to interpret the graphs that are generated "
1008 "by doxygen.<p>\n"
1009 "Consider the following example:\n"
1010 "\\code\n"
1011 "/*! Invisible class because of truncation */\n"
1012 "class Invisible { };\n\n"
1013 "/*! Truncated class, inheritance relation is hidden */\n"
1014 "class Truncated : public Invisible { };\n\n"
1015 "/* Class not documented with doxygen comments */\n"
1016 "class Undocumented { };\n\n"
1017 "/*! Class that is inherited using public inheritance */\n"
1018 "class PublicBase : public Truncated { };\n\n"
1019 "/*! A template class */\n"
1020 "template<class T> class Templ { };\n\n"
1021 "/*! Class that is inherited using protected inheritance */\n"
1022 "class ProtectedBase { };\n\n"
1023 "/*! Class that is inherited using private inheritance */\n"
1024 "class PrivateBase { };\n\n"
1025 "/*! Class that is used by the Inherited class */\n"
1026 "class Used { };\n\n"
1027 "/*! Super class that inherits a number of other classes */\n"
1028 "class Inherited : public PublicBase,\n"
1029 " protected ProtectedBase,\n"
1030 " private PrivateBase,\n"
1031 " public Undocumented,\n"
1032 " public Templ<int>\n"
1033 "{\n"
1034 " private:\n"
1035 " Used *m_usedClass;\n"
1036 "};\n"
1037 "\\endcode\n"
1038 "This will result in the following graph:"
1039 "<p><center><img alt=\"\" src=\"graph_legend."+getDotImageExtension()+"\"></center></p>\n"
1040 "<p>\n"
1041 "The boxes in the above graph have the following meaning:\n"
1042 "</p>\n"
1043 "<ul>\n"
1044 "<li>%A filled gray box represents the struct or class for which the "
1045 "graph is generated.</li>\n"
1046 "<li>%A box with a black border denotes a documented struct or class.</li>\n"
1047 "<li>%A box with a gray border denotes an undocumented struct or class.</li>\n"
1048 "<li>%A box with a red border denotes a documented struct or class for"
1049 "which not all inheritance/containment relations are shown. %A graph is "
1050 "truncated if it does not fit within the specified boundaries.</li>\n"
1051 "</ul>\n"
1052 "<p>\n"
1053 "The arrows have the following meaning:\n"
1054 "</p>\n"
1055 "<ul>\n"
1056 "<li>%A blue arrow is used to visualize a public inheritance "
1057 "relation between two classes.</li>\n"
1058 "<li>%A dark green arrow is used for protected inheritance.</li>\n"
1059 "<li>%A dark red arrow is used for private inheritance.</li>\n"
1060 "<li>%A purple dashed arrow is used if a class is contained or used "
1061 "by another class. The arrow is labeled with the variable(s) "
1062 "through which the pointed class or struct is accessible.</li>\n"
1063 "<li>%A yellow dashed arrow denotes a relation between a template instance and "
1064 "the template class it was instantiated from. The arrow is labeled with "
1065 "the template parameters of the instance.</li>\n"
1066 "</ul>\n";
1067 }
1068 /*! text for the link to the legend page */
1069 QCString trLegend() override
1070 {
1071 return "legend";
1072 }
1073
1074//////////////////////////////////////////////////////////////////////////
1075// new since 1.2.0
1076//////////////////////////////////////////////////////////////////////////
1077
1078 /*! Used as a marker that is put before a test item */
1079 QCString trTest() override
1080 {
1081 return "Test";
1082 }
1083 /*! Used as the header of the test list */
1084 QCString trTestList() override
1085 {
1086 return "Test List";
1087 }
1088
1089//////////////////////////////////////////////////////////////////////////
1090// new since 1.2.2
1091//////////////////////////////////////////////////////////////////////////
1092
1093 /*! Used as a section header for IDL properties */
1094 QCString trProperties() override
1095 {
1096 return "Properties";
1097 }
1098 /*! Used as a section header for IDL property documentation */
1099 QCString trPropertyDocumentation() override
1100 {
1101 return "Property Documentation";
1102 }
1103
1104//////////////////////////////////////////////////////////////////////////
1105// new since 1.2.4
1106//////////////////////////////////////////////////////////////////////////
1107
1108 /*! Used for Java classes in the summary section of Java packages */
1109 QCString trClasses() override
1110 {
1111 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
1112 {
1113 return "Data Structures";
1114 }
1115 else
1116 {
1117 return "Classes";
1118 }
1119 }
1120 /*! Used as the title of a Java package */
1121 QCString trPackage(const QCString &name) override
1122 {
1123 return "Package "+name;
1124 }
1125 /*! The description of the package index page */
1126 QCString trPackageListDescription() override
1127 {
1128 return "Here are the packages with brief descriptions (if available):";
1129 }
1130 /*! The link name in the Quick links header for each page */
1131 QCString trPackages() override
1132 {
1133 return "Packages";
1134 }
1135 /*! Text shown before a multi-line define */
1136 QCString trDefineValue() override
1137 {
1138 return "Value:";
1139 }
1140
1141//////////////////////////////////////////////////////////////////////////
1142// new since 1.2.5
1143//////////////////////////////////////////////////////////////////////////
1144
1145 /*! Used as a marker that is put before a \\bug item */
1146 QCString trBug() override
1147 {
1148 return "Bug";
1149 }
1150 /*! Used as the header of the bug list */
1151 QCString trBugList() override
1152 {
1153 return "Bug List";
1154 }
1155
1156//////////////////////////////////////////////////////////////////////////
1157// new since 1.2.6
1158//////////////////////////////////////////////////////////////////////////
1159
1160 /*! Used as ansicpg for RTF file
1161 *
1162 * The following table shows the correlation of Charset name, Charset Value and
1163 * <pre>
1164 * Codepage number:
1165 * Charset Name Charset Value(hex) Codepage number
1166 * ------------------------------------------------------
1167 * DEFAULT_CHARSET 1 (x01)
1168 * SYMBOL_CHARSET 2 (x02)
1169 * OEM_CHARSET 255 (xFF)
1170 * ANSI_CHARSET 0 (x00) 1252
1171 * RUSSIAN_CHARSET 204 (xCC) 1251
1172 * EE_CHARSET 238 (xEE) 1250
1173 * GREEK_CHARSET 161 (xA1) 1253
1174 * TURKISH_CHARSET 162 (xA2) 1254
1175 * BALTIC_CHARSET 186 (xBA) 1257
1176 * HEBREW_CHARSET 177 (xB1) 1255
1177 * ARABIC _CHARSET 178 (xB2) 1256
1178 * SHIFTJIS_CHARSET 128 (x80) 932
1179 * HANGEUL_CHARSET 129 (x81) 949
1180 * GB2313_CHARSET 134 (x86) 936
1181 * CHINESEBIG5_CHARSET 136 (x88) 950
1182 * </pre>
1183 *
1184 */
1185 QCString trRTFansicp() override
1186 {
1187 return "1252";
1188 }
1189
1190
1191 /*! Used as ansicpg for RTF fcharset
1192 * \see trRTFansicp() for a table of possible values.
1193 */
1194 QCString trRTFCharSet() override
1195 {
1196 return "0";
1197 }
1198
1199 /*! Used as header RTF general index */
1200 QCString trRTFGeneralIndex() override
1201 {
1202 return "Index";
1203 }
1204
1205 /*! This is used for translation of the word that will possibly
1206 * be followed by a single name or by a list of names
1207 * of the category.
1208 */
1209 QCString trClass(bool first_capital, bool singular) override
1210 {
1211 return createNoun(first_capital, singular, "class", "es");
1212 }
1213
1214 /*! This is used for translation of the word that will possibly
1215 * be followed by a single name or by a list of names
1216 * of the category.
1217 */
1218 QCString trFile(bool first_capital, bool singular) override
1219 {
1220 return createNoun(first_capital, singular, "file", "s");
1221 }
1222
1223 /*! This is used for translation of the word that will possibly
1224 * be followed by a single name or by a list of names
1225 * of the category.
1226 */
1227 QCString trNamespace(bool first_capital, bool singular) override
1228 {
1229 return createNoun(first_capital, singular, "namespace", "s");
1230 }
1231
1232 /*! This is used for translation of the word that will possibly
1233 * be followed by a single name or by a list of names
1234 * of the category.
1235 */
1236 QCString trGroup(bool first_capital, bool singular) override
1237 {
1238 return createNoun(first_capital, singular, "module", "s");
1239 }
1240
1241 /*! This is used for translation of the word that will possibly
1242 * be followed by a single name or by a list of names
1243 * of the category.
1244 */
1245 QCString trPage(bool first_capital, bool singular) override
1246 {
1247 return createNoun(first_capital, singular, "page", "s");
1248 }
1249
1250 /*! This is used for translation of the word that will possibly
1251 * be followed by a single name or by a list of names
1252 * of the category.
1253 */
1254 QCString trMember(bool first_capital, bool singular) override
1255 {
1256 return createNoun(first_capital, singular, "member", "s");
1257 }
1258
1259 /*! This is used for translation of the word that will possibly
1260 * be followed by a single name or by a list of names
1261 * of the category.
1262 */
1263 QCString trGlobal(bool first_capital, bool singular) override
1264 {
1265 return createNoun(first_capital, singular, "global", "s");
1266 }
1267
1268//////////////////////////////////////////////////////////////////////////
1269// new since 1.2.7
1270//////////////////////////////////////////////////////////////////////////
1271
1272 /*! This text is generated when the \\author command is used and
1273 * for the author section in man pages. */
1274 QCString trAuthor(bool first_capital, bool singular) override
1275 {
1276 return createNoun(first_capital, singular, "author", "s");
1277 }
1278
1279//////////////////////////////////////////////////////////////////////////
1280// new since 1.2.11
1281//////////////////////////////////////////////////////////////////////////
1282
1283 /*! This text is put before the list of members referenced by a member
1284 */
1285 QCString trReferences() override
1286 {
1287 return "References";
1288 }
1289
1290//////////////////////////////////////////////////////////////////////////
1291// new since 1.2.13
1292//////////////////////////////////////////////////////////////////////////
1293
1294 /*! used in member documentation blocks to produce a list of
1295 * members that are implemented by this one.
1296 */
1297 QCString trImplementedFromList(int numEntries) override
1298 {
1299 return "Implements "+trWriteList(numEntries)+".";
1300 }
1301
1302 /*! used in member documentation blocks to produce a list of
1303 * all members that implement this abstract member.
1304 */
1305 QCString trImplementedInList(int numEntries) override
1306 {
1307 return "Implemented in "+trWriteList(numEntries)+".";
1308 }
1309
1310//////////////////////////////////////////////////////////////////////////
1311// new since 1.2.16
1312//////////////////////////////////////////////////////////////////////////
1313
1314 /*! used in RTF documentation as a heading for the Table
1315 * of Contents.
1316 */
1317 QCString trRTFTableOfContents() override
1318 {
1319 return "Table of Contents";
1320 }
1321
1322//////////////////////////////////////////////////////////////////////////
1323// new since 1.2.17
1324//////////////////////////////////////////////////////////////////////////
1325
1326 /*! Used as the header of the list of item that have been
1327 * flagged deprecated
1328 */
1329 QCString trDeprecatedList() override
1330 {
1331 return "Deprecated List";
1332 }
1333
1334//////////////////////////////////////////////////////////////////////////
1335// new since 1.2.18
1336//////////////////////////////////////////////////////////////////////////
1337
1338 /*! Used as a header for declaration section of the events found in
1339 * a C# program
1340 */
1341 QCString trEvents() override
1342 {
1343 return "Events";
1344 }
1345 /*! Header used for the documentation section of a class' events. */
1346 QCString trEventDocumentation() override
1347 {
1348 return "Event Documentation";
1349 }
1350
1351//////////////////////////////////////////////////////////////////////////
1352// new since 1.3
1353//////////////////////////////////////////////////////////////////////////
1354
1355 /*! Used as a heading for a list of Java class types with package scope.
1356 */
1357 QCString trPackageTypes() override
1358 {
1359 return "Package Types";
1360 }
1361 /*! Used as a heading for a list of Java class functions with package
1362 * scope.
1363 */
1364 QCString trPackageFunctions() override
1365 {
1366 return "Package Functions";
1367 }
1368 QCString trPackageMembers() override
1369 {
1370 return "Package Members";
1371 }
1372 /*! Used as a heading for a list of static Java class functions with
1373 * package scope.
1374 */
1375 QCString trStaticPackageFunctions() override
1376 {
1377 return "Static Package Functions";
1378 }
1379 /*! Used as a heading for a list of Java class variables with package
1380 * scope.
1381 */
1382 QCString trPackageAttribs() override
1383 {
1384 return "Package Attributes";
1385 }
1386 /*! Used as a heading for a list of static Java class variables with
1387 * package scope.
1388 */
1389 QCString trStaticPackageAttribs() override
1390 {
1391 return "Static Package Attributes";
1392 }
1393
1394//////////////////////////////////////////////////////////////////////////
1395// new since 1.3.1
1396//////////////////////////////////////////////////////////////////////////
1397
1398 /*! Used in the quick index of a class/file/namespace member list page
1399 * to link to the unfiltered list of all members.
1400 */
1401 QCString trAll() override
1402 {
1403 return "All";
1404 }
1405 /*! Put in front of the call graph for a function. */
1406 QCString trCallGraph() override
1407 {
1408 return "Here is the call graph for this function:";
1409 }
1410
1411//////////////////////////////////////////////////////////////////////////
1412// new since 1.3.3
1413//////////////////////////////////////////////////////////////////////////
1414
1415 /*! This string is used as the title for the page listing the search
1416 * results.
1417 */
1418 QCString trSearchResultsTitle() override
1419 {
1420 return "Search Results";
1421 }
1422 /*! This string is put just before listing the search results. The
1423 * text can be different depending on the number of documents found.
1424 * Inside the text you can put the special marker $num to insert
1425 * the number representing the actual number of search results.
1426 * The @a numDocuments parameter can be either 0, 1 or 2, where the
1427 * value 2 represents 2 or more matches. HTML markup is allowed inside
1428 * the returned string.
1429 */
1430 QCString trSearchResults(int numDocuments) override
1431 {
1432 if (numDocuments==0)
1433 {
1434 return "Sorry, no documents matching your query.";
1435 }
1436 else if (numDocuments==1)
1437 {
1438 return "Found <b>1</b> document matching your query.";
1439 }
1440 else
1441 {
1442 return "Found <b>$num</b> documents matching your query. "
1443 "Showing best matches first.";
1444 }
1445 }
1446 /*! This string is put before the list of matched words, for each search
1447 * result. What follows is the list of words that matched the query.
1448 */
1449 QCString trSearchMatches() override
1450 {
1451 return "Matches:";
1452 }
1453
1454//////////////////////////////////////////////////////////////////////////
1455// new since 1.3.8
1456//////////////////////////////////////////////////////////////////////////
1457
1458 /*! This is used in HTML as the title of page with source code for file filename
1459 */
1460 QCString trSourceFile(const QCString& filename) override
1461 {
1462 return filename + " Source File";
1463 }
1464
1465//////////////////////////////////////////////////////////////////////////
1466// new since 1.3.9
1467//////////////////////////////////////////////////////////////////////////
1468
1469 /*! This is used as the name of the chapter containing the directory
1470 * hierarchy.
1471 */
1472 QCString trDirIndex() override
1473 { return "Directory Hierarchy"; }
1474
1475 /*! This is used as the name of the chapter containing the documentation
1476 * of the directories.
1477 */
1478 QCString trDirDocumentation() override
1479 { return "Directory Documentation"; }
1480
1481 /*! This is used as the title of the directory index and also in the
1482 * Quick links of an HTML page, to link to the directory hierarchy.
1483 */
1484 QCString trDirectories() override
1485 { return "Directories"; }
1486
1487 /*! This returns the title of a directory page. The name of the
1488 * directory is passed via \a dirName.
1489 */
1490 QCString trDirReference(const QCString &dirName) override
1491 { QCString result=dirName; result+=" Directory Reference"; return result; }
1492
1493 /*! This returns the word directory with or without starting capital
1494 * (\a first_capital) and in singular or plural form (\a singular).
1495 */
1496 QCString trDir(bool first_capital, bool singular) override
1497 {
1498 return createNoun(first_capital, singular, "director", "ies", "y");
1499 }
1500
1501//////////////////////////////////////////////////////////////////////////
1502// new since 1.4.1
1503//////////////////////////////////////////////////////////////////////////
1504
1505 /*! This text is added to the documentation when the \\overload command
1506 * is used for a overloaded function.
1507 */
1508 QCString trOverloadText() override
1509 {
1510 return "This is an overloaded member function, "
1511 "provided for convenience. It differs from the above "
1512 "function only in what argument(s) it accepts.";
1513 }
1514
1515//////////////////////////////////////////////////////////////////////////
1516// new since 1.4.6
1517//////////////////////////////////////////////////////////////////////////
1518
1519 /*! This is used to introduce a caller (or called-by) graph */
1520 QCString trCallerGraph() override
1521 {
1522 return "Here is the caller graph for this function:";
1523 }
1524
1525 /*! This is used in the documentation of a file/namespace before the list
1526 * of documentation blocks for enumeration values
1527 */
1529 { return "Enumerator Documentation"; }
1530
1531//////////////////////////////////////////////////////////////////////////
1532// new since 1.5.4 (mainly for Fortran)
1533//////////////////////////////////////////////////////////////////////////
1534
1535 /*! header that is put before the list of member subprograms (Fortran). */
1537 { return "Member Function/Subroutine Documentation"; }
1538
1539 /*! This is put above each page as a link to the list of annotated data types (Fortran). */
1540 QCString trCompoundListFortran() override
1541 { return "Data Types List"; }
1542
1543 /*! This is put above each page as a link to all members of compounds (Fortran). */
1544 QCString trCompoundMembersFortran() override
1545 { return "Data Fields"; }
1546
1547 /*! This is an introduction to the annotated compound list (Fortran). */
1549 { return "Here are the data types with brief descriptions:"; }
1550
1551 /*! This is an introduction to the page with all data types (Fortran). */
1552 QCString trCompoundMembersDescriptionFortran(bool extractAll) override
1553 {
1554 QCString result="Here is a list of all ";
1555 if (!extractAll)
1556 {
1557 result+="documented ";
1558 }
1559 result+="data types members";
1560 result+=" with links to ";
1561 if (!extractAll)
1562 {
1563 result+="the data structure documentation for each member";
1564 }
1565 else
1566 {
1567 result+="the data types they belong to:";
1568 }
1569 return result;
1570 }
1571
1572 /*! This is used in LaTeX as the title of the chapter with the
1573 * annotated compound index (Fortran).
1574 */
1575 QCString trCompoundIndexFortran() override
1576 { return "Data Type Index"; }
1577
1578 /*! This is used in LaTeX as the title of the chapter containing
1579 * the documentation of all data types (Fortran).
1580 */
1581 QCString trTypeDocumentation() override
1582 { return "Data Type Documentation"; }
1583
1584 /*! This is used in the documentation of a file as a header before the
1585 * list of (global) subprograms (Fortran).
1586 */
1587 QCString trSubprograms() override
1588 { return "Functions/Subroutines"; }
1589
1590 /*! This is used in the documentation of a file/namespace before the list
1591 * of documentation blocks for subprograms (Fortran)
1592 */
1593 QCString trSubprogramDocumentation() override
1594 { return "Function/Subroutine Documentation"; }
1595
1596 /*! This is used in the documentation of a file/namespace/group before
1597 * the list of links to documented compounds (Fortran)
1598 */
1599 QCString trDataTypes() override
1600 { return "Data Types"; }
1601
1602 /*! used as the title of page containing all the index of all modules (Fortran). */
1603 QCString trModulesList() override
1604 { return "Modules List"; }
1605
1606 /*! used as an introduction to the modules list (Fortran) */
1607 QCString trModulesListDescription(bool extractAll) override
1608 {
1609 QCString result="Here is a list of all ";
1610 if (!extractAll) result+="documented ";
1611 result+="modules with brief descriptions:";
1612 return result;
1613 }
1614
1615 /*! used as the title of the HTML page of a module/type (Fortran) */
1616 QCString trCompoundReferenceFortran(const QCString &clName,
1617 ClassDef::CompoundType compType,
1618 bool isTemplate) override
1619 {
1620 QCString result=clName;
1621 switch(compType)
1622 {
1623 case ClassDef::Class: result+=" Module"; break;
1624 case ClassDef::Struct: result+=" Type"; break;
1625 case ClassDef::Union: result+=" Union"; break;
1626 case ClassDef::Interface: result+=" Interface"; break;
1627 case ClassDef::Protocol: result+=" Protocol"; break;
1628 case ClassDef::Category: result+=" Category"; break;
1629 case ClassDef::Exception: result+=" Exception"; break;
1630 default: break;
1631 }
1632 if (isTemplate) result+=" Template";
1633 result+=" Reference";
1634 return result;
1635 }
1636 /*! used as the title of the HTML page of a module (Fortran) */
1637 QCString trModuleReference(const QCString &namespaceName) override
1638 {
1639 QCString result=namespaceName;
1640 result+=" Module Reference";
1641 return result;
1642 }
1643
1644 /*! This is put above each page as a link to all members of modules. (Fortran) */
1645 QCString trModulesMembers() override
1646 { return "Module Members"; }
1647
1648 /*! This is an introduction to the page with all modules members (Fortran) */
1649 QCString trModulesMemberDescription(bool extractAll) override
1650 {
1651 QCString result="Here is a list of all ";
1652 if (!extractAll) result+="documented ";
1653 result+="module members with links to ";
1654 if (extractAll)
1655 {
1656 result+="the module documentation for each member:";
1657 }
1658 else
1659 {
1660 result+="the modules they belong to:";
1661 }
1662 return result;
1663 }
1664
1665 /*! This is used in LaTeX as the title of the chapter with the
1666 * index of all modules (Fortran).
1667 */
1668 QCString trModulesIndex() override
1669 { return "Modules Index"; }
1670
1671 /*! This is used for translation of the word that will possibly
1672 * be followed by a single name or by a list of names
1673 * of the category.
1674 */
1675 QCString trModule(bool first_capital, bool singular) override
1676 {
1677 return createNoun(first_capital, singular, "module", "s");
1678 }
1679
1680 /*! This is put at the bottom of a module documentation page and is
1681 * followed by a list of files that were used to generate the page.
1682 */
1684 bool single) override
1685 {
1686 // single is true implies a single file
1687 QCString result="The documentation for this ";
1688 switch(compType)
1689 {
1690 case ClassDef::Class: result+="module"; break;
1691 case ClassDef::Struct: result+="type"; break;
1692 case ClassDef::Union: result+="union"; break;
1693 case ClassDef::Interface: result+="interface"; break;
1694 case ClassDef::Protocol: result+="protocol"; break;
1695 case ClassDef::Category: result+="category"; break;
1696 case ClassDef::Exception: result+="exception"; break;
1697 default: break;
1698 }
1699 result+=" was generated from the following file";
1700 if (single) result+=":"; else result+="s:";
1701 return result;
1702 }
1703
1704 /*! This is used for translation of the word that will possibly
1705 * be followed by a single name or by a list of names
1706 * of the category.
1707 */
1708 QCString trType(bool first_capital, bool singular) override
1709 {
1710 return createNoun(first_capital, singular, "type", "s");
1711 }
1712
1713 /*! This is used for translation of the word that will possibly
1714 * be followed by a single name or by a list of names
1715 * of the category.
1716 */
1717 QCString trSubprogram(bool first_capital, bool singular) override
1718 {
1719 return createNoun(first_capital, singular, "subprogram", "s");
1720 }
1721
1722 /*! C# Type Constraint list */
1723 QCString trTypeConstraints() override
1724 {
1725 return "Type Constraints";
1726 }
1727
1728//////////////////////////////////////////////////////////////////////////
1729// new since 1.6.0 (mainly for the new search engine)
1730//////////////////////////////////////////////////////////////////////////
1731
1732 /*! directory relation for \a name */
1733 QCString trDirRelation(const QCString &name) override
1734 {
1735 return name+" Relation";
1736 }
1737
1738 /*! Loading message shown when loading search results */
1739 QCString trLoading() override
1740 {
1741 return "Loading...";
1742 }
1743
1744 /*! Label used for search results in the global namespace */
1745 QCString trGlobalNamespace() override
1746 {
1747 return "Global Namespace";
1748 }
1749
1750 /*! Message shown while searching */
1751 QCString trSearching() override
1752 {
1753 return "Searching...";
1754 }
1755
1756 /*! Text shown when no search results are found */
1757 QCString trNoMatches() override
1758 {
1759 return "No Matches";
1760 }
1761
1762//////////////////////////////////////////////////////////////////////////
1763// new since 1.6.3 (missing items for the directory pages)
1764//////////////////////////////////////////////////////////////////////////
1765
1766 /*! when clicking a directory dependency label, a page with a
1767 * table is shown. The heading for the first column mentions the
1768 * source file that has a relation to another file.
1769 */
1770 QCString trFileIn(const QCString &name) override
1771 {
1772 return "File in "+name;
1773 }
1774
1775 /*! when clicking a directory dependency label, a page with a
1776 * table is shown. The heading for the second column mentions the
1777 * destination file that is included.
1778 */
1779 QCString trIncludesFileIn(const QCString &name) override
1780 {
1781 return "Includes file in "+name;
1782 }
1783
1784 /** Compiles a date string.
1785 * @param year Year in 4 digits
1786 * @param month Month of the year: 1=January
1787 * @param day Day of the Month: 1..31
1788 * @param dayOfWeek Day of the week: 1=Monday..7=Sunday
1789 * @param hour Hour of the day: 0..23
1790 * @param minutes Minutes in the hour: 0..59
1791 * @param seconds Seconds within the minute: 0..59
1792 * @param includeTime Include time in the result string?
1793 */
1794 QCString trDateTime(int year,int month,int day,int dayOfWeek,
1795 int hour,int minutes,int seconds,
1796 DateTimeType includeTime) override
1797 {
1798 static const char *days[] = { "Mon","Tue","Wed","Thu","Fri","Sat","Sun" };
1799 static const char *months[] = { "Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec" };
1800 QCString sdate;
1801 if (includeTime == DateTimeType::DateTime || includeTime == DateTimeType::Date)
1802 {
1803 sdate.sprintf("%s %s %d %d",days[dayOfWeek-1],months[month-1],day,year);
1804 }
1805 if (includeTime == DateTimeType::DateTime) sdate += " ";
1806 if (includeTime == DateTimeType::DateTime || includeTime == DateTimeType::Time)
1807 {
1808 QCString stime;
1809 stime.sprintf("%.2d:%.2d:%.2d",hour,minutes,seconds);
1810 sdate+=stime;
1811 }
1812 return sdate;
1813 }
1814 QCString trDayOfWeek(int dayOfWeek, bool, bool full) override
1815 {
1816 static const char *days_short[] = { "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun" };
1817 static const char *days_full[] = { "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday" };
1818 return full? days_full[dayOfWeek-1] : days_short[dayOfWeek-1];
1819 }
1820 QCString trMonth(int month, bool, bool full) override
1821 {
1822 static const char *months_short[] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" };
1823 static const char *months_full[] = { "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" };
1824 return full? months_full[month-1] : months_short[month-1];
1825 }
1826 QCString trDayPeriod(bool period) override
1827 {
1828 static const char *dayPeriod[] = { "AM", "PM" };
1829 return dayPeriod[period?1:0];
1830 }
1831
1832//////////////////////////////////////////////////////////////////////////
1833// new since 1.7.5
1834//////////////////////////////////////////////////////////////////////////
1835
1836 /*! Header for the page with bibliographic citations */
1837 QCString trCiteReferences() override
1838 { return "Bibliography"; }
1839
1840 /*! Text for copyright paragraph */
1841 QCString trCopyright() override
1842 { return "Copyright"; }
1843
1844 /*! Header for the graph showing the directory dependencies */
1845 QCString trDirDepGraph(const QCString &name) override
1846 { return "Directory dependency graph for "+name+":"; }
1847
1848//////////////////////////////////////////////////////////////////////////
1849// new since 1.8.0
1850//////////////////////////////////////////////////////////////////////////
1851
1852 /*! Detail level selector shown for hierarchical indices */
1853 QCString trDetailLevel() override
1854 { return "detail level"; }
1855
1856 /*! Section header for list of template parameters */
1857 QCString trTemplateParameters() override
1858 { return "Template Parameters"; }
1859
1860 /*! Used in dot graph when UML_LOOK is enabled and there are many fields */
1861 QCString trAndMore(const QCString &number) override
1862 { return "and "+number+" more..."; }
1863
1864 /*! Used file list for a Java enum */
1865 QCString trEnumGeneratedFromFiles(bool single) override
1866 { QCString result = "The documentation for this enum was generated from the following file";
1867 if (!single) result += "s";
1868 result+=":";
1869 return result;
1870 }
1871
1872 /*! Header of a Java enum page (Java enums are represented as classes). */
1873 QCString trEnumReference(const QCString &name) override
1874 { return name+" Enum Reference"; }
1875
1876 /*! Used for a section containing inherited members */
1877 QCString trInheritedFrom(const QCString &members,const QCString &what) override
1878 { return members+" inherited from "+what; }
1879
1880 /*! Header of the sections with inherited members specific for the
1881 * base class(es)
1882 */
1884 { return "Additional Inherited Members"; }
1885
1886//////////////////////////////////////////////////////////////////////////
1887// new since 1.8.2
1888//////////////////////////////////////////////////////////////////////////
1889
1890 /*! Used as a tooltip for the toggle button that appears in the
1891 * navigation tree in the HTML output when GENERATE_TREEVIEW is
1892 * enabled. This tooltip explains the meaning of the button.
1893 */
1894 QCString trPanelSynchronisationTooltip(bool enable) override
1895 {
1896 QCString opt = enable ? "enable" : "disable";
1897 return "click to "+opt+" panel synchronization";
1898 }
1899
1900 /*! Used in a method of an Objective-C class that is declared in a
1901 * a category. Note that the @1 marker is required and is replaced
1902 * by a link.
1903 */
1904 QCString trProvidedByCategory() override
1905 {
1906 return "Provided by category @0.";
1907 }
1908
1909 /*! Used in a method of an Objective-C category that extends a class.
1910 * Note that the @1 marker is required and is replaced by a link to
1911 * the class method.
1912 */
1913 QCString trExtendsClass() override
1914 {
1915 return "Extends class @0.";
1916 }
1917
1918 /*! Used as the header of a list of class methods in Objective-C.
1919 * These are similar to static public member functions in C++.
1920 */
1921 QCString trClassMethods() override
1922 {
1923 return "Class Methods";
1924 }
1925
1926 /*! Used as the header of a list of instance methods in Objective-C.
1927 * These are similar to public member functions in C++.
1928 */
1929 QCString trInstanceMethods() override
1930 {
1931 return "Instance Methods";
1932 }
1933
1934 /*! Used as the header of the member functions of an Objective-C class.
1935 */
1936 QCString trMethodDocumentation() override
1937 {
1938 return "Method Documentation";
1939 }
1940
1941//////////////////////////////////////////////////////////////////////////
1942// new since 1.8.4
1943//////////////////////////////////////////////////////////////////////////
1944
1945 /** old style UNO IDL services: implemented interfaces */
1946 QCString trInterfaces() override
1947 { return "Exported Interfaces"; }
1948
1949 /** old style UNO IDL services: inherited services */
1950 QCString trServices() override
1951 { return "Included Services"; }
1952
1953 /** UNO IDL constant groups */
1954 QCString trConstantGroups() override
1955 { return "Constant Groups"; }
1956
1957 /** UNO IDL constant groups */
1958 QCString trConstantGroupReference(const QCString &namespaceName) override
1959 {
1960 QCString result=namespaceName;
1961 result+=" Constant Group Reference";
1962 return result;
1963 }
1964 /** UNO IDL service page title */
1965 QCString trServiceReference(const QCString &sName) override
1966 {
1967 QCString result=sName;
1968 result+=" Service Reference";
1969 return result;
1970 }
1971 /** UNO IDL singleton page title */
1972 QCString trSingletonReference(const QCString &sName) override
1973 {
1974 QCString result=sName;
1975 result+=" Singleton Reference";
1976 return result;
1977 }
1978 /** UNO IDL service page */
1979 QCString trServiceGeneratedFromFiles(bool single) override
1980 {
1981 // single is true implies a single file
1982 QCString result="The documentation for this service "
1983 "was generated from the following file";
1984 if (single) result+=":"; else result+="s:";
1985 return result;
1986 }
1987 /** UNO IDL singleton page */
1988 QCString trSingletonGeneratedFromFiles(bool single) override
1989 {
1990 // single is true implies a single file
1991 QCString result="The documentation for this singleton "
1992 "was generated from the following file";
1993 if (single) result+=":"; else result+="s:";
1994 return result;
1995 }
1996
1997//////////////////////////////////////////////////////////////////////////
1998// new since 1.8.15
1999//////////////////////////////////////////////////////////////////////////
2000
2001 /** VHDL design unit hierarchy */
2002 QCString trDesignUnitHierarchy() override
2003 { return "Design Unit Hierarchy"; }
2004 /** VHDL design unit list */
2005 QCString trDesignUnitList() override
2006 { return "Design Unit List"; }
2007 /** VHDL design unit members */
2008 QCString trDesignUnitMembers() override
2009 { return "Design Unit Members"; }
2010 /** VHDL design unit list description */
2012 {
2013 return "Here is a list of all design unit members with links to "
2014 "the Entities they belong to:";
2015 }
2016 /** VHDL design unit index */
2017 QCString trDesignUnitIndex() override
2018 { return "Design Unit Index"; }
2019 /** VHDL design units */
2020 QCString trDesignUnits() override
2021 { return "Design Units"; }
2022 /** VHDL functions/procedures/processes */
2023 QCString trFunctionAndProc() override
2024 { return "Functions/Procedures/Processes"; }
2025 /** VHDL type */
2026 QCString trVhdlType(VhdlSpecifier type,bool single) override
2027 {
2028 switch(type)
2029 {
2031 if (single) return "Library";
2032 else return "Libraries";
2034 if (single) return "Package";
2035 else return "Packages";
2037 if (single) return "Signal";
2038 else return "Signals";
2040 if (single) return "Component";
2041 else return "Components";
2043 if (single) return "Constant";
2044 else return "Constants";
2046 if (single) return "Entity";
2047 else return "Entities";
2049 if (single) return "Type";
2050 else return "Types";
2052 if (single) return "Subtype";
2053 else return "Subtypes";
2055 if (single) return "Function";
2056 else return "Functions";
2058 if (single) return "Record";
2059 else return "Records";
2061 if (single) return "Procedure";
2062 else return "Procedures";
2064 if (single) return "Architecture";
2065 else return "Architectures";
2067 if (single) return "Attribute";
2068 else return "Attributes";
2070 if (single) return "Process";
2071 else return "Processes";
2073 if (single) return "Port";
2074 else return "Ports";
2075 case VhdlSpecifier::USE:
2076 if (single) return "use clause";
2077 else return "Use Clauses";
2079 if (single) return "Generic";
2080 else return "Generics";
2082 return "Package Body";
2084 return "Units";
2086 if (single) return "Shared Variable";
2087 else return "Shared Variables";
2089 if (single) return "File";
2090 else return "Files";
2092 if (single) return "Group";
2093 else return "Groups";
2095 if (single) return "Instantiation";
2096 else return "Instantiations";
2098 if (single) return "Alias";
2099 else return "Aliases";
2101 if (single) return "Configuration";
2102 else return "Configurations";
2104 return "Miscellaneous";
2106 return "Constraints";
2107 default:
2108 return "Class";
2109 }
2110 }
2111 QCString trCustomReference(const QCString &name) override
2112 { return name+" Reference"; }
2113
2114 /* Slice */
2115 QCString trConstants() override
2116 {
2117 return "Constants";
2118 }
2119 QCString trConstantDocumentation() override
2120 {
2121 return "Constant Documentation";
2122 }
2123 QCString trSequences() override
2124 {
2125 return "Sequences";
2126 }
2127 QCString trSequenceDocumentation() override
2128 {
2129 return "Sequence Documentation";
2130 }
2131 QCString trDictionaries() override
2132 {
2133 return "Dictionaries";
2134 }
2135 QCString trDictionaryDocumentation() override
2136 {
2137 return "Dictionary Documentation";
2138 }
2139 QCString trSliceInterfaces() override
2140 {
2141 return "Interfaces";
2142 }
2143 QCString trInterfaceIndex() override
2144 {
2145 return "Interface Index";
2146 }
2147 QCString trInterfaceList() override
2148 {
2149 return "Interface List";
2150 }
2151 QCString trInterfaceListDescription() override
2152 {
2153 return "Here are the interfaces with brief descriptions:";
2154 }
2155 QCString trInterfaceHierarchy() override
2156 {
2157 return "Interface Hierarchy";
2158 }
2160 {
2161 return "This inheritance list is sorted roughly, but not completely, alphabetically:";
2162 }
2163 QCString trInterfaceDocumentation() override
2164 {
2165 return "Interface Documentation";
2166 }
2167 QCString trStructs() override
2168 {
2169 return "Structs";
2170 }
2171 QCString trStructIndex() override
2172 {
2173 return "Struct Index";
2174 }
2175 QCString trStructList() override
2176 {
2177 return "Struct List";
2178 }
2179 QCString trStructListDescription() override
2180 {
2181 return "Here are the structs with brief descriptions:";
2182 }
2183 QCString trStructDocumentation() override
2184 {
2185 return "Struct Documentation";
2186 }
2187 QCString trExceptionIndex() override
2188 {
2189 return "Exception Index";
2190 }
2191 QCString trExceptionList() override
2192 {
2193 return "Exception List";
2194 }
2195 QCString trExceptionListDescription() override
2196 {
2197 return "Here are the exceptions with brief descriptions:";
2198 }
2199 QCString trExceptionHierarchy() override
2200 {
2201 return "Exception Hierarchy";
2202 }
2204 {
2205 return "This inheritance list is sorted roughly, but not completely, alphabetically:";
2206 }
2207 QCString trExceptionDocumentation() override
2208 {
2209 return "Exception Documentation";
2210 }
2211 QCString trCompoundReferenceSlice(const QCString &clName, ClassDef::CompoundType compType, bool isLocal) override
2212 {
2213 QCString result=clName;
2214 if (isLocal) result+=" Local";
2215 switch(compType)
2216 {
2217 case ClassDef::Class: result+=" Class"; break;
2218 case ClassDef::Struct: result+=" Struct"; break;
2219 case ClassDef::Union: result+=" Union"; break;
2220 case ClassDef::Interface: result+=" Interface"; break;
2221 case ClassDef::Protocol: result+=" Protocol"; break;
2222 case ClassDef::Category: result+=" Category"; break;
2223 case ClassDef::Exception: result+=" Exception"; break;
2224 default: break;
2225 }
2226 result+=" Reference";
2227 return result;
2228 }
2229 QCString trOperations() override
2230 {
2231 return "Operations";
2232 }
2233 QCString trOperationDocumentation() override
2234 {
2235 return "Operation Documentation";
2236 }
2237 QCString trDataMembers() override
2238 {
2239 return "Data Members";
2240 }
2241 QCString trDataMemberDocumentation() override
2242 {
2243 return "Data Member Documentation";
2244 }
2245
2246//////////////////////////////////////////////////////////////////////////
2247// new since 1.8.19
2248//////////////////////////////////////////////////////////////////////////
2249
2250 /** VHDL design unit documentation */
2251 QCString trDesignUnitDocumentation() override
2252 { return "Design Unit Documentation"; }
2253
2254//////////////////////////////////////////////////////////////////////////
2255// new since 1.9.2
2256//////////////////////////////////////////////////////////////////////////
2257
2258 /** C++20 concept */
2259 QCString trConcept(bool first_capital, bool singular) override
2260 {
2261 return createNoun(first_capital, singular, "concept", "s");
2262 }
2263 /*! used as the title of the HTML page of a C++20 concept page */
2264 QCString trConceptReference(const QCString &conceptName) override
2265 {
2266 QCString result=conceptName;
2267 result+=" Concept Reference";
2268 return result;
2269 }
2270
2271 /*! used as the title of page containing all the index of all concepts. */
2272 QCString trConceptList() override
2273 { return "Concept List"; }
2274
2275 /*! used as the title of chapter containing the index listing all concepts. */
2276 QCString trConceptIndex() override
2277 { return "Concept Index"; }
2278
2279 /*! used as the title of chapter containing all information about concepts. */
2280 QCString trConceptDocumentation() override
2281 { return "Concept Documentation"; }
2282
2283 /*! used as an introduction to the concept list */
2284 QCString trConceptListDescription(bool extractAll) override
2285 {
2286 QCString result="Here is a list of all ";
2287 if (!extractAll) result+="documented ";
2288 result+="concepts with brief descriptions:";
2289 return result;
2290 }
2291
2292 /*! used to introduce the definition of the C++20 concept */
2293 QCString trConceptDefinition() override
2294 {
2295 return "Concept definition";
2296 }
2297
2298//////////////////////////////////////////////////////////////////////////
2299// new since 1.9.4
2300//////////////////////////////////////////////////////////////////////////
2301
2302 QCString trPackageList() override
2303 { return "Package List"; }
2304
2305//////////////////////////////////////////////////////////////////////////
2306// new since 1.9.6
2307//////////////////////////////////////////////////////////////////////////
2308
2309 /*! This is used for translation of the word that will be
2310 * followed by a single name of the VHDL process flowchart.
2311 */
2312 QCString trFlowchart() override
2313 { return "Flowchart:"; }
2314
2315 /*! Please translate also updated body of the method
2316 * trMemberFunctionDocumentation(), now better adapted for
2317 * VHDL sources documentation.
2318 */
2319
2320//////////////////////////////////////////////////////////////////////////
2321// new since 1.9.7
2322//////////////////////////////////////////////////////////////////////////
2323 /*! used in the compound documentation before a list of related symbols.
2324 *
2325 * Supersedes trRelatedFunctions
2326 */
2327 QCString trRelatedSymbols() override
2328 { return "Related Symbols"; }
2329
2330 /*! subscript for the related symbols
2331 *
2332 * Supersedes trRelatedSubscript
2333 */
2334 QCString trRelatedSymbolsSubscript() override
2335 { return "(Note that these are not member symbols.)"; }
2336
2337 /*! used in the class documentation as a header before the list of all
2338 * related classes.
2339 *
2340 * Supersedes trRelatedFunctionDocumentation
2341 */
2343 { return "Friends And Related Symbol Documentation"; }
2344
2345 /*! the compound type as used for the xrefitems */
2346 QCString trCompoundType(ClassDef::CompoundType compType, SrcLangExt lang) override
2347 {
2348 QCString result;
2349 switch(compType)
2350 {
2351 case ClassDef::Class:
2352 if (lang == SrcLangExt::Fortran) trType(true,true);
2353 else result=trClass(true,true);
2354 break;
2355 case ClassDef::Struct: result="Struct"; break;
2356 case ClassDef::Union: result="Union"; break;
2357 case ClassDef::Interface: result="Interface"; break;
2358 case ClassDef::Protocol: result="Protocol"; break;
2359 case ClassDef::Category: result="Category"; break;
2360 case ClassDef::Exception: result="Exception"; break;
2361 case ClassDef::Service: result="Service"; break;
2362 case ClassDef::Singleton: result="Singleton"; break;
2363 default: break;
2364 }
2365 return result;
2366 }
2367
2369 {
2370 bool extractAll = Config_getBool(EXTRACT_ALL);
2371 QCString result="Here is a list of all ";
2372 if (!extractAll) result+="documented ";
2373
2374 switch (hl)
2375 {
2377 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
2378 {
2379 result+="functions, variables, defines, enums, and typedefs";
2380 }
2381 else
2382 {
2383 result+="file members";
2384 }
2385 break;
2387 result+="functions";
2388 break;
2390 result+="variables";
2391 break;
2393 result+="typedefs";
2394 break;
2396 result+="sequences";
2397 break;
2399 result+="dictionaries";
2400 break;
2402 result+="enums";
2403 break;
2405 result+="enum values";
2406 break;
2408 result+="macros";
2409 break;
2410 case FileMemberHighlight::Total: // for completeness
2411 break;
2412 }
2413 result+=" with links to ";
2414 if (extractAll)
2415 result+="the files they belong to:";
2416 else
2417 result+="the documentation:";
2418 return result;
2419 }
2421 {
2422 bool extractAll = Config_getBool(EXTRACT_ALL);
2423 QCString result="Here is a list of all ";
2424 if (!extractAll)
2425 {
2426 result+="documented ";
2427 }
2428
2429 switch (hl)
2430 {
2432 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
2433 {
2434 result+="struct and union fields";
2435 }
2436 else
2437 {
2438 result+="class members";
2439 }
2440 break;
2442 result+="functions";
2443 break;
2445 result+="variables";
2446 break;
2448 result+="typedefs";
2449 break;
2451 result+="enums";
2452 break;
2454 result+="enum values";
2455 break;
2457 result+="properties";
2458 break;
2460 result+="events";
2461 break;
2463 result+="related symbols";
2464 break;
2465 case ClassMemberHighlight::Total: // for completeness
2466 break;
2467 }
2468 result+=" with links to ";
2469 if (!extractAll)
2470 {
2471 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
2472 {
2473 result+="the struct/union documentation for each field:";
2474 }
2475 else
2476 {
2477 result+="the class documentation for each member:";
2478 }
2479 }
2480 else
2481 {
2482 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
2483 {
2484 result+="the structures/unions they belong to:";
2485 }
2486 else
2487 {
2488 result+="the classes they belong to:";
2489 }
2490 }
2491 return result;
2492 }
2494 {
2495 bool extractAll = Config_getBool(EXTRACT_ALL);
2496 QCString result="Here is a list of all ";
2497 if (!extractAll) result+="documented ";
2498 result+="namespace ";
2499 QCString singularResult = "";
2500 QCString pluralResult = "";
2501 switch (hl)
2502 {
2504 singularResult="member";
2505 break;
2507 singularResult="function";
2508 break;
2510 singularResult="variable";
2511 break;
2513 singularResult="typedef";
2514 break;
2516 singularResult="sequence";
2517 break;
2519 singularResult="dictionary";
2520 pluralResult="dictionaries";
2521 break;
2523 singularResult="enum";
2524 break;
2526 singularResult="enum value";
2527 break;
2528 case NamespaceMemberHighlight::Total: // for completeness
2529 break;
2530 }
2531 result+=(pluralResult.isEmpty() ? singularResult+"s" : pluralResult);
2532 result+=" with links to ";
2533 if (extractAll)
2534 result+="the namespace documentation for each " + singularResult + ":";
2535 else
2536 result+="the namespaces they belong to:";
2537 return result;
2538 }
2539 QCString trDefinition() override { return "Definition";}
2540 QCString trDeclaration() override { return "Declaration";}
2541
2542//////////////////////////////////////////////////////////////////////////
2543// new since 1.9.8
2544//////////////////////////////////////////////////////////////////////////
2545
2546 QCString trTopics() override
2547 { return "Topics"; }
2548 QCString trTopicDocumentation() override
2549 { return "Topic Documentation"; }
2550 QCString trTopicList() override
2551 { return "Topic List"; }
2552 QCString trTopicIndex() override
2553 { return "Topic Index"; }
2554 QCString trTopicListDescription() override
2555 { return "Here is a list of all topics with brief descriptions:"; }
2557 {
2558 bool extractAll = Config_getBool(EXTRACT_ALL);
2559 QCString result="Here is a list of all ";
2560 if (!extractAll) result+="documented ";
2561 result+="module ";
2562 QCString singularResult = "";
2563 QCString pluralResult = "";
2564 switch (hl)
2565 {
2567 singularResult="member";
2568 break;
2570 singularResult="function";
2571 break;
2573 singularResult="variable";
2574 break;
2576 singularResult="typedef";
2577 break;
2579 singularResult="enum";
2580 break;
2582 singularResult="enum value";
2583 break;
2584 case ModuleMemberHighlight::Total: // for completeness
2585 break;
2586 }
2587 result+=(pluralResult.isEmpty() ? singularResult+"s" : pluralResult);
2588 result+=" with links to ";
2589 if (extractAll)
2590 result+="the module documentation for each " + singularResult + ":";
2591 else
2592 result+="the module they belong to:";
2593 return result;
2594 }
2595 QCString trExportedModules() override
2596 {
2597 return "Exported Modules";
2598 }
2599
2600//////////////////////////////////////////////////////////////////////////
2601// new since 1.10.0
2602//////////////////////////////////////////////////////////////////////////
2603
2604 QCString trCopyToClipboard() override
2605 {
2606 return "Copy to clipboard";
2607 }
2608//////////////////////////////////////////////////////////////////////////
2609// new since 1.11.0
2610//////////////////////////////////////////////////////////////////////////
2611 QCString trImportant() override
2612 {
2613 return "Important";
2614 }
2615};
2616
2617#endif
CompoundType
The various compound types.
Definition classdef.h:109
@ Singleton
Definition classdef.h:117
@ Interface
Definition classdef.h:112
@ Exception
Definition classdef.h:115
bool isEmpty() const
Returns TRUE iff the string is empty.
Definition qcstring.h:150
QCString & sprintf(const char *format,...)
Definition qcstring.cpp:29
QCString trTodo() override
QCString trEnumerationValues() override
QCString trProtectedTypes() override
QCString trStructIndex() override
QCString trFileIndex() override
QCString trRelatedSymbolDocumentation() override
QCString trCompoundList() override
QCString trNamespaceDocumentation() override
QCString trPrivateAttribs() override
QCString trSince() override
QCString trDocumentation(const QCString &projName) override
QCString trDataMemberDocumentation() override
QCString trSearching() override
QCString trModulesDescription() override
QCString trGeneratedAt(const QCString &date, const QCString &projName) override
QCString trPackageMembers() override
QCString trRTFansicp() override
QCString trFunctionAndProc() override
VHDL functions/procedures/processes.
QCString trNamespaceMemberDescription(bool extractAll) override
QCString trDesignUnits() override
VHDL design units.
QCString trPageAbbreviation() override
QCString trBugList() override
QCString trExamplesDescription() override
QCString trSubprogram(bool first_capital, bool singular) override
QCString trLoading() override
QCString trDayPeriod(bool period) override
QCString trDataTypes() override
QCString trNamespaceReference(const QCString &namespaceName) override
QCString trAndMore(const QCString &number) override
QCString trDefinedInSourceFile() override
QCString trDesignUnitList() override
VHDL design unit list.
QCString trPrivateSlots() override
QCString trProtectedAttribs() override
QCString trPropertyDocumentation() override
QCString trFlowchart() override
QCString trSignals() override
QCString trExportedModules() override
QCString trVhdlType(VhdlSpecifier type, bool single) override
VHDL type.
QCString trModuleReference(const QCString &namespaceName) override
QCString trEventDocumentation() override
QCString trTypeConstraints() override
QCString trTodoList() override
QCString trModulesListDescription(bool extractAll) override
QCString trModuleDocumentation() override
QCString trDesignUnitDocumentation() override
VHDL design unit documentation.
QCString trAuthor(bool first_capital, bool singular) override
QCString trMemberDataDocumentation() override
QCString trModuleMembersDescriptionTotal(ModuleMemberHighlight::Enum hl) override
QCString trCompoundMembers() override
QCString trEnumValue() override
QCString trNamespaceMembers() override
QCString trStructList() override
QCString trOperationDocumentation() override
QCString trDefineValue() override
QCString trMemberList() override
QCString trSubprogramDocumentation() override
QCString trRTFGeneralIndex() override
QCString trReferenceManual() override
QCString trMember(bool first_capital, bool singular) override
QCString trNamespaceListDescription(bool extractAll) override
QCString trConceptReference(const QCString &conceptName) override
QCString trSearchMatches() override
QCString trCompoundListDescription() override
QCString trSearchResults(int numDocuments) override
QCString trLegend() override
QCString trIncludesFileIn(const QCString &name) override
QCString trDesignUnitHierarchy() override
VHDL design unit hierarchy.
QCString trProperties() override
QCString trDetails() override
QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType, bool single) override
QCString trFileList() override
QCString trFriends() override
QCString getLanguageString() override
language codes for Html help
QCString trStaticPackageAttribs() override
QCString trConstructorDocumentation() override
QCString trMemberTypedefDocumentation() override
QCString trPackageAttribs() override
QCString trLegendTitle() override
QCString trReturnValues() override
QCString trTopicList() override
QCString trRelatedSymbolsSubscript() override
QCString trCustomReference(const QCString &name) override
QCString trTypeDocumentation() override
QCString trStaticPublicMembers() override
QCString trExceptionIndex() override
QCString trImportant() override
QCString trStructs() override
QCString trReimplementedFromList(int numEntries) override
QCString trClassDocumentation() override
QCString trNamespaceIndex() override
QCString trReimplementedInList(int numEntries) override
QCString trInheritedByList(int numEntries) override
QCString trClassHierarchy() override
QCString trRelatedPagesDescription() override
QCString trNamespaces() override
QCString trDir(bool first_capital, bool singular) override
QCString trInterfaces() override
old style UNO IDL services: implemented interfaces
QCString trDirDepGraph(const QCString &name) override
QCString trConstantGroupReference(const QCString &namespaceName) override
UNO IDL constant groups.
QCString trDirIndex() override
QCString trClassDiagram(const QCString &clName) override
QCString trVariableDocumentation() override
QCString trFileMembersDescriptionTotal(FileMemberHighlight::Enum hl) override
QCString trCompoundIndex() override
QCString trDesignUnitMembers() override
VHDL design unit members.
QCString trLegendDocs() override
QCString trIncludingInheritedMembers() override
QCString trDictionaries() override
QCString trSequenceDocumentation() override
QCString trCompoundReferenceFortran(const QCString &clName, ClassDef::CompoundType compType, bool isTemplate) override
QCString trStaticProtectedMembers() override
QCString trDirDocumentation() override
QCString trDefinedAtLineInSourceFile() override
QCString trType(bool first_capital, bool singular) override
QCString trSourceFile(const QCString &filename) override
QCString trNamespaceMembersDescriptionTotal(NamespaceMemberHighlight::Enum hl) override
QCString trGeneratedFromFiles(ClassDef::CompoundType compType, bool single) override
QCString trCallGraph() override
QCString trServiceGeneratedFromFiles(bool single) override
UNO IDL service page.
QCString trCiteReferences() override
QCString trReferences() override
QCString trInterfaceHierarchy() override
QCString trServices() override
old style UNO IDL services: inherited services
QCString trWriteList(int numEntries) override
QCString trPanelSynchronisationTooltip(bool enable) override
QCString trRelatedSubscript() override
QCString trHierarchicalIndex() override
QCString trDeprecatedList() override
QCString trPublicAttribs() override
QCString trMemberEnumerationDocumentation() override
QCString trConceptDefinition() override
QCString trPrivateMembers() override
QCString trConstantDocumentation() override
QCString trDefines() override
QCString trExtendsClass() override
QCString trStaticPublicAttribs() override
QCString trRTFTableOfContents() override
QCString trPackages() override
QCString trCompoundReference(const QCString &clName, ClassDef::CompoundType compType, bool isTemplate) override
QCString trMore() override
QCString trTypedefs() override
QCString trOperations() override
QCString trInterfaceDocumentation() override
QCString trRelatedFunctions() override
QCString trPackage(const QCString &name) override
QCString trMemberFunctionDocumentation() override
QCString trOverloadText() override
QCString trExceptionListDescription() override
QCString trSingletonReference(const QCString &sName) override
UNO IDL singleton page title.
QCString trNoMatches() override
QCString trClasses() override
QCString trTopicListDescription() override
QCString trExceptionHierarchy() override
QCString trEnumName() override
QCString trSingletonGeneratedFromFiles(bool single) override
UNO IDL singleton page.
QCString trEvents() override
QCString trCompoundListDescriptionFortran() override
QCString trConstants() override
QCString trFileMembers() override
QCString trReturns() override
QCString trNamespace(bool first_capital, bool singular) override
QCString trEnumerationTypeDocumentation() override
QCString trProtectedMembers() override
QCString trCode() override
QCString trDate() override
QCString trModule(bool first_capital, bool singular) override
QCString trModulesIndex() override
QCString trEnumGeneratedFromFiles(bool single) override
QCString trSubprograms() override
QCString trClass(bool first_capital, bool singular) override
QCString trPage(bool first_capital, bool singular) override
QCString trParameters() override
QCString trServiceReference(const QCString &sName) override
UNO IDL service page title.
QCString trAll() override
QCString trPostcondition() override
QCString trFileReference(const QCString &fileName) override
QCString trCompoundMembersDescription(bool extractAll) override
QCString trDesignUnitListDescription() override
VHDL design unit list description.
QCString trFileIn(const QCString &name) override
QCString trGotoTextualHierarchy() override
QCString trClassMethods() override
QCString trStaticProtectedAttribs() override
QCString trInterfaceListDescription() override
QCString trStructDocumentation() override
QCString trExamples() override
QCString trExceptionDocumentation() override
QCString trGraphicalHierarchy() override
QCString trDataMembers() override
QCString trCompoundMembersFortran() override
QCString trGroup(bool first_capital, bool singular) override
QCString trInstanceMethods() override
QCString trCopyright() override
QCString trCompoundType(ClassDef::CompoundType compType, SrcLangExt lang) override
QCString trTestList() override
QCString trGeneratedBy() override
QCString trExceptionHierarchyDescription() override
QCString trPublicSlots() override
QCString trConcept(bool first_capital, bool singular) override
C++20 concept.
QCString trVariables() override
QCString trGotoDocumentation() override
QCString trFileMembersDescription(bool extractAll) override
QCString trRelatedSymbols() override
QCString trConceptIndex() override
QCString trInterfaceIndex() override
QCString trISOLang() override
QCString trListOfAllMembers() override
QCString trDeclaration() override
QCString trPrivateTypes() override
QCString trGlobalNamespace() override
QCString trDateTime(int year, int month, int day, int dayOfWeek, int hour, int minutes, int seconds, DateTimeType includeTime) override
Compiles a date string.
QCString trNote() override
QCString trCompoundMembersDescriptionFortran(bool extractAll) override
QCString trCollaborationDiagram(const QCString &clName) override
QCString trDefineDocumentation() override
QCString trMethodDocumentation() override
QCString trModulesList() override
QCString trEnumReference(const QCString &name) override
QCString trInheritedFrom(const QCString &members, const QCString &what) override
QCString trModulesMembers() override
QCString trDefinition() override
QCString trInvariant() override
QCString trDeprecated() override
QCString trCompoundIndexFortran() override
QCString trGotoGraphicalHierarchy() override
QCString trMonth(int month, bool, bool full) override
QCString trModulesMemberDescription(bool extractAll) override
QCString trFile(bool first_capital, bool singular) override
QCString trInterfaceHierarchyDescription() override
QCString trInclByDepGraph() override
QCString trVersion() override
QCString trFileListDescription(bool extractAll) override
QCString trGotoSourceCode() override
QCString trThisIsTheListOfAllMembers() override
QCString trMemberFunctionDocumentationFortran() override
QCString trReferencedBy() override
QCString trDefinedIn() override
QCString trExceptions() override
QCString trDirectories() override
QCString trPrecondition() override
QCString trStaticPrivateAttribs() override
QCString trPublicMembers() override
QCString trDetailLevel() override
QCString trPackageList() override
QCString trSeeAlso() override
QCString trRTFCharSet() override
QCString trDesignUnitIndex() override
VHDL design unit index.
QCString trFunctions() override
QCString trDayOfWeek(int dayOfWeek, bool, bool full) override
QCString trDictionaryDocumentation() override
QCString trTemplateParameters() override
QCString latexLanguageSupportCommand() override
QCString trSearchResultsTitle() override
QCString trInheritsList(int numEntries) override
QCString trConstantGroups() override
UNO IDL constant groups.
QCString trAttention() override
QCString trProtectedSlots() override
QCString trClassHierarchyDescription() override
QCString trConceptListDescription(bool extractAll) override
QCString trImplementedInList(int numEntries) override
QCString trDirReference(const QCString &dirName) override
QCString trPublicTypes() override
QCString trCompoundListFortran() override
QCString trTopicIndex() override
QCString trMainPage() override
QCString trEnumerationValueDocumentation() override
QCString trStructListDescription() override
QCString trDetailedDescription() override
QCString trSearch() override
QCString trTopicDocumentation() override
QCString trCompounds() override
QCString trProvidedByCategory() override
QCString trModules() override
QCString trFunctionDocumentation() override
QCString trDirRelation(const QCString &name) override
QCString trPageIndex() override
QCString trConceptList() override
QCString trWarning() override
QCString trRemarks() override
QCString trBug() override
QCString trTypedefDocumentation() override
QCString trRelatedFunctionDocumentation() override
QCString trTest() override
QCString trStaticPrivateMembers() override
QCString trCopyToClipboard() override
QCString trCallerGraph() override
QCString trImplementedFromList(int numEntries) override
QCString trGlobal(bool first_capital, bool singular) override
QCString trPackageFunctions() override
QCString idLanguage() override
QCString trInterfaceList() override
QCString trConceptDocumentation() override
QCString trCompoundReferenceSlice(const QCString &clName, ClassDef::CompoundType compType, bool isLocal) override
QCString trSequences() override
QCString trInitialValue() override
QCString trNamespaceList() override
QCString trModuleIndex() override
QCString trExceptionList() override
QCString trInclDepGraph(const QCString &fName) override
QCString trFileDocumentation() override
QCString trCompoundMembersDescriptionTotal(ClassMemberHighlight::Enum hl) override
QCString trTopics() override
QCString trSliceInterfaces() override
QCString trStaticPackageFunctions() override
QCString trPackageTypes() override
QCString trRelatedPages() override
QCString trPackageListDescription() override
QCString trAdditionalInheritedMembers() override
QCString trGeneratedAutomatically(const QCString &s) override
QCString trEnumerations() override
Abstract base class for all translatable text fragments.
Definition translator.h:29
QCString createNoun(bool first_capital, bool singular, const QCString &base, const QCString &plurSuffix, const QCString &singSuffix="")
Definition translator.h:782
#define Config_getBool(name)
Definition config.h:33
DateTimeType
Definition datetime.h:38
SrcLangExt
Language as given by extension.
Definition types.h:42
@ Fortran
Definition types.h:53
VhdlSpecifier
Definition types.h:548
@ INSTANTIATION
Definition types.h:569
@ MISCELLANEOUS
Definition types.h:575
@ SHAREDVARIABLE
Definition types.h:572
QCString generateMarker(int id)
Definition util.cpp:290
QCString getDotImageExtension()
Definition util.cpp:6616