summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Vasco Almeida <vascomalmeida@sapo.pt>2016-05-08 20:00:18 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-05-09 12:20:40 -0700
commit6c1fbe1e41dadc6a0b2efdebb2fe703ac3bb1f6b (patch)
tree88da3d2c6133692e87645b9d80a510fdacb29702
parentGit 2.8 (diff)
downloadtgif-6c1fbe1e41dadc6a0b2efdebb2fe703ac3bb1f6b.tar.xz
i18n: remote: add comment for translators
Add comment drawing translator attention in order to align "Push URL:" and "Fetch URL:" fields translation of git remote show output. Aligning both fields makes the output more appealing and easier to grasp. Signed-off-by: Vasco Almeida <vascomalmeida@sapo.pt> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--builtin/remote.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/builtin/remote.c b/builtin/remote.c
index fda5c2e53d..d33766be39 100644
--- a/builtin/remote.c
+++ b/builtin/remote.c
@@ -1154,6 +1154,8 @@ static int show(int argc, const char **argv)
url_nr = states.remote->url_nr;
}
for (i = 0; i < url_nr; i++)
+ /* TRANSLATORS: the colon ':' should align with
+ the one in " Fetch URL: %s" translation */
printf_ln(_(" Push URL: %s"), url[i]);
if (!i)
printf_ln(_(" Push URL: %s"), "(no URL)");