git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 1/2] i18n: branch: unmark string for translation

From
Vasco Almeida <vascomalmeida@sapo.pt>
Date
Apr 13, 2016, 10:29 UTC
Message-ID
<1460543394-11050-1-git-send-email-vascomalmeida@sapo.pt>

Unmark strings for translation for command help/hint. These strings can not be translated, just copied.

Signed-off-by: Vasco Almeida <vascomalmeida@sapo.pt>
---
Moreover, prevent a possible translation mistake, e.g. wrong leading
spacing.
 builtin/branch.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/builtin/branch.c b/builtin/branch.c
index 7b45b6b..b327cca 100644
--- a/builtin/branch.c
+++ b/builtin/branch.c
@@ -828,8 +828,8 @@ int cmd_branch(int argc, const char **argv, const char *prefix)
 		if (argc == 1 && track == BRANCH_TRACK_OVERRIDE &&
 		    !branch_existed && remote_tracking) {
 			fprintf(stderr, _("\nIf you wanted to make '%s' track '%s', do this:\n\n"), head, branch->name);
-			fprintf(stderr, _("    git branch -d %s\n"), branch->name);
-			fprintf(stderr, _("    git branch --set-upstream-to %s\n"), branch->name);
+			fprintf(stderr, "    git branch -d %s\n", branch->name);
+			fprintf(stderr, "    git branch --set-upstream-to %s\n", branch->name);
 		}
 
 	} else
-- 
2.1.4
Next: Vasco Almeida
Message 1 of 3 in “i18n: branch: unmark string for translation”
  1. 1/2 i18n: branch: unmark string for translationVasco Almeida, Apr 13, 2016
  2. 2/2 i18n: branch: move comment for translatorsVasco Almeida, Apr 13, 2016
  3. Junio C HamanoApr 14, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.