/****************************************************************************** * * * * Copyright (C) 1997-2004 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby * granted. No representations are made about the suitability of this software * for any purpose. It is provided "as is" without express or implied warranty. * See the GNU General Public License for more details. * * Documents produced by Doxygen are derivative works derived from the * input used in their production; they are not affected by this license. * */ #ifndef TRANSLATOR_KR_H #define TRANSLATOR_KR_H /*! When defining a translator class for the new language, follow the description in the documentation. One of the steps says that you should copy the translator_en.h (this) file to your translator_xx.h new file. Your new language should use the Translator class as the base class. This means that you need to implement exactly the same (pure virtual) methods as the TranslatorEnglish does. Because of this, it is a good idea to start with the copy of TranslatorEnglish and replace the strings one by one. It is not necessary to include "translator.h" or "translator_adapter.h" here. The files are included in the language.cpp correctly. Not including any of the mentioned files frees the maintainer from thinking about whether the first, the second, or both files should be included or not, and why. This holds namely for localized translators because their base class is changed occasionaly to adapter classes when the Translator class changes the interface, or back to the Translator class (by the local maintainer) when the localized translator is made up-to-date again. */ /* Ãʱâ ÀÛ¾÷ÀÚ: ryk TODO ÁÖ¼®À» º¸¸é 11/22/01, doxygen ¹öÀü 1.2.11±îÁö ¼ö°íÇØ ÁֽŠ°Í °°½À´Ï´Ù. ÃÖ±Ù °»½ÅÀÚ: Astromaker(http://ngps.net/) gpgiki(http://www.gpgstudy.com/gpgiki/) */ // // Update: // // 2004.12.22 (SooYoung Jung: jung5000@gmail.com) // - LaTex and RTF were not generated correctly. // Corrected trRTFansicp and trRTFCharSet. // It was wrong. // - Adapting 1.3.9 and added "new since 1.3.9" // - Çؼ®ÀÌ À߸øµÈ ºÎºÐÀÌ ²Ò³ª ÀÖ¾î º¸ÀÓ.. // class TranslatorKorean : public TranslatorAdapter_1_3_9 { private: /*! The decode() can change euc into sjis */ inline QCString decode(const QCString & sInput) { if (Config_getBool("USE_WINDOWS_ENCODING")) { return JapaneseEucToSjis(sInput); } else { return sInput; } } public: // --- Language control methods ------------------- /*! Used for identification of the language. The identification * should not be translated. It should be replaced by the name * of the language in English using lower-case characters only * (e.g. "czech", "japanese", "russian", etc.). It should be equal to * the identification used in language.cpp. */ virtual QCString idLanguage() { return "korean"; } /*! Used to get the LaTeX command(s) for the language support. * This method should return string with commands that switch * LaTeX to the desired language. For example *
"\\usepackage[german]{babel}\n"
     *  
* or *
"\\usepackage{polski}\n"
     *  "\\usepackage[latin2]{inputenc}\n"
     *  "\\usepackage[T1]{fontenc}\n"
     *  
