summaryrefslogtreecommitdiff
path: root/builtin/remote.c
diff options
context:
space:
mode:
authorVasco Almeida <vascomalmeida@sapo.pt>2016-05-08 20:00:18 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-05-09 19:20:40 (GMT)
commit6c1fbe1e41dadc6a0b2efdebb2fe703ac3bb1f6b (patch)
tree88da3d2c6133692e87645b9d80a510fdacb29702 /builtin/remote.c
parent90f7b16b3adc78d4bbabbd426fb69aa78c714f71 (diff)
downloadgit-6c1fbe1e41dadc6a0b2efdebb2fe703ac3bb1f6b.zip
git-6c1fbe1e41dadc6a0b2efdebb2fe703ac3bb1f6b.tar.gz
git-6c1fbe1e41dadc6a0b2efdebb2fe703ac3bb1f6b.tar.bz2
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>
Diffstat (limited to 'builtin/remote.c')
-rw-r--r--builtin/remote.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/builtin/remote.c b/builtin/remote.c
index fda5c2e..d33766b 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)");