-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2015-09-14 17:25, Ancor Gonzalez Sosa wrote:
Feel free to improve the script at [1] or to open a bug for somebody to do it. [1] https://github.com/openSUSE/landing-page/blob/master/make_POT.sh
I use this: #!/bin/bash F=`basename $1 .po` FF=`basename $F .es` POFILE=$FF.es.po POTFILE=../../50-pot/$FF.pot echo "$POFILE and $POTFILE" if test -f $POFILE -a -f $POTFILE; then echo Applying msgmerge to $POFILE #msgmerge --previous --no-wrap --force-po -U $POFILE -C ../../50-memory/memory.es.po $POTFILE msgmerge --previous --no-wrap --force-po -U $POFILE $POTFILE msgfmt --check --stat $POFILE rm messages.mo else echo "Not found: " $POFILE or $POTFILE fi || { echo "msgmerge --no-wrap --force-po for \"$POTFILE\" failed" ; } I think it should be easy to adapt. - -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAlX26uoACgkQtTMYHG2NR9WS/ACfZLls76kArVd65Jv3Fm6BICCY 2yMAoINtkqVtk+loLdkOz4hZy4DNADf1 =EEPZ -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-translation+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-translation+owner@opensuse.org