Use the old way of finding translations for OSX.
authorBas Pape <baspape@gmail.com>
Wed, 28 Aug 2013 18:32:21 +0000 (20:32 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Thu, 10 Oct 2013 18:11:35 +0000 (20:11 +0200)
commit7a3f620141efea644bff6b68a80b07f87628aa99
tree1aa13752f14c359a0185fe93efc0dc175962a11b
parent0cfeb61fd9ed1c415bcd88796010843e87150e9c
Use the old way of finding translations for OSX.

Many OSX users reported their clients being in Japanese, rather than
English, since 0.9.0, which turned out to be due to
QSystemLocale::query for QSystemLocal::UILanguages (internally done by
Qt if a QLocale is passed to QTranslator::load) returning 'en', rather
than the proper local form (e.g. 'en-US').
As 'en' has no translation, the second language got picked up, which
happened to be 'ja', which does have a translation.

Fixes #1233 (but reintroduces #1194 on OSX)
src/common/quassel.cpp