For the monolithic client, the UI part takes care of loading the
translations configured by the user; the core should not override
them.
Only if the core is running stand-alone, it needs to load
translations itself (using the system locale, since there is no
core-side configuration for this).
{
_startTime = QDateTime::currentDateTime().toUTC(); // for uptime :)
{
_startTime = QDateTime::currentDateTime().toUTC(); // for uptime :)
- Quassel::loadTranslation(QLocale::system());
+ if (Quassel::runMode() == Quassel::RunMode::CoreOnly) {
+ Quassel::loadTranslation(QLocale::system());
+ }
// check settings version
// so far, we only have 1
// check settings version
// so far, we only have 1