[cups.bugs] Typos
Marek Laane
bald at starman.ee
Fri Jan 26 13:27:36 PST 2007
Michael Sweet <mike at ...> writes:
>
> Marek Laane wrote:
> > KDE Bugzilla has a bug report about typos in the file
ppdtranslations.po which
> > are apparently extracted from CUPS source code:
> > http://bugs.kde.org/show_bug.cgi?id=124228
>
> No, those strings probably come from multiple PPD files, not from
> the CUPS source code (which already has its own message catalog
> anyways...)
>
Hmm, they are seemingly extracted as follows:
for i in `find /usr/share/cups/model -type f ! -name '*.gz'`; do perl
$(srcdir)/readppd < $$i >> printers.cpp; done
for i in `find /usr/share/cups/model -type f -name '*.gz'`; do \
gzip -cd $$i | perl $(srcdir)/readppd >> printers.cpp; done
iconv -flatin1 -tutf-8 printers.cpp | grep -v '"[-0-9][0-9]*")' > printers.new
(see
http://websvn.kde.org/branches/KDE/3.5/kdebase/kdeprint/descriptions/Makefile.am)
More information about the cups
mailing list