Skip to content

Commit 6891869

Browse files
pcloudsgitster
authored andcommitted
i18n: help: mark parseopt strings for translation
Signed-off-by: Nguyễn Thái Ngọc Duy <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 483bbf4 commit 6891869

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

builtin/help.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,17 +40,17 @@ static int show_all = 0;
4040
static unsigned int colopts;
4141
static enum help_format help_format = HELP_FORMAT_NONE;
4242
static struct option builtin_help_options[] = {
43-
OPT_BOOLEAN('a', "all", &show_all, "print all available commands"),
44-
OPT_SET_INT('m', "man", &help_format, "show man page", HELP_FORMAT_MAN),
45-
OPT_SET_INT('w', "web", &help_format, "show manual in web browser",
43+
OPT_BOOLEAN('a', "all", &show_all, N_("print all available commands")),
44+
OPT_SET_INT('m', "man", &help_format, N_("show man page"), HELP_FORMAT_MAN),
45+
OPT_SET_INT('w', "web", &help_format, N_("show manual in web browser"),
4646
HELP_FORMAT_WEB),
47-
OPT_SET_INT('i', "info", &help_format, "show info page",
47+
OPT_SET_INT('i', "info", &help_format, N_("show info page"),
4848
HELP_FORMAT_INFO),
4949
OPT_END(),
5050
};
5151

5252
static const char * const builtin_help_usage[] = {
53-
"git help [--all] [--man|--web|--info] [command]",
53+
N_("git help [--all] [--man|--web|--info] [command]"),
5454
NULL
5555
};
5656

0 commit comments

Comments
 (0)