revert r12008 due to i18n problems reported by lin-unix in <https://trac.transmissionbt.com/ticket/4050#comment:5>

This commit is contained in:
Jordan Lee 2012-07-09 23:22:36 +00:00
parent b72c58e34f
commit 54bf01fe0d
1 changed files with 0 additions and 5 deletions

View File

@ -23,7 +23,6 @@
#include <QLabel>
#include <QLibraryInfo>
#include <QRect>
#include <QtGlobal>
#include <libtransmission/transmission.h>
#include <libtransmission/tr-getopt.h>
@ -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( );