X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fsupertux.cpp;h=2c60c0ec712242023a0a6aee3e7a2c658a5add1a;hb=8def1b51aa9d94b719ce975b88cd58c936d7c06e;hp=6470a42104437b6e479191a2e1b80d42b1d8193d;hpb=a5862668b88a59063765ed7717a850dc7a531f0e;p=supertux.git diff --git a/src/supertux.cpp b/src/supertux.cpp index 6470a4210..2c60c0ec7 100644 --- a/src/supertux.cpp +++ b/src/supertux.cpp @@ -49,18 +49,9 @@ int main(int argc, char * argv[]) try { #endif config = new MyConfig; + + Setup::init(PACKAGE_NAME, PACKAGE, PACKAGE_VERSION); - // we want translations only on messages - setlocale(LC_ALL, "C"); - setlocale(LC_MESSAGES, ""); - - (void) bindtextdomain(PACKAGE, LOCALEDIR); - (void) textdomain(PACKAGE); - (void) bind_textdomain_codeset(PACKAGE, "ISO-8859-1"); - - Setup::info(PACKAGE_NAME, PACKAGE, PACKAGE_VERSION); - - Setup::directories(); Setup::parseargs(argc, argv); Setup::audio();