announcement: Kwave is in kdereview

Luigi Toscano luigi.toscano at tiscali.it
Sun Oct 9 14:17:39 BST 2016


Burkhard Lück ha scritto:
> Am Sonntag, 9. Oktober 2016, 11:44:16 CEST schrieb David Faure:
>> AFAIK KLocalizedString::setApplicationDomain isn't necessary, you should?
>> instead define the domain as a -D flag during compilation, but I'm no expert
>> on? that, check the wiki.
> 
> https://api.kde.org/frameworks/ki18n/html/prg_guide.html#link_prog says:
> 
> Connecting to Catalogs in Application Code
> All *i18n* calls in an application can be connected to a single domain by 
> calling the static KLocalizedString::setApplicationDomain method with the 
> domain as the argument:
> 
> Therefore KLocalizedString::setApplicationDomain seems to be correct
> 

And -DTRANSLATION_DOMAIN=<domain> is for libraries, as explained in the next
section:
https://api.kde.org/frameworks/ki18n/html/prg_guide.html#link_lib


Ciao
-- 
Luigi




More information about the kde-core-devel mailing list