Re: [PATCH v3 03/14] i18n: add--interactive: mark strings with interpolation for translation
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 5, 2016, 22:28 UTC
- Message-ID
- <xmqqshsamnve.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <20161005172110.30801-4-vascomalmeida@sapo.pt>
Vasco Almeida <vascomalmeida@sapo.pt> writes:
Show 10 quoted lines
> if (!defined $bottom) {
> - error_msg "Huh ($choice)?\n";
> + error_msg sprintf(__("Huh (%s)?\n"), $choice);
> next TOPLOOP;
> }
> }
> if ($opts->{SINGLETON} && $bottom != $top) {
> - error_msg "Huh ($choice)?\n";
> + error_msg sprintf(__("Huh (%s)?"), $choice);
> next TOPLOOP;Doesn't this want "\n" just like the other one in this hunk?