summaryrefslogtreecommitdiffstats
path: root/src/language.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2008-01-17 18:56:38 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2008-01-17 18:56:38 (GMT)
commitf1103ed882b5739e7f16cfd69527bde6d6d96dfa (patch)
tree05e55417a750c1275c9139b7952de6941db168dd /src/language.cpp
parentc9fcb1845bd7c5080abfee1be4070130bbdd38c2 (diff)
downloadDoxygen-f1103ed882b5739e7f16cfd69527bde6d6d96dfa.zip
Doxygen-f1103ed882b5739e7f16cfd69527bde6d6d96dfa.tar.gz
Doxygen-f1103ed882b5739e7f16cfd69527bde6d6d96dfa.tar.bz2
Release-1.5.4-20080101
Diffstat (limited to 'src/language.cpp')
-rw-r--r--src/language.cpp13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/language.cpp b/src/language.cpp
index a1d043f..39c9e66 100644
--- a/src/language.cpp
+++ b/src/language.cpp
@@ -2,7 +2,7 @@
*
*
*
- * Copyright (C) 1997-2007 by Dimitri van Heesch.
+ * Copyright (C) 1997-2008 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
@@ -128,6 +128,9 @@
#ifdef LANG_FA
#include "translator_fa.h"
#endif
+#ifdef LANG_MK
+#include "translator_mk.h"
+#endif
#endif // !ENGLISH_ONLY
#define L_EQUAL(a) !stricmp(langName,a)
@@ -184,7 +187,7 @@ bool setTranslator(const char *langName)
#ifdef LANG_IT
else if (L_EQUAL("italian"))
{
- theTranslator=new TranslatorDecoder(new TranslatorItalian);
+ theTranslator=new TranslatorItalian;
}
#endif
#ifdef LANG_DE
@@ -357,6 +360,12 @@ bool setTranslator(const char *langName)
theTranslator=new TranslatorDecoder(new TranslatorPersian);
}
#endif
+#ifdef LANG_MK
+ else if (L_EQUAL("macedonian"))
+ {
+ theTranslator=new TranslatorMacedonian;
+ }
+#endif
#endif // ENGLISH_ONLY
else // use the default language (i.e. english)
{