From: Vasco Almeida Date: Fri, 17 Jun 2016 20:21:13 GMT Subject: [PATCH v5 24/38] i18n: transport-helper.c: change N_() call to _() Message-ID: <1466194887-18236-25-git-send-email-vascomalmeida@sapo.pt> In-Reply-To: <1466194887-18236-1-git-send-email-vascomalmeida@sapo.pt> 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 --- transport-helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transport-helper.c b/transport-helper.c index bd666b2..4208743 100644 --- a/transport-helper.c +++ b/transport-helper.c @@ -1038,7 +1038,7 @@ static struct ref *get_refs_list(struct transport *transport, int for_push) (*tail)->status |= REF_STATUS_UPTODATE; if (read_ref((*tail)->name, (*tail)->old_oid.hash) < 0) - die(N_("Could not read ref %s"), + die(_("Could not read ref %s"), (*tail)->name); } } -- 2.6.6