diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2001-08-19 18:13:14 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2001-08-19 18:13:14 (GMT) |
commit | 8f7c9d9ba3b6c4e87c87deb6775d4bf642939e77 (patch) | |
tree | 3ff0575884709cdc92f9e462441672f3549ab054 /src/language.cpp | |
parent | b5cbb79d114ed13945bc882ac8eef1c2be967bbf (diff) | |
download | Doxygen-8f7c9d9ba3b6c4e87c87deb6775d4bf642939e77.zip Doxygen-8f7c9d9ba3b6c4e87c87deb6775d4bf642939e77.tar.gz Doxygen-8f7c9d9ba3b6c4e87c87deb6775d4bf642939e77.tar.bz2 |
Release-1.2.9-20010819
Diffstat (limited to 'src/language.cpp')
-rw-r--r-- | src/language.cpp | 93 |
1 files changed, 93 insertions, 0 deletions
diff --git a/src/language.cpp b/src/language.cpp index 4f804f2..33da153 100644 --- a/src/language.cpp +++ b/src/language.cpp @@ -17,34 +17,81 @@ #include "message.h" #include "language.h" +#include "lang_cfg.h" #include "translator.h" #include "translator_en.h" #if !defined(ENGLISH_ONLY) #include "translator_adapter.h" +#ifdef LANG_NL #include "translator_nl.h" +#endif +#ifdef LANG_SE #include "translator_se.h" +#endif +#ifdef LANG_CZ #include "translator_cz.h" +#endif +#ifdef LANG_FR #include "translator_fr.h" +#endif +#ifdef LANG_IT #include "translator_it.h" +#endif +#ifdef LANG_DE #include "translator_de.h" +#endif +#ifdef LANG_JP #include "translator_jp.h" +#endif +#ifdef LANG_ES #include "translator_es.h" +#endif +#ifdef LANG_FI #include "translator_fi.h" +#endif +#ifdef LANG_RU #include "translator_ru.h" +#endif +#ifdef LANG_HR #include "translator_hr.h" +#endif +#ifdef LANG_PL #include "translator_pl.h" +#endif +#ifdef LANG_PT #include "translator_pt.h" +#endif +#ifdef LANG_HU #include "translator_hu.h" +#endif +#ifdef LANG_KR #include "translator_kr.h" +#endif +#ifdef LANG_RO #include "translator_ro.h" +#endif +#ifdef LANG_SI #include "translator_si.h" +#endif +#ifdef LANG_CN #include "translator_cn.h" +#endif +#ifdef LANG_NO #include "translator_no.h" +#endif +#ifdef LANG_BR #include "translator_br.h" +#endif +#ifdef LANG_DK #include "translator_dk.h" +#endif +#ifdef LANG_SK #include "translator_sk.h" +#endif +#ifdef LANG_UA #include "translator_ua.h" #endif +#endif #define L_EQUAL(a) !stricmp(langName,a) @@ -57,99 +104,145 @@ bool setTranslator(const char *langName) theTranslator=new TranslatorEnglish; } #if !defined(ENGLISH_ONLY) +#ifdef LANG_NL else if (L_EQUAL("dutch")) { theTranslator=new TranslatorDutch; } +#endif +#ifdef LANG_SE else if (L_EQUAL("swedish")) { theTranslator=new TranslatorSwedish; } +#endif +#ifdef LANG_CZ else if (L_EQUAL("czech")) { theTranslator=new TranslatorCzech; } +#endif +#ifdef LANG_FR else if (L_EQUAL("french")) { theTranslator=new TranslatorFrench; } +#endif +#ifdef LANG_IT else if (L_EQUAL("italian")) { theTranslator=new TranslatorItalian; } +#endif +#ifdef LANG_DE else if (L_EQUAL("german")) { theTranslator=new TranslatorGerman; } +#endif +#ifdef LANG_JP else if (L_EQUAL("japanese")) { theTranslator=new TranslatorJapanese; } +#endif +#ifdef LANG_ES else if (L_EQUAL("spanish")) { theTranslator=new TranslatorSpanish; } +#endif +#ifdef LANG_FI else if (L_EQUAL("finnish")) { theTranslator=new TranslatorFinnish; } +#endif +#ifdef LANG_RU else if (L_EQUAL("russian")) { theTranslator=new TranslatorRussian; } +#endif +#ifdef LANG_HR else if (L_EQUAL("croatian")) { theTranslator=new TranslatorCroatian; } +#endif +#ifdef LANG_PL else if (L_EQUAL("polish")) { theTranslator=new TranslatorPolish; } +#endif +#ifdef LANG_PT else if (L_EQUAL("portuguese")) { theTranslator=new TranslatorPortuguese; } +#endif +#ifdef LANG_HU else if (L_EQUAL("hungarian")) { theTranslator=new TranslatorHungarian; } +#endif +#ifdef LANG_KR else if (L_EQUAL("korean")) { theTranslator=new TranslatorKorean; } +#endif +#ifdef LANG_RO else if (L_EQUAL("romanian")) { theTranslator=new TranslatorRomanian; } +#endif +#ifdef LANG_SI else if (L_EQUAL("slovene")) { theTranslator=new TranslatorSlovene; } +#endif +#ifdef LANG_CN else if (L_EQUAL("chinese")) { theTranslator=new TranslatorChinese; } +#endif +#ifdef LANG_NO else if (L_EQUAL("norwegian")) { theTranslator=new TranslatorNorwegian; } +#endif +#ifdef LANG_BR else if (L_EQUAL("brazilian")) { theTranslator=new TranslatorBrazilian; } +#endif +#ifdef LANG_DK else if (L_EQUAL("danish")) { theTranslator=new TranslatorDanish; } +#endif +#ifdef LANG_SK else if (L_EQUAL("slovak")) { theTranslator=new TranslatorSlovak; } +#endif +#ifdef LANG_UA else if (L_EQUAL("ukrainian")) { theTranslator=new TranslatorUkrainian; } #endif +#endif else // use the default language (i.e. english) { theTranslator=new TranslatorEnglish; |