Re: [PATCH] Add hint for translators for y/n reply.
- From
Jiang Xin <worldhello.net@gmail.com>
- Date
- Mar 1, 2015, 00:30 UTC
- Message-ID
- <CANYiYbFs_-4B4dko-KE3Gi2hDoQ1DkyR1xNkVc+uwOQrtz3dVw@mail.gmail.com>
- In-Reply-To
- <CANYiYbGuRjNZARc278py=MzDDXukAfLJv3kWdnBa6_ia7WDvRg@mail.gmail.com>
2015-03-01 8:18 GMT+08:00 Jiang Xin <worldhello.net@gmail.com>:
Show 24 quoted lines
> 2015-02-28 23:39 GMT+08:00 Jean-Noel Avila <jn.avila@free.fr>:
>> Signed-off-by: Jean-Noel Avila <jn.avila@free.fr>
>> ---
>> builtin/clean.c | 3 +++
>> 1 file changed, 3 insertions(+)
>>
>> diff --git a/builtin/clean.c b/builtin/clean.c
>> index 7e7fdcf..2c98661 100644
>> --- a/builtin/clean.c
>> +++ b/builtin/clean.c
>> @@ -754,6 +754,9 @@ static int ask_each_cmd(void)
>> /* Ctrl-D should stop removing files */
>> if (!eof) {
>> qname = quote_path_relative(item->string, NULL, &buf);
>> + /*TRANSLATORS: Make sure to include [Y] and [n] in your
>> + translation. The program will only accept English input
>> + at this point. */
>> printf(_("remove %s? "), qname);
>
> Yes, it may confuse. In order to let the translators notice this and update,
> you'd better change the code like this:
>
> printf(_("remove %s [y/N]? "), qname);
>What's more, you should capitalize the leading character letter of the word remove. My English.
> > -- > Jiang Xin