i18n bugs in plasma branch 4.3 + in trunk

Burkhard Lück lueck at hube-lueck.de
Thu Jul 9 17:20:50 CEST 2009


Am Mittwoch 08 Juli 2009 19:25:56 schrieb Aaron J. Seigo:
> On Wednesday 08 July 2009, Burkhard Lück wrote:
> > > looking at the Messages.sh file i see that only one pot file is
> > > created, however. that's perhaps unfortunate.
> >
> > so you'd like to go with 6 different message catalogs
> > plasma_applet_sm_[cpu| hdd|hwinfo|net|ram|temperature] in branch and
> > trunk?
>
> as long as that's not too much of a hassle, that matches the design.

Ok, i can do the i18n part - adjusting the Messages.sh's and splitting all 
existing translations into the six new catalogs.

But before i can do that, these files have to be moved into six new sub dirs:
ram*.* 
net*.* 
cpu*.* 
hwinfo*.* 
hdd*.* 
temperature*.*
Reason for that is scripty, see l10n-kde4/scripts/extract-messages.sh

When you move these files, change this line in the existing Messages.sh to 
avoid loosing any translation in the transition:
-$XGETTEXT *.cpp -o $podir/plasma_applet_system-monitor.pot
+$XGETTEXT `find . -name '*.cpp'` -o $podir/plasma_applet_system-monitor.pot

-- 
Burkhard Lück




More information about the Plasma-devel mailing list