summaryrefslogtreecommitdiffstats
path: root/src/translator_jp.h
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2002-06-09 16:56:34 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2002-06-09 16:56:34 (GMT)
commit784e2b65dc675f89c8f21b3c7b306f5fb1bfa4ca (patch)
tree84818288910d8f77f48ecf8e6b5fe3f4291d7a18 /src/translator_jp.h
parent4c054d8406f9e4ceb582001c48cf659262774d0c (diff)
downloadDoxygen-784e2b65dc675f89c8f21b3c7b306f5fb1bfa4ca.zip
Doxygen-784e2b65dc675f89c8f21b3c7b306f5fb1bfa4ca.tar.gz
Doxygen-784e2b65dc675f89c8f21b3c7b306f5fb1bfa4ca.tar.bz2
Release-1.2.16-20020609
Diffstat (limited to 'src/translator_jp.h')
-rw-r--r--src/translator_jp.h85
1 files changed, 59 insertions, 26 deletions
diff --git a/src/translator_jp.h b/src/translator_jp.h
index 2e995a5..30ac856 100644
--- a/src/translator_jp.h
+++ b/src/translator_jp.h
@@ -29,6 +29,38 @@
#ifndef TRANSLATOR_JP_H
#define TRANSLATOR_JP_H
+class TranslatorJapaneseEn : public TranslatorEnglish
+{
+ public:
+ virtual QCString idLanguage()
+ { return "japanese"; }
+ virtual QCString latexLanguageSupportCommand()
+ {
+ return "";
+ }
+ /*! returns the name of the package that is included by LaTeX */
+ virtual QCString idLanguageCharset()
+ {
+#ifdef _WIN32
+ return "Shift_JIS";
+#else
+ return "euc-jp";
+#endif
+ }
+ virtual QCString trRTFansicp()
+ {
+ return "932";
+ }
+
+ /*! Used as ansicpg for RTF fcharset
+ * \see trRTFansicp() for a table of possible values.
+ */
+ virtual QCString trRTFCharSet()
+ {
+ return "128";
+ }
+};
+
class TranslatorJapanese : public Translator
{
private:
@@ -64,7 +96,7 @@ class TranslatorJapanese : public Translator
/*! subscript for the related functions. */
virtual QCString trRelatedSubscript()
- { return decode("(これらはメンバ関数でないことに注意)"); }
+ { return decode("(これらはメソッドでないことに注意)"); }
/*! header that is put before the detailed description of files, classes and namespaces. */
virtual QCString trDetailedDescription()
@@ -72,15 +104,15 @@ class TranslatorJapanese : public Translator
/*! header that is put before the list of typedefs. */
virtual QCString trMemberTypedefDocumentation()
- { return decode("Typedef メンバの解説"); }
+ { return decode("Typedef の解説"); }
/*! header that is put before the list of enumerations. */
virtual QCString trMemberEnumerationDocumentation()
- { return decode("Enum メンバの解説"); }
+ { return decode("Enum の解説"); }
/*! header that is put before the list of member functions. */
virtual QCString trMemberFunctionDocumentation()
- { return decode("関数メンバの解説"); }
+ { return decode("メソッドの解説"); }
/*! header that is put before the list of member attributes. */
virtual QCString trMemberDataDocumentation()
@@ -91,7 +123,7 @@ class TranslatorJapanese : public Translator
}
else
{
- return decode("メンバの解説");
+ return decode("変数の解説");
}
}
@@ -258,7 +290,7 @@ class TranslatorJapanese : public Translator
QCString result=decode("これは");
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
- result+=decode("関数、変数、マクロ、列挙型、型定義の");
+ result+=decode("関数、変数、マクロ、Enum、Typedef の");
}
else
{
@@ -389,13 +421,13 @@ class TranslatorJapanese : public Translator
* list of typedefs
*/
virtual QCString trTypedefs()
- { return decode("型定義"); }
+ { return decode("Typedef"); }
/*! This is used in the documentation of a file as a header before the
* list of enumerations
*/
virtual QCString trEnumerations()
- { return decode("列挙型"); }
+ { return decode("Enum"); }
/*! This is used in the documentation of a file as a header before the
* list of (global) functions
@@ -413,7 +445,7 @@ class TranslatorJapanese : public Translator
* list of (global) variables
*/
virtual QCString trEnumerationValues()
- { return decode("列挙値"); }
+ { return decode("Enum 値"); }
/*! This is used in the documentation of a file before the list of
* documentation blocks for defines
*/
@@ -430,19 +462,19 @@ class TranslatorJapanese : public Translator
* of documentation blocks for typedefs
*/
virtual QCString trTypedefDocumentation()
- { return decode("型定義の解説"); }
+ { return decode("Typedef の解説"); }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for enumeration types
*/
virtual QCString trEnumerationTypeDocumentation()
- { return decode("列挙型の解説"); }
+ { return decode("Enum の解説"); }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for enumeration values
*/
virtual QCString trEnumerationValueDocumentation()
- { return decode("列挙値の解説"); }
+ { return decode("Enum 値の解説"); }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for functions
@@ -609,25 +641,25 @@ class TranslatorJapanese : public Translator
/* these are for the member sections of a class, struct or union */
virtual QCString trPublicMembers()
- { return decode("Public メンバ"); }
+ { return decode("Public メソッド"); }
virtual QCString trPublicSlots()
{ return decode("Public スロット"); }
virtual QCString trSignals()
{ return decode("シグナル"); }
virtual QCString trStaticPublicMembers()
- { return decode("Static Public メンバ"); }
+ { return decode("Static Public メソッド"); }
virtual QCString trProtectedMembers()
- { return decode("Protected メンバ"); }
+ { return decode("Protected メソッド"); }
virtual QCString trProtectedSlots()
{ return decode("Protected スロット"); }
virtual QCString trStaticProtectedMembers()
- { return decode("Static Protected メンバ"); }
+ { return decode("Static Protected メソッド"); }
virtual QCString trPrivateMembers()
- { return decode("Private メンバ"); }
+ { return decode("Private メソッド"); }
virtual QCString trPrivateSlots()
{ return decode("Private スロット"); }
virtual QCString trStaticPrivateMembers()
- { return decode("Static Private メンバ"); }
+ { return decode("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.
@@ -880,22 +912,22 @@ class TranslatorJapanese : public Translator
}
virtual QCString trPublicTypes()
{
- return decode("公開型");
+ return decode("Public 型");
}
virtual QCString trPublicAttribs()
{
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
- return decode("データフィールド");
+ return decode("変数");
}
else
{
- return decode("Public 属性");
+ return decode("Public 変数");
}
}
virtual QCString trStaticPublicAttribs()
{
- return decode("Static Public 属性");
+ return decode("Static Public 変数");
}
virtual QCString trProtectedTypes()
{
@@ -903,11 +935,11 @@ class TranslatorJapanese : public Translator
}
virtual QCString trProtectedAttribs()
{
- return decode("Protected 属性");
+ return decode("Protected 変数");
}
virtual QCString trStaticProtectedAttribs()
{
- return decode("Static Protected 属性");
+ return decode("Static Protected 変数");
}
virtual QCString trPrivateTypes()
{
@@ -915,11 +947,11 @@ class TranslatorJapanese : public Translator
}
virtual QCString trPrivateAttribs()
{
- return decode("Private 属性");
+ return decode("Private 変数");
}
virtual QCString trStaticPrivateAttribs()
{
- return decode("Static Private 属性");
+ return decode("Static Private 変数");
}
//////////////////////////////////////////////////////////////////////////
@@ -1334,4 +1366,5 @@ class TranslatorJapanese : public Translator
}
};
+
#endif