* * The English LaTeX does not use such commands. Because of this * the empty string is returned in this implementation. */ virtual QCString latexLanguageSupportCommand() { // I'm not sure what this should be. // When I figure it out, I'll update this. //see http://www.ktug.or.kr/jsboard/read.php?table=operate&no=4422&page=1 return "\\usepackage{hfont}\n"; } /*! return the language charset. This will be used for the HTML output */ virtual QCString idLanguageCharset() { return "euc-kr"; } // --- Language translation methods ------------------- /*! used in the compound documentation before a list of related functions. */ virtual QCString trRelatedFunctions() { return "°ü·ÃµÈ ÇÔ¼ö"; } /*! subscript for the related functions. */ virtual QCString trRelatedSubscript() { return "°ü·ÃÁÖ¼®"; } /*! header that is put before the detailed description of files, classes and namespaces. */ virtual QCString trDetailedDescription() { return "¼¼ºÎ »çÇ×"; } /*! header that is put before the list of typedefs. */ virtual QCString trMemberTypedefDocumentation() { return "¸â¹ö ŸÀÔÁ¤ÀÇ ¹®¼­È­"; } /*! header that is put before the list of enumerations. */ virtual QCString trMemberEnumerationDocumentation() { return "¸â¹ö ¿­°ÅÇü ¹®¼­È­"; } /*! header that is put before the list of member functions. */ virtual QCString trMemberFunctionDocumentation() { return "¸â¹ö ÇÔ¼ö ¹®¼­È­"; } /*! header that is put before the list of member attributes. */ virtual QCString trMemberDataDocumentation() { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { return "¸â¹ö º¯¼ö ¹®¼­È­"; } else { return "¸â¹ö º¯¼ö ¹®¼­È­"; } } /*! this is the text of a link put after brief descriptions. */ virtual QCString trMore() { return "¼¼ºÎ »çÇ× º¸±â"; } /*! put in the class documentation */ virtual QCString trListOfAllMembers() { return "Àüü ¸â¹ö ¸ñ·Ï º¸±â"; } /*! used as the title of the "list of all members" page of a class */ virtual QCString trMemberList() { return "¸â¹ö(¸â¹öÇÔ¼ö, ¸â¹öº¯¼ö µî) ¸ñ·Ï"; } /*! this is the first part of a sentence that is followed by a class name */ virtual QCString trThisIsTheListOfAllMembers() { return "¸ðµç ¸â¹ö(¸â¹öÇÔ¼ö, ¸â¹öº¯¼ö µî) ¸ñ·Ï " ; } /*! this is the remainder of the sentence after the class name */ virtual QCString trIncludingInheritedMembers() { return ", »ó¼Ó¹ÞÀº ¸ðµç ¸â¹öµµ Æ÷ÇÔ"; } /*! this is put at the author sections at the bottom of man pages. * parameter s is name of the project name. */ virtual QCString trGeneratedAutomatically(const char *s) { QCString result=""; if (s) result+=(QCString)s+"¿¡ "; result += "source ÄÚµå·Î ºÎÅÍ Doxygen¿¡ ÀÇÇØ ÀÚµ¿À¸·Î »ý¼º"; return result; } /*! put after an enum name in the list of all members */ virtual QCString trEnumName() { return "¿­°ÅÇü À̸§"; } /*! put after an enum value in the list of all members */ virtual QCString trEnumValue() { return "¿­°ÅÇü °ª"; } /*! put after an undocumented member in the list of all members */ virtual QCString trDefinedIn() { return "¿¡¼­ Á¤ÀÇ"; } // quick reference sections /*! This is put above each page as a link to the list of all groups of * compounds or files (see the \\group command). */ virtual QCString trModules() { return "¸ðµâ"; } /*! This is put above each page as a link to the class hierarchy */ virtual QCString trClassHierarchy() { return "Ŭ·¡½º °èÅëµµ"; } // "Ŭ·¡½º Á¶Á÷" or "Ŭ·¡½º ºÐ·ùü°è" /*! This is put above each page as a link to the list of annotated classes */ virtual QCString trCompoundList() { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { //Alternate text: "È¥ÇÕ ¸ñ·Ï", "ÇÕ¼º(ÁýÇÕ) ¸í´Ü(¸®½ºÆ®)" return "º¹ÇÕ±¸Á¶(Ŭ·¡½º, ±¸Á¶Ã¼, °ø¿ëü)"; } else { return "º¹ÇÕ±¸Á¶(Ŭ·¡½º, ±¸Á¶Ã¼, °ø¿ëü)"; } } /*! This is put above each page as a link to the list of documented files */ virtual QCString trFileList() { return "ÆÄÀÏ ¸ñ·Ï"; } //"ÆÄÀÏ ¸ñ·Ï", "ÆÄÀÏ ¸®½ºÆ®" /*! This is put above each page as a link to the list of all verbatim headers */ virtual QCString trHeaderFiles() { return "Çì´õ ÆÄÀÏ"; } /*! This is put above each page as a link to all members of compounds. */ virtual QCString trCompoundMembers() { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { return "º¹ÇÕ±¸Á¶(Ŭ·¡½º, ±¸Á¶Ã¼, °ø¿ëü) ¸â¹ö"; } else { // Alternate text: "ÇÕ¼º(ÁýÇÕ) ¸í´Ü(¸â¹öµé)" return "º¹ÇÕ±¸Á¶(Ŭ·¡½º, ±¸Á¶Ã¼, °ø¿ëü) ¸â¹ö"; } } /*! This is put above each page as a link to all members of files. */ virtual QCString trFileMembers() { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { return "ÆÄÀÏ ¸â¹ö"; } else { return "ÆÄÀÏ ¸â¹ö"; } } /*! This is put above each page as a link to all related pages. */ virtual QCString trRelatedPages() { return "°ü·ÃµÈ ÆäÀÌÁö"; } /*! This is put above each page as a link to all examples. */ virtual QCString trExamples() { return "¿¹Á¦"; } /*! This is put above each page as a link to the search engine. */ virtual QCString trSearch() { return "°Ë»ö"; } /*! This is an introduction to the class hierarchy. */ virtual QCString trClassHierarchyDescription() { return "ÀÌ »ó¼Ó ¸ñ·ÏÀº ¾ËÆĺª ¼øÀ¸·Î Á¤·ÄµÇ¾îÀÖ½À´Ï´Ù. (¿ÏÀüÇÏÁö´Â ¾ÊÀ½)";} /*! This is an introduction to the list with all files. */ virtual QCString trFileListDescription(bool extractAll) { QCString result="´ÙÀ½Àº °£·«ÇÑ ¼³¸íÀ» °¡Áø "; if (!extractAll) result+="¹®¼­È­µÈ "; result+="¸ðµç ÆÄÀÏ¿¡ ´ëÇÑ ¸ñ·ÏÀÔ´Ï´Ù."; return result; } /*! This is an introduction to the annotated compound list. */ virtual QCString trCompoundListDescription() { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { return "´ÙÀ½Àº °£·«ÇÑ ¼³¸íÀ» °¡Áø Ŭ·¡½º, " "±¸Á¶Ã¼, °ø¿ëü, ÀÎÅÍÆäÀ̽ºÀÇ ¸ñ·ÏÀÔ´Ï´Ù."; } else { return "´ÙÀ½Àº °£·«ÇÑ ¼³¸íÀ» °¡Áø Ŭ·¡½º, " "±¸Á¶Ã¼, °ø¿ëü, ÀÎÅÍÆäÀ̽ºÀÇ ¸ñ·ÏÀÔ´Ï´Ù."; } } /*! This is an introduction to the page with all class members. */ virtual QCString trCompoundMembersDescription(bool extractAll) { QCString result="´ÙÀ½Àº ¹®¼­È­µÈ ¸ðµç Ŭ·¡½º, ±¸Á¶Ã¼, °ø¿ëü ¸â¹ö¿¡ ´ëÇÑ ¸ñ·ÏÀÔ´Ï´Ù. "; if (!extractAll) { result+="¹®¼­È­µÈ "; } if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { result+="¸µÅ© µÈ Ŭ·¡½º ¸â¹ö´Â "; } else { result+="¸µÅ© µÈ Ŭ·¡½º ¸â¹ö´Â "; } if (extractAll) result+="±× ¸â¹ö¿¡ ´ëÇÑ Å¬·¡½º ¹®¼­È­·Î °©´Ï´Ù."; else result+="ÀÌÇÏ·Î ¼ÓÇÑ Å¬·¡½º:"; return result; } /*! This is an introduction to the page with all file members. */ virtual QCString trFileMembersDescription(bool extractAll) { QCString result="´ÙÀ½Àº ¹®¼­È­µÈ ¸ðµç ÆÄÀÏ¿¡ ´ëÇÑ ¸ñ·ÏÀÔ´Ï´Ù. "; if (!extractAll) result+="¹®¼­È­µÈ "; result+="¸µÅ© µÈ ÆÄÀÏ ¸â¹ö´Â "; if (extractAll) result+="±× ¸â¹ö¿¡ ´ëÇÑ ÆÄÀÏ ¹®¼­È­·Î °©´Ï´Ù."; else result+="±×µéÀÌ ¼ÓÇØÀÖ´Â ÆÄÀÏ·Î °©´Ï´Ù."; return result; } /*! This is an introduction to the page with the list of all header files. */ virtual QCString trHeaderFilesDescription() { return "´ÙÀ½Àº API¸¦ ±¸¼ºÇÏ´Â Çì´õ ÆÄÀÏÀÔ´Ï´Ù."; } /*! This is an introduction to the page with the list of all examples */ virtual QCString trExamplesDescription() { return "´ÙÀ½Àº ¸ðµç ¿¹Á¦ÀÇ ¸ñ·ÏÀÔ´Ï´Ù."; } /*! This is an introduction to the page with the list of related pages */ virtual QCString trRelatedPagesDescription() { return "´ÙÀ½Àº ¸ðµç °ü·ÃµÈ ¹®¼­È­ ÆäÀÌÁöÀÇ ¸ñ·ÏÀÔ´Ï´Ù."; } /*! This is an introduction to the page with the list of class/file groups */ virtual QCString trModulesDescription() { return "´ÙÀ½Àº ¸ðµç ¸ðµâÀÇ ¸ñ·ÏÀÔ´Ï´Ù."; } /*! This sentences is used in the annotated class/file lists if no brief * description is given. */ virtual QCString trNoDescriptionAvailable() { return "À¯¿ëÇÑ ¼³¸íÀÌ ¾ø½À´Ï´Ù."; } // index titles (the project name is prepended for these) /*! This is used in HTML as the title of index.html. */ virtual QCString trDocumentation() { return "¹®¼­È­"; } /*! This is used in LaTeX as the title of the chapter with the * index of all groups. */ virtual QCString trModuleIndex() { return "¸ðµâ »öÀÎ"; } /*! This is used in LaTeX as the title of the chapter with the * class hierarchy. */ virtual QCString trHierarchicalIndex() { return "ºÐ·ùü°è »öÀÎ"; } /*! This is used in LaTeX as the title of the chapter with the * annotated compound index. */ virtual QCString trCompoundIndex() { return "º¹ÇÕ±¸Á¶(Ŭ·¡½º, ±¸Á¶Ã¼, °ø¿ëü) »öÀÎ"; } /*! This is used in LaTeX as the title of the chapter with the * list of all files. */ virtual QCString trFileIndex() { return "ÆÄÀÏ »öÀÎ"; } /*! This is used in LaTeX as the title of the chapter containing * the documentation of all groups. */ virtual QCString trModuleDocumentation() { return "¸ðµâ ¹®¼­È­"; } /*! This is used in LaTeX as the title of the chapter containing * the documentation of all classes, structs and unions. */ virtual QCString trClassDocumentation() { return "Ŭ·¡½º ¹®¼­È­"; } /*! This is used in LaTeX as the title of the chapter containing * the documentation of all files. */ virtual QCString trFileDocumentation() { return "ÆÄÀÏ ¹®¼­È­"; } /*! This is used in LaTeX as the title of the chapter containing * the documentation of all examples. */ virtual QCString trExampleDocumentation() { return "¿¹Á¦ ¹®¼­È­"; } /*! This is used in LaTeX as the title of the chapter containing * the documentation of all related pages. */ virtual QCString trPageDocumentation() { return "ÆäÀÌÁö ¹®¼­È­"; } /*! This is used in LaTeX as the title of the document */ virtual QCString trReferenceManual() { return "Âü°í¼­"; } /*! This is used in the documentation of a file as a header before the * list of defines */ virtual QCString trDefines() { return "¸ÅÅ©·Î, #define"; } /*! This is used in the documentation of a file as a header before the * list of function prototypes */ virtual QCString trFuncProtos() { return "ÇÔ¼ö ¿øÇü"; } /*! This is used in the documentation of a file as a header before the * list of typedefs */ virtual QCString trTypedefs() { return "ŸÀÔ Á¤ÀÇ"; } /*! This is used in the documentation of a file as a header before the * list of enumerations */ virtual QCString trEnumerations() { return "¿­°ÅÇü"; } /*! This is used in the documentation of a file as a header before the * list of (global) functions */ virtual QCString trFunctions() { return "ÇÔ¼ö"; } /*! This is used in the documentation of a file as a header before the * list of (global) variables */ virtual QCString trVariables() { return "º¯¼ö"; } /*! This is used in the documentation of a file as a header before the * list of (global) variables */ virtual QCString trEnumerationValues() { return "¿­°ÅÇü °ª"; } /*! This is used in the documentation of a file before the list of * documentation blocks for defines */ virtual QCString trDefineDocumentation() { return "#define ¹®¼­È­"; } /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for function prototypes */ virtual QCString trFunctionPrototypeDocumentation() { return "ÇÔ¼ö ¿øÇü ¹®¼­È­"; } /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for typedefs */ virtual QCString trTypedefDocumentation() { return "ŸÀÔ Á¤ÀÇ ¹®¼­È­"; } /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for enumeration types */ virtual QCString trEnumerationTypeDocumentation() { return "¿­°ÅÇü ŸÀÔ ¹®¼­È­"; } /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for enumeration values */ virtual QCString trEnumerationValueDocumentation() { return "¿­°ÅÇü °ª ¹®¼­È­"; } /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for functions */ virtual QCString trFunctionDocumentation() { return "ÇÔ¼ö ¹®¼­È­"; } /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for variables */ virtual QCString trVariableDocumentation() { return "º¯¼ö ¹®¼­È­"; } /*! This is used in the documentation of a file/namespace/group before * the list of links to documented compounds */ virtual QCString trCompounds() { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { return "Data Structures"; } else { return "Classes"; } } /*! This is used in the standard footer of each page and indicates when * the page was generated */ virtual QCString trGeneratedAt(const char *date,const char *projName) { QCString result=""; if (projName) result+=(QCString)projName+" ¹®¼­È­. "; result += "»ý¼ºÀϽà : " +(QCString)date+" by"; return result; } /*! This is part of the sentence used in the standard footer of each page. */ virtual QCString trWrittenBy() { return "written by"; } /*! this text is put before a class diagram */ virtual QCString trClassDiagram(const char *clName) { return (QCString)clName+"¿¡ ´ëÇÑ »ó¼Ó µµÇ¥"; } /*! this text is generated when the \\internal command is used. */ virtual QCString trForInternalUseOnly() { return "³»ºÎ »ç¿ë¸¸À» À§ÇØ"; } /*! this text is generated when the \\reimp command is used. */ virtual QCString trReimplementedForInternalReasons() { return "³»ºÎÀû ÀÌÀ¯·Î ÀÎÇØ À籸ÇöµÈ: API°¡ ¿µÇâÀ» ¹ÞÁö¾Ê¾Ò´Ù."; } /*! this text is generated when the \\warning command is used. */ virtual QCString trWarning() { return "°æ°í"; } /*! this text is generated when the \\bug command is used. */ virtual QCString trBugsAndLimitations() { return "¹ö±×¿Í ÇÑ°è"; } /*! this text is generated when the \\version command is used. */ virtual QCString trVersion() { return "¹öÀü"; } /*! this text is generated when the \\date command is used. */ virtual QCString trDate() { return "³¯Â¥"; } /*! this text is generated when the \\return command is used. */ virtual QCString trReturns() { return "¹Ýȯ°ª"; } /*! this text is generated when the \\sa command is used. */ virtual QCString trSeeAlso() { return "ÂüÁ¶"; } /*! this text is generated when the \\param command is used. */ virtual QCString trParameters() { return "¸Å°³º¯¼ö"; } /*! this text is generated when the \\exception command is used. */ virtual QCString trExceptions() { return "¿¹¿Ü"; } /*! this text is used in the title page of a LaTeX document. */ virtual QCString trGeneratedBy() { return "¿¡ ÀÇÇØ »ý¼ºµÈ"; } ////////////////////////////////////////////////////////////////////////// // new since 0.49-990307 ////////////////////////////////////////////////////////////////////////// /*! used as the title of page containing all the index of all namespaces. */ virtual QCString trNamespaceList() { return "namespace ¸ñ·Ï"; } /*! used as an introduction to the namespace list */ virtual QCString trNamespaceListDescription(bool extractAll) { QCString result="´ÙÀ½Àº °£·«ÇÑ ¼³¸íÀ» °¡Áø "; if (!extractAll) result+="¹®¼­È­µÈ "; result+="namespaceÀÇ ¸ñ·ÏÀÔ´Ï´Ù."; return result; } /*! used in the class documentation as a header before the list of all * friends of a class */ virtual QCString trFriends() { return "Friends"; } ////////////////////////////////////////////////////////////////////////// // new since 0.49-990405 ////////////////////////////////////////////////////////////////////////// /*! used in the class documentation as a header before the list of all * related classes */ virtual QCString trRelatedFunctionDocumentation() { return "friend, ±×¸®°í °ü·ÃµÈ ÇÔ¼ö ¹®¼­È­"; } ////////////////////////////////////////////////////////////////////////// // new since 0.49-990425 ////////////////////////////////////////////////////////////////////////// /*! used as the title of the HTML page of a class/struct/union */ virtual QCString trCompoundReference(const char *clName, ClassDef::CompoundType compType, bool isTemplate) { QCString result=(QCString)clName+" "; if (isTemplate) result+=" ÅÛÇø´"; switch(compType) { case ClassDef::Class: result+=" Ŭ·¡½º"; break; case ClassDef::Struct: result+=" ±¸Á¶Ã¼"; break; case ClassDef::Union: result+=" °ø¿ëü"; break; case ClassDef::Interface: result+=" ÀÎÅÍÆäÀ̽º"; break; case ClassDef::Protocol: result+=" protocol"; break; // translate me! case ClassDef::Category: result+=" category"; break; // translate me! case ClassDef::Exception: result+=" ¿¹¿Ü"; break; } if (isTemplate) result+=" ÅÛÇø´"; result+=" ÂüÁ¶"; return result; } /*! used as the title of the HTML page of a file */ virtual QCString trFileReference(const char *fileName) { QCString result=fileName; result+=" ÆÄÀÏ ÂüÁ¶"; return result; } /*! used as the title of the HTML page of a namespace */ virtual QCString trNamespaceReference(const char *namespaceName) { QCString result=namespaceName; result+=" namespace ÂüÁ¶"; return result; } virtual QCString trPublicMembers() { return "public ¸Þ¼Òµå"; } virtual QCString trPublicSlots() { return "public slots"; } virtual QCString trSignals() { return "½ÅÈ£"; } virtual QCString trStaticPublicMembers() { return "static public ¸Þ¼Òµå"; } virtual QCString trProtectedMembers() { return "protected ¸Þ¼Òµå"; } virtual QCString trProtectedSlots() { return "protected slots"; } virtual QCString trStaticProtectedMembers() { return "static protected ¸Þ¼Òµå"; } virtual QCString trPrivateMembers() { return "private ¸Þ¼Òµå"; } virtual QCString trPrivateSlots() { return "private slots"; } virtual QCString trStaticPrivateMembers() { return "static private ¸Þ¼Òµå"; } /*! this function is used to produce a comma-separated list of items. * use generateMarker(i) to indicate where item i should be put. */ virtual QCString trWriteList(int numEntries) { QCString result; int i; // the inherits list contain `numEntries' classes for (i=0;i