summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVasco Almeida <vascomalmeida@sapo.pt>2016-06-17 20:21:13 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-06-17 22:45:49 (GMT)
commit3c5077fe338c5af4f003e298267aa4071c125c8a (patch)
tree476323641274a7ae7f6c3128ba64c379333cd673
parent14dc4899e535964311dfafc504dac941ecd52432 (diff)
downloadgit-3c5077fe338c5af4f003e298267aa4071c125c8a.zip
git-3c5077fe338c5af4f003e298267aa4071c125c8a.tar.gz
git-3c5077fe338c5af4f003e298267aa4071c125c8a.tar.bz2
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>
-rw-r--r--transport-helper.c2
1 files changed, 1 insertions, 1 deletions
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);
}
}