message extraction errors in kdeutils?
Friedrich W. H. Kossebau
kossebau at kde.org
Tue Dec 8 21:03:14 CET 2009
Hi Burkhard,
Mardi, le 8 decembre 2009, à 18:34, Burkhard Lück a écrit:
> Hi kdeutils devels,
>
> python checkextraction.py kdeutils/ reports some extraction errors:
>
> 1537 ".c*/.h*" srcfiles, 276 with i18n() calls, 272 in templates, 4 missing
> source files with i18n calls, but not in message templates:
> okteta/kasten/controllers/view/libbytearraychecksum/algorithm/template/temp
> late_bytearraychecksumalgorithm.cpp with 1 strings
> okteta/kasten/controllers/view/libbytearraychecksum/algorithm/template/temp
> late_bytearraychecksumparametersetedit.cpp with 3 strings
> okteta/kasten/controllers/view/libbytearrayfilter/filter/template/template_
> bytearrayfilter.cpp with 1 strings
> okteta/kasten/controllers/view/libbytearrayfilter/filter/template/template_
> bytearrayfilterparametersetedit.cpp with 3 strings
>
> missing ui/rc/kcfg files with <string>/<text> in templates (2 of total 5):
> kdeutils/kgpg/editor/kgpgeditor.rc
> kdeutils/okteta/designer/examples/example_widget.ui
>
> Please check, if there are really user visible strings in these files and
> fix the Messages.sh's if needed.
For Okteta there are, but not used in the real program/libs. These files
contain template/example code for 3rd-party developers who might contribute
their own filters/encoders/whatever. The files are there and not e.g. in
kdeexamples because they are test compiled to ensure they are up-to-date and
for the time being rely on unpublished (because unstable) API.
Is there a way to mark these i18n calls as "ignore" for the checkextraction.py
script?
For kdeutils/kgpg/editor/kgpgeditor.rc I will do a fix in a few minutes, if
Eike or someone else isn't quicker :)
Thanks for checking and caring
Friedrich
--
Okteta - KDE Hex Editor - http://utils.kde.org/projects/okteta
More information about the Kde-utils-devel
mailing list