summaryrefslogtreecommitdiffstats
path: root/subsurface-helper.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2020-09-15 11:54:07 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-09-15 11:54:36 -0700
commitff14ca4dd570c63a0cf93630d0d40efc35e8befb (patch)
treec84eff34a1f6074b6633f5667feaee023749a1ef /subsurface-helper.cpp
parent1ed8cb373f0b02299508087bf26fc23837625158 (diff)
downloadsubsurface-ff14ca4dd570c63a0cf93630d0d40efc35e8befb.tar.gz
translations: use the right Qt translations (part 2)
It turns out that contrary to what the documentation states, a few languages are still only using the 'qt' translation. But those exist for all languages, so we need to first search for the 'qtbase' translations, and only if that fails do we try to load the 'qt' translations. And even that will fail for languages in which Qt simply isn't localized (like Dutch). To make the code more readable, the check for 'US English' was moved earlier as there is no point to look for a Qt translation for that (simply doesn't exist). Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-helper.cpp')
0 files changed, 0 insertions, 0 deletions