summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2012-08-20 19:32:51 +0700
committerJunio C Hamano <gitster@pobox.com>2012-08-22 10:58:29 -0700
commit0a245e244af36053e144387eb7d335f34bba561f (patch)
tree8420067b7b237910c7d0ef3fb0e13ed94056fa6b
parentfb52a452ff8731f01b23ac4f9d53321960c6e81f (diff)
downloadgit-0a245e244af36053e144387eb7d335f34bba561f.tar.gz
i18n: verify-pack: 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>
-rw-r--r--builtin/verify-pack.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/builtin/verify-pack.c b/builtin/verify-pack.c
index e841b4a38d..66cd2df0f8 100644
--- 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[] = {
- "git verify-pack [-v|--verbose] [-s|--stat-only] <pack>...",
+ N_("git verify-pack [-v|--verbose] [-s|--stat-only] <pack>..."),
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[] = {
- OPT_BIT('v', "verbose", &flags, "verbose",
+ OPT_BIT('v', "verbose", &flags, N_("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()
};