i18n: log: 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>

Nguyễn Thái Ngọc Duy committed Aug 20, 2012 at 19:32 UTC e62cd35a3e8f5baf42f5cd972ff3b9f9834269c7
1 file changed +5 -5
builtin/log.c
+5 -5
@@ -34,8 +34,8 @@ static const char *fmt_patch_subject_prefix = "PATCH";
34 static const char *fmt_pretty;
35
36 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>..."),
39 NULL
40 };
41
@@ -97,9 +97,9 @@ static void cmd_log_init_finish(int argc, const char **argv, const char *prefix,
97 int quiet = 0, source = 0;
98
99 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"),
103 PARSE_OPT_OPTARG, decorate_callback},
104 OPT_END()
105 };