Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
i18n: help: mark parseopt strings for translation
author
Nguyễn Thái Ngọc Duy
<pclouds@gmail.com>
Mon, 20 Aug 2012 12:32:17 +0000
(19:32 +0700)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 20 Aug 2012 19:23:17 +0000
(12:23 -0700)
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/help.c
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
483bbf4
)
diff --git
a/builtin/help.c
b/builtin/help.c
index efea4f55e173a5ff2d7e1748316d6a94266e915a..bd86253d835fce671ed19676e5efeb59a6fc261d 100644
(file)
--- a/
builtin/help.c
+++ b/
builtin/help.c
@@
-40,17
+40,17
@@
static int show_all = 0;
static unsigned int colopts;
static enum help_format help_format = HELP_FORMAT_NONE;
static struct option builtin_help_options[] = {
static unsigned int colopts;
static enum help_format help_format = HELP_FORMAT_NONE;
static struct option builtin_help_options[] = {
- OPT_BOOLEAN('a', "all", &show_all,
"print all available commands"
),
- OPT_SET_INT('m', "man", &help_format,
"show man page"
, HELP_FORMAT_MAN),
- OPT_SET_INT('w', "web", &help_format,
"show manual in web browser"
,
+ OPT_BOOLEAN('a', "all", &show_all,
N_("print all available commands")
),
+ OPT_SET_INT('m', "man", &help_format,
N_("show man page")
, HELP_FORMAT_MAN),
+ OPT_SET_INT('w', "web", &help_format,
N_("show manual in web browser")
,
HELP_FORMAT_WEB),
HELP_FORMAT_WEB),
- OPT_SET_INT('i', "info", &help_format,
"show info page"
,
+ OPT_SET_INT('i', "info", &help_format,
N_("show info page")
,
HELP_FORMAT_INFO),
OPT_END(),
};
static const char * const builtin_help_usage[] = {
HELP_FORMAT_INFO),
OPT_END(),
};
static const char * const builtin_help_usage[] = {
-
"git help [--all] [--man|--web|--info] [command]"
,
+
N_("git help [--all] [--man|--web|--info] [command]")
,
NULL
};
NULL
};