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

Matthias Bolte matthias.bolte at googlemail.com
Tue Apr 6 17:06:24 UTC 2010


2010/4/5 Eric Blake <eblake at redhat.com>:
> 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/
>

Okay, I fixed this and pushed.

Matthias




More information about the libvir-list mailing list