Re: [PATCH] status: display the SHA1 of the commit being currently processed
- From
Johannes Sixt <j.sixt@viscovery.net>
- Date
- Jun 17, 2013, 15:10 UTC
- Message-ID
- <51BF26F9.1080900@viscovery.net>
- In-Reply-To
- <0b88af05ea8d4723a870476036992abc@ensibm.imag.fr>
Am 6/17/2013 15:57, schrieb Mathieu Liénard--Mayor:
Show 16 quoted lines
> Le 2013-06-17 15:54, Peter Krefting a écrit :
>> Mathieu Liénard--Mayor:
>>
>>> Actually, at first I dealt with it this way:
>>>
>>> status_printf_ln(s, color,
>>> _("Splitting %s while rebasing branch '%s' on '%s'."),
>>> stopped_sha ? stopped_sha : _("a commit"),
>>> ....);
>>>
>>> Would this be more suitable for translators ?
>>
>> Not really, the text surrounding "a commit" might need to be
>> inflected differently depending on whether it is a SHA-1 or the "a
>> commit" string. Word order might also be different.
> Okay, I'll use what you suggested then.That's not a good idea. Do we already use "%1$" style formats elsewhere? I'm afraid that they are not supported everywhere.
-- Hannes