i18n: help: 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 68918696cce2db815a1b07f60d11f3c99e121b1f
1 file changed +5 -5
builtin/help.c
+5 -5
@@ -40,17 +40,17 @@ static int show_all = 0;
40 static unsigned int colopts;
41 static enum help_format help_format = HELP_FORMAT_NONE;
42 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"),
46 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"),
48 HELP_FORMAT_INFO),
49 OPT_END(),
50 };
51
52 static const char * const builtin_help_usage[] = {
53 - "git help [--all] [--man|--web|--info] [command]",
53 + N_("git help [--all] [--man|--web|--info] [command]"),
54 NULL
55 };
56