New Plasma modules and localization

Luigi Toscano luigi.toscano at tiscali.it
Sat May 16 14:23:00 BST 2020


Yuri Chornoivan ha scritto:
> Hi,
> 
> Plasma 5.19 sports several KCM updates that lead to some changes in 
> translations. It is good to see the continuous progress in the design, 
> features, and usability of Plasma.
> 
> It is sad, however, to see some regressions in translations. I cannot test by 
> myself but there are reports that some parts of the new KWin Rules KCM are 
> untranslatable:
> 
> https://phabricator.kde.org/D29413
> 
> Can somebody test if it's true?
> 
> The new ksysguard translations are broken. Extraction scripts do not work.
> 
> $XGETTEXT *.cpp -o ksysguard_plugins_global.pot
>  $XGETTEXT *.cpp -o ksysguard_plugins_process.pot
> 
> should be replaced with
> 
> $XGETTEXT `find -name \*.cpp` -o $podir/ksysguard_plugins_global.pot
> $XGETTEXT `find -name \*.cpp` -o $podir/ksysguard_plugins_process.pot
> 
> The root localization of libksysguard is broken as well.
> 
> Messages.sh extracts to KSysGuardSensorFaces.pot, QML code contains something 
> like i18nd("KSysGuardSensorFaces", "Remove") but CMakeLists.txt points to 
> add_definitions(-DTRANSLATION_DOMAIN=\"ksysguard_faces\")
> 
> What should be used for this to work as expected?
> 
> (Spotted by Victor Ryzhykh)
> 
> Thanks in advance for your answers.

Plasma people, please test translations using the x-test locale before any change.

-- 
Luigi


More information about the Plasma-devel mailing list