[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 'partprobe' forgets to set the textdomain [patch]
From: |
Jim Meyering |
Subject: |
Re: 'partprobe' forgets to set the textdomain [patch] |
Date: |
Fri, 17 Aug 2007 11:27:34 +0200 |
Jim Meyering <address@hidden> wrote:
> Benno Schulenberg <address@hidden> wrote:
>> The help message of `partprobe` is not getting localized, because it
>> forgets to set its textdomain. Attached patch fixes this.
>
> Thank you!
>
>> The "#if ! ENABLE_NLS" lines at the top of partprobe.c can probably
>> be removed, by the way. And the copyright year in parted.c needs
>> an update.
>
> I'll do that eventually, but for now, if you remove those lines,
> the definitions from gettext.h provoke "warning: statement with no effect".
Well, actually, I won't ever be removing those lines.
Even when !ENABLE_NLS, gettext.h must still make each of those functions
return a value. However, partprobe wants them to be "void".