Thread (63 messages) flat view 63 messages, 5 authors, 2016-06-15
STALE3701d

Revision v1 of 2 in this series.

Revisions (2)
  1. v1 current
  2. v1 [diff vs current]

[PATCH 03/13] gettextize: git-clone "Cloning into" message

From: Ævar Arnfjörð Bjarmason <hidden>
Date: 2016-06-15 22:49:27
Subsystem: the rest · Maintainer: Linus Torvalds

Split up the "Cloning into %s" and "Cloning into bare repository %s"
messages to make them easier to translate.

Signed-off-by: Ævar Arnfjörð Bjarmason <redacted>
---
 builtin/clone.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/builtin/clone.c b/builtin/clone.c
index 0b595ba..d1cf6dd 100644
--- a/builtin/clone.c
+++ b/builtin/clone.c
@@ -466,8 +466,10 @@ int cmd_clone(int argc, const char **argv, const char *prefix)
 	set_git_dir(make_absolute_path(git_dir));
 
 	if (0 <= option_verbosity)
-		printf("Cloning into %s%s...\n",
-		       option_bare ? "bare repository " : "", dir);
+		if (option_bare)
+			printf(_("Cloning into bare repository %s"), dir);
+		else
+			printf(_("Cloning into %s"), dir);
 	init_db(option_template, INIT_DB_QUIET);
 
 	/*
-- 
1.7.2.2.579.g2183d
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help