core: Only load translations if running stand-alone
authorManuel Nickschas <sputnick@quassel-irc.org>
Wed, 30 May 2018 22:25:00 +0000 (00:25 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Wed, 6 Jun 2018 19:12:17 +0000 (21:12 +0200)
commitdbcfda6f073ab1c72d8dc0c3a9325c59f083642d
treefed5e6ecdfafc3b2c0b4fa419e2ac9486043e93b
parent9f2fbea7c308914d0b737ec9a936a004d4687223
core: Only load translations if running stand-alone

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).
src/core/core.cpp