diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2012-08-20 19:32:19 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-08-20 12:23:17 -0700 |
commit | e62cd35a3e8f5baf42f5cd972ff3b9f9834269c7 (patch) | |
tree | 9e2b78d25c79ae318f0db2e695c0c6964c1d3da4 /builtin | |
parent | ce4a5e53d5a937106e9c65f7e968021154b0cf59 (diff) | |
download | git-e62cd35a3e8f5baf42f5cd972ff3b9f9834269c7.tar.gz git-e62cd35a3e8f5baf42f5cd972ff3b9f9834269c7.tar.xz |
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>
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/log.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/builtin/log.c b/builtin/log.c index ba59110a3..1ff2d8d16 100644 --- a/builtin/log.c +++ b/builtin/log.c @@ -34,8 +34,8 @@ static const char *fmt_patch_subject_prefix = "PATCH"; static const char *fmt_pretty; static const char * const builtin_log_usage[] = { - "git log [<options>] [<since>..<until>] [[--] <path>...]\n" - " or: git show [options] <object>...", + N_("git log [<options>] [<since>..<until>] [[--] <path>...]\n") + N_(" or: git show [options] <object>..."), NULL }; @@ -97,9 +97,9 @@ static void cmd_log_init_finish(int argc, const char **argv, const char *prefix, int quiet = 0, source = 0; const struct option builtin_log_options[] = { - OPT_BOOLEAN(0, "quiet", &quiet, "suppress diff output"), - OPT_BOOLEAN(0, "source", &source, "show source"), - { OPTION_CALLBACK, 0, "decorate", NULL, NULL, "decorate options", + OPT_BOOLEAN(0, "quiet", &quiet, N_("suppress diff output")), + OPT_BOOLEAN(0, "source", &source, N_("show source")), + { OPTION_CALLBACK, 0, "decorate", NULL, NULL, N_("decorate options"), PARSE_OPT_OPTARG, decorate_callback}, OPT_END() }; |