summaryrefslogtreecommitdiffstats
path: root/src/translator_jp.h
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2003-01-26 21:10:54 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2003-01-26 21:10:54 (GMT)
commitdaa0336ab06f76a07f59499cbc47fd919073749d (patch)
tree76af52671423a9b083a05f78c82f3435635ab400 /src/translator_jp.h
parent92792d3adc9011f35467341eb535ed3580ddb901 (diff)
downloadDoxygen-daa0336ab06f76a07f59499cbc47fd919073749d.zip
Doxygen-daa0336ab06f76a07f59499cbc47fd919073749d.tar.gz
Doxygen-daa0336ab06f76a07f59499cbc47fd919073749d.tar.bz2
Release-1.3-rc2-20030126
Diffstat (limited to 'src/translator_jp.h')
-rw-r--r--src/translator_jp.h26
1 files changed, 22 insertions, 4 deletions
diff --git a/src/translator_jp.h b/src/translator_jp.h
index 3a4b904..e4b6445 100644
--- a/src/translator_jp.h
+++ b/src/translator_jp.h
@@ -41,7 +41,7 @@ class TranslatorJapaneseEn : public TranslatorEnglish
/*! returns the name of the package that is included by LaTeX */
virtual QCString idLanguageCharset()
{
-#ifdef _WIN32
+#ifdef __CYGWIN__
return "Shift_JIS";
#else
return "euc-jp";
@@ -61,13 +61,13 @@ class TranslatorJapaneseEn : public TranslatorEnglish
}
};
-class TranslatorJapanese : public TranslatorAdapter_1_2_18
+class TranslatorJapanese : public Translator
{
private:
/*! The decode() can change euc into sjis */
inline QCString decode(const QCString & sInput)
{
-#ifdef _WIN32
+#ifdef __CYGWIN__
return JapaneseEucToSjis(sInput);
#else
return sInput;
@@ -83,7 +83,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_2_18
/*! returns the name of the package that is included by LaTeX */
virtual QCString idLanguageCharset()
{
-#ifdef _WIN32
+#ifdef __CYGWIN__
return "Shift_JIS";
#else
return "euc-jp";
@@ -1387,5 +1387,23 @@ class TranslatorJapanese : public TranslatorAdapter_1_2_18
{
return "非推奨一覧";
}
+
+//////////////////////////////////////////////////////////////////////////
+// new since 1.2.18
+//////////////////////////////////////////////////////////////////////////
+
+ /*! Used as a header for declaration section of the events found in
+ * a C# program
+ */
+ virtual QCString trEvents()
+ {
+ return "イベント";
+ }
+ /*! Header used for the documentation section of a class' events. */
+ virtual QCString trEventDocumentation()
+ {
+ return "イベントの解説";
+ }
+
};
#endif