diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2001-04-30 17:28:34 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2001-04-30 17:28:34 (GMT) |
commit | 3e8e2e531ac41a9d4729375151b6af6493a61fd7 (patch) | |
tree | e2fe643e6fc6aabac8311560e2258318c1dead5a /src/language.cpp | |
parent | 9a1a3728724df58e6fc9196651f8e8c8f23f1e2d (diff) | |
download | Doxygen-3e8e2e531ac41a9d4729375151b6af6493a61fd7.zip Doxygen-3e8e2e531ac41a9d4729375151b6af6493a61fd7.tar.gz Doxygen-3e8e2e531ac41a9d4729375151b6af6493a61fd7.tar.bz2 |
Release-1.2.7
Diffstat (limited to 'src/language.cpp')
-rw-r--r-- | src/language.cpp | 8 |
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; } |