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

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



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 redhat com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


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