Skip to content

Commit 5696d58

Browse files
pcloudsgitster
authored andcommitted
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>
1 parent e08b735 commit 5696d58

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

builtin/prune-packed.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#include "parse-options.h"
55

66
static const char * const prune_packed_usage[] = {
7-
"git prune-packed [-n|--dry-run] [-q|--quiet]",
7+
N_("git prune-packed [-n|--dry-run] [-q|--quiet]"),
88
NULL
99
};
1010

@@ -73,8 +73,8 @@ int cmd_prune_packed(int argc, const char **argv, const char *prefix)
7373
{
7474
int opts = isatty(2) ? VERBOSE : 0;
7575
const struct option prune_packed_options[] = {
76-
OPT_BIT('n', "dry-run", &opts, "dry run", DRY_RUN),
77-
OPT_NEGBIT('q', "quiet", &opts, "be quiet", VERBOSE),
76+
OPT_BIT('n', "dry-run", &opts, N_("dry run"), DRY_RUN),
77+
OPT_NEGBIT('q', "quiet", &opts, N_("be quiet"), VERBOSE),
7878
OPT_END()
7979
};
8080

0 commit comments

Comments
 (0)