summaryrefslogtreecommitdiffstats
path: root/src/language.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2001-04-30 17:28:34 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2001-04-30 17:28:34 (GMT)
commitf7c8264049868843f3ee7e8ce8f418c0e1c31374 (patch)
treee2fe643e6fc6aabac8311560e2258318c1dead5a /src/language.cpp
parent47fa8f358883b25263b725f6d33d2f5800d45ebf (diff)
downloadDoxygen-f7c8264049868843f3ee7e8ce8f418c0e1c31374.zip
Doxygen-f7c8264049868843f3ee7e8ce8f418c0e1c31374.tar.gz
Doxygen-f7c8264049868843f3ee7e8ce8f418c0e1c31374.tar.bz2
Release-1.2.7
Diffstat (limited to 'src/language.cpp')
-rw-r--r--src/language.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/language.cpp b/src/language.cpp
index d8b2b86..35e92bd 100644
--- a/src/language.cpp
+++ b/src/language.cpp
@@ -17,6 +17,7 @@
#include "message.h"
#include "language.h"
+#include "translator_en.h"
#if !defined(ENGLISH_ONLY)
#include "translator_nl.h"
#include "translator_se.h"
@@ -48,7 +49,7 @@ bool setTranslator(const char *langName)
{
if (L_EQUAL("english"))
{
- theTranslator=new Translator;
+ theTranslator=new TranslatorEnglish;
}
#if !defined(ENGLISH_ONLY)
else if (L_EQUAL("dutch"))
@@ -134,8 +135,11 @@ bool setTranslator(const char *langName)
#endif
else // use the default language (i.e. english)
{
- theTranslator=new Translator;
+ theTranslator=new TranslatorEnglish;
return FALSE;
}
+
+ QCString msg = theTranslator->updateNeededMessage();
+ if (!msg.isEmpty()) warn_cont(msg);
return TRUE;
}