#include <sstream>
#include <stdexcept>
+#include <tinygettext/tinygettext.hpp>
#include "lisp/lisp.hpp"
#include "lisp/parser.hpp"
-#include "obstack/obstackpp.hpp"
+#include "util/obstackpp.hpp"
#include "physfs/ifile_stream.hpp"
#include "physfs/ifile_streambuf.hpp"
-#include "tinygettext/tinygettext.hpp"
+#include "supertux/globals.hpp"
#include "supertux/gameconfig.hpp"
obst()
{
if(translate) {
- dictionary_manager = new TinyGetText::DictionaryManager();
+ dictionary_manager = new tinygettext::DictionaryManager();
dictionary_manager->set_charset("UTF-8");
if (g_config && (g_config->locale != ""))
- dictionary_manager->set_language(g_config->locale);
+ dictionary_manager->set_language(tinygettext::Language::from_name(g_config->locale));
}
obstack_init(&obst);