summaryrefslogtreecommitdiffstats
path: root/src/language.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2008-06-26 19:24:36 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2008-06-26 19:24:36 (GMT)
commit15c353fe21452d415876c93607a468c5a8e89b82 (patch)
treecc6b9b1f467451deab5096afece76012eec030b3 /src/language.cpp
parente436cad917e0d8e0cdb7de9d2fbafc7a44b6ab54 (diff)
downloadDoxygen-15c353fe21452d415876c93607a468c5a8e89b82.zip
Doxygen-15c353fe21452d415876c93607a468c5a8e89b82.tar.gz
Doxygen-15c353fe21452d415876c93607a468c5a8e89b82.tar.bz2
Release-1.5.6-20080626
Diffstat (limited to 'src/language.cpp')
-rw-r--r--src/language.cpp13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/language.cpp b/src/language.cpp
index aa5de7b..ebe6c84 100644
--- a/src/language.cpp
+++ b/src/language.cpp
@@ -131,6 +131,9 @@
#ifdef LANG_MK
#include "translator_mk.h"
#endif
+#ifdef LANG_SC
+#include "translator_sc.h"
+#endif
#endif // !ENGLISH_ONLY
#define L_EQUAL(a) !stricmp(langName,a)
@@ -217,9 +220,7 @@ bool setTranslator(const char *langName)
#ifdef LANG_FI
else if (L_EQUAL("finnish"))
{
- //theTranslator=new TranslatorFinnish;
- theTranslator=new TranslatorEnglish;
- err(obsoleteMsg);
+ theTranslator=new TranslatorDecoder(new TranslatorFinnish);
}
#endif
#ifdef LANG_RU
@@ -330,6 +331,12 @@ bool setTranslator(const char *langName)
theTranslator=new TranslatorDecoder(new TranslatorSerbian);
}
#endif
+#ifdef LANG_SC
+ else if (L_EQUAL("serbian-cyrilic"))
+ {
+ theTranslator=new TranslatorSerbian;
+ }
+#endif
#ifdef LANG_CA
else if (L_EQUAL("catalan"))
{