[libvirt] [PATCH 30/30] vbox: Mark all error messages for translation

Eric Blake eblake at redhat.com
Mon Apr 5 19:17:54 UTC 2010


On 04/04/2010 11:36 AM, Matthias Bolte wrote:
> ---
>  cfg.mk               |    2 +-
>  src/vbox/vbox_tmpl.c |  262 +++++++++++++++++++++++++++-----------------------
>  2 files changed, 143 insertions(+), 121 deletions(-)
> 
> diff --git a/cfg.mk b/cfg.mk
> index d34a25e..f1de736 100644
> --- a/cfg.mk
> +++ b/cfg.mk
> @@ -186,7 +186,7 @@ msg_gen_function += statsErrorFunc
>  msg_gen_function += testError
>  msg_gen_function += umlReportError
>  msg_gen_function += usbReportError
> -#msg_gen_function += vboxError
> +msg_gen_function += vboxError

ACK, and the rest is mechanical fallout...

> @@ -1339,14 +1342,14 @@ static int vboxDomainSuspend(virDomainPtr dom) {
>                  VBOX_RELEASE(console);
>                  ret = 0;
>              } else {
> -                vboxError(VIR_ERR_OPERATION_FAILED,
> -                          "%s", "error while suspend the domain");
> +                vboxError(VIR_ERR_OPERATION_FAILED, "%s",
> +                          _("error while suspend the domain"));

...but as long as we're touching this, s/suspend/suspending/

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 323 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100405/d7bca208/attachment-0001.sig>


More information about the libvir-list mailing list