El dissabte, 16 de maig de 2020, a les 14:50:12 CEST, Yuri Chornoivan va escriure: > 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
I fixed these two, with a slightly different syntax since i had them fixed this morning and was just waiting for the repos to re-open. Cheers, Albert > > 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. > > Best regards, > Yuri > > >