i18n: prune-packed: 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>
This commit is contained in:
Nguyễn Thái Ngọc Duy 2012-08-20 19:32:31 +07:00 committed by Junio C Hamano
parent e08b735350
commit 5696d58857

View File

@ -4,7 +4,7 @@
#include "parse-options.h" #include "parse-options.h"
static const char * const prune_packed_usage[] = { 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 NULL
}; };
@ -73,8 +73,8 @@ int cmd_prune_packed(int argc, const char **argv, const char *prefix)
{ {
int opts = isatty(2) ? VERBOSE : 0; int opts = isatty(2) ? VERBOSE : 0;
const struct option prune_packed_options[] = { const struct option prune_packed_options[] = {
OPT_BIT('n', "dry-run", &opts, "dry run", DRY_RUN), OPT_BIT('n', "dry-run", &opts, N_("dry run"), DRY_RUN),
OPT_NEGBIT('q', "quiet", &opts, "be quiet", VERBOSE), OPT_NEGBIT('q', "quiet", &opts, N_("be quiet"), VERBOSE),
OPT_END() OPT_END()
}; };