Message extraction in kdebase/workspace plasma

Aaron J. Seigo aseigo at kde.org
Wed Jul 15 08:08:57 CEST 2009


On Monday 13 July 2009, Burkhard Lück wrote:
> kdebase/wokspace/plasma in trunk + branch 4.3 has some files with i18n() /
> I18N_NOOP() calls and two *.ui files, but these strings are not extracted
> to any message catalog, see attached list.

* runtime/plasma/scriptengines/javascript/bind_i18n.h with 4 strings

either *.h needs to be added to the typeglob Messages.sh or the strings need 
to be moved to a .cpp file

* workspace/plasma/dataengines/soliddevice/soliddeviceengine.cpp with 5 
strings
* kdebase/workspace/plasma/dataengines/soliddevice/soliddeviceengine.cpp with 
176 I18N_NOOP

this needs a Messages.sh file

* kdebase/workspace/plasma/dataengines/time/timesource.cpp with 15 I18N_NOOP

this also needs a Messages.sh file

kdebase/workspace/plasma/scriptengines/python/examples/applets/pyclock/contents/ui/analog_clock_config.ui
kdebase/workspace/plasma/scriptengines/ruby/examples/applets/clock/contents/ui/analog_clock_config.ui

as examples, i'm less concerned about these but for correctness they should be 
extracted as well. as examples, they should probably be added right to the 
package themselves. these packages, as examples for others to use, are really 
not well suited to i18n since scripted widgets that would be shipped alongside 
a bunch of c++ which is compiled and installed and using kde's l10n module for 
translations operate completely differently from 3rd party widgets (which 
include their translations directy inside the package)

i'm really unsure which is the "right" direction here, but they are just 
examples and not actually code that's used by anyone. really, they ought to 
not be in kdebase at all but some other module for source code examples using 
KDE technology.

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Software
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20090715/103b0a9d/attachment.sig 


More information about the Plasma-devel mailing list