{"thread":{"id":"42262","subject":"[PATCH] i18n: remote: add comment for translators","startedAt":"2016-05-08T20:00:18Z","lastAt":"2016-05-08T20:00:18Z","messageCount":1,"participants":["Vasco Almeida"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"285899","messageId":"1462737618-32228-1-git-send-email-vascomalmeida@sapo.pt","threadId":"42262","inReplyTo":null,"subject":"[PATCH] i18n: remote: add comment for translators","fromName":"Vasco Almeida","fromEmail":"vascomalmeida@sapo.pt","sentAt":"2016-05-08T20:00:18Z","receivedAt":"2016-05-08T20:00:18Z","isPatch":true,"sender":{"key":"vascomalmeida@sapo.pt","avatar":"https://avatars.githubusercontent.com/u/9001556?v=4"},"body":"Add comment drawing translator attention in order to align \"Push\nURL:\" and \"Fetch URL:\" fields translation of git remote show output.\n\nAligning both fields makes the output more appealing and easier to\ngrasp.\n\nSigned-off-by: Vasco Almeida <vascomalmeida@sapo.pt>\n---\n\nTranslators, you can check if your translation does align these\nfields by issuing, for instance\n\n$ git remote show -n origin\n* remote origin\n  Fetch URL: https://github.com/git/git.git\n  Push  URL: https://github.com/git/git.git\n<snip>\n\nI know Portuguese translation align these fields. I know that French\nand Deutsch translations don't, but don't know about others.\n\nObviously, this detail is not important, but now you know about it.\n\n builtin/remote.c | 2 ++\n 1 file changed, 2 insertions(+)\n\ndiff --git a/builtin/remote.c b/builtin/remote.c\nindex fda5c2e..d33766b 100644\n--- a/builtin/remote.c\n+++ b/builtin/remote.c\n@@ -1154,6 +1154,8 @@ static int show(int argc, const char **argv)\n \t\t\turl_nr = states.remote->url_nr;\n \t\t}\n \t\tfor (i = 0; i < url_nr; i++)\n+\t\t\t/* TRANSLATORS: the colon ':' should align with\n+\t\t\t   the one in \"  Fetch URL: %s\" translation */\n \t\t\tprintf_ln(_(\"  Push  URL: %s\"), url[i]);\n \t\tif (!i)\n \t\t\tprintf_ln(_(\"  Push  URL: %s\"), \"(no URL)\");\n-- \n2.7.3\n"}]}