[libvirt] [PATCH] libvirtd: mark strings for translation, including --help output

Jim Meyering jim at meyering.net
Sat May 22 21:11:24 UTC 2010


Eric Blake wrote:
> On 05/20/2010 02:49 PM, Jim Meyering wrote:
>>> ACK to 1/2, but let's respin 2/2 to tweak daemonForkIntoBackground to
>>> take another parameter...
>>
>> Um...
>> Well there are two other diagnostics with no progname: prefix.
>> They're in qemudWritePidFile:
>>
>>   VIR_ERROR(_("Failed to write to pid file '%s' : %s")
>>   VIR_ERROR(_("Failed to close pid file '%s' : %s")
>>
>> so rather than adding parameters to two functions, I'll add a global,
>> argv0, and *remove* a few parameters:
>
> Adding the global is nice.  I had to go look at VIR_ERROR (forwards to
> virLogMessage, which in turn prints a timestamp but does not print
> argv0) to make sure that it made sense to add argv0 there.  So,

Thanks.  Pushed.




More information about the libvir-list mailing list