From be39de2b262bfcd440ed81b4de33711eb8a37cf4 Mon Sep 17 00:00:00 2001 From: Jiang Xin Date: Thu, 2 Feb 2012 01:20:30 +0800 Subject: i18n: git-commit whence_s "merge/cherry-pick" message 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 Signed-off-by: Junio C Hamano diff --git a/builtin/commit.c b/builtin/commit.c index eba1377..470b4a4 100644 --- a/builtin/commit.c +++ b/builtin/commit.c @@ -196,16 +196,16 @@ static void determine_whence(struct wt_status *s) static const char *whence_s(void) { - char *s = ""; + const char *s = ""; switch (whence) { case FROM_COMMIT: break; case FROM_MERGE: - s = "merge"; + s = _("merge"); break; case FROM_CHERRY_PICK: - s = "cherry-pick"; + s = _("cherry-pick"); break; } -- cgit v0.10.2-6-g49f6