Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
i18n: remote: add comment for translators
author
Vasco Almeida
<vascomalmeida@sapo.pt>
Sun, 8 May 2016 20:00:18 +0000
(20:00 +0000)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 9 May 2016 19:20:40 +0000
(12:20 -0700)
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>
builtin/remote.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
90f7b16
)
diff --git
a/builtin/remote.c
b/builtin/remote.c
index fda5c2e53d28ae84f4876ca77ac9fefebee9ada2..d33766be395ad637c4505f5ca9024a9b8331d99d 100644
(file)
--- 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)");