Skip to content

Commit

Permalink
i18n: prune-packed: mark parseopt strings for translation
Browse files Browse the repository at this point in the history
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Nguyễn Thái Ngọc Duy authored and Junio C Hamano committed Aug 20, 2012
1 parent e08b735 commit 5696d58
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions builtin/prune-packed.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
};

Expand Down Expand Up @@ -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()
};

Expand Down

0 comments on commit 5696d58

Please sign in to comment.