[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] rm: Add number of arguments to interactive prompt
From: |
Bernhard Voelker |
Subject: |
Re: [PATCH] rm: Add number of arguments to interactive prompt |
Date: |
Fri, 19 Jul 2013 14:44:15 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 |
On 07/19/2013 02:35 PM, Eric Blake wrote:
> On 07/19/2013 06:14 AM, Bernhard Voelker wrote:
>> The select_plural() call is not needed in the latter case
>> because we are in this if-clause:
>>
>> if (prompt_once && (x.recursive || 3 < n_files))
>>
>> i.e. it can not happen with 1 single file.
>>
>
> Actually, it is still needed. Just because the singular English form
> will never be reached because n_files != 1, does not mean that there
> will never be a translation to another language where select_plural will
> still want to to choose an alternate form (for example, I seem to recall
> the gettext manual talking about languages where 100 is treated
> differently than 111).
Ah yes, thanks for the reminder!
Have a nice day,
Berny