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 19:20:26 +0000 (21:20 +0200)
commit20e3307b37c03c22b97c060fd2dc0c999f0219b6
tree10be53725308782179d4f1cdfb8af1ebc42f27fd
parent59864728ffe32a8281f0749a1d8534da84cbfe15
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