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

[PATCH] i18n: git-commit whence_s "merge/cherry-pick" message

From
Jiang Xin <worldhello.net@gmail.com>
Date
Feb 1, 2012, 17:20 UTC
Message-ID
<1328116830-61290-1-git-send-email-worldhello.net@gmail.com>

Mark the "merge/cherry-pick" messages in whence_s for translation. These messages returned from whence_s function are used as argument to build other messages.

Signed-off-by: Jiang Xin <worldhello.net@gmail.com>
---
 builtin/commit.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/builtin/commit.c b/builtin/commit.c
index eba137..663e1 100644
--- a/builtin/commit.c
+++ b/builtin/commit.c
@@ -202,10 +202,10 @@ static const char *whence_s(void)
 	case FROM_COMMIT:
 		break;
 	case FROM_MERGE:
-		s = "merge";
+		s = _("merge");
 		break;
 	case FROM_CHERRY_PICK:
-		s = "cherry-pick";
+		s = _("cherry-pick");
 		break;
 	}
 
-- 
1.7.9.3.g1fbd7
Next: Junio C Hamano
Message 1 of 2 in “i18n: git-commit whence_s "merge/cherry-pick" message”
  1. i18n: git-commit whence_s "merge/cherry-pick" messageJiang Xin, Feb 1, 2012
  2. Junio C HamanoFeb 1, 2012

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.