Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
i18n: verify-pack: mark parseopt strings for translation
author
Nguyễn Thái Ngọc Duy
<pclouds@gmail.com>
Mon, 20 Aug 2012 12:32:51 +0000
(19:32 +0700)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 22 Aug 2012 17:58:29 +0000
(10:58 -0700)
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/verify-pack.c
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
fb52a45
)
diff --git
a/builtin/verify-pack.c
b/builtin/verify-pack.c
index e841b4a38d2b47c39d95683a5747cbc19da1f48b..66cd2df0f878d362a86e8dbc3fcd49b0c2f64c0c 100644
(file)
--- a/
builtin/verify-pack.c
+++ b/
builtin/verify-pack.c
@@
-53,7
+53,7
@@
static int verify_one_pack(const char *path, unsigned int flags)
}
static const char * const verify_pack_usage[] = {
}
static const char * const verify_pack_usage[] = {
-
"git verify-pack [-v|--verbose] [-s|--stat-only] <pack>..."
,
+
N_("git verify-pack [-v|--verbose] [-s|--stat-only] <pack>...")
,
NULL
};
NULL
};
@@
-63,9
+63,9
@@
int cmd_verify_pack(int argc, const char **argv, const char *prefix)
unsigned int flags = 0;
int i;
const struct option verify_pack_options[] = {
unsigned int flags = 0;
int i;
const struct option verify_pack_options[] = {
- OPT_BIT('v', "verbose", &flags,
"verbose"
,
+ OPT_BIT('v', "verbose", &flags,
N_("verbose")
,
VERIFY_PACK_VERBOSE),
VERIFY_PACK_VERBOSE),
- OPT_BIT('s', "stat-only", &flags,
"show statistics only"
,
+ OPT_BIT('s', "stat-only", &flags,
N_("show statistics only")
,
VERIFY_PACK_STAT_ONLY),
OPT_END()
};
VERIFY_PACK_STAT_ONLY),
OPT_END()
};