revert r12008 due to i18n problems reported by lin-unix in <https://trac.transmissionbt.com/ticket/4050#comment:5>
This commit is contained in:
parent
b72c58e34f
commit
54bf01fe0d
|
@ -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( );
|
||||
|
|
Loading…
Reference in New Issue