From 5a72beb791c377d314e251f3f14e1c2eea6f68fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nguy=E1=BB=85n=20Th=C3=A1i=20Ng=E1=BB=8Dc=20Duy?= Date: Mon, 20 Aug 2012 19:31:57 +0700 Subject: i18n: check-attr: mark parseopt strings for translation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Nguyễn Thái Ngọc Duy Signed-off-by: Junio C Hamano --- builtin/check-attr.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'builtin/check-attr.c') diff --git a/builtin/check-attr.c b/builtin/check-attr.c index 44c421eb0f..e1ff575daa 100644 --- a/builtin/check-attr.c +++ b/builtin/check-attr.c @@ -8,19 +8,19 @@ static int all_attrs; static int cached_attrs; static int stdin_paths; static const char * const check_attr_usage[] = { -"git check-attr [-a | --all | attr...] [--] pathname...", -"git check-attr --stdin [-a | --all | attr...] < ", +N_("git check-attr [-a | --all | attr...] [--] pathname..."), +N_("git check-attr --stdin [-a | --all | attr...] < "), NULL }; static int null_term_line; static const struct option check_attr_options[] = { - OPT_BOOLEAN('a', "all", &all_attrs, "report all attributes set on file"), - OPT_BOOLEAN(0, "cached", &cached_attrs, "use .gitattributes only from the index"), - OPT_BOOLEAN(0 , "stdin", &stdin_paths, "read file names from stdin"), + OPT_BOOLEAN('a', "all", &all_attrs, N_("report all attributes set on file")), + OPT_BOOLEAN(0, "cached", &cached_attrs, N_("use .gitattributes only from the index")), + OPT_BOOLEAN(0 , "stdin", &stdin_paths, N_("read file names from stdin")), OPT_BOOLEAN('z', NULL, &null_term_line, - "input paths are terminated by a null character"), + N_("input paths are terminated by a null character")), OPT_END() }; -- cgit v1.2.1 From d9fcff2f498d398132cc9a14f7402e77ff1c5991 Mon Sep 17 00:00:00 2001 From: Adam Spiers Date: Mon, 17 Sep 2012 12:38:51 +0100 Subject: Add missing -z to git check-attr usage text for consistency with man page Signed-off-by: Adam Spiers Signed-off-by: Junio C Hamano --- builtin/check-attr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'builtin/check-attr.c') diff --git a/builtin/check-attr.c b/builtin/check-attr.c index 44c421eb0f..9000c2db51 100644 --- a/builtin/check-attr.c +++ b/builtin/check-attr.c @@ -9,7 +9,7 @@ static int cached_attrs; static int stdin_paths; static const char * const check_attr_usage[] = { "git check-attr [-a | --all | attr...] [--] pathname...", -"git check-attr --stdin [-a | --all | attr...] < ", +"git check-attr --stdin [-z] [-a | --all | attr...] < ", NULL }; -- cgit v1.2.1