Skip to content

Commit

Permalink
i18n: mktree: mark parseopt strings for translation
Browse files Browse the repository at this point in the history
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Nguyễn Thái Ngọc Duy authored and Junio C Hamano committed Aug 20, 2012
1 parent 962e629 commit a631281
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions builtin/mktree.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ static void write_tree(unsigned char *sha1)
}

static const char *mktree_usage[] = {
"git mktree [-z] [--missing] [--batch]",
N_("git mktree [-z] [--missing] [--batch]"),
NULL
};

Expand Down Expand Up @@ -150,9 +150,9 @@ int cmd_mktree(int ac, const char **av, const char *prefix)
int got_eof = 0;

const struct option option[] = {
OPT_SET_INT('z', NULL, &line_termination, "input is NUL terminated", '\0'),
OPT_SET_INT( 0 , "missing", &allow_missing, "allow missing objects", 1),
OPT_SET_INT( 0 , "batch", &is_batch_mode, "allow creation of more than one tree", 1),
OPT_SET_INT('z', NULL, &line_termination, N_("input is NUL terminated"), '\0'),
OPT_SET_INT( 0 , "missing", &allow_missing, N_("allow missing objects"), 1),
OPT_SET_INT( 0 , "batch", &is_batch_mode, N_("allow creation of more than one tree"), 1),
OPT_END()
};

Expand Down

0 comments on commit a631281

Please sign in to comment.