File transmission-2.84-qt-translation-location.patch of Package transmission.8945

Index: transmission-2.84/qt/app.cc
===================================================================
--- transmission-2.84.orig/qt/app.cc
+++ transmission-2.84/qt/app.cc
@@ -95,7 +95,7 @@ MyApp :: MyApp (int& argc, char ** argv)
   installTranslator (&qtTranslator);
 
   // install the transmission translator
-  appTranslator.load (QString (MY_CONFIG_NAME) + "_" + QLocale::system ().name (), QCoreApplication::applicationDirPath () + "/translations");
+  appTranslator.load (QString (MY_CONFIG_NAME) + "_" + QLocale::system ().name (), "/usr/share/transmission/translations");
   installTranslator (&appTranslator);
 
   Formatter::initUnits ();
openSUSE Build Service is sponsored by