[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: KPeg (Board Game) moved to KDE Review
From:       Burkhard =?ISO-8859-1?Q?L=FCck?= <lueck () hube-lueck ! de>
Date:       2015-05-28 13:48:16
Message-ID: 5579404.nBf74DW81F () tuxedo
[Download RAW message or body]

Am Mittwoch, 27. Mai 2015, 05:43:02 schrieb Ronny Yabar Aizcorbe:
> Can you please test the game and/or provide some feedback and make some
> comments about the request?

You use
add_definitions(-DTRANSLATION_DOMAIN="kpeg") in CMakeLists.txt
instead of
KLocalizedString::setApplicationDomain("kpeg"); in a .cpp file
for applications.

Therefore strings from KXmlGui (.rc) files and KConfigXT (.kcfg) files are not 
loaded and are untranslated in the GUI.

See also http://api.kde.org/frameworks-api/frameworks5-apidocs/ki18n/html/prg_guide.html

-- 
Burkhard Lück

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic