summaryrefslogtreecommitdiffstats
path: root/src/translator_hr.h
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2003-03-08 14:22:15 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2003-03-08 14:22:15 (GMT)
commit91ac89e271d81507ce5d8bf5b821d80aedd6ec3e (patch)
treeeb0cd4bd519397a852945fb3acf64c0b65edcb2f /src/translator_hr.h
parent6ac75f5093a2ac447626579cfbda2d1a8af6d86e (diff)
downloadDoxygen-91ac89e271d81507ce5d8bf5b821d80aedd6ec3e.zip
Doxygen-91ac89e271d81507ce5d8bf5b821d80aedd6ec3e.tar.gz
Doxygen-91ac89e271d81507ce5d8bf5b821d80aedd6ec3e.tar.bz2
Release-1.3-rc3-20030308
Diffstat (limited to 'src/translator_hr.h')
-rw-r--r--src/translator_hr.h49
1 files changed, 38 insertions, 11 deletions
diff --git a/src/translator_hr.h b/src/translator_hr.h
index b512626..25e483e 100644
--- a/src/translator_hr.h
+++ b/src/translator_hr.h
@@ -46,32 +46,43 @@
//
// 2001/11/13
// - Added strings for 1.2.13
+//
+// 2003/02/26
+// - Added strings for 1.2.18
#ifndef TRANSLATOR_HR_H
#define TRANSLATOR_HR_H
-class TranslatorCroatian : public TranslatorAdapter_1_2_18
+class TranslatorCroatian : public Translator
{
private:
/*! to avoid macro redefinition from translator_cz.h */
inline QCString decode(const QCString& sInput)
{
-#ifdef _WIN32
- return ISO88592ToWin1250(sInput);
-#else
- return sInput;
-#endif
+ if (Config_getBool("USE_WINDOWS_ENCODING"))
+ {
+ return ISO88592ToWin1250(sInput);
+ }
+ else
+ {
+ return sInput;
+ }
}
public:
QCString idLanguage()
{ return "croatian"; }
QCString idLanguageCharset()
-#ifdef _WIN32
- { return "windows-1250"; }
-#else
- { return "iso-8859-2"; }
-#endif
+ {
+ if (Config_getBool("USE_WINDOWS_ENCODING"))
+ {
+ return "windows-1250";
+ }
+ else
+ {
+ return "iso-8859-2";
+ }
+ }
QCString latexLanguageSupportCommand()
{ return "\\usepackage[croatian]{babel}\n"; }
QCString trRelatedFunctions()
@@ -1062,6 +1073,22 @@ class TranslatorCroatian : public TranslatorAdapter_1_2_18
{
return "Popis zastarjelih metoda";
}
+//////////////////////////////////////////////////////////////////////////
+// new since 1.2.18
+//////////////////////////////////////////////////////////////////////////
+
+ /*! Used as a header for declaration section of the events found in
+ * a C# program
+ */
+ virtual QCString trEvents()
+ {
+ return decode("Dogašaji");
+ }
+ /*! Header used for the documentation section of a class' events. */
+ virtual QCString trEventDocumentation()
+ {
+ return decode("Dokumentacija dogašaja");
+ }
};
#endif