[Kde-games-devel] Load translations
Frederik Schwarzer
schwarzer at kde.org
Sat Nov 7 00:44:08 UTC 2015
Hi,
in KShisen the translations are not complete. In the settings dialog
the kshisen section becomes translated, when _one_or_both_ of these
are used.
CMakeLists.txt: add_definitions(-DTRANSLATION_DOMAIN="kshisen")
main.cpp: KLocalizedString::setApplicationDomain("kshisen");
It does not matter which one I use.
The settings section KShisen borrows from libkmahjongg remain
untranslated in both cases.
Unfortunately
http://api.kde.org/frameworks-api/frameworks5-apidocs/ki18n/html/classKLocalizedString.html
is 404'ed so I cannot read into this tonight.
So, does anyone know, which of those we do need for our games?
Regards
Frederik
More information about the kde-games-devel
mailing list