From: Nguyễn Thái Ngọc Duy Date: Mon, 20 Aug 2012 12:32:51 +0000 (+0700) Subject: i18n: verify-pack: mark parseopt strings for translation X-Git-Tag: v1.8.0-rc0~95^2~4 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0a245e244af36053e144387eb7d335f34bba561f;p=git.git i18n: verify-pack: mark parseopt strings for translation Signed-off-by: Nguyễn Thái Ngọc Duy Signed-off-by: Junio C Hamano --- diff --git a/builtin/verify-pack.c b/builtin/verify-pack.c index e841b4a38..66cd2df0f 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] ...", + N_("git verify-pack [-v|--verbose] [-s|--stat-only] ..."), 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() };