mirror of
https://github.com/git/git
synced 2024-08-28 03:59:25 +00:00
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>
This commit is contained in:
parent
90f7b16b3a
commit
6c1fbe1e41
|
@ -1154,6 +1154,8 @@ static int show(int argc, const char **argv)
|
||||||
url_nr = states.remote->url_nr;
|
url_nr = states.remote->url_nr;
|
||||||
}
|
}
|
||||||
for (i = 0; i < url_nr; i++)
|
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]);
|
printf_ln(_(" Push URL: %s"), url[i]);
|
||||||
if (!i)
|
if (!i)
|
||||||
printf_ln(_(" Push URL: %s"), "(no URL)");
|
printf_ln(_(" Push URL: %s"), "(no URL)");
|
||||||
|
|
Loading…
Reference in a new issue