From: Nguyễn Thái Ngọc Duy Date: Mon, 20 Aug 2012 12:32:31 +0000 (+0700) Subject: i18n: prune-packed: mark parseopt strings for translation X-Git-Tag: v1.8.0-rc0~95^2~24 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5696d58857a4a5f03cba753860b965bf29fb88db;p=git.git i18n: prune-packed: 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/prune-packed.c b/builtin/prune-packed.c index b58a2e1eb..83382c1fe 100644 --- a/builtin/prune-packed.c +++ b/builtin/prune-packed.c @@ -4,7 +4,7 @@ #include "parse-options.h" static const char * const prune_packed_usage[] = { - "git prune-packed [-n|--dry-run] [-q|--quiet]", + N_("git prune-packed [-n|--dry-run] [-q|--quiet]"), NULL }; @@ -73,8 +73,8 @@ int cmd_prune_packed(int argc, const char **argv, const char *prefix) { int opts = isatty(2) ? VERBOSE : 0; const struct option prune_packed_options[] = { - OPT_BIT('n', "dry-run", &opts, "dry run", DRY_RUN), - OPT_NEGBIT('q', "quiet", &opts, "be quiet", VERBOSE), + OPT_BIT('n', "dry-run", &opts, N_("dry run"), DRY_RUN), + OPT_NEGBIT('q', "quiet", &opts, N_("be quiet"), VERBOSE), OPT_END() };