i18n: check-attr: 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:31 UTC 5a72beb791c377d314e251f3f14e1c2eea6f68fa
1 file changed +6 -6
builtin/check-attr.c
+6 -6
@@ -8,19 +8,19 @@ static int all_attrs;
8 static int cached_attrs;
9 static int stdin_paths;
10 static const char * const check_attr_usage[] = {
11 -"git check-attr [-a | --all | attr...] [--] pathname...",
12 -"git check-attr --stdin [-a | --all | attr...] < <list-of-paths>",
11 +N_("git check-attr [-a | --all | attr...] [--] pathname..."),
12 +N_("git check-attr --stdin [-a | --all | attr...] < <list-of-paths>"),
13 NULL
14 };
15
16 static int null_term_line;
17
18 static const struct option check_attr_options[] = {
19 - OPT_BOOLEAN('a', "all", &all_attrs, "report all attributes set on file"),
20 - OPT_BOOLEAN(0, "cached", &cached_attrs, "use .gitattributes only from the index"),
21 - OPT_BOOLEAN(0 , "stdin", &stdin_paths, "read file names from stdin"),
19 + OPT_BOOLEAN('a', "all", &all_attrs, N_("report all attributes set on file")),
20 + OPT_BOOLEAN(0, "cached", &cached_attrs, N_("use .gitattributes only from the index")),
21 + OPT_BOOLEAN(0 , "stdin", &stdin_paths, N_("read file names from stdin")),
22 OPT_BOOLEAN('z', NULL, &null_term_line,
23 - "input paths are terminated by a null character"),
23 + N_("input paths are terminated by a null character")),
24 OPT_END()
25 };
26