Skip to content

Commit a631281

Browse files
pcloudsgitster
authored andcommitted
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>
1 parent 962e629 commit a631281

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

builtin/mktree.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ static void write_tree(unsigned char *sha1)
6464
}
6565

6666
static const char *mktree_usage[] = {
67-
"git mktree [-z] [--missing] [--batch]",
67+
N_("git mktree [-z] [--missing] [--batch]"),
6868
NULL
6969
};
7070

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

152152
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),
156156
OPT_END()
157157
};
158158

0 commit comments

Comments
 (0)