Re: translation

From: Bruno David Rodrigues <bruno.rodrigues.a.t.litux.org>
Date: Sun Jun 16 2002 - 10:12:03 EDT

On Sun, 2002-06-16 at 14:40, Bruno David Rodrigues wrote:
> On Sun, 2002-06-16 at 14:17, Carsten Niehaus wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > Hello
> >
> > I have a quite big problem: I need a script which makes some work for me.
> > In all APPLICATIONNAME.pro needes to be this:
>
> I'm now translating opie to Portuguese and I've done a script for it
>
> I could adapt it to avoid the hard-coded pt and I'll send you in
> some minutes

Check the attachment:

# (c) 2002 Bruno Rodrigues <bruno.rodrigues@litux.org>
# Under GPL Licence

# Add a new TRANSLATION line to every .pro file if there
# is already at least one TRANSLATION file and this LANG
# is not present
# The perl line would grab a TRANSLATION = something and
# duplicate it to TRANSLATION += .../LANG/...

This would create .bak files (no problem, CVS just ignore
them).

To revert them all (for some reason), you could use
for i in `find . -name "*.pro.bak"` ; do j=${i%.bak}; echo $i ; mv -f $i
$j ; done

Received on Sun Jun 16 14:12:59 2002

This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:50:07 EDT