translator_en.h

Go to the documentation of this file.
00001 /******************************************************************************
00002  *
00003  * 
00004  *
00005  * Copyright (C) 1997-2008 by Dimitri van Heesch.
00006  *
00007  * Permission to use, copy, modify, and distribute this software and its
00008  * documentation under the terms of the GNU General Public License is hereby 
00009  * granted. No representations are made about the suitability of this software 
00010  * for any purpose. It is provided "as is" without express or implied warranty.
00011  * See the GNU General Public License for more details.
00012  *
00013  * Documents produced by Doxygen are derivative works derived from the
00014  * input used in their production; they are not affected by this license.
00015  *
00016  */
00017 
00018 #ifndef TRANSLATOR_EN_H
00019 #define TRANSLATOR_EN_H
00020 
00043 class TranslatorEnglish : public Translator
00044 {
00045   public:
00046 
00047     // --- Language control methods -------------------
00048     
00055     virtual QCString idLanguage()
00056     { return "english"; }
00057     
00072     virtual QCString latexLanguageSupportCommand()
00073     {
00074       return "";
00075     }
00076 
00078     virtual QCString idLanguageCharset()
00079     {
00080       return "iso-8859-1";
00081     }
00082 
00083     // --- Language translation methods -------------------
00084 
00086     virtual QCString trRelatedFunctions()
00087     { return "Related Functions"; }
00088 
00090     virtual QCString trRelatedSubscript()
00091     { return "(Note that these are not member functions.)"; }
00092 
00094     virtual QCString trDetailedDescription()
00095     { return "Detailed Description"; }
00096 
00098     virtual QCString trMemberTypedefDocumentation()
00099     { return "Member Typedef Documentation"; }
00100     
00102     virtual QCString trMemberEnumerationDocumentation()
00103     { return "Member Enumeration Documentation"; }
00104     
00106     virtual QCString trMemberFunctionDocumentation()
00107     { return "Member Function Documentation"; }
00108     
00110     virtual QCString trMemberDataDocumentation()
00111     { 
00112       if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
00113       {
00114         return "Field Documentation"; 
00115       }
00116       else
00117       {
00118         return "Member Data Documentation"; 
00119       }
00120     }
00121 
00123     virtual QCString trMore() 
00124     { return "More..."; }
00125 
00127     virtual QCString trListOfAllMembers()
00128     { return "List of all members."; }
00129 
00131     virtual QCString trMemberList()
00132     { return "Member List"; }
00133 
00135     virtual QCString trThisIsTheListOfAllMembers()
00136     { return "This is the complete list of members for "; }
00137 
00139     virtual QCString trIncludingInheritedMembers()
00140     { return ", including all inherited members."; }
00141     
00145     virtual QCString trGeneratedAutomatically(const char *s)
00146     { QCString result="Generated automatically by Doxygen";
00147       if (s) result+=(QCString)" for "+s;
00148       result+=" from the source code."; 
00149       return result;
00150     }
00151 
00153     virtual QCString trEnumName()
00154     { return "enum name"; }
00155     
00157     virtual QCString trEnumValue()
00158     { return "enum value"; }
00159     
00161     virtual QCString trDefinedIn()
00162     { return "defined in"; }
00163 
00164     // quick reference sections
00165 
00169     virtual QCString trModules()
00170     { return "Modules"; }
00171     
00173     virtual QCString trClassHierarchy()
00174     { return "Class Hierarchy"; }
00175     
00177     virtual QCString trCompoundList()
00178     { 
00179       if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
00180       {
00181         return "Data Structures";
00182       }
00183       else
00184       {
00185         return "Class List"; 
00186       }
00187     }
00188     
00190     virtual QCString trFileList()
00191     { return "File List"; }
00192 
00194     virtual QCString trCompoundMembers()
00195     { 
00196       if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
00197       {
00198         return "Data Fields"; 
00199       }
00200       else
00201       {
00202         return "Class Members"; 
00203       }
00204     }
00205 
00207     virtual QCString trFileMembers()
00208     { 
00209       if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
00210       {
00211         return "Globals"; 
00212       }
00213       else
00214       {
00215         return "File Members"; 
00216       }
00217     }
00218 
00220     virtual QCString trRelatedPages()
00221     { return "Related Pages"; }
00222 
00224     virtual QCString trExamples()
00225     { return "Examples"; }
00226 
00228     virtual QCString trSearch()
00229     { return "Search"; }
00230 
00232     virtual QCString trClassHierarchyDescription()
00233     { return "This inheritance list is sorted roughly, "
00234              "but not completely, alphabetically:";
00235     }
00236 
00238     virtual QCString trFileListDescription(bool extractAll)
00239     {
00240       QCString result="Here is a list of all ";
00241       if (!extractAll) result+="documented ";
00242       result+="files with brief descriptions:";
00243       return result;
00244     }
00245 
00247     virtual QCString trCompoundListDescription()
00248     { 
00249       
00250       if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
00251       {
00252         return "Here are the data structures with brief descriptions:"; 
00253       }
00254       else
00255       {
00256         return "Here are the classes, structs, "
00257                "unions and interfaces with brief descriptions:"; 
00258       }
00259     }
00260 
00262     virtual QCString trCompoundMembersDescription(bool extractAll)
00263     {
00264       QCString result="Here is a list of all ";
00265       if (!extractAll)
00266       {
00267         result+="documented ";
00268       }
00269       if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
00270       {
00271         result+="struct and union fields";
00272       }
00273       else
00274       {
00275         result+="class members";
00276       }
00277       result+=" with links to ";
00278       if (!extractAll) 
00279       {
00280         if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
00281         {
00282           result+="the struct/union documentation for each field:";
00283         }
00284         else
00285         {
00286           result+="the class documentation for each member:";
00287         }
00288       }
00289       else 
00290       {
00291         if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
00292         {
00293           result+="the structures/unions they belong to:";
00294         }
00295         else
00296         {
00297           result+="the classes they belong to:";
00298         }
00299       }
00300       return result;
00301     }
00302 
00304     virtual QCString trFileMembersDescription(bool extractAll)
00305     {
00306       QCString result="Here is a list of all ";
00307       if (!extractAll) result+="documented ";
00308       
00309       if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
00310       {
00311         result+="functions, variables, defines, enums, and typedefs";
00312       }
00313       else
00314       {
00315         result+="file members";
00316       }
00317       result+=" with links to ";
00318       if (extractAll) 
00319         result+="the files they belong to:";
00320       else 
00321         result+="the documentation:";
00322       return result;
00323     }
00324 
00326     virtual QCString trExamplesDescription()
00327     { return "Here is a list of all examples:"; }
00328 
00330     virtual QCString trRelatedPagesDescription()
00331     { return "Here is a list of all related documentation pages:"; }
00332 
00334     virtual QCString trModulesDescription()
00335     { return "Here is a list of all modules:"; }
00336 
00337     // index titles (the project name is prepended for these) 
00338 
00340     virtual QCString trDocumentation()
00341     { return "Documentation"; }
00342 
00346     virtual QCString trModuleIndex()
00347     { return "Module Index"; }
00348 
00352     virtual QCString trHierarchicalIndex()
00353     { return "Hierarchical Index"; }
00354 
00358     virtual QCString trCompoundIndex()
00359     {
00360       if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
00361       { 
00362         return "Data Structure Index";
00363       }
00364       else
00365       {
00366         return "Class Index"; 
00367       }
00368     }
00369 
00373     virtual QCString trFileIndex() 
00374     { return "File Index"; }
00375 
00379     virtual QCString trModuleDocumentation()
00380     { return "Module Documentation"; }
00381 
00385     virtual QCString trClassDocumentation()
00386     { 
00387       if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
00388       {
00389         return "Data Structure Documentation"; 
00390       }
00391       else
00392       {
00393         return "Class Documentation"; 
00394       }
00395     }
00396 
00400     virtual QCString trFileDocumentation()
00401     { return "File Documentation"; }
00402 
00406     virtual QCString trExampleDocumentation()
00407     { return "Example Documentation"; }
00408 
00412     virtual QCString trPageDocumentation()
00413     { return "Page Documentation"; }
00414 
00416     virtual QCString trReferenceManual()
00417     { return "Reference Manual"; }
00418     
00422     virtual QCString trDefines()
00423     { return "Defines"; }
00424 
00428     virtual QCString trFuncProtos()
00429     { return "Function Prototypes"; }
00430 
00434     virtual QCString trTypedefs()
00435     { return "Typedefs"; }
00436 
00440     virtual QCString trEnumerations()
00441     { return "Enumerations"; }
00442 
00446     virtual QCString trFunctions()
00447     { return "Functions"; }
00448 
00452     virtual QCString trVariables()
00453     { return "Variables"; }
00454 
00458     virtual QCString trEnumerationValues()
00459     { return "Enumerator"; }
00460     
00464     virtual QCString trDefineDocumentation()
00465     { return "Define Documentation"; }
00466 
00470     virtual QCString trFunctionPrototypeDocumentation()
00471     { return "Function Prototype Documentation"; }
00472 
00476     virtual QCString trTypedefDocumentation()
00477     { return "Typedef Documentation"; }
00478 
00482     virtual QCString trEnumerationTypeDocumentation()
00483     { return "Enumeration Type Documentation"; }
00484 
00488     virtual QCString trFunctionDocumentation()
00489     { return "Function Documentation"; }
00490 
00494     virtual QCString trVariableDocumentation()
00495     { return "Variable Documentation"; }
00496 
00500     virtual QCString trCompounds()
00501     { 
00502       if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
00503       {
00504         return "Data Structures"; 
00505       }
00506       else
00507       {
00508         return "Classes"; 
00509       }
00510     }
00511 
00515     virtual QCString trGeneratedAt(const char *date,const char *projName)
00516     { 
00517       QCString result=(QCString)"Generated on "+date;
00518       if (projName) result+=(QCString)" for "+projName;
00519       result+=(QCString)" by";
00520       return result;
00521     }
00524     virtual QCString trWrittenBy()
00525     {
00526       return "written by";
00527     }
00528 
00530     virtual QCString trClassDiagram(const char *clName)
00531     {
00532       return (QCString)"Inheritance diagram for "+clName+":";
00533     }
00534     
00536     virtual QCString trForInternalUseOnly()
00537     { return "For internal use only."; }
00538 
00540     virtual QCString trWarning()
00541     { return "Warning"; }
00542 
00544     virtual QCString trVersion()
00545     { return "Version"; }
00546 
00548     virtual QCString trDate()
00549     { return "Date"; }
00550 
00552     virtual QCString trReturns()
00553     { return "Returns"; }
00554 
00556     virtual QCString trSeeAlso()
00557     { return "See also"; }
00558 
00560     virtual QCString trParameters()
00561     { return "Parameters"; }
00562 
00564     virtual QCString trExceptions()
00565     { return "Exceptions"; }
00566     
00568     virtual QCString trGeneratedBy()
00569     { return "Generated by"; }
00570 
00572 // new since 0.49-990307
00574     
00576     virtual QCString trNamespaceList()
00577     { return "Namespace List"; }
00578 
00580     virtual QCString trNamespaceListDescription(bool extractAll)
00581     {
00582       QCString result="Here is a list of all ";
00583       if (!extractAll) result+="documented ";
00584       result+="namespaces with brief descriptions:";
00585       return result;
00586     }
00587 
00591     virtual QCString trFriends()
00592     { return "Friends"; }
00593     
00595 // new since 0.49-990405
00597     
00601     virtual QCString trRelatedFunctionDocumentation()
00602     { return "Friends And Related Function Documentation"; }
00603     
00605 // new since 0.49-990425
00607 
00609     virtual QCString trCompoundReference(const char *clName,
00610                                     ClassDef::CompoundType compType,
00611                                     bool isTemplate)
00612     {
00613       QCString result=(QCString)clName;
00614       switch(compType)
00615       {
00616         case ClassDef::Class:      result+=" Class"; break;
00617         case ClassDef::Struct:     result+=" Struct"; break;
00618         case ClassDef::Union:      result+=" Union"; break;
00619         case ClassDef::Interface:  result+=" Interface"; break;
00620         case ClassDef::Protocol:   result+=" Protocol"; break;
00621         case ClassDef::Category:   result+=" Category"; break;
00622         case ClassDef::Exception:  result+=" Exception"; break;
00623       }
00624       if (isTemplate) result+=" Template";
00625       result+=" Reference";
00626       return result;
00627     }
00628 
00630     virtual QCString trFileReference(const char *fileName)
00631     {
00632       QCString result=fileName;
00633       result+=" File Reference"; 
00634       return result;
00635     }
00636 
00638     virtual QCString trNamespaceReference(const char *namespaceName)
00639     {
00640       QCString result=namespaceName;
00641       result+=" Namespace Reference";
00642       return result;
00643     }
00644     
00645     virtual QCString trPublicMembers()
00646     { return "Public Member Functions"; }
00647     virtual QCString trPublicSlots()
00648     { return "Public Slots"; }
00649     virtual QCString trSignals()
00650     { return "Signals"; }
00651     virtual QCString trStaticPublicMembers()
00652     { return "Static Public Member Functions"; }
00653     virtual QCString trProtectedMembers()
00654     { return "Protected Member Functions"; }
00655     virtual QCString trProtectedSlots()
00656     { return "Protected Slots"; }
00657     virtual QCString trStaticProtectedMembers()
00658     { return "Static Protected Member Functions"; }
00659     virtual QCString trPrivateMembers()
00660     { return "Private Member Functions"; }
00661     virtual QCString trPrivateSlots()
00662     { return "Private Slots"; }
00663     virtual QCString trStaticPrivateMembers()
00664     { return "Static Private Member Functions"; }
00665     
00669     virtual QCString trWriteList(int numEntries)
00670     {
00671       QCString result;
00672       int i;
00673       // the inherits list contain `numEntries' classes
00674       for (i=0;i<numEntries;i++) 
00675       {
00676         // use generateMarker to generate placeholders for the class links!
00677         result+=generateMarker(i); // generate marker for entry i in the list 
00678                                    // (order is left to right)
00679         
00680         if (i!=numEntries-1)  // not the last entry, so we need a separator
00681         {
00682           if (i<numEntries-2) // not the fore last entry 
00683             result+=", ";
00684           else                // the fore last entry
00685             result+=", and ";
00686         }
00687       }
00688       return result; 
00689     }
00690     
00694     virtual QCString trInheritsList(int numEntries)
00695     {
00696       return "Inherits "+trWriteList(numEntries)+".";
00697     }
00698 
00702     virtual QCString trInheritedByList(int numEntries)
00703     {
00704       return "Inherited by "+trWriteList(numEntries)+".";
00705     }
00706 
00710     virtual QCString trReimplementedFromList(int numEntries)
00711     {
00712       return "Reimplemented from "+trWriteList(numEntries)+".";
00713     }
00714 
00718     virtual QCString trReimplementedInList(int numEntries)
00719     {
00720       return "Reimplemented in "+trWriteList(numEntries)+".";
00721     }
00722 
00724     virtual QCString trNamespaceMembers()
00725     { return "Namespace Members"; }
00726 
00728     virtual QCString trNamespaceMemberDescription(bool extractAll)
00729     { 
00730       QCString result="Here is a list of all ";
00731       if (!extractAll) result+="documented ";
00732       result+="namespace members with links to ";
00733       if (extractAll) 
00734         result+="the namespace documentation for each member:";
00735       else 
00736         result+="the namespaces they belong to:";
00737       return result;
00738     }
00742     virtual QCString trNamespaceIndex()
00743     { return "Namespace Index"; }
00744 
00748     virtual QCString trNamespaceDocumentation()
00749     { return "Namespace Documentation"; }
00750 
00752 // new since 0.49-990522
00754 
00758     virtual QCString trNamespaces()
00759     { return "Namespaces"; }
00760 
00762 // new since 0.49-990728
00764 
00768     virtual QCString trGeneratedFromFiles(ClassDef::CompoundType compType,
00769         bool single)
00770     { // here s is one of " Class", " Struct" or " Union"
00771       // single is true implies a single file
00772       QCString result=(QCString)"The documentation for this ";
00773       switch(compType)
00774       {
00775         case ClassDef::Class:      result+="class"; break;
00776         case ClassDef::Struct:     result+="struct"; break;
00777         case ClassDef::Union:      result+="union"; break;
00778         case ClassDef::Interface:  result+="interface"; break;
00779         case ClassDef::Protocol:   result+="protocol"; break;
00780         case ClassDef::Category:   result+="category"; break;
00781         case ClassDef::Exception:  result+="exception"; break;
00782       }
00783       result+=" was generated from the following file";
00784       if (single) result+=":"; else result+="s:";
00785       return result;
00786     }
00787 
00791     virtual QCString trAlphabeticalList()
00792     { return "Alphabetical List"; }
00793 
00795 // new since 0.49-990901
00797 
00799     virtual QCString trReturnValues()
00800     { return "Return values"; }
00801 
00804     virtual QCString trMainPage()
00805     { return "Main Page"; }
00806 
00810     virtual QCString trPageAbbreviation()
00811     { return "p."; }
00812 
00814 // new since 0.49-991003
00816 
00817     virtual QCString trDefinedAtLineInSourceFile()
00818     {
00819       return "Definition at line @0 of file @1.";
00820     }
00821     virtual QCString trDefinedInSourceFile()
00822     {
00823       return "Definition in file @0.";
00824     }
00825 
00827 // new since 0.49-991205
00829 
00830     virtual QCString trDeprecated()
00831     {
00832       return "Deprecated";
00833     }
00834 
00836 // new since 1.0.0
00838 
00840     virtual QCString trCollaborationDiagram(const char *clName)
00841     {
00842       return (QCString)"Collaboration diagram for "+clName+":";
00843     }
00845     virtual QCString trInclDepGraph(const char *fName)
00846     {
00847       return (QCString)"Include dependency graph for "+fName+":";
00848     }
00850     virtual QCString trConstructorDocumentation()
00851     {
00852       return "Constructor & Destructor Documentation"; 
00853     }
00855     virtual QCString trGotoSourceCode()
00856     {
00857       return "Go to the source code of this file.";
00858     }
00860     virtual QCString trGotoDocumentation()
00861     {
00862       return "Go to the documentation of this file.";
00863     }
00865     virtual QCString trPrecondition()
00866     {
00867       return "Precondition";
00868     }
00870     virtual QCString trPostcondition()
00871     {
00872       return "Postcondition";
00873     }
00875     virtual QCString trInvariant()
00876     {
00877       return "Invariant";
00878     }
00880     virtual QCString trInitialValue()
00881     {
00882       return "Initial value:";
00883     }
00885     virtual QCString trCode()
00886     {
00887       return "code";
00888     }
00889     virtual QCString trGraphicalHierarchy()
00890     {
00891       return "Graphical Class Hierarchy";
00892     }
00893     virtual QCString trGotoGraphicalHierarchy()
00894     {
00895       return "Go to the graphical class hierarchy";
00896     }
00897     virtual QCString trGotoTextualHierarchy()
00898     {
00899       return "Go to the textual class hierarchy";
00900     }
00901     virtual QCString trPageIndex()
00902     {
00903       return "Page Index";
00904     }
00905 
00907 // new since 1.1.0
00909     
00910     virtual QCString trNote()
00911     {
00912       return "Note";
00913     }
00914     virtual QCString trPublicTypes()
00915     {
00916       return "Public Types";
00917     }
00918     virtual QCString trPublicAttribs()
00919     {
00920       if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
00921       {
00922         return "Data Fields";
00923       }
00924       else
00925       {
00926         return "Public Attributes";
00927       }
00928     }
00929     virtual QCString trStaticPublicAttribs()
00930     {
00931       return "Static Public Attributes";
00932     }
00933     virtual QCString trProtectedTypes()
00934     {
00935       return "Protected Types";
00936     }
00937     virtual QCString trProtectedAttribs()
00938     {
00939       return "Protected Attributes";
00940     }
00941     virtual QCString trStaticProtectedAttribs()
00942     {
00943       return "Static Protected Attributes";
00944     }
00945     virtual QCString trPrivateTypes()
00946     {
00947       return "Private Types";
00948     }
00949     virtual QCString trPrivateAttribs()
00950     {
00951       return "Private Attributes";
00952     }
00953     virtual QCString trStaticPrivateAttribs()
00954     {
00955       return "Static Private Attributes";
00956     }
00957 
00959 // new since 1.1.3
00961 
00963     virtual QCString trTodo()
00964     {
00965       return "Todo";
00966     }
00968     virtual QCString trTodoList()
00969     {
00970       return "Todo List";
00971     }
00972 
00974 // new since 1.1.4
00976 
00977     virtual QCString trReferencedBy()
00978     {
00979       return "Referenced by";
00980     }
00981     virtual QCString trRemarks()
00982     {
00983       return "Remarks";
00984     }
00985     virtual QCString trAttention()
00986     {
00987       return "Attention";
00988     }
00989     virtual QCString trInclByDepGraph()
00990     {
00991       return "This graph shows which files directly or "
00992              "indirectly include this file:";
00993     }
00994     virtual QCString trSince()
00995     {
00996       return "Since";
00997     }
00998     
01000 // new since 1.1.5
01002 
01004     virtual QCString trLegendTitle()
01005     {
01006       return "Graph Legend";
01007     }
01011     virtual QCString trLegendDocs()
01012     {
01013       return 
01014         "This page explains how to interpret the graphs that are generated "
01015         "by doxygen.<p>\n"
01016         "Consider the following example:\n"
01017         "\\code\n"
01018         "/*! Invisible class because of truncation */\n"
01019         "class Invisible { };\n\n"
01020         "/*! Truncated class, inheritance relation is hidden */\n"
01021         "class Truncated : public Invisible { };\n\n"
01022         "/* Class not documented with doxygen comments */\n"
01023         "class Undocumented { };\n\n"
01024         "/*! Class that is inherited using public inheritance */\n"
01025         "class PublicBase : public Truncated { };\n\n"
01026         "/*! A template class */\n"
01027         "template<class T> class Templ { };\n\n"
01028         "/*! Class that is inherited using protected inheritance */\n"
01029         "class ProtectedBase { };\n\n"
01030         "/*! Class that is inherited using private inheritance */\n"
01031         "class PrivateBase { };\n\n"
01032         "/*! Class that is used by the Inherited class */\n"
01033         "class Used { };\n\n"
01034         "/*! Super class that inherits a number of other classes */\n"
01035         "class Inherited : public PublicBase,\n"
01036         "                  protected ProtectedBase,\n"
01037         "                  private PrivateBase,\n"
01038         "                  public Undocumented,\n"
01039         "                  public Templ<int>\n"
01040         "{\n"
01041         "  private:\n"
01042         "    Used *m_usedClass;\n"
01043         "};\n"
01044         "\\endcode\n"
01045         "If the \\c MAX_DOT_GRAPH_HEIGHT tag in the configuration file "
01046         "is set to 240 this will result in the following graph:"
01047         "<p><center><img alt=\"\" src=\"graph_legend."+Config_getEnum("DOT_IMAGE_FORMAT")+"\"></center>\n"
01048         "<p>\n"
01049         "The boxes in the above graph have the following meaning:\n"
01050         "<ul>\n"
01051         "<li>%A filled gray box represents the struct or class for which the "
01052         "graph is generated.\n"
01053         "<li>%A box with a black border denotes a documented struct or class.\n"
01054         "<li>%A box with a grey border denotes an undocumented struct or class.\n"
01055         "<li>%A box with a red border denotes a documented struct or class for"
01056         "which not all inheritance/containment relations are shown. %A graph is "
01057         "truncated if it does not fit within the specified boundaries.\n"
01058         "</ul>\n"
01059         "The arrows have the following meaning:\n"
01060         "<ul>\n"
01061         "<li>%A dark blue arrow is used to visualize a public inheritance "
01062         "relation between two classes.\n"
01063         "<li>%A dark green arrow is used for protected inheritance.\n"
01064         "<li>%A dark red arrow is used for private inheritance.\n"
01065         "<li>%A purple dashed arrow is used if a class is contained or used "
01066         "by another class. The arrow is labeled with the variable(s) "
01067         "through which the pointed class or struct is accessible.\n"
01068         "<li>%A yellow dashed arrow denotes a relation between a template instance and "
01069         "the template class it was instantiated from. The arrow is labeled with "
01070         "the template parameters of the instance.\n"
01071         "</ul>\n";
01072     }
01074     virtual QCString trLegend()
01075     {
01076       return "legend";
01077     }
01078     
01080 // new since 1.2.0
01082     
01084     virtual QCString trTest()
01085     {
01086       return "Test";
01087     }
01089     virtual QCString trTestList()
01090     {
01091       return "Test List";
01092     }
01093 
01095 // new since 1.2.1
01097 
01099     virtual QCString trDCOPMethods()
01100     {
01101       return "DCOP Member Functions";
01102     }
01103 
01105 // new since 1.2.2
01107 
01109     virtual QCString trProperties()
01110     {
01111       return "Properties";
01112     }
01114     virtual QCString trPropertyDocumentation()
01115     {
01116       return "Property Documentation";
01117     }
01118 
01120 // new since 1.2.4
01122 
01124     virtual QCString trClasses()
01125     {
01126       if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
01127       {
01128         return "Data Structures";
01129       }
01130       else
01131       {
01132         return "Classes";
01133       }
01134     }
01136     virtual QCString trPackage(const char *name)
01137     {
01138       return (QCString)"Package "+name;
01139     }
01141     virtual QCString trPackageList()
01142     {
01143       return "Package List";
01144     }
01146     virtual QCString trPackageListDescription()
01147     {
01148       return "Here are the packages with brief descriptions (if available):";
01149     }
01151     virtual QCString trPackages()
01152     {
01153       return "Packages";
01154     }
01156     virtual QCString trDefineValue()
01157     {
01158       return "Value:";
01159     }
01160     
01162 // new since 1.2.5
01164     
01166     virtual QCString trBug()
01167     {
01168       return "Bug";
01169     }
01171     virtual QCString trBugList()
01172     {
01173       return "Bug List";
01174     }
01175 
01177 // new since 1.2.6
01179 
01205     virtual QCString trRTFansicp()
01206     {
01207       return "1252";
01208     }
01209     
01210 
01214     virtual QCString trRTFCharSet()
01215     {
01216       return "0";
01217     }
01218 
01220     virtual QCString trRTFGeneralIndex()
01221     {
01222       return "Index";
01223     }
01224    
01229     virtual QCString trClass(bool first_capital, bool singular)
01230     { 
01231       QCString result((first_capital ? "Class" : "class"));
01232       if (!singular)  result+="es";
01233       return result; 
01234     }
01235 
01240     virtual QCString trFile(bool first_capital, bool singular)
01241     { 
01242       QCString result((first_capital ? "File" : "file"));
01243       if (!singular)  result+="s";
01244       return result; 
01245     }
01246 
01251     virtual QCString trNamespace(bool first_capital, bool singular)
01252     { 
01253       QCString result((first_capital ? "Namespace" : "namespace"));
01254       if (!singular)  result+="s";
01255       return result; 
01256     }
01257 
01262     virtual QCString trGroup(bool first_capital, bool singular)
01263     { 
01264       QCString result((first_capital ? "Group" : "group"));
01265       if (!singular)  result+="s";
01266       return result; 
01267     }
01268 
01273     virtual QCString trPage(bool first_capital, bool singular)
01274     { 
01275       QCString result((first_capital ? "Page" : "page"));
01276       if (!singular)  result+="s";
01277       return result; 
01278     }
01279 
01284     virtual QCString trMember(bool first_capital, bool singular)
01285     { 
01286       QCString result((first_capital ? "Member" : "member"));
01287       if (!singular)  result+="s";
01288       return result; 
01289     }
01290    
01295     virtual QCString trGlobal(bool first_capital, bool singular)
01296     { 
01297       QCString result((first_capital ? "Global" : "global"));
01298       if (!singular)  result+="s";
01299       return result; 
01300     }
01301 
01303 // new since 1.2.7
01305 
01308     virtual QCString trAuthor(bool first_capital, bool singular)
01309     {                                                                         
01310       QCString result((first_capital ? "Author" : "author"));
01311       if (!singular)  result+="s";
01312       return result; 
01313     }
01314 
01316 // new since 1.2.11
01318 
01321     virtual QCString trReferences()
01322     {
01323       return "References";
01324     }
01325 
01327 // new since 1.2.13
01329 
01333     virtual QCString trImplementedFromList(int numEntries)
01334     {
01335       return "Implements "+trWriteList(numEntries)+".";
01336     }
01337 
01341     virtual QCString trImplementedInList(int numEntries)
01342     {
01343       return "Implemented in "+trWriteList(numEntries)+".";
01344     }
01345 
01347 // new since 1.2.16
01349 
01353     virtual QCString trRTFTableOfContents()
01354     {
01355       return "Table of Contents";
01356     }
01357 
01359 // new since 1.2.17
01361 
01365     virtual QCString trDeprecatedList()
01366     {
01367       return "Deprecated List";
01368     }
01369 
01371 // new since 1.2.18
01373 
01377     virtual QCString trEvents()
01378     {
01379       return "Events";
01380     }
01382     virtual QCString trEventDocumentation()
01383     {
01384       return "Event Documentation";
01385     }
01386 
01388 // new since 1.3
01390 
01393     virtual QCString trPackageTypes()
01394     { 
01395       return "Package Types";
01396     }
01400     virtual QCString trPackageMembers()
01401     { 
01402       return "Package Functions";
01403     }
01407     virtual QCString trStaticPackageMembers()
01408     { 
01409       return "Static Package Functions";
01410     }
01414     virtual QCString trPackageAttribs()
01415     { 
01416       return "Package Attributes";
01417     }
01421     virtual QCString trStaticPackageAttribs()
01422     { 
01423       return "Static Package Attributes";
01424     }
01425     
01427 // new since 1.3.1
01429 
01433     virtual QCString trAll()
01434     {
01435       return "All";
01436     }
01438     virtual QCString trCallGraph()
01439     {
01440       return "Here is the call graph for this function:";
01441     }
01442 
01444 // new since 1.3.3
01446 
01451     virtual QCString trSearchForIndex()
01452     {
01453       return "Search for";
01454     }
01458     virtual QCString trSearchResultsTitle()
01459     {
01460       return "Search Results";
01461     }
01470     virtual QCString trSearchResults(int numDocuments)
01471     {
01472       if (numDocuments==0)
01473       {
01474         return "Sorry, no documents matching your query.";
01475       }
01476       else if (numDocuments==1)
01477       {
01478         return "Found <b>1</b> document matching your query.";
01479       }
01480       else 
01481       {
01482         return "Found <b>$num</b> documents matching your query. "
01483                "Showing best matches first.";
01484       }
01485     }
01489     virtual QCString trSearchMatches()
01490     {
01491       return "Matches:";
01492     }
01493 
01495 // new since 1.3.8
01497 
01500     virtual QCString trSourceFile(QCString& filename)
01501     {
01502       return filename + " Source File";
01503     }
01504 
01506 // new since 1.3.9
01508 
01512     virtual QCString trDirIndex()
01513     { return "Directory Hierarchy"; }
01514 
01518     virtual QCString trDirDocumentation()
01519     { return "Directory Documentation"; }
01520 
01524     virtual QCString trDirectories()
01525     { return "Directories"; }
01526 
01530     virtual QCString trDirDescription()
01531     { return "This directory hierarchy is sorted roughly, "
01532              "but not completely, alphabetically:";
01533     }
01534 
01538     virtual QCString trDirReference(const char *dirName)
01539     { QCString result=dirName; result+=" Directory Reference"; return result; }
01540 
01544     virtual QCString trDir(bool first_capital, bool singular)
01545     { 
01546       QCString result((first_capital ? "Director" : "director"));
01547       if (singular) result+="y"; else result+="ies";
01548       return result; 
01549     }
01550 
01552 // new since 1.4.1
01554 
01558     virtual QCString trOverloadText()
01559     {
01560        return "This is an overloaded member function, "
01561               "provided for convenience. It differs from the above "
01562               "function only in what argument(s) it accepts.";
01563     }
01564 
01566 // new since 1.4.6
01568 
01570     virtual QCString trCallerGraph()
01571     {
01572       return "Here is the caller graph for this function:";
01573     }
01574 
01578     virtual QCString trEnumerationValueDocumentation()
01579     { return "Enumerator Documentation"; }
01580 
01582 // new since 1.5.4 (mainly for Fortran)
01584     
01586     virtual QCString trMemberFunctionDocumentationFortran()
01587     { return "Member Function/Subroutine Documentation"; }
01588 
01590     virtual QCString trCompoundListFortran()
01591     { return "Data Types List"; }
01592 
01594     virtual QCString trCompoundMembersFortran()
01595     { return "Data Fields"; }
01596 
01598     virtual QCString trCompoundListDescriptionFortran()
01599     { return "Here are the data types with brief descriptions:"; }
01600 
01602     virtual QCString trCompoundMembersDescriptionFortran(bool extractAll)
01603     {
01604       QCString result="Here is a list of all ";
01605       if (!extractAll)
01606       {
01607         result+="documented ";
01608       }
01609       result+="data types members";
01610       result+=" with links to ";
01611       if (!extractAll) 
01612       {
01613          result+="the data structure documentation for each member";
01614       }
01615       else 
01616       {
01617          result+="the data types they belong to:";
01618       }
01619       return result;
01620     }
01621 
01625     virtual QCString trCompoundIndexFortran()
01626     { return "Data Type Index"; }
01627 
01631     virtual QCString trTypeDocumentation()
01632     { return "Data Type Documentation"; }
01633 
01637     virtual QCString trSubprograms()
01638     { return "Functions/Subroutines"; }
01639 
01643     virtual QCString trSubprogramDocumentation()
01644     { return "Function/Subroutine Documentation"; }
01645 
01649      virtual QCString trDataTypes()
01650     { return "Data Types"; }
01651     
01653     virtual QCString trModulesList()
01654     { return "Modules List"; }
01655 
01657     virtual QCString trModulesListDescription(bool extractAll)
01658     {
01659       QCString result="Here is a list of all ";
01660       if (!extractAll) result+="documented ";
01661       result+="modules with brief descriptions:";
01662       return result;
01663     }
01664 
01666     virtual QCString trCompoundReferenceFortran(const char *clName,
01667                                     ClassDef::CompoundType compType,
01668                                     bool isTemplate)
01669     {
01670       QCString result=(QCString)clName;
01671       switch(compType)
01672       {
01673         case ClassDef::Class:      result+=" Module"; break;
01674         case ClassDef::Struct:     result+=" Type"; break;
01675         case ClassDef::Union:      result+=" Union"; break;
01676         case ClassDef::Interface:  result+=" Interface"; break;
01677         case ClassDef::Protocol:   result+=" Protocol"; break;
01678         case ClassDef::Category:   result+=" Category"; break;
01679         case ClassDef::Exception:  result+=" Exception"; break;
01680       }
01681       if (isTemplate) result+=" Template";
01682       result+=" Reference";
01683       return result;
01684     }
01686     virtual QCString trModuleReference(const char *namespaceName)
01687     {
01688       QCString result=namespaceName;
01689       result+=" Module Reference";        
01690       return result;
01691     }
01692     
01694     virtual QCString trModulesMembers()
01695     { return "Module Members"; }
01696 
01698     virtual QCString trModulesMemberDescription(bool extractAll)
01699     { 
01700       QCString result="Here is a list of all ";
01701       if (!extractAll) result+="documented ";
01702       result+="module members with links to ";
01703       if (extractAll) 
01704       {
01705         result+="the module documentation for each member:";
01706       }
01707       else 
01708       {
01709         result+="the modules they belong to:";
01710       }
01711       return result;
01712     }
01713 
01717     virtual QCString trModulesIndex()
01718     { return "Modules Index"; }
01719     
01724     virtual QCString trModule(bool first_capital, bool singular)
01725     {       
01726       QCString result((first_capital ? "Module" : "module"));
01727       if (!singular)  result+="s";
01728       return result; 
01729     }
01733     virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType,
01734         bool single)
01735     { // here s is one of " Module", " Struct" or " Union"
01736       // single is true implies a single file
01737       QCString result=(QCString)"The documentation for this ";
01738       switch(compType)
01739       {
01740         case ClassDef::Class:      result+="module"; break;
01741         case ClassDef::Struct:     result+="type"; break;
01742         case ClassDef::Union:      result+="union"; break;
01743         case ClassDef::Interface:  result+="interface"; break;
01744         case ClassDef::Protocol:   result+="protocol"; break;
01745         case ClassDef::Category:   result+="category"; break;
01746         case ClassDef::Exception:  result+="exception"; break;
01747       }
01748       result+=" was generated from the following file";
01749       if (single) result+=":"; else result+="s:";
01750       return result;
01751     }
01756     virtual QCString trType(bool first_capital, bool singular)
01757     { 
01758       QCString result((first_capital ? "Type" : "type"));
01759       if (!singular)  result+="s";
01760       return result; 
01761     }
01766     virtual QCString trSubprogram(bool first_capital, bool singular)
01767     { 
01768       QCString result((first_capital ? "Subprogram" : "subprogram"));
01769       if (!singular)  result+="s";
01770       return result; 
01771     }
01772 
01774     virtual QCString trTypeConstraints()
01775     {
01776       return "Type Constraints";
01777     }
01778 
01779 };
01780 
01781 #endif



Generated on Mon Mar 31 10:58:45 2008 by  doxygen 1.5.1