From 54bf01fe0d31bbf9eae8ffd6727e2c5322b72fde Mon Sep 17 00:00:00 2001 From: Jordan Lee Date: Mon, 9 Jul 2012 23:22:36 +0000 Subject: [PATCH] revert r12008 due to i18n problems reported by lin-unix in --- qt/app.cc | 5 ----- 1 file changed, 5 deletions(-) diff --git a/qt/app.cc b/qt/app.cc index 979ce8a38..d214b6354 100644 --- a/qt/app.cc +++ b/qt/app.cc @@ -23,7 +23,6 @@ #include #include #include -#include #include #include @@ -98,11 +97,7 @@ MyApp :: MyApp( int& argc, char ** argv ): installTranslator( &qtTranslator ); // install the transmission translator -#ifdef Q_OS_WIN32 appTranslator.load( QString(MY_CONFIG_NAME) + "_" + QLocale::system().name(), QCoreApplication::applicationDirPath() + "/translations" ); -#else - appTranslator.load( QString(MY_CONFIG_NAME) + "_" + QLocale::system().name(), QLibraryInfo::location(QLibraryInfo::TranslationsPath) ); -#endif installTranslator( &appTranslator ); Formatter::initUnits( ); -- 2.40.0