Skip to contentSkip to conversation

pull: don't mark values for option "rebase" for translation

PATCH In review Ralf Thielow 2 participants 2 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pull: don't mark values for option "rebase" for translation

"false|true|preserve" are actual values for option "rebase" of the "git-pull" command and should therefore not be marked for translation.

---
 builtin/pull.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
builtin/pull.c +1 -1
index 7e3c11e..a39bb0a 100644
@@ -112,7 +112,7 @@ static struct option pull_options[] = {
 	/* Options passed to git-merge or git-rebase */
 	OPT_GROUP(N_("Options related to merging")),
 	{ OPTION_CALLBACK, 'r', "rebase", &opt_rebase,
-	  N_("false|true|preserve"),
+	  "false|true|preserve",
 	  N_("incorporate changes by rebasing rather than merging"),
 	  PARSE_OPT_OPTARG, parse_opt_rebase },
 	OPT_PASSTHRU('n', NULL, &opt_diffstat, NULL,
Signature · 1 line
2.6.0.rc1.199.g678474c
#1 lore raw

2015-09-11 23:53 GMT+08:00 Ralf Thielow <[email protected]>:

Quoted 3 lines

"false|true|preserve" are actual values for option "rebase" of the "git-pull" command and should therefore not be marked for translation.

Agree, I see those who have already finished this round of l10n (including vi, fr, and zh_CN) not translate it and leave as it is.

Quoted 19 lines
---
 builtin/pull.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
builtin/pull.c +1 -2
index 7e3c11e..a39bb0a 100644
@@ -112,7 +112,7 @@ static struct option pull_options[] = {
        /* Options passed to git-merge or git-rebase */
        OPT_GROUP(N_("Options related to merging")),
        { OPTION_CALLBACK, 'r', "rebase", &opt_rebase,
-         N_("false|true|preserve"),
+         "false|true|preserve",
          N_("incorporate changes by rebasing rather than merging"),
          PARSE_OPT_OPTARG, parse_opt_rebase },
        OPT_PASSTHRU('n', NULL, &opt_diffstat, NULL,
--
Quoted 2 lines

2.6.0.rc1.199.g678474c

--
Jiang Xin