[Libvir] mark more translatable messages

Richard W.M. Jones rjones at redhat.com
Mon Feb 4 18:29:48 UTC 2008


Jim Meyering wrote:
> This change marks for translation some more messages.
> It adds a few new ones, too, e.g., replacing "domain" with
> _("failed to parse domain description") in two places.
> 
> Likewise, there are some like this:
> 
> -            virXendError (conn, VIR_ERR_NO_MEMORY, "strdup");
> +            virXendError (conn, VIR_ERR_NO_MEMORY, _("strdup failed"));

+1 to the patch.

Although really errors like strdup should come from perror/strerror 
where (presumably) they have already been translated ...

Rich.

-- 
Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom.  Registered in
England and Wales under Company Registration No. 03798903
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20080204/3a556ffa/attachment-0001.bin>


More information about the libvir-list mailing list