i18n: shortlog: 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
c48bd2c17c3f1ef78caf295e5bea8b4395698723
1 file changed
+7
-7
builtin/shortlog.c
+7
-7
@@ -10,9 +10,9 @@
10
#include "parse-options.h"
11
12
static char const * const shortlog_usage[] = {
13
- "git shortlog [-n] [-s] [-e] [-w] [rev-opts] [--] [<commit-id>... ]",
13
+ N_("git shortlog [-n] [-s] [-e] [-w] [rev-opts] [--] [<commit-id>... ]"),
14
"",
15
- "[rev-opts] are documented in git-rev-list(1)",
15
+ N_("[rev-opts] are documented in git-rev-list(1)"),
16
NULL
17
};
18
@@ -250,13 +250,13 @@ int cmd_shortlog(int argc, const char **argv, const char *prefix)
250
251
static const struct option options[] = {
252
OPT_BOOLEAN('n', "numbered", &log.sort_by_number,
253
- "sort output according to the number of commits per author"),
253
+ N_("sort output according to the number of commits per author")),
254
OPT_BOOLEAN('s', "summary", &log.summary,
255
- "Suppress commit descriptions, only provides commit count"),
255
+ N_("Suppress commit descriptions, only provides commit count")),
256
OPT_BOOLEAN('e', "email", &log.email,
257
- "Show the email address of each author"),
258
- { OPTION_CALLBACK, 'w', NULL, &log, "w[,i1[,i2]]",
259
- "Linewrap output", PARSE_OPT_OPTARG, &parse_wrap_args },
257
+ N_("Show the email address of each author")),
258
+ { OPTION_CALLBACK, 'w', NULL, &log, N_("w[,i1[,i2]]"),
259
+ N_("Linewrap output"), PARSE_OPT_OPTARG, &parse_wrap_args },
260
OPT_END(),
261
};
262