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 * The translation into Chinesetraditional was provided by 00017 * Daniel YC Lin (dlin.tw <at> gmail.com) since v1.2.16-v1.5.5 00018 */ 00019 00020 #ifndef TRANSLATOR_TW_H 00021 #define TRANSLATOR_TW_H 00022 00023 // When defining a translator class for the new language, follow 00024 // the description in the documentation. One of the steps says 00025 // that you should copy the translator_en.h (this) file to your 00026 // translator_xx.h new file. Your new language should use the 00027 // Translator class as the base class. This means that you need to 00028 // implement exactly the same (pure virtual) methods as the 00029 // TranslatorEnglish does. Because of this, it is a good idea to 00030 // start with the copy of TranslatorEnglish and replace the strings 00031 // one by one. 00032 // 00033 // It is not necessary to include "translator.h" or 00034 // "translator_adapter.h" here. The files are included in the 00035 // language.cpp correctly. Not including any of the mentioned 00036 // files frees the maintainer from thinking about whether the 00037 // first, the second, or both files should be included or not, and 00038 // why. This holds namely for localized translators because their 00039 // base class is changed occasionaly to adapter classes when the 00040 // Translator class changes the interface, or back to the 00041 // Translator class (by the local maintainer) when the localized 00042 // translator is made up-to-date again. 00043 00044 class TranslatorChinesetraditional : public Translator 00045 { 00046 public: 00047 00048 // --- Language control methods ------------------- 00049 00056 virtual QCString idLanguage() 00057 { return "chinese-traditional"; } 00058 00073 virtual QCString latexLanguageSupportCommand() 00074 { 00075 return ""; 00076 } 00077 00079 virtual QCString idLanguageCharset() 00080 { 00081 return "big5"; 00082 } 00083 00084 // --- Language translation methods ------------------- 00085 00087 virtual QCString trRelatedFunctions() 00088 { return "¬ÛÃö¨ç¦¡"; } 00089 00091 virtual QCString trRelatedSubscript() 00092 { return "(µù¡G³o¨Ç¤£¬O¦¨û¨ç¦¡)"; } 00093 00095 virtual QCString trDetailedDescription() 00096 { return "¸Ô²Ó´yz"; } 00097 00099 virtual QCString trMemberTypedefDocumentation() 00100 { return "«¬ºA©w¸q¦¨û»¡©ú¤å¥ó"; } 00101 00103 virtual QCString trMemberEnumerationDocumentation() 00104 { return "¦CÁ|«¬ºA¦¨û»¡©ú¤å¥ó"; } 00105 00107 virtual QCString trMemberFunctionDocumentation() 00108 { return "¨ç¦¡¦¨û»¡©ú¤å¥ó"; } 00109 00111 virtual QCString trMemberDataDocumentation() 00112 { 00113 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) 00114 { 00115 return "Äæ¦ì»¡©ú¤å¥ó"; 00116 } 00117 else 00118 { 00119 return "¸ê®Æ¦¨û»¡©ú¤å¥ó"; 00120 } 00121 } 00122 00124 virtual QCString trMore() 00125 { return "§ó¦h..."; } 00126 00128 virtual QCString trListOfAllMembers() 00129 { return "¥þ³¡¦¨û¦Cªí"; } 00130 00132 virtual QCString trMemberList() 00133 { return "¦¨û¦Cªí"; } 00134 00136 virtual QCString trThisIsTheListOfAllMembers() 00137 { return "§¹¾ã¦¨û¦Cªí¡AÃþ§O¬°"; } 00138 00140 virtual QCString trIncludingInheritedMembers() 00141 { return ", ¥]§t©Ò¦³Ä~©Óªº¦¨û"; } 00142 00146 virtual QCString trGeneratedAutomatically(const char *s) 00147 { QCString result="¥»¤å¥ó¥ÑDoxygen"; 00148 if (s) result+=(QCString)" ¦Û "+s; 00149 result+=" ªºì©l½X¤¤¦Û°Ê²£¥Í."; 00150 return result; 00151 } 00152 00154 virtual QCString trEnumName() 00155 { return "¦CÁ|«¬ºA¦WºÙ"; } 00156 00158 virtual QCString trEnumValue() 00159 { return "¦CÁ|È"; } 00160 00162 virtual QCString trDefinedIn() 00163 { return "³Q©w¸q©ó"; } 00164 00165 // quick reference sections 00166 00170 virtual QCString trModules() 00171 { return "¼Ò²Õ"; } 00172 00174 virtual QCString trClassHierarchy() 00175 { return "Ãþ§O¶¥¼h"; } 00176 00178 virtual QCString trCompoundList() 00179 { 00180 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) 00181 { 00182 return "¸ê®Æµ²ºc"; 00183 } 00184 else 00185 { 00186 return "½Æ¦X¦Cªí"; 00187 } 00188 } 00189 00191 virtual QCString trFileList() 00192 { return "ÀɮצCªí"; } 00193 00195 virtual QCString trHeaderFiles() 00196 { return "¼ÐÀYÀÉ®×"; } 00197 00199 virtual QCString trCompoundMembers() 00200 { 00201 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) 00202 { 00203 return "¸ê®ÆÄæ¦ì"; 00204 } 00205 else 00206 { 00207 return "½Æ¦X¦¨û"; 00208 } 00209 } 00210 00212 virtual QCString trFileMembers() 00213 { 00214 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) 00215 { 00216 return "¥þ°ì¸ê®Æ"; 00217 } 00218 else 00219 { 00220 return "Àɮצ¨û"; 00221 } 00222 } 00223 00225 virtual QCString trRelatedPages() 00226 { return "¬ÛÃö¶±"; } 00227 00229 virtual QCString trExamples() 00230 { return "½d¨Ò"; } 00231 00233 virtual QCString trSearch() 00234 { return "·j´M"; } 00235 00237 virtual QCString trClassHierarchyDescription() 00238 { return "³oÓÄ~©Ó¦Cªí¸g¹L²²¤ªº¦r¥À±Æ§Ç: "; 00239 } 00240 00242 virtual QCString trFileListDescription(bool extractAll) 00243 { 00244 QCString result="³o¬Oªþ±a²²¤»¡©ú"; 00245 if (!extractAll) result+="¥B¸g¹L¤å¥ó¤Æ"; 00246 result+="ªºÀɮצCªí:"; 00247 return result; 00248 } 00249 00251 virtual QCString trCompoundListDescription() 00252 { 00253 00254 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) 00255 { 00256 return "³o¬Oªþ±a²²¤»¡©úªº¸ê®Æµ²ºc:"; 00257 } 00258 else 00259 { 00260 return "³o¬Oªþ±a²²¤»¡©úªºÃþ§O¡Aµ²ºc¡A" 00261 "Áp¦X«¬ºA(unions)¤Î¤¶±(interfaces):"; 00262 } 00263 } 00264 00266 virtual QCString trCompoundMembersDescription(bool extractAll) 00267 { 00268 QCString result="³o¬O¥þ³¡"; 00269 if (!extractAll) 00270 { 00271 result+="¤å¥ó¤Æ¹L"; 00272 } 00273 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) 00274 { 00275 result+="µ²ºc¤ÎÁp¦X«¬ºAÄæ¦ì"; 00276 } 00277 else 00278 { 00279 result+="Ãþ§O¦¨û"; 00280 } 00281 result+=", ¨Ã¥B±a¦³³sµ²¦Ü"; 00282 if (!extractAll) 00283 { 00284 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) 00285 { 00286 result+="¨CÓÄæ¦ìªºµ²ºc/Áp¦X«¬ºA»¡©ú¤å¥ó:"; 00287 } 00288 else 00289 { 00290 result+="¨CÓ¦¨ûªºÃþ§O»¡©ú¤å¥ó:"; 00291 } 00292 } 00293 else 00294 { 00295 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) 00296 { 00297 result+="³o¨Çµ²ºc/Áp¦X«¬ºA©ÒÄÝ:"; 00298 } 00299 else 00300 { 00301 result+="³o¨ÇÃþ§O©ÒÄÝ:"; 00302 } 00303 } 00304 return result; 00305 } 00306 00308 virtual QCString trFileMembersDescription(bool extractAll) 00309 { 00310 QCString result="³o¬O¥þ³¡"; 00311 if (!extractAll) result+="¤å¥ó¤Æªº"; 00312 00313 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) 00314 { 00315 result+="¨ç¦¡¡AÅܼơA©w¸q¡A¦CÁ|¡A¤Î«¬ºA©w¸q"; 00316 } 00317 else 00318 { 00319 result+="Àɮצ¨û"; 00320 } 00321 result+="¡A¨Ã¥B±a¦³³sµ²¦Ü"; 00322 if (extractAll) 00323 result+="³o¨ÇÀɮשÒÄÝ:"; 00324 else 00325 result+="»¡©ú¤å¥ó:"; 00326 return result; 00327 } 00328 00330 virtual QCString trHeaderFilesDescription() 00331 { return "²Õ¦¨APIªº¼ÐÀYÀÉ:"; } 00332 00334 virtual QCString trExamplesDescription() 00335 { return "©Ò¦³½d¨Ò¦Cªí:"; } 00336 00338 virtual QCString trRelatedPagesDescription() 00339 { return "©Ò¦³¬ÛÃö¤å¥ó¶±¦Cªí:"; } 00340 00342 virtual QCString trModulesDescription() 00343 { return "©Ò¦³¼Ò²Õ¦Cªí:"; } 00344 00348 virtual QCString trNoDescriptionAvailable() 00349 { return "¨S¦³¥i¥Îªº»¡©ú´yz"; } 00350 00351 // index titles (the project name is prepended for these) 00352 00353 00355 virtual QCString trDocumentation() 00356 { return "»¡©ú¤å¥ó"; } 00357 00361 virtual QCString trModuleIndex() 00362 { return "¼Ò²Õ¯Á¤Þ"; } 00363 00367 virtual QCString trHierarchicalIndex() 00368 { return "¶¥¼h¯Á¤Þ"; } 00369 00373 virtual QCString trCompoundIndex() 00374 { 00375 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) 00376 { 00377 return "¸ê®Æµ²ºc¯Á¤Þ"; 00378 } 00379 else 00380 { 00381 return "½Æ¦X¯Á¤Þ"; 00382 } 00383 } 00384 00388 virtual QCString trFileIndex() 00389 { return "ÀɮׯÁ¤Þ"; } 00390 00394 virtual QCString trModuleDocumentation() 00395 { return "¼Ò²Õ»¡©ú¤å¥ó"; } 00396 00400 virtual QCString trClassDocumentation() 00401 { 00402 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) 00403 { 00404 return "¸ê®Æµ²ºc»¡©ú¤å¥ó"; 00405 } 00406 else 00407 { 00408 return "Ãþ§O»¡©ú¤å¥ó"; 00409 } 00410 } 00411 00415 virtual QCString trFileDocumentation() 00416 { return "ÀÉ®×»¡©ú¤å¥ó"; } 00417 00421 virtual QCString trExampleDocumentation() 00422 { return "½d¨Ò»¡©ú¤å¥ó"; } 00423 00427 virtual QCString trPageDocumentation() 00428 { return "¶±»¡©ú¤å¥ó"; } 00429 00431 virtual QCString trReferenceManual() 00432 { return "°Ñ¦Ò¤â¥U"; } 00433 00437 virtual QCString trDefines() 00438 { return "©w¸q"; } 00439 00443 virtual QCString trFuncProtos() 00444 { return "¨ç¦¡ì«¬"; } 00445 00449 virtual QCString trTypedefs() 00450 { return "«¬ºA©w¸q"; } 00451 00455 virtual QCString trEnumerations() 00456 { return "¦CÁ|«¬ºA"; } 00457 00461 virtual QCString trFunctions() 00462 { return "¨ç¦¡"; } 00463 00467 virtual QCString trVariables() 00468 { return "ÅܼÆ"; } 00469 00473 virtual QCString trEnumerationValues() 00474 { return "¦CÁ|È"; } 00475 00479 virtual QCString trDefineDocumentation() 00480 { return "©w¸q¥¨¶°»¡©ú¤å¥ó"; } 00481 00485 virtual QCString trFunctionPrototypeDocumentation() 00486 { return "¨ç¦¡ì«¬»¡©ú¤å¥ó"; } 00487 00491 virtual QCString trTypedefDocumentation() 00492 { return "«¬ºA©w¸q»¡©ú¤å¥ó"; } 00493 00497 virtual QCString trEnumerationTypeDocumentation() 00498 { return "¦CÁ|«¬ºA»¡©ú¤å¥ó"; } 00499 00503 virtual QCString trEnumerationValueDocumentation() 00504 { return "¦CÁ|È»¡©ú¤å¥ó"; } 00505 00509 virtual QCString trFunctionDocumentation() 00510 { return "¨ç¦¡»¡©ú¤å¥ó"; } 00511 00515 virtual QCString trVariableDocumentation() 00516 { return "Åܼƻ¡©ú¤å¥ó"; } 00517 00521 virtual QCString trCompounds() 00522 { 00523 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) 00524 { 00525 return "¸ê®Æµ²ºc"; 00526 } 00527 else 00528 { 00529 return "½Æ¦X¶µ¥Ø"; 00530 } 00531 } 00532 00536 virtual QCString trGeneratedAt(const char *date,const char *projName) 00537 { 00538 QCString result=(QCString)"²£¥Í¤é´Á:"+date; 00539 if (projName) result+=(QCString)", ±M®×:"+projName; 00540 result+=(QCString)", ²£¥Í¾¹:"; 00541 return result; 00542 } 00545 virtual QCString trWrittenBy() 00546 { 00547 return "¼¶¼g¤H:"; 00548 } 00549 00551 virtual QCString trClassDiagram(const char *clName) 00552 { 00553 return (QCString)"Ãþ§O"+clName+"ªºÄ~©Ó¹Ï:"; 00554 } 00555 00557 virtual QCString trForInternalUseOnly() 00558 { return "¶È¨Ñ¤º³¡¨Ï¥Î."; } 00559 00561 virtual QCString trReimplementedForInternalReasons() 00562 { return "¦]¤º³¡ì¦]«·s¹ê§@; ¤£¼vÅTAPI."; } 00563 00565 virtual QCString trWarning() 00566 { return "ĵ§i"; } 00567 00569 virtual QCString trBugsAndLimitations() 00570 { return "¯äÂΤΨî"; } 00571 00573 virtual QCString trVersion() 00574 { return "ª©¥»"; } 00575 00577 virtual QCString trDate() 00578 { return "¤é´Á"; } 00579 00581 virtual QCString trReturns() 00582 { return "¶Ç¦^È"; } 00583 00585 virtual QCString trSeeAlso() 00586 { return "°Ñ¾\\"; } 00587 00589 virtual QCString trParameters() 00590 { return "°Ñ¼Æ"; } 00591 00593 virtual QCString trExceptions() 00594 { return "¨Ò¥~"; } 00595 00597 virtual QCString trGeneratedBy() 00598 { return "²£¥ÍªÌ:"; } 00599 00601 // new since 0.49-990307 00603 00605 virtual QCString trNamespaceList() 00606 { return "©R¦WªÅ¶¡(name space)¦Cªí"; } 00607 00609 virtual QCString trNamespaceListDescription(bool extractAll) 00610 { 00611 QCString result="³o¬O©Ò¦³ªþ±a²²¤»¡©úªº"; 00612 if (!extractAll) result+="¤å¥ó¤Æªº"; 00613 result+="©R¦WªÅ¶¡(namespaces):"; 00614 return result; 00615 } 00616 00620 virtual QCString trFriends() 00621 { return "Ãþ§OªB¤Í(Friends)"; } 00622 00624 // new since 0.49-990405 00626 00630 virtual QCString trRelatedFunctionDocumentation() 00631 { return "Ãþ§OªB¤Í¤Î¬ÛÃö¨ç¦¡»¡©ú¤å¥ó"; } 00632 00634 // new since 0.49-990425 00636 00638 virtual QCString trCompoundReference(const char *clName, 00639 ClassDef::CompoundType compType, 00640 bool isTemplate) 00641 { 00642 QCString result=(QCString)clName+" "; 00643 switch(compType) 00644 { 00645 case ClassDef::Class: result+=" Ãþ§O"; break; 00646 case ClassDef::Struct: result+=" µ²ºc"; break; 00647 case ClassDef::Union: result+=" Áp¦X"; break; 00648 case ClassDef::Interface: result+=" ¤¶±"; break; 00649 case ClassDef::Protocol: result+=" ¨ó©w"; break; 00650 case ClassDef::Category: result+=" ¤ÀÃþ"; break; 00651 case ClassDef::Exception: result+=" ¨Ò¥~"; break; 00652 } 00653 if (isTemplate) result+=" ¼Ëª©"; 00654 result+=" °Ñ¦Ò¤å¥ó"; 00655 return result; 00656 } 00657 00659 virtual QCString trFileReference(const char *fileName) 00660 { 00661 QCString result=fileName; 00662 result+=" ÀɮװѦҤå¥ó"; 00663 return result; 00664 } 00665 00667 virtual QCString trNamespaceReference(const char *namespaceName) 00668 { 00669 QCString result=namespaceName; 00670 result+=" ©R¦WªÅ¶¡(Namespace)°Ñ¦Ò¤å¥ó"; 00671 return result; 00672 } 00673 00674 virtual QCString trPublicMembers() 00675 { return "¤½¶}¤èªk(Public Methods)"; } 00676 virtual QCString trPublicSlots() 00677 { return "¤½¶}´¡¼Ñ(Public Slots)"; } 00678 virtual QCString trSignals() 00679 { return "°T¸¹(Signals)"; } 00680 virtual QCString trStaticPublicMembers() 00681 { return "ÀRºA¤½¶}¤èªk(Static Public Methods)"; } 00682 virtual QCString trProtectedMembers() 00683 { return "«OÅ@¤èªk(Protected Methods)"; } 00684 virtual QCString trProtectedSlots() 00685 { return "«OÅ@´¡¼Ñ(Protected Slots)"; } 00686 virtual QCString trStaticProtectedMembers() 00687 { return "ÀRºA«OÅ@¤èªk(Static Protected Methods)"; } 00688 virtual QCString trPrivateMembers() 00689 { return "¨p¦³¤èªk(Private Methods)"; } 00690 virtual QCString trPrivateSlots() 00691 { return "¨p¦³´¡¼Ñ(Private Slots)"; } 00692 virtual QCString trStaticPrivateMembers() 00693 { return "ÀRºA¨p¦³¤èªk(Static Private Methods)"; } 00694 00698 virtual QCString trWriteList(int numEntries) 00699 { 00700 QCString result; 00701 int i; 00702 // the inherits list contain `numEntries' classes 00703 for (i=0;i<numEntries;i++) 00704 { 00705 // use generateMarker to generate placeholders for the class links! 00706 result+=generateMarker(i); // generate marker for entry i in the list 00707 // (order is left to right) 00708 00709 if (i!=numEntries-1) // not the last entry, so we need a separator 00710 { 00711 if (i<numEntries-2) // not the fore last entry 00712 result+=", "; 00713 else // the fore last entry 00714 result+=", ¤Î "; 00715 } 00716 } 00717 return result; 00718 } 00719 00723 virtual QCString trInheritsList(int numEntries) 00724 { 00725 return "Ä~©Ó¦Û "+trWriteList(numEntries)+"."; 00726 } 00727 00731 virtual QCString trInheritedByList(int numEntries) 00732 { 00733 return "³Q "+trWriteList(numEntries)+"Ä~©Ó."; 00734 } 00735 00739 virtual QCString trReimplementedFromList(int numEntries) 00740 { 00741 return "¨Ì¾Ú"+trWriteList(numEntries)+"«·s¹ê§@."; 00742 } 00743 00747 virtual QCString trReimplementedInList(int numEntries) 00748 { 00749 return "¦b"+trWriteList(numEntries)+"«·s¹ê§@."; 00750 } 00751 00753 virtual QCString trNamespaceMembers() 00754 { return "©R¦WªÅ¶¡(Namespace)¦¨û"; } 00755 00757 virtual QCString trNamespaceMemberDescription(bool extractAll) 00758 { 00759 QCString result="¦¹³B¦Cªí¬°©Ò¦³ "; 00760 if (!extractAll) result+="¤å¥ó¤Æªº "; 00761 result+="©R¦WªÅ¶¡(namespace)¦¨û¡A¨Ã¥Bªþ±a³sµ²¦Ü "; 00762 if (extractAll) 00763 result+="¨CÓ¦¨ûªº»¡©ú¤å¥ó:"; 00764 else 00765 result+="¸Ó©R¦WªÅ¶¡©ÒÄݤ§³B:"; 00766 return result; 00767 } 00771 virtual QCString trNamespaceIndex() 00772 { return "©R¦WªÅ¶¡(Namespace)¯Á¤Þ"; } 00773 00777 virtual QCString trNamespaceDocumentation() 00778 { return "©R¦WªÅ¶¡(Namespace)»¡©ú¤å¥ó"; } 00779 00781 // new since 0.49-990522 00783 00787 virtual QCString trNamespaces() 00788 { return "©R¦WªÅ¶¡(Namespaces)"; } 00789 00791 // new since 0.49-990728 00793 00797 virtual QCString trGeneratedFromFiles(ClassDef::CompoundType compType, 00798 bool single) 00799 { // here s is one of " Class", " Struct" or " Union" 00800 // single is true implies a single file 00801 QCString result=(QCString)"¦¹"; 00802 switch(compType) 00803 { 00804 case ClassDef::Class: result+="Ãþ§O(class)"; break; 00805 case ClassDef::Struct: result+="µ²ºc(structure)"; break; 00806 case ClassDef::Union: result+="Áp¦X(union)"; break; 00807 case ClassDef::Interface: result+="¤¶±(interface)"; break; 00808 case ClassDef::Protocol: result+="¨ó©w(protocol)"; break; 00809 case ClassDef::Category: result+="¤ÀÃþ(category)"; break; 00810 case ClassDef::Exception: result+="¨Ò¥~(exception)"; break; 00811 } 00812 result+=" ¤å¥ó¬O¥Ñ¤U¦CÀɮפ¤²£¥Í"; 00813 if (single) result+=":"; else result+=":"; 00814 return result; 00815 } 00816 00820 virtual QCString trAlphabeticalList() 00821 { return "¦r¥À¶¶§Ç¦Cªí"; } 00822 00824 // new since 0.49-990901 00826 00828 virtual QCString trReturnValues() 00829 { return "¶Ç¦^È"; } 00830 00833 virtual QCString trMainPage() 00834 { return "¥D¶±"; } 00835 00839 virtual QCString trPageAbbreviation() 00840 { return "p."; } 00841 00843 // new since 0.49-991003 00845 00846 virtual QCString trSources() 00847 { 00848 return "ì©l½X"; 00849 } 00850 virtual QCString trDefinedAtLineInSourceFile() 00851 { 00852 return "©w¸q¦b @1 Àɮפ§²Ä @0 ¦æ."; 00853 } 00854 virtual QCString trDefinedInSourceFile() 00855 { 00856 return "©w¸q¦b @0 ÀÉ."; 00857 } 00858 00860 // new since 0.49-991205 00862 00863 virtual QCString trDeprecated() 00864 { 00865 return "¹L®É"; 00866 } 00867 00869 // new since 1.0.0 00871 00873 virtual QCString trCollaborationDiagram(const char *clName) 00874 { 00875 return (QCString)""+clName+"ªº¦X§@¹Ï:"; 00876 } 00878 virtual QCString trInclDepGraph(const char *fName) 00879 { 00880 return (QCString)""+fName+"ªº¥]§t¬Û¨Ì¹Ï:"; 00881 } 00883 virtual QCString trConstructorDocumentation() 00884 { 00885 return "«Øºc¤l»P¸Ñºc¤l»¡©ú¤å¥ó"; 00886 } 00888 virtual QCString trGotoSourceCode() 00889 { 00890 return "¬d¬Ý¥»Àɮתºì©l½X."; 00891 } 00893 virtual QCString trGotoDocumentation() 00894 { 00895 return "¬d¬Ý¥»ÀÉ®×»¡©ú¤å¥ó."; 00896 } 00898 virtual QCString trPrecondition() 00899 { 00900 return "«e¸m±ø¥ó"; 00901 } 00903 virtual QCString trPostcondition() 00904 { 00905 return "«á¸m±ø¥ó"; 00906 } 00908 virtual QCString trInvariant() 00909 { 00910 return "±`¼Æ"; 00911 } 00913 virtual QCString trInitialValue() 00914 { 00915 return "ªìÈ:"; 00916 } 00918 virtual QCString trCode() 00919 { 00920 return "µ{¦¡½X"; 00921 } 00922 virtual QCString trGraphicalHierarchy() 00923 { 00924 return "¹Ï§Î¤Æ¤§Ãþ§O¶¥¼h"; 00925 } 00926 virtual QCString trGotoGraphicalHierarchy() 00927 { 00928 return "¬d¬Ý¹Ï§Î¤Æ¤§Ãþ§O¶¥¼h"; 00929 } 00930 virtual QCString trGotoTextualHierarchy() 00931 { 00932 return "¬d¬Ý¤å¦r¤Æ¤§Ãþ§O¶¥¼h"; 00933 } 00934 virtual QCString trPageIndex() 00935 { 00936 return "¶±¯Á¤Þ"; 00937 } 00938 00940 // new since 1.1.0 00942 00943 virtual QCString trNote() 00944 { 00945 return "µù"; 00946 } 00947 virtual QCString trPublicTypes() 00948 { 00949 return "¤½¶}«¬ºA"; 00950 } 00951 virtual QCString trPublicAttribs() 00952 { 00953 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) 00954 { 00955 return "¸ê®ÆÄæ¦ì"; 00956 } 00957 else 00958 { 00959 return "¤½¶}ÄÝ©Ê"; 00960 } 00961 } 00962 virtual QCString trStaticPublicAttribs() 00963 { 00964 return "ÀRºA¤½¶}ÄÝ©Ê"; 00965 } 00966 virtual QCString trProtectedTypes() 00967 { 00968 return "«OÅ@«¬ºA"; 00969 } 00970 virtual QCString trProtectedAttribs() 00971 { 00972 return "«OÅ@ÄÝ©Ê"; 00973 } 00974 virtual QCString trStaticProtectedAttribs() 00975 { 00976 return "ÀRºA«OÅ@ÄÝ©Ê"; 00977 } 00978 virtual QCString trPrivateTypes() 00979 { 00980 return "¨p¦³«¬ºA"; 00981 } 00982 virtual QCString trPrivateAttribs() 00983 { 00984 return "¨p¦³ÄÝ©Ê"; 00985 } 00986 virtual QCString trStaticPrivateAttribs() 00987 { 00988 return "ÀRºA¨p¦³ÄÝ©Ê"; 00989 } 00990 00992 // new since 1.1.3 00994 00996 virtual QCString trTodo() 00997 { 00998 return "«Ý¿ì¨Æ¶µ"; 00999 } 01001 virtual QCString trTodoList() 01002 { 01003 return "«Ý¿ì¨Æ¶µ¦Cªí"; 01004 } 01005 01007 // new since 1.1.4 01009 01010 virtual QCString trReferencedBy() 01011 { 01012 return "³Q°Ñ¦Ò©ó"; 01013 } 01014 virtual QCString trRemarks() 01015 { 01016 return "³Æµù"; 01017 } 01018 virtual QCString trAttention() 01019 { 01020 return "ª`·N"; 01021 } 01022 virtual QCString trInclByDepGraph() 01023 { 01024 return "¥»¹ÏÅã¥Ü¥Xþ¨ÇÀɮת½±µ©Î¶¡±µinclude¥»ÀÉ " 01025 ":"; 01026 } 01027 virtual QCString trSince() 01028 { 01029 return "¦Û"; 01030 } 01031 01033 // new since 1.1.5 01035 01037 virtual QCString trLegendTitle() 01038 { 01039 return "¹Ï¥Ü"; 01040 } 01044 virtual QCString trLegendDocs() 01045 { 01046 return 01047 "¥»¶¸ÑÄÀ¦p¦ó¸ÑĶ³o¨Ç¥Ñdoxygen©Ò²£¥Íªº¹Ï¥Ü " 01048 ".<p>\n" 01049 "½Ð¬Ý¤U±½d¨Ò:\n" 01050 "\\code\n" 01051 "/*! ¦]¬°ºIÂ_ªº¤£¥i¨£Ãþ§O */\n" 01052 "class Invisible { };\n\n" 01053 "/*! ºIÂ_ªºÃþ§O, Ä~©ÓÃö«Y³QÁôÂà */\n" 01054 "class Truncated : public Invisible { };\n\n" 01055 "/* ¥¼¸g¹Ldoxygenµù¸Ñ³B²z¹LªºÃþ§O */\n" 01056 "class Undocumented { };\n\n" 01057 "/*! ¸g¹L¤½¶}(Public)Ä~©ÓªºÃþ§O */\n" 01058 "class PublicBase : public Truncated { };\n\n" 01059 "/*! ¤@Ӽ˪©Ãþ§O */\n" 01060 "template<class T> class Templ { };\n\n" 01061 "/*! ¨Ï¥Î«OÅ@(Protected)Ä~©ÓªºÃþ§O */\n" 01062 "class ProtectedBase { };\n\n" 01063 "/*! ¨Ï¥Î¨p¦³(Private)Ä~©ÓªºÃþ§O */\n" 01064 "class PrivateBase { };\n\n" 01065 "/*! ¥Ñ³QÄ~©ÓÃþ§O©Ò¨Ï¥ÎªºÃþ§O */\n" 01066 "class Used { };\n\n" 01067 "/*! ¥Ñ¼ÆÓ¨ä¥LÃþ§O©ÒÄ~©Ó¨Óªº¶WÃþ§O(Super Class) */\n" 01068 "class Inherited : public PublicBase,\n" 01069 " protected ProtectedBase,\n" 01070 " private PrivateBase,\n" 01071 " public Undocumented,\n" 01072 " public Templ<int>\n" 01073 "{\n" 01074 " private:\n" 01075 " Used *m_usedClass;\n" 01076 "};\n" 01077 "\\endcode\n" 01078 "Y¦b²ÕºAÀɤ¤ªº \\c MAX_DOT_GRAPH_HEIGHT tag " 01079 "³]¬° 240¡A±N·|²£¥Í¤U¦Cªº¹Ï¥Ü:" 01080 "<p><center><img src=\"graph_legend."+Config_getEnum("DOT_IMAGE_FORMAT")+"\"></center>\n" 01081 "<p>\n" 01082 "¤W¹Ï¤¤ªº¦U°Ï¶ô·N¸q¦p¤U:\n" 01083 "<ul>\n" 01084 "<li>%A ¶ñº¡¶Â¦âªº°Ï¶ô¥Nªí²£¥Í³oӹϥܪºÃþ§O©Îµ²ºc " 01085 ".\n" 01086 "<li>%A ¶ÂÃ䪺°Ï¶ô¥Nªí¤å¥ó¤Æ¹Lªºµ²ºc©ÎÃþ§O.\n" 01087 "<li>%A ¦ÇÃ䪺°Ï¶ô¥Nªí¥¼¸g¤å¥ó¤Æªºµ²ºc©Î¬OÃþ§O.\n" 01088 "<li>%A ¬õÃ䪺°Ï¶ô¥Nªí¤å¥ó¤Æªºµ²ºc©Î¬OÃþ§O¡A" 01089 "³o¨Çµ²ºc©ÎÃþ§OªºÄ~©Ó©Î¥]§tÃö«Y¤£·|¥þ³¡Åã¥Ü. %A ¹Ï¥Ü " 01090 "YµLªk¶ë¤J«ü©wªºÃä¬É¤¤±N·|³QºIÂ_.\n" 01091 "</ul>\n" 01092 "½bÀY¨ã¦³¤U±ªº·N¸q:\n" 01093 "<ul>\n" 01094 "<li>%A ²`ÂŦâ½bÀY¥Î¨Ó¥Nªí¨âÓÃþ§O¶¡ªº¤½¶}Ä~©Ó " 01095 "Ãö«Y.\n" 01096 "<li>%A ²`ºñ¦â½bÀY¥Nªí«OÅ@Ä~©Ó.\n" 01097 "<li>%A ²`¬õ¦â½bÀY¥Nªí¨p¦³Ä~©Ó.\n" 01098 "<li>%A µµ¦â½bÀY¥Î¨Óªí¥ÜÃþ§O³Q¥t¤@Ó¥]§t©Î¬O¨Ï¥Î." 01099 "½bÀY¤W¼Ð¥ÜµÛ¥i¦s¨ú¸ÓÃþ§O©Î¬Oµ²ºcªº¹ïÀ³ÅܼÆ" 01100 ".\n" 01101 "<li>%A ¶À¦â½bÀY¥Nªí¼Ëª©¹êÅé»P¼Ëª©Ãþ§O¤§¶¡ªºÃö«Y¡C" 01102 "½bÀY¤W¼Ð°OµÛ¼Ëª©¹êÅé¤Wªº°Ñ¼Æ" 01103 ".\n" 01104 "</ul>\n"; 01105 } 01107 virtual QCString trLegend() 01108 { 01109 return "¹Ï¥Ü"; 01110 } 01111 01113 // new since 1.2.0 01115 01117 virtual QCString trTest() 01118 { 01119 return "´ú¸Õ¶µ¥Ø"; 01120 } 01122 virtual QCString trTestList() 01123 { 01124 return "´ú¸Õ¶µ¥Ø¦Cªí"; 01125 } 01126 01128 // new since 1.2.1 01130 01132 virtual QCString trDCOPMethods() 01133 { 01134 return "DCOP¤èªk"; 01135 } 01136 01138 // new since 1.2.2 01140 01142 virtual QCString trProperties() 01143 { 01144 return "ÄÝ©Ê(properties)"; 01145 } 01147 virtual QCString trPropertyDocumentation() 01148 { 01149 return "ÄÝ©Ê(property)»¡©ú¤å¥ó"; 01150 } 01151 01153 // new since 1.2.4 01155 01157 virtual QCString trInterfaces() 01158 { 01159 return "¤¶±"; 01160 } 01162 virtual QCString trClasses() 01163 { 01164 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) 01165 { 01166 return "¸ê®Æµ²ºc"; 01167 } 01168 else 01169 { 01170 return "Ãþ§O"; 01171 } 01172 } 01174 virtual QCString trPackage(const char *name) 01175 { 01176 return (QCString)"Package "+name; 01177 } 01179 virtual QCString trPackageList() 01180 { 01181 return "Package¦Cªí"; 01182 } 01184 virtual QCString trPackageListDescription() 01185 { 01186 return "¦¹³B¬°Packageªº·§²¤»¡©ú(¦pªG¦³ªº¸Ü):"; 01187 } 01189 virtual QCString trPackages() 01190 { 01191 return "Packages"; 01192 } 01194 virtual QCString trPackageDocumentation() 01195 { 01196 return "Package»¡©ú¤å¥ó"; 01197 } 01199 virtual QCString trDefineValue() 01200 { 01201 return "¥¨¶°¤º®e:"; 01202 } 01203 01205 // new since 1.2.5 01207 01209 virtual QCString trBug() 01210 { 01211 return "¯äÂÎ"; 01212 } 01214 virtual QCString trBugList() 01215 { 01216 return "¯äÂΦCªí"; 01217 } 01218 01220 // new since 1.2.6 01222 01248 virtual QCString trRTFansicp() 01249 { 01250 return "950"; 01251 } 01252 01253 01257 virtual QCString trRTFCharSet() 01258 { 01259 return "136"; 01260 } 01261 01263 virtual QCString trRTFGeneralIndex() 01264 { 01265 return "¯Á¤Þ"; 01266 } 01267 01272 virtual QCString trClass(bool /*first_capital*/, bool /*singular*/) 01273 { 01274 return QCString("Ãþ§O"); 01275 } 01276 01281 virtual QCString trFile(bool /*first_capital*/, bool /*singular*/) 01282 { 01283 return QCString("ÀÉ®×"); 01284 } 01285 01290 virtual QCString trNamespace(bool /*first_capital*/, bool /*singular*/) 01291 { 01292 return QCString("©R¦WªÅ¶¡"); 01293 } 01294 01299 virtual QCString trGroup(bool /*first_capital*/, bool /*singular*/) 01300 { 01301 return QCString("¸s²Õ"); 01302 } 01303 01308 virtual QCString trPage(bool /*first_capital*/, bool /*singular*/) 01309 { 01310 return QCString("¶±"); 01311 } 01312 01317 virtual QCString trMember(bool /*first_capital*/, bool /*singular*/) 01318 { 01319 return QCString("¦¨û"); 01320 } 01321 01326 virtual QCString trField(bool /*first_capital*/, bool /*singular*/) 01327 { 01328 return QCString("Äæ¦ì"); 01329 } 01330 01335 virtual QCString trGlobal(bool /*first_capital*/, bool /*singular*/) 01336 { 01337 return QCString("¥þ°ì"); 01338 } 01339 01341 // new since 1.2.7 01343 01346 virtual QCString trAuthor(bool /*first_capital*/, bool /*singular*/) 01347 { 01348 return QCString("§@ªÌ"); 01349 } 01350 01352 // new since 1.2.11 01354 01357 virtual QCString trReferences() 01358 { 01359 return "°Ñ¦Ò"; 01360 } 01361 01363 // new since 1.2.13 01365 01369 virtual QCString trImplementedFromList(int numEntries) 01370 { 01371 return "¹ê§@ "+trWriteList(numEntries)+"."; 01372 } 01373 01377 virtual QCString trImplementedInList(int numEntries) 01378 { 01379 return "¹ê§@©ó "+trWriteList(numEntries)+"."; 01380 } 01381 01383 // new since 1.2.16 01385 01389 virtual QCString trRTFTableOfContents() 01390 { 01391 return "¥Ø¿ý"; 01392 } 01393 01395 // new since 1.2.17 01397 01401 virtual QCString trDeprecatedList() 01402 { 01403 return "¹L®É¶µ¥Ø(Deprecated) ¦Cªí"; 01404 } 01405 01407 // new since 1.2.18 01409 01413 virtual QCString trEvents() 01414 { 01415 return "Events"; 01416 } 01418 virtual QCString trEventDocumentation() 01419 { 01420 return "Event ¤å¥ó"; 01421 } 01422 01424 // new since 1.3 01426 01429 virtual QCString trPackageTypes() 01430 { 01431 return "Package «¬§O"; 01432 } 01436 virtual QCString trPackageMembers() 01437 { 01438 return "Package ¨ç¼Æ¦Cªí"; 01439 } 01443 virtual QCString trStaticPackageMembers() 01444 { 01445 return "ÀRºA Package ¨ç¼Æ¦Cªí"; 01446 } 01450 virtual QCString trPackageAttribs() 01451 { 01452 return "Package ÄÝ©Ê"; 01453 } 01457 virtual QCString trStaticPackageAttribs() 01458 { 01459 return "ÀRºA Package ÄÝ©Ê"; 01460 } 01461 01463 // new since 1.3.1 01465 01469 virtual QCString trAll() 01470 { 01471 return "¥þ³¡"; 01472 } 01474 virtual QCString trCallGraph() 01475 { 01476 return "³o¬O¦¹¨ç¼Æªº¤Þ¥Î¨ç¼Æ¹Ï:"; 01477 } 01478 01480 // new since 1.3.3 01482 01487 virtual QCString trSearchForIndex() 01488 { 01489 return "·j´M¯Á¤Þ"; 01490 } 01494 virtual QCString trSearchResultsTitle() 01495 { 01496 return "·j´Mµ²ªG"; 01497 } 01506 virtual QCString trSearchResults(int numDocuments) 01507 { 01508 if (numDocuments==0) 01509 { 01510 return "§ä¤£¨ì²Å¦Xªº¸ê®Æ."; 01511 } 01512 else if (numDocuments==1) 01513 { 01514 return "§ä¨ì <b>1</b> µ§²Å¦Xªº¸ê®Æ."; 01515 } 01516 else 01517 { 01518 return "§ä¨ì <b>$num</b> µ§²Å¦Xªº¸ê®Æ. " 01519 "¶V²Å¦Xªºµ²ªGÅã¥Ü¦b¶V«e±."; 01520 } 01521 } 01525 virtual QCString trSearchMatches() 01526 { 01527 return "²Å¦X:"; 01528 } 01529 01531 // new since 1.3.8 01533 01536 virtual QCString trSourceFile(QCString& filename) 01537 { 01538 return filename + " ì©lµ{¦¡ÀÉ"; 01539 } 01540 01542 // new since 1.3.9 01544 01548 virtual QCString trDirIndex() 01549 { return "¥Ø¿ý¶¥¼h"; } 01550 01554 virtual QCString trDirDocumentation() 01555 { return "¥Ø¿ý»¡©ú¤å¥ó"; } 01556 01560 virtual QCString trDirectories() 01561 { return "¥Ø¿ý"; } 01562 01566 virtual QCString trDirDescription() 01567 { return "³oӥؿý¶¥¼h¸g¹L²²¤ªº¦r¥À±Æ§Ç: "; 01568 } 01569 01573 virtual QCString trDirReference(const char *dirName) 01574 { QCString result=dirName; result+=" ¥Ø¿ý°Ñ¦Ò¤å¥ó"; return result; } 01575 01579 virtual QCString trDir(bool /*first_capital*/, bool /*singular*/) 01580 { 01581 return QCString("¥Ø¿ý"); 01582 } 01583 01585 // new since 1.4.1 01587 01591 virtual QCString trOverloadText() 01592 { 01593 return "³o¬O¤@Ó¬°¤F«K§Q©Ê©Ò´£¨Ñ overload ¦¨û¨ç¼Æ¡A" 01594 "¥u¦³¦b±µ¨üªº°Ñ¼Æ¤W¡A»P«e¤@Ó¨ç¼Æ¤£¦P."; 01595 } 01597 // new since 1.4.6 01599 01601 virtual QCString trCallerGraph() 01602 { 01603 return "©I¥s¦¹¨ç¼Æªº¨ç¼Æ¦Cªí:"; 01604 } 01605 01606 01608 // new since 1.5.4 (mainly for Fortran) 01610 01612 virtual QCString trMemberFunctionDocumentationFortran() 01613 { return "¦¨û¨ç¼Æ/¤lµ{§Ç ¤å¥ó"; } 01614 01616 virtual QCString trCompoundListFortran() 01617 { return "¸ê®Æ«¬ºA¦Cªí"; } 01618 01620 virtual QCString trCompoundMembersFortran() 01621 { return "¸ê®ÆÄæ¦ì"; } 01622 01624 virtual QCString trCompoundListDescriptionFortran() 01625 { return "¸ê®Æ«¬ºA²µu»¡©ú¦Cªí:"; } 01626 01628 virtual QCString trCompoundMembersDescriptionFortran(bool extractAll) 01629 { 01630 QCString result="¦¹³B¦C¥X©Ò¦³"; 01631 if (!extractAll) 01632 { 01633 result+="¦³¤å¥óªº"; 01634 } 01635 result+="¸ê®Æ«¬§O¦¨û¨ç¼Æ"; 01636 result+=" ªþ±a³sµ²¨ì "; 01637 if (!extractAll) 01638 { 01639 result+="¨CÓ¦¨û¨ç¼Æªº¸ê®Æµ²ºc¤å¥ó"; 01640 } 01641 else 01642 { 01643 result+="¥LÌÄݩ󪺸ê®Æ«¬§O"; 01644 } 01645 return result; 01646 } 01647 01651 virtual QCString trCompoundIndexFortran() 01652 { return "¸ê®Æ«¬§O¯Á¤Þ"; } 01653 01657 virtual QCString trTypeDocumentation() 01658 { return "¸ê®Æ«¬§O¤å¥ó"; } 01659 01663 virtual QCString trSubprograms() 01664 { return "¨ç¼Æ/¤lµ{§Ç"; } 01665 01669 virtual QCString trSubprogramDocumentation() 01670 { return "¨ç¼Æ/¤lµ{§Ç ¤å¥ó"; } 01671 01675 virtual QCString trDataTypes() 01676 { return "¸ê®Æ«¬§O"; } 01677 01679 virtual QCString trModulesList() 01680 { return "¼Ò²Õ¦Cªí"; } 01681 01683 virtual QCString trModulesListDescription(bool extractAll) 01684 { 01685 QCString result="¦¹³B¦C¥X©Ò¦³"; 01686 if (!extractAll) result+="¦³¤å¥óªº"; 01687 result+="¼Ò²Õªþ±a²µu»¡©ú:"; 01688 return result; 01689 } 01690 01692 virtual QCString trCompoundReferenceFortran(const char *clName, 01693 ClassDef::CompoundType compType, 01694 bool isTemplate) 01695 { 01696 QCString result=(QCString)clName; 01697 switch(compType) 01698 { 01699 case ClassDef::Class: result+="¼Ò²Õ"; break; 01700 case ClassDef::Struct: result+="«¬ºA"; break; 01701 case ClassDef::Union: result+="Áp¦X"; break; 01702 case ClassDef::Interface: result+="¤¶±"; break; 01703 case ClassDef::Protocol: result+="¨óij"; break; 01704 case ClassDef::Category: result+="¤ÀÃþ"; break; 01705 case ClassDef::Exception: result+="¨Ò¥~"; break; 01706 } 01707 if (isTemplate) result+=" Template"; 01708 result+="°Ñ¦Ò¤å¥ó"; 01709 return result; 01710 } 01712 virtual QCString trModuleReference(const char *namespaceName) 01713 { 01714 QCString result=namespaceName; 01715 result+="¼Ò²Õ°Ñ¦Ò¤å¥ó"; 01716 return result; 01717 } 01718 01720 virtual QCString trModulesMembers() 01721 { return "¼Ò²Õ¦¨û"; } 01722 01724 virtual QCString trModulesMemberDescription(bool extractAll) 01725 { 01726 QCString result="¦¹³B¦C¥X©Ò¦³"; 01727 if (!extractAll) result+="¦³¤å¥óªº"; 01728 result+="¼Ò²Õ¦¨ûªþ±a³sµ²¨ì"; 01729 if (extractAll) 01730 { 01731 result+="¨CÓ¨ç¼Æªº¼Ò²Õ¤å¥ó:"; 01732 } 01733 else 01734 { 01735 result+="¥LÌ©ÒÄݪº¼Ò²Õ:"; 01736 } 01737 return result; 01738 } 01739 01743 virtual QCString trModulesIndex() 01744 { return "¼Ò²Õ¯Á¤Þ"; } 01745 01750 virtual QCString trModule(bool /* first_capital */, bool /* singular */) 01751 { 01752 QCString result("¼Ò²Õ"); 01753 return result; 01754 } 01758 virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType, 01759 bool /* single */) 01760 { // here s is one of " Module", " Struct" or " Union" 01761 // single is true implies a single file 01762 QCString result=(QCString)"³oÓ"; 01763 switch(compType) 01764 { 01765 case ClassDef::Class: result+="¼Ò²Õ"; break; 01766 case ClassDef::Struct: result+="«¬ºA"; break; 01767 case ClassDef::Union: result+="Áp¦X"; break; 01768 case ClassDef::Interface: result+="¤¶±"; break; 01769 case ClassDef::Protocol: result+="¨óij"; break; 01770 case ClassDef::Category: result+="¤ÀÃþ"; break; 01771 case ClassDef::Exception: result+="¨Ò¥~"; break; 01772 } 01773 result+="¤å¥ó¥Ñ¤U¦CÀɮײ£¥Í"; 01774 return result; 01775 } 01780 virtual QCString trType(bool /* first_capital */, bool /* singular */) 01781 { 01782 QCString result("«¬§O"); 01783 return result; 01784 } 01789 virtual QCString trSubprogram(bool /* first_capital */, bool /* singular */) 01790 { 01791 QCString result("¤lµ{¦¡"); 01792 return result; 01793 } 01794 01796 virtual QCString trTypeConstraints() 01797 { 01798 return "«¬§O¨î±ø¥ó"; 01799 } 01800 01801 }; 01802 01803 #endif