X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fsupertux.cpp;h=23a3fcf214eaa89a8b21e8576a2216f09e8b7e68;hb=8e13f4a4c6f373f40549f90cd2212815fd0d6eb7;hp=6470a42104437b6e479191a2e1b80d42b1d8193d;hpb=a5862668b88a59063765ed7717a850dc7a531f0e;p=supertux.git diff --git a/src/supertux.cpp b/src/supertux.cpp index 6470a4210..23a3fcf21 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_NAME, 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();