diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2003-03-08 14:22:15 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2003-03-08 14:22:15 (GMT) |
commit | b05064427c02bd5ae998856a0d708c440f610bde (patch) | |
tree | eb0cd4bd519397a852945fb3acf64c0b65edcb2f /src/translator_hr.h | |
parent | 448b28836eb910f95e2f1903b4dea5eb8548e424 (diff) | |
download | Doxygen-b05064427c02bd5ae998856a0d708c440f610bde.zip Doxygen-b05064427c02bd5ae998856a0d708c440f610bde.tar.gz Doxygen-b05064427c02bd5ae998856a0d708c440f610bde.tar.bz2 |
Release-1.3-rc3-20030308
Diffstat (limited to 'src/translator_hr.h')
-rw-r--r-- | src/translator_hr.h | 49 |
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 |