Analitza: Ensure we are generating the translation files properly
Review Request #120591 - Created Oct. 14, 2014 and submitted
|Aleix Pol Gonzalez|
Does the same magic kwidgetsaddons and kdbusaddons to summon the translations.
- kdbusaddons uses $EXTRACT_TR_STRINGS in the Messages.sh file, should we use that or $XGETTEXT_QT is just as good?
- Do I need to declare any c++ macro like we do with i18n?
Builds, I'm unsure how to test it.
$XGETTEXT_QT is only for kde4
EXTRACT_TR_STRINGS is mandatory in kf5
To test it the catalog needs to be loaded, pleas add "add_definitions(-DTRANSLATION_DOMAIN=\"analitza_qt\")" to CMakeLists.txt
We are still unsure if we will ship the .po files like frameworks do or like we do in kdelibs4 times in a big tarball, and that has implications on part of the .po cmake install thing you have in there, but let's commit it and i'll come back to you once we know what we do in case you have to change something