i18n: mktree: mark parseopt strings for translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Nguyễn Thái Ngọc Duy committed Aug 20, 2012 at 19:32 UTC a6312810227d91e3e7a474b5ee9282b011478ca9
1 file changed +4 -4
builtin/mktree.c
+4 -4
@@ -64,7 +64,7 @@ static void write_tree(unsigned char *sha1)
64 }
65
66 static const char *mktree_usage[] = {
67 - "git mktree [-z] [--missing] [--batch]",
67 + N_("git mktree [-z] [--missing] [--batch]"),
68 NULL
69 };
70
@@ -150,9 +150,9 @@ int cmd_mktree(int ac, const char **av, const char *prefix)
150 int got_eof = 0;
151
152 const struct option option[] = {
153 - OPT_SET_INT('z', NULL, &line_termination, "input is NUL terminated", '\0'),
154 - OPT_SET_INT( 0 , "missing", &allow_missing, "allow missing objects", 1),
155 - OPT_SET_INT( 0 , "batch", &is_batch_mode, "allow creation of more than one tree", 1),
153 + OPT_SET_INT('z', NULL, &line_termination, N_("input is NUL terminated"), '\0'),
154 + OPT_SET_INT( 0 , "missing", &allow_missing, N_("allow missing objects"), 1),
155 + OPT_SET_INT( 0 , "batch", &is_batch_mode, N_("allow creation of more than one tree"), 1),
156 OPT_END()
157 };
158