Skip to content

Commit 0a245e2

Browse files
pcloudsgitster
authored andcommitted
i18n: verify-pack: mark parseopt strings for translation
Signed-off-by: Nguyễn Thái Ngọc Duy <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent fb52a45 commit 0a245e2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

builtin/verify-pack.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ static int verify_one_pack(const char *path, unsigned int flags)
5353
}
5454

5555
static const char * const verify_pack_usage[] = {
56-
"git verify-pack [-v|--verbose] [-s|--stat-only] <pack>...",
56+
N_("git verify-pack [-v|--verbose] [-s|--stat-only] <pack>..."),
5757
NULL
5858
};
5959

@@ -63,9 +63,9 @@ int cmd_verify_pack(int argc, const char **argv, const char *prefix)
6363
unsigned int flags = 0;
6464
int i;
6565
const struct option verify_pack_options[] = {
66-
OPT_BIT('v', "verbose", &flags, "verbose",
66+
OPT_BIT('v', "verbose", &flags, N_("verbose"),
6767
VERIFY_PACK_VERBOSE),
68-
OPT_BIT('s', "stat-only", &flags, "show statistics only",
68+
OPT_BIT('s', "stat-only", &flags, N_("show statistics only"),
6969
VERIFY_PACK_STAT_ONLY),
7070
OPT_END()
7171
};

0 commit comments

Comments
 (0)