Skip to content

Commit e62cd35

Browse files
pcloudsgitster
authored andcommitted
i18n: log: 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 ce4a5e5 commit e62cd35

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

builtin/log.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ static const char *fmt_patch_subject_prefix = "PATCH";
3434
static const char *fmt_pretty;
3535

3636
static const char * const builtin_log_usage[] = {
37-
"git log [<options>] [<since>..<until>] [[--] <path>...]\n"
38-
" or: git show [options] <object>...",
37+
N_("git log [<options>] [<since>..<until>] [[--] <path>...]\n")
38+
N_(" or: git show [options] <object>..."),
3939
NULL
4040
};
4141

@@ -97,9 +97,9 @@ static void cmd_log_init_finish(int argc, const char **argv, const char *prefix,
9797
int quiet = 0, source = 0;
9898

9999
const struct option builtin_log_options[] = {
100-
OPT_BOOLEAN(0, "quiet", &quiet, "suppress diff output"),
101-
OPT_BOOLEAN(0, "source", &source, "show source"),
102-
{ OPTION_CALLBACK, 0, "decorate", NULL, NULL, "decorate options",
100+
OPT_BOOLEAN(0, "quiet", &quiet, N_("suppress diff output")),
101+
OPT_BOOLEAN(0, "source", &source, N_("show source")),
102+
{ OPTION_CALLBACK, 0, "decorate", NULL, NULL, N_("decorate options"),
103103
PARSE_OPT_OPTARG, decorate_callback},
104104
OPT_END()
105105
};

0 commit comments

Comments
 (0)