i18n: transport-helper.c: change N_() call to _()
The N_() no-op call currently marks the string to be extracted by xgettext but doesn't trigger the retrieval of the translation at run time, whereas _() does both. Meaning that, in spite of having translations available, they were never retrieved to make use of them. 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:21 UTC
3c5077fe338c5af4f003e298267aa4071c125c8a
1 file changed
+1
-1
transport-helper.c
+1
-1
@@ -1038,7 +1038,7 @@ static struct ref *get_refs_list(struct transport *transport, int for_push)
1038
(*tail)->status |= REF_STATUS_UPTODATE;
1039
if (read_ref((*tail)->name,
1040
(*tail)->old_oid.hash) < 0)
1041
- die(N_("Could not read ref %s"),
1041
+ die(_("Could not read ref %s"),
1042
(*tail)->name);
1043
}
1044
}