[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: update po files
From:       Ze <mmodem00 () netvisao ! pt>
Date:       2005-07-02 5:03:50
Message-ID: 200507020603.50180.mmodem00 () netvisao ! pt
[Download RAW message or body]

Em Sábado, 2 de Julho de 2005 06:00, Ze escreveu:
> Em Sexta, 1 de Julho de 2005 18:51, Ze escreveu:
> > I need a script that can update only the english part of the po files
> > (i10n) from the svn trunk.
> > Can anyone arrange that script?
>
> In reply to myself, this script issues is resolved thanks to the great help
> of Thiago Macieira <thiago@kde.org>
Forgot to attach the script...
-- 
Zé
Linux user #378762

["o" (application/x-shellscript)]

#!/bin/sh
POT_DIR=/mnt/ext3/linux/tmp/svn/kde-l10n/template/messages
DST_DIR=/mnt/ext3/linux/tmp/kde-i18n/kde-i18n-pt-3.4.0/messages

(cd $POT_DIR; svn up)
find $POT_DIR -name \*.pot | while read potfile; do
  pofile=${potfile/$POT_DIR/$DST_DIR}
  pofile=${pofile/%t/}
  msgmerge  --update --backup=off -i -F "$pofile" "$potfile"
done

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic