Re: msgfmt/intltool equivalencies



On 2004-12-30(Thu) 09:30:54 +0100, Karl Eichwalder wrote:
> In /usr/bin/intltool-update I found this statement:
> 
>     # I think msgmerge won't overwrite old file if merge is not successful
>     system ("msgmerge", "-o", $outfile, $infile, "$MODULE.pot");
> 
> I propose to try:
> 
>     system ("msgmerge", "--update", $infile, "$MODULE.pot");

Since which version is --update option available in msgmerge? If this
option existed for some time, then perhaps it's safe to use it,
otherwise a runtime check of gettext version must be done.

Abel


> 
> I'm not a perl hacker, be warned.
> 
> -- 
> Key fingerprint = B2A3 AF2F CFC8 40B1 67EA  475A 5903 A21B 06EB 882E
> _______________________________________________
> gnome-i18n mailing list
> gnome-i18n gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-i18n

-- 
Abel Cheung
+---------------------------------+---------------------------------+
|GPG Key: (0xC67186FF)            |       http://deaddog.org/gpg.asc|
|Key fingerprint: 671C C7AE EFB5 110C D6D1  41EE 4152 E1F1 C671 86FF|
+---------------------------------+---------------------------------+

Attachment: pgpdil2uUfuwV.pgp
Description: PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]