My Project
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 
44 {
45  public:
46 
47  // --- Language control methods -------------------
48 
55  virtual QCString idLanguage()
56  { return "english"; }
57 
72  virtual QCString latexLanguageSupportCommand()
73  {
74  return "";
75  }
76 
77  // --- Language translation methods -------------------
78 
80  virtual QCString trRelatedFunctions()
81  { return "Related Functions"; }
82 
84  virtual QCString trRelatedSubscript()
85  { return "(Note that these are not member functions.)"; }
86 
88  virtual QCString trDetailedDescription()
89  { return "Detailed Description"; }
90 
92  virtual QCString trMemberTypedefDocumentation()
93  { return "Member Typedef Documentation"; }
94 
97  { return "Member Enumeration Documentation"; }
98 
100  virtual QCString trMemberFunctionDocumentation()
101  { return "Member Function Documentation"; }
102 
104  virtual QCString trMemberDataDocumentation()
105  {
106  if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
107  {
108  return "Field Documentation";
109  }
110  else
111  {
112  return "Member Data Documentation";
113  }
114  }
115 
117  virtual QCString trMore()
118  { return "More..."; }
119 
121  virtual QCString trListOfAllMembers()
122  { return "List of all members"; }
123 
125  virtual QCString trMemberList()
126  { return "Member List"; }
127 
129  virtual QCString trThisIsTheListOfAllMembers()
130  { return "This is the complete list of members for "; }
131 
133  virtual QCString trIncludingInheritedMembers()
134  { return ", including all inherited members."; }
135 
139  virtual QCString trGeneratedAutomatically(const char *s)
140  { QCString result="Generated automatically by Doxygen";
141  if (s) result+=(QCString)" for "+s;
142  result+=" from the source code.";
143  return result;
144  }
145 
147  virtual QCString trEnumName()
148  { return "enum name"; }
149 
151  virtual QCString trEnumValue()
152  { return "enum value"; }
153 
155  virtual QCString trDefinedIn()
156  { return "defined in"; }
157 
158  // quick reference sections
159 
163  virtual QCString trModules()
164  { return "Modules"; }
165 
167  virtual QCString trClassHierarchy()
168  { return "Class Hierarchy"; }
169 
171  virtual QCString trCompoundList()
172  {
173  if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
174  {
175  return "Data Structures";
176  }
177  else
178  {
179  return "Class List";
180  }
181  }
182 
184  virtual QCString trFileList()
185  { return "File List"; }
186 
188  virtual QCString trCompoundMembers()
189  {
190  if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
191  {
192  return "Data Fields";
193  }
194  else
195  {
196  return "Class Members";
197  }
198  }
199 
201  virtual QCString trFileMembers()
202  {
203  if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
204  {
205  return "Globals";
206  }
207  else
208  {
209  return "File Members";
210  }
211  }
212 
214  virtual QCString trRelatedPages()
215  { return "Related Pages"; }
216 
218  virtual QCString trExamples()
219  { return "Examples"; }
220 
222  virtual QCString trSearch()
223  { return "Search"; }
224 
226  virtual QCString trClassHierarchyDescription()
227  { return "This inheritance list is sorted roughly, "
228  "but not completely, alphabetically:";
229  }
230 
232  virtual QCString trFileListDescription(bool extractAll)
233  {
234  QCString result="Here is a list of all ";
235  if (!extractAll) result+="documented ";
236  result+="files with brief descriptions:";
237  return result;
238  }
239 
241  virtual QCString trCompoundListDescription()
242  {
243 
244  if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
245  {
246  return "Here are the data structures with brief descriptions:";
247  }
248  else
249  {
250  return "Here are the classes, structs, "
251  "unions and interfaces with brief descriptions:";
252  }
253  }
254 
256  virtual QCString trCompoundMembersDescription(bool extractAll)
257  {
258  QCString result="Here is a list of all ";
259  if (!extractAll)
260  {
261  result+="documented ";
262  }
263  if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
264  {
265  result+="struct and union fields";
266  }
267  else
268  {
269  result+="class members";
270  }
271  result+=" with links to ";
272  if (!extractAll)
273  {
274  if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
275  {
276  result+="the struct/union documentation for each field:";
277  }
278  else
279  {
280  result+="the class documentation for each member:";
281  }
282  }
283  else
284  {
285  if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
286  {
287  result+="the structures/unions they belong to:";
288  }
289  else
290  {
291  result+="the classes they belong to:";
292  }
293  }
294  return result;
295  }
296 
298  virtual QCString trFileMembersDescription(bool extractAll)
299  {
300  QCString result="Here is a list of all ";
301  if (!extractAll) result+="documented ";
302 
303  if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
304  {
305  result+="functions, variables, defines, enums, and typedefs";
306  }
307  else
308  {
309  result+="file members";
310  }
311  result+=" with links to ";
312  if (extractAll)
313  result+="the files they belong to:";
314  else
315  result+="the documentation:";
316  return result;
317  }
318 
320  virtual QCString trExamplesDescription()
321  { return "Here is a list of all examples:"; }
322 
324  virtual QCString trRelatedPagesDescription()
325  { return "Here is a list of all related documentation pages:"; }
326 
328  virtual QCString trModulesDescription()
329  { return "Here is a list of all modules:"; }
330 
331  // index titles (the project name is prepended for these)
332 
334  virtual QCString trDocumentation()
335  { return "Documentation"; }
336 
340  virtual QCString trModuleIndex()
341  { return "Module Index"; }
342 
346  virtual QCString trHierarchicalIndex()
347  { return "Hierarchical Index"; }
348 
352  virtual QCString trCompoundIndex()
353  {
354  if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
355  {
356  return "Data Structure Index";
357  }
358  else
359  {
360  return "Class Index";
361  }
362  }
363 
367  virtual QCString trFileIndex()
368  { return "File Index"; }
369 
373  virtual QCString trModuleDocumentation()
374  { return "Module Documentation"; }
375 
379  virtual QCString trClassDocumentation()
380  {
381  if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
382  {
383  return "Data Structure Documentation";
384  }
385  else
386  {
387  return "Class Documentation";
388  }
389  }
390 
394  virtual QCString trFileDocumentation()
395  { return "File Documentation"; }
396 
400  virtual QCString trExampleDocumentation()
401  { return "Example Documentation"; }
402 
406  virtual QCString trPageDocumentation()
407  { return "Page Documentation"; }
408 
410  virtual QCString trReferenceManual()
411  { return "Reference Manual"; }
412 
416  virtual QCString trDefines()
417  { return "Macros"; }
418 
422  virtual QCString trTypedefs()
423  { return "Typedefs"; }
424 
428  virtual QCString trEnumerations()
429  { return "Enumerations"; }
430 
434  virtual QCString trFunctions()
435  { return "Functions"; }
436 
440  virtual QCString trVariables()
441  { return "Variables"; }
442 
446  virtual QCString trEnumerationValues()
447  { return "Enumerator"; }
448 
452  virtual QCString trDefineDocumentation()
453  { return "Macro Definition Documentation"; }
454 
458  virtual QCString trTypedefDocumentation()
459  { return "Typedef Documentation"; }
460 
465  { return "Enumeration Type Documentation"; }
466 
470  virtual QCString trFunctionDocumentation()
471  { return "Function Documentation"; }
472 
476  virtual QCString trVariableDocumentation()
477  { return "Variable Documentation"; }
478 
482  virtual QCString trCompounds()
483  {
484  if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
485  {
486  return "Data Structures";
487  }
488  else
489  {
490  return "Classes";
491  }
492  }
493 
497  virtual QCString trGeneratedAt(const char *date,const char *projName)
498  {
499  QCString result=(QCString)"Generated on "+date;
500  if (projName) result+=(QCString)" for "+projName;
501  result+=(QCString)" by";
502  return result;
503  }
504 
506  virtual QCString trClassDiagram(const char *clName)
507  {
508  return (QCString)"Inheritance diagram for "+clName+":";
509  }
510 
512  virtual QCString trForInternalUseOnly()
513  { return "For internal use only."; }
514 
516  virtual QCString trWarning()
517  { return "Warning"; }
518 
520  virtual QCString trVersion()
521  { return "Version"; }
522 
524  virtual QCString trDate()
525  { return "Date"; }
526 
528  virtual QCString trReturns()
529  { return "Returns"; }
530 
532  virtual QCString trSeeAlso()
533  { return "See also"; }
534 
536  virtual QCString trParameters()
537  { return "Parameters"; }
538 
540  virtual QCString trExceptions()
541  { return "Exceptions"; }
542 
544  virtual QCString trGeneratedBy()
545  { return "Generated by"; }
546 
548 // new since 0.49-990307
550 
552  virtual QCString trNamespaceList()
553  { return "Namespace List"; }
554 
556  virtual QCString trNamespaceListDescription(bool extractAll)
557  {
558  QCString result="Here is a list of all ";
559  if (!extractAll) result+="documented ";
560  result+="namespaces with brief descriptions:";
561  return result;
562  }
563 
567  virtual QCString trFriends()
568  { return "Friends"; }
569 
571 // new since 0.49-990405
573 
578  { return "Friends And Related Function Documentation"; }
579 
581 // new since 0.49-990425
583 
585  virtual QCString trCompoundReference(const char *clName,
586  ClassDef::CompoundType compType,
587  bool isTemplate)
588  {
589  QCString result=(QCString)clName;
590  switch(compType)
591  {
592  case ClassDef::Class: result+=" Class"; break;
593  case ClassDef::Struct: result+=" Struct"; break;
594  case ClassDef::Union: result+=" Union"; break;
595  case ClassDef::Interface: result+=" Interface"; break;
596  case ClassDef::Protocol: result+=" Protocol"; break;
597  case ClassDef::Category: result+=" Category"; break;
598  case ClassDef::Exception: result+=" Exception"; break;
599  default: break;
600  }
601  if (isTemplate) result+=" Template";
602  result+=" Reference";
603  return result;
604  }
605 
607  virtual QCString trFileReference(const char *fileName)
608  {
609  QCString result=fileName;
610  result+=" File Reference";
611  return result;
612  }
613 
615  virtual QCString trNamespaceReference(const char *namespaceName)
616  {
617  QCString result=namespaceName;
618  result+=" Namespace Reference";
619  return result;
620  }
621 
622  virtual QCString trPublicMembers()
623  { return "Public Member Functions"; }
624  virtual QCString trPublicSlots()
625  { return "Public Slots"; }
626  virtual QCString trSignals()
627  { return "Signals"; }
628  virtual QCString trStaticPublicMembers()
629  { return "Static Public Member Functions"; }
630  virtual QCString trProtectedMembers()
631  { return "Protected Member Functions"; }
632  virtual QCString trProtectedSlots()
633  { return "Protected Slots"; }
634  virtual QCString trStaticProtectedMembers()
635  { return "Static Protected Member Functions"; }
636  virtual QCString trPrivateMembers()
637  { return "Private Member Functions"; }
638  virtual QCString trPrivateSlots()
639  { return "Private Slots"; }
640  virtual QCString trStaticPrivateMembers()
641  { return "Static Private Member Functions"; }
642 
646  virtual QCString trWriteList(int numEntries)
647  {
648  QCString result;
649  int i;
650  // the inherits list contain `numEntries' classes
651  for (i=0;i<numEntries;i++)
652  {
653  // use generateMarker to generate placeholders for the class links!
654  result+=generateMarker(i); // generate marker for entry i in the list
655  // (order is left to right)
656 
657  if (i!=numEntries-1) // not the last entry, so we need a separator
658  {
659  if (i<numEntries-2) // not the fore last entry
660  result+=", ";
661  else // the fore last entry
662  result+=", and ";
663  }
664  }
665  return result;
666  }
667 
671  virtual QCString trInheritsList(int numEntries)
672  {
673  return "Inherits "+trWriteList(numEntries)+".";
674  }
675 
679  virtual QCString trInheritedByList(int numEntries)
680  {
681  return "Inherited by "+trWriteList(numEntries)+".";
682  }
683 
687  virtual QCString trReimplementedFromList(int numEntries)
688  {
689  return "Reimplemented from "+trWriteList(numEntries)+".";
690  }
691 
695  virtual QCString trReimplementedInList(int numEntries)
696  {
697  return "Reimplemented in "+trWriteList(numEntries)+".";
698  }
699 
701  virtual QCString trNamespaceMembers()
702  { return "Namespace Members"; }
703 
705  virtual QCString trNamespaceMemberDescription(bool extractAll)
706  {
707  QCString result="Here is a list of all ";
708  if (!extractAll) result+="documented ";
709  result+="namespace members with links to ";
710  if (extractAll)
711  result+="the namespace documentation for each member:";
712  else
713  result+="the namespaces they belong to:";
714  return result;
715  }
719  virtual QCString trNamespaceIndex()
720  { return "Namespace Index"; }
721 
725  virtual QCString trNamespaceDocumentation()
726  { return "Namespace Documentation"; }
727 
729 // new since 0.49-990522
731 
735  virtual QCString trNamespaces()
736  { return "Namespaces"; }
737 
739 // new since 0.49-990728
741 
745  virtual QCString trGeneratedFromFiles(ClassDef::CompoundType compType,
746  bool single)
747  { // single is true implies a single file
748  QCString result=(QCString)"The documentation for this ";
749  switch(compType)
750  {
751  case ClassDef::Class: result+="class"; break;
752  case ClassDef::Struct: result+="struct"; break;
753  case ClassDef::Union: result+="union"; break;
754  case ClassDef::Interface: result+="interface"; break;
755  case ClassDef::Protocol: result+="protocol"; break;
756  case ClassDef::Category: result+="category"; break;
757  case ClassDef::Exception: result+="exception"; break;
758  default: break;
759  }
760  result+=" was generated from the following file";
761  if (single) result+=":"; else result+="s:";
762  return result;
763  }
764 
766 // new since 0.49-990901
768 
770  virtual QCString trReturnValues()
771  { return "Return values"; }
772 
775  virtual QCString trMainPage()
776  { return "Main Page"; }
777 
781  virtual QCString trPageAbbreviation()
782  { return "p."; }
783 
785 // new since 0.49-991003
787 
788  virtual QCString trDefinedAtLineInSourceFile()
789  {
790  return "Definition at line @0 of file @1.";
791  }
792  virtual QCString trDefinedInSourceFile()
793  {
794  return "Definition in file @0.";
795  }
796 
798 // new since 0.49-991205
800 
801  virtual QCString trDeprecated()
802  {
803  return "Deprecated";
804  }
805 
807 // new since 1.0.0
809 
811  virtual QCString trCollaborationDiagram(const char *clName)
812  {
813  return (QCString)"Collaboration diagram for "+clName+":";
814  }
816  virtual QCString trInclDepGraph(const char *fName)
817  {
818  return (QCString)"Include dependency graph for "+fName+":";
819  }
821  virtual QCString trConstructorDocumentation()
822  {
823  return "Constructor & Destructor Documentation";
824  }
826  virtual QCString trGotoSourceCode()
827  {
828  return "Go to the source code of this file.";
829  }
831  virtual QCString trGotoDocumentation()
832  {
833  return "Go to the documentation of this file.";
834  }
836  virtual QCString trPrecondition()
837  {
838  return "Precondition";
839  }
841  virtual QCString trPostcondition()
842  {
843  return "Postcondition";
844  }
846  virtual QCString trInvariant()
847  {
848  return "Invariant";
849  }
851  virtual QCString trInitialValue()
852  {
853  return "Initial value:";
854  }
856  virtual QCString trCode()
857  {
858  return "code";
859  }
860  virtual QCString trGraphicalHierarchy()
861  {
862  return "Graphical Class Hierarchy";
863  }
864  virtual QCString trGotoGraphicalHierarchy()
865  {
866  return "Go to the graphical class hierarchy";
867  }
868  virtual QCString trGotoTextualHierarchy()
869  {
870  return "Go to the textual class hierarchy";
871  }
872  virtual QCString trPageIndex()
873  {
874  return "Page Index";
875  }
876 
878 // new since 1.1.0
880 
881  virtual QCString trNote()
882  {
883  return "Note";
884  }
885  virtual QCString trPublicTypes()
886  {
887  return "Public Types";
888  }
889  virtual QCString trPublicAttribs()
890  {
891  if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
892  {
893  return "Data Fields";
894  }
895  else
896  {
897  return "Public Attributes";
898  }
899  }
900  virtual QCString trStaticPublicAttribs()
901  {
902  return "Static Public Attributes";
903  }
904  virtual QCString trProtectedTypes()
905  {
906  return "Protected Types";
907  }
908  virtual QCString trProtectedAttribs()
909  {
910  return "Protected Attributes";
911  }
912  virtual QCString trStaticProtectedAttribs()
913  {
914  return "Static Protected Attributes";
915  }
916  virtual QCString trPrivateTypes()
917  {
918  return "Private Types";
919  }
920  virtual QCString trPrivateAttribs()
921  {
922  return "Private Attributes";
923  }
924  virtual QCString trStaticPrivateAttribs()
925  {
926  return "Static Private Attributes";
927  }
928 
930 // new since 1.1.3
932 
934  virtual QCString trTodo()
935  {
936  return "Todo";
937  }
939  virtual QCString trTodoList()
940  {
941  return "Todo List";
942  }
943 
945 // new since 1.1.4
947 
948  virtual QCString trReferencedBy()
949  {
950  return "Referenced by";
951  }
952  virtual QCString trRemarks()
953  {
954  return "Remarks";
955  }
956  virtual QCString trAttention()
957  {
958  return "Attention";
959  }
960  virtual QCString trInclByDepGraph()
961  {
962  return "This graph shows which files directly or "
963  "indirectly include this file:";
964  }
965  virtual QCString trSince()
966  {
967  return "Since";
968  }
969 
971 // new since 1.1.5
973 
975  virtual QCString trLegendTitle()
976  {
977  return "Graph Legend";
978  }
982  virtual QCString trLegendDocs()
983  {
984  return
985  "This page explains how to interpret the graphs that are generated "
986  "by doxygen.<p>\n"
987  "Consider the following example:\n"
988  "\\code\n"
989  "/*! Invisible class because of truncation */\n"
990  "class Invisible { };\n\n"
991  "/*! Truncated class, inheritance relation is hidden */\n"
992  "class Truncated : public Invisible { };\n\n"
993  "/* Class not documented with doxygen comments */\n"
994  "class Undocumented { };\n\n"
995  "/*! Class that is inherited using public inheritance */\n"
996  "class PublicBase : public Truncated { };\n\n"
997  "/*! A template class */\n"
998  "template<class T> class Templ { };\n\n"
999  "/*! Class that is inherited using protected inheritance */\n"
1000  "class ProtectedBase { };\n\n"
1001  "/*! Class that is inherited using private inheritance */\n"
1002  "class PrivateBase { };\n\n"
1003  "/*! Class that is used by the Inherited class */\n"
1004  "class Used { };\n\n"
1005  "/*! Super class that inherits a number of other classes */\n"
1006  "class Inherited : public PublicBase,\n"
1007  " protected ProtectedBase,\n"
1008  " private PrivateBase,\n"
1009  " public Undocumented,\n"
1010  " public Templ<int>\n"
1011  "{\n"
1012  " private:\n"
1013  " Used *m_usedClass;\n"
1014  "};\n"
1015  "\\endcode\n"
1016  "This will result in the following graph:"
1017  "<p><center><img alt=\"\" src=\"graph_legend."+getDotImageExtension()+"\"></center></p>\n"
1018  "<p>\n"
1019  "The boxes in the above graph have the following meaning:\n"
1020  "</p>\n"
1021  "<ul>\n"
1022  "<li>%A filled gray box represents the struct or class for which the "
1023  "graph is generated.</li>\n"
1024  "<li>%A box with a black border denotes a documented struct or class.</li>\n"
1025  "<li>%A box with a gray border denotes an undocumented struct or class.</li>\n"
1026  "<li>%A box with a red border denotes a documented struct or class for"
1027  "which not all inheritance/containment relations are shown. %A graph is "
1028  "truncated if it does not fit within the specified boundaries.</li>\n"
1029  "</ul>\n"
1030  "<p>\n"
1031  "The arrows have the following meaning:\n"
1032  "</p>\n"
1033  "<ul>\n"
1034  "<li>%A dark blue arrow is used to visualize a public inheritance "
1035  "relation between two classes.</li>\n"
1036  "<li>%A dark green arrow is used for protected inheritance.</li>\n"
1037  "<li>%A dark red arrow is used for private inheritance.</li>\n"
1038  "<li>%A purple dashed arrow is used if a class is contained or used "
1039  "by another class. The arrow is labelled with the variable(s) "
1040  "through which the pointed class or struct is accessible.</li>\n"
1041  "<li>%A yellow dashed arrow denotes a relation between a template instance and "
1042  "the template class it was instantiated from. The arrow is labelled with "
1043  "the template parameters of the instance.</li>\n"
1044  "</ul>\n";
1045  }
1047  virtual QCString trLegend()
1048  {
1049  return "legend";
1050  }
1051 
1053 // new since 1.2.0
1055 
1057  virtual QCString trTest()
1058  {
1059  return "Test";
1060  }
1062  virtual QCString trTestList()
1063  {
1064  return "Test List";
1065  }
1066 
1068 // new since 1.2.2
1070 
1072  virtual QCString trProperties()
1073  {
1074  return "Properties";
1075  }
1077  virtual QCString trPropertyDocumentation()
1078  {
1079  return "Property Documentation";
1080  }
1081 
1083 // new since 1.2.4
1085 
1087  virtual QCString trClasses()
1088  {
1089  if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
1090  {
1091  return "Data Structures";
1092  }
1093  else
1094  {
1095  return "Classes";
1096  }
1097  }
1099  virtual QCString trPackage(const char *name)
1100  {
1101  return (QCString)"Package "+name;
1102  }
1104  virtual QCString trPackageList()
1105  {
1106  return "Package List";
1107  }
1109  virtual QCString trPackageListDescription()
1110  {
1111  return "Here are the packages with brief descriptions (if available):";
1112  }
1114  virtual QCString trPackages()
1115  {
1116  return "Packages";
1117  }
1119  virtual QCString trDefineValue()
1120  {
1121  return "Value:";
1122  }
1123 
1125 // new since 1.2.5
1127 
1129  virtual QCString trBug()
1130  {
1131  return "Bug";
1132  }
1134  virtual QCString trBugList()
1135  {
1136  return "Bug List";
1137  }
1138 
1140 // new since 1.2.6
1142 
1168  virtual QCString trRTFansicp()
1169  {
1170  return "1252";
1171  }
1172 
1173 
1177  virtual QCString trRTFCharSet()
1178  {
1179  return "0";
1180  }
1181 
1183  virtual QCString trRTFGeneralIndex()
1184  {
1185  return "Index";
1186  }
1187 
1192  virtual QCString trClass(bool first_capital, bool singular)
1193  {
1194  QCString result((first_capital ? "Class" : "class"));
1195  if (!singular) result+="es";
1196  return result;
1197  }
1198 
1203  virtual QCString trFile(bool first_capital, bool singular)
1204  {
1205  QCString result((first_capital ? "File" : "file"));
1206  if (!singular) result+="s";
1207  return result;
1208  }
1209 
1214  virtual QCString trNamespace(bool first_capital, bool singular)
1215  {
1216  QCString result((first_capital ? "Namespace" : "namespace"));
1217  if (!singular) result+="s";
1218  return result;
1219  }
1220 
1225  virtual QCString trGroup(bool first_capital, bool singular)
1226  {
1227  QCString result((first_capital ? "Module" : "module"));
1228  if (!singular) result+="s";
1229  return result;
1230  }
1231 
1236  virtual QCString trPage(bool first_capital, bool singular)
1237  {
1238  QCString result((first_capital ? "Page" : "page"));
1239  if (!singular) result+="s";
1240  return result;
1241  }
1242 
1247  virtual QCString trMember(bool first_capital, bool singular)
1248  {
1249  QCString result((first_capital ? "Member" : "member"));
1250  if (!singular) result+="s";
1251  return result;
1252  }
1253 
1258  virtual QCString trGlobal(bool first_capital, bool singular)
1259  {
1260  QCString result((first_capital ? "Global" : "global"));
1261  if (!singular) result+="s";
1262  return result;
1263  }
1264 
1266 // new since 1.2.7
1268 
1271  virtual QCString trAuthor(bool first_capital, bool singular)
1272  {
1273  QCString result((first_capital ? "Author" : "author"));
1274  if (!singular) result+="s";
1275  return result;
1276  }
1277 
1279 // new since 1.2.11
1281 
1284  virtual QCString trReferences()
1285  {
1286  return "References";
1287  }
1288 
1290 // new since 1.2.13
1292 
1296  virtual QCString trImplementedFromList(int numEntries)
1297  {
1298  return "Implements "+trWriteList(numEntries)+".";
1299  }
1300 
1304  virtual QCString trImplementedInList(int numEntries)
1305  {
1306  return "Implemented in "+trWriteList(numEntries)+".";
1307  }
1308 
1310 // new since 1.2.16
1312 
1316  virtual QCString trRTFTableOfContents()
1317  {
1318  return "Table of Contents";
1319  }
1320 
1322 // new since 1.2.17
1324 
1328  virtual QCString trDeprecatedList()
1329  {
1330  return "Deprecated List";
1331  }
1332 
1334 // new since 1.2.18
1336 
1340  virtual QCString trEvents()
1341  {
1342  return "Events";
1343  }
1345  virtual QCString trEventDocumentation()
1346  {
1347  return "Event Documentation";
1348  }
1349 
1351 // new since 1.3
1353 
1356  virtual QCString trPackageTypes()
1357  {
1358  return "Package Types";
1359  }
1363  virtual QCString trPackageMembers()
1364  {
1365  return "Package Functions";
1366  }
1370  virtual QCString trStaticPackageMembers()
1371  {
1372  return "Static Package Functions";
1373  }
1377  virtual QCString trPackageAttribs()
1378  {
1379  return "Package Attributes";
1380  }
1384  virtual QCString trStaticPackageAttribs()
1385  {
1386  return "Static Package Attributes";
1387  }
1388 
1390 // new since 1.3.1
1392 
1396  virtual QCString trAll()
1397  {
1398  return "All";
1399  }
1401  virtual QCString trCallGraph()
1402  {
1403  return "Here is the call graph for this function:";
1404  }
1405 
1407 // new since 1.3.3
1409 
1413  virtual QCString trSearchResultsTitle()
1414  {
1415  return "Search Results";
1416  }
1425  virtual QCString trSearchResults(int numDocuments)
1426  {
1427  if (numDocuments==0)
1428  {
1429  return "Sorry, no documents matching your query.";
1430  }
1431  else if (numDocuments==1)
1432  {
1433  return "Found <b>1</b> document matching your query.";
1434  }
1435  else
1436  {
1437  return "Found <b>$num</b> documents matching your query. "
1438  "Showing best matches first.";
1439  }
1440  }
1444  virtual QCString trSearchMatches()
1445  {
1446  return "Matches:";
1447  }
1448 
1450 // new since 1.3.8
1452 
1455  virtual QCString trSourceFile(QCString& filename)
1456  {
1457  return filename + " Source File";
1458  }
1459 
1461 // new since 1.3.9
1463 
1467  virtual QCString trDirIndex()
1468  { return "Directory Hierarchy"; }
1469 
1473  virtual QCString trDirDocumentation()
1474  { return "Directory Documentation"; }
1475 
1479  virtual QCString trDirectories()
1480  { return "Directories"; }
1481 
1485  virtual QCString trDirDescription()
1486  { return "This directory hierarchy is sorted roughly, "
1487  "but not completely, alphabetically:";
1488  }
1489 
1493  virtual QCString trDirReference(const char *dirName)
1494  { QCString result=dirName; result+=" Directory Reference"; return result; }
1495 
1499  virtual QCString trDir(bool first_capital, bool singular)
1500  {
1501  QCString result((first_capital ? "Director" : "director"));
1502  if (singular) result+="y"; else result+="ies";
1503  return result;
1504  }
1505 
1507 // new since 1.4.1
1509 
1513  virtual QCString trOverloadText()
1514  {
1515  return "This is an overloaded member function, "
1516  "provided for convenience. It differs from the above "
1517  "function only in what argument(s) it accepts.";
1518  }
1519 
1521 // new since 1.4.6
1523 
1525  virtual QCString trCallerGraph()
1526  {
1527  return "Here is the caller graph for this function:";
1528  }
1529 
1534  { return "Enumerator Documentation"; }
1535 
1537 // new since 1.5.4 (mainly for Fortran)
1539 
1542  { return "Member Function/Subroutine Documentation"; }
1543 
1545  virtual QCString trCompoundListFortran()
1546  { return "Data Types List"; }
1547 
1549  virtual QCString trCompoundMembersFortran()
1550  { return "Data Fields"; }
1551 
1554  { return "Here are the data types with brief descriptions:"; }
1555 
1557  virtual QCString trCompoundMembersDescriptionFortran(bool extractAll)
1558  {
1559  QCString result="Here is a list of all ";
1560  if (!extractAll)
1561  {
1562  result+="documented ";
1563  }
1564  result+="data types members";
1565  result+=" with links to ";
1566  if (!extractAll)
1567  {
1568  result+="the data structure documentation for each member";
1569  }
1570  else
1571  {
1572  result+="the data types they belong to:";
1573  }
1574  return result;
1575  }
1576 
1580  virtual QCString trCompoundIndexFortran()
1581  { return "Data Type Index"; }
1582 
1586  virtual QCString trTypeDocumentation()
1587  { return "Data Type Documentation"; }
1588 
1592  virtual QCString trSubprograms()
1593  { return "Functions/Subroutines"; }
1594 
1598  virtual QCString trSubprogramDocumentation()
1599  { return "Function/Subroutine Documentation"; }
1600 
1604  virtual QCString trDataTypes()
1605  { return "Data Types"; }
1606 
1608  virtual QCString trModulesList()
1609  { return "Modules List"; }
1610 
1612  virtual QCString trModulesListDescription(bool extractAll)
1613  {
1614  QCString result="Here is a list of all ";
1615  if (!extractAll) result+="documented ";
1616  result+="modules with brief descriptions:";
1617  return result;
1618  }
1619 
1621  virtual QCString trCompoundReferenceFortran(const char *clName,
1622  ClassDef::CompoundType compType,
1623  bool isTemplate)
1624  {
1625  QCString result=(QCString)clName;
1626  switch(compType)
1627  {
1628  case ClassDef::Class: result+=" Module"; break;
1629  case ClassDef::Struct: result+=" Type"; break;
1630  case ClassDef::Union: result+=" Union"; break;
1631  case ClassDef::Interface: result+=" Interface"; break;
1632  case ClassDef::Protocol: result+=" Protocol"; break;
1633  case ClassDef::Category: result+=" Category"; break;
1634  case ClassDef::Exception: result+=" Exception"; break;
1635  default: break;
1636  }
1637  if (isTemplate) result+=" Template";
1638  result+=" Reference";
1639  return result;
1640  }
1642  virtual QCString trModuleReference(const char *namespaceName)
1643  {
1644  QCString result=namespaceName;
1645  result+=" Module Reference";
1646  return result;
1647  }
1648 
1650  virtual QCString trModulesMembers()
1651  { return "Module Members"; }
1652 
1654  virtual QCString trModulesMemberDescription(bool extractAll)
1655  {
1656  QCString result="Here is a list of all ";
1657  if (!extractAll) result+="documented ";
1658  result+="module members with links to ";
1659  if (extractAll)
1660  {
1661  result+="the module documentation for each member:";
1662  }
1663  else
1664  {
1665  result+="the modules they belong to:";
1666  }
1667  return result;
1668  }
1669 
1673  virtual QCString trModulesIndex()
1674  { return "Modules Index"; }
1675 
1680  virtual QCString trModule(bool first_capital, bool singular)
1681  {
1682  QCString result((first_capital ? "Module" : "module"));
1683  if (!singular) result+="s";
1684  return result;
1685  }
1686 
1691  bool single)
1692  {
1693  // single is true implies a single file
1694  QCString result=(QCString)"The documentation for this ";
1695  switch(compType)
1696  {
1697  case ClassDef::Class: result+="module"; break;
1698  case ClassDef::Struct: result+="type"; break;
1699  case ClassDef::Union: result+="union"; break;
1700  case ClassDef::Interface: result+="interface"; break;
1701  case ClassDef::Protocol: result+="protocol"; break;
1702  case ClassDef::Category: result+="category"; break;
1703  case ClassDef::Exception: result+="exception"; break;
1704  default: break;
1705  }
1706  result+=" was generated from the following file";
1707  if (single) result+=":"; else result+="s:";
1708  return result;
1709  }
1710 
1715  virtual QCString trType(bool first_capital, bool singular)
1716  {
1717  QCString result((first_capital ? "Type" : "type"));
1718  if (!singular) result+="s";
1719  return result;
1720  }
1721 
1726  virtual QCString trSubprogram(bool first_capital, bool singular)
1727  {
1728  QCString result((first_capital ? "Subprogram" : "subprogram"));
1729  if (!singular) result+="s";
1730  return result;
1731  }
1732 
1734  virtual QCString trTypeConstraints()
1735  {
1736  return "Type Constraints";
1737  }
1738 
1740 // new since 1.6.0 (mainly for the new search engine)
1742 
1744  virtual QCString trDirRelation(const char *name)
1745  {
1746  return QCString(name)+" Relation";
1747  }
1748 
1750  virtual QCString trLoading()
1751  {
1752  return "Loading...";
1753  }
1754 
1756  virtual QCString trGlobalNamespace()
1757  {
1758  return "Global Namespace";
1759  }
1760 
1762  virtual QCString trSearching()
1763  {
1764  return "Searching...";
1765  }
1766 
1768  virtual QCString trNoMatches()
1769  {
1770  return "No Matches";
1771  }
1772 
1774 // new since 1.6.3 (missing items for the directory pages)
1776 
1781  virtual QCString trFileIn(const char *name)
1782  {
1783  return (QCString)"File in "+name;
1784  }
1785 
1790  virtual QCString trIncludesFileIn(const char *name)
1791  {
1792  return (QCString)"Includes file in "+name;
1793  }
1794 
1805  virtual QCString trDateTime(int year,int month,int day,int dayOfWeek,
1806  int hour,int minutes,int seconds,
1807  bool includeTime)
1808  {
1809  static const char *days[] = { "Mon","Tue","Wed","Thu","Fri","Sat","Sun" };
1810  static const char *months[] = { "Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec" };
1811  QCString sdate;
1812  sdate.sprintf("%s %s %d %d",days[dayOfWeek-1],months[month-1],day,year);
1813  if (includeTime)
1814  {
1815  QCString stime;
1816  stime.sprintf(" %.2d:%.2d:%.2d",hour,minutes,seconds);
1817  sdate+=stime;
1818  }
1819  return sdate;
1820  }
1821 
1823 // new since 1.7.5
1825 
1827  virtual QCString trCiteReferences()
1828  { return "Bibliography"; }
1829 
1831  virtual QCString trCopyright()
1832  { return "Copyright"; }
1833 
1835  virtual QCString trDirDepGraph(const char *name)
1836  { return QCString("Directory dependency graph for ")+name+":"; }
1837 
1839 // new since 1.8.0
1841 
1843  virtual QCString trDetailLevel()
1844  { return "detail level"; }
1845 
1847  virtual QCString trTemplateParameters()
1848  { return "Template Parameters"; }
1849 
1851  virtual QCString trAndMore(const QCString &number)
1852  { return "and "+number+" more..."; }
1853 
1855  virtual QCString trEnumGeneratedFromFiles(bool single)
1856  { QCString result = "The documentation for this enum was generated from the following file";
1857  if (!single) result += "s";
1858  result+=":";
1859  return result;
1860  }
1861 
1863  virtual QCString trEnumReference(const char *name)
1864  { return QCString(name)+" Enum Reference"; }
1865 
1867  virtual QCString trInheritedFrom(const char *members,const char *what)
1868  { return QCString(members)+" inherited from "+what; }
1869 
1873  virtual QCString trAdditionalInheritedMembers()
1874  { return "Additional Inherited Members"; }
1875 
1877 // new since 1.8.2
1879 
1884  virtual QCString trPanelSynchronisationTooltip(bool enable)
1885  {
1886  QCString opt = enable ? "enable" : "disable";
1887  return "click to "+opt+" panel synchronisation";
1888  }
1889 
1894  virtual QCString trProvidedByCategory()
1895  {
1896  return "Provided by category @0.";
1897  }
1898 
1903  virtual QCString trExtendsClass()
1904  {
1905  return "Extends class @0.";
1906  }
1907 
1911  virtual QCString trClassMethods()
1912  {
1913  return "Class Methods";
1914  }
1915 
1919  virtual QCString trInstanceMethods()
1920  {
1921  return "Instance Methods";
1922  }
1923 
1926  virtual QCString trMethodDocumentation()
1927  {
1928  return "Method Documentation";
1929  }
1930 
1934  virtual QCString trDesignOverview()
1935  {
1936  return "Design Overview";
1937  }
1938 
1940 // new since 1.8.4
1942 
1944  virtual QCString trInterfaces()
1945  { return "Exported Interfaces"; }
1946 
1948  virtual QCString trServices()
1949  { return "Included Services"; }
1950 
1952  virtual QCString trConstantGroups()
1953  { return "Constant Groups"; }
1954 
1956  virtual QCString trConstantGroupReference(const char *namespaceName)
1957  {
1958  QCString result=namespaceName;
1959  result+=" Constant Group Reference";
1960  return result;
1961  }
1963  virtual QCString trServiceReference(const char *sName)
1964  {
1965  QCString result=(QCString)sName;
1966  result+=" Service Reference";
1967  return result;
1968  }
1970  virtual QCString trSingletonReference(const char *sName)
1971  {
1972  QCString result=(QCString)sName;
1973  result+=" Singleton Reference";
1974  return result;
1975  }
1977  virtual QCString trServiceGeneratedFromFiles(bool single)
1978  {
1979  // single is true implies a single file
1980  QCString result=(QCString)"The documentation for this service "
1981  "was generated from the following file";
1982  if (single) result+=":"; else result+="s:";
1983  return result;
1984  }
1986  virtual QCString trSingletonGeneratedFromFiles(bool single)
1987  {
1988  // single is true implies a single file
1989  QCString result=(QCString)"The documentation for this singleton "
1990  "was generated from the following file";
1991  if (single) result+=":"; else result+="s:";
1992  return result;
1993  }
1994 
1996 
1997 };
1998 
1999 #endif