i18n: builtin/remote.c: fix mark for translation
The second string inside _() was not being extracted for translation by xgettext, meaning that, although the string was passed to gettext, there was no translation available. Mark each individual string instead of marking the result of ternary if. Signed-off-by: Vasco Almeida <vascomalmeida@sapo.pt> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Vasco Almeida committed
Jun 17, 2016 at 20:20 UTC
070b7e441649b9c2543fda7bfbef0ad58761f869
1 file changed
+3
-3
builtin/remote.c
+3
-3
@@ -963,9 +963,9 @@ static int show_local_info_item(struct string_list_item *item, void *cb_data)
963
964
printf(" %-*s ", show_info->width, item->string);
965
if (branch_info->rebase) {
966
- printf_ln(_(branch_info->rebase == INTERACTIVE_REBASE ?
967
- "rebases interactively onto remote %s" :
968
- "rebases onto remote %s"), merge->items[0].string);
966
+ printf_ln(branch_info->rebase == INTERACTIVE_REBASE
967
+ ? _("rebases interactively onto remote %s")
968
+ : _("rebases onto remote %s"), merge->items[0].string);
969
return 0;
970
} else if (show_info->any_rebase) {
971
printf_ln(_(" merges with remote %s"), merge->items[0].string);