All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] i18n: remote: add comment for translators
@ 2016-05-08 20:00 Vasco Almeida
  0 siblings, 0 replies; only message in thread
From: Vasco Almeida @ 2016-05-08 20:00 UTC (permalink / raw)
  To: git
  Cc: Vasco Almeida, Ralf Thielow, Alexander Shopov, Peter Krefting,
	Dimitriy Ryazantcev, Alex Henrie, Marco Paolone, Jiang Xin,
	Ray Chen, Ævar Arnfjörð Bjarmason, Changwoo Ryu,
	Stefano Lattarini, Jean-Noël Avila,
	Trần Ngọc Quân

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>
---

Translators, you can check if your translation does align these
fields by issuing, for instance

$ git remote show -n origin
* remote origin
  Fetch URL: https://github.com/git/git.git
  Push  URL: https://github.com/git/git.git
<snip>

I know Portuguese translation align these fields. I know that French
and Deutsch translations don't, but don't know about others.

Obviously, this detail is not important, but now you know about it.

 builtin/remote.c | 2 ++
 1 file changed, 2 insertions(+)

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)");
-- 
2.7.3

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-05-08 20:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-08 20:00 [PATCH] i18n: remote: add comment for translators Vasco Almeida

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.