{"thread":{"id":"39240","subject":"[PATCH] fixed translation error-1","startedAt":"2015-05-03T22:25:18Z","lastAt":"2015-05-03T22:25:18Z","messageCount":1,"participants":["Alangi Derick"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"260519","messageId":"554769b8.e25bb40a.1c70.ffff88bd@mx.google.com","threadId":"39240","inReplyTo":null,"subject":"[PATCH] fixed translation error-1","fromName":"Alangi Derick","fromEmail":"alangiderick@gmail.com","sentAt":"2015-05-03T22:25:18Z","receivedAt":"2015-05-03T22:25:18Z","isPatch":true,"sender":{"key":"alangiderick@gmail.com","avatar":"https://gravatar.com/avatar/f5878e69e83b4cf7ed499336c4a114dc2cb253253bc57c9b8ffcf0e129320795?d=mp&s=160"},"body":"Signed-off-by: Alangi Derick <alangiderick@gmail.com>\n---\n builtin/check-attr.c | 12 ++++++------\n 1 file changed, 6 insertions(+), 6 deletions(-)\n\ndiff --git a/builtin/check-attr.c b/builtin/check-attr.c\nindex 21d2bed..fba1b52 100644\n--- a/builtin/check-attr.c\n+++ b/builtin/check-attr.c\n@@ -58,11 +58,11 @@ static void check_attr(const char *prefix, int cnt,\n \t\tprefix_path(prefix, prefix ? strlen(prefix) : 0, file);\n \tif (check != NULL) {\n \t\tif (git_check_attr(full_path, cnt, check))\n-\t\t\tdie(\"git_check_attr died\");\n+\t\t\tdie(_(\"git_check_attr died\"));\n \t\toutput_attr(cnt, check, file);\n \t} else {\n \t\tif (git_all_attrs(full_path, &cnt, &check))\n-\t\t\tdie(\"git_all_attrs died\");\n+\t\t\tdie(_(\"git_all_attrs died\"));\n \t\toutput_attr(cnt, check, file);\n \t\tfree(check);\n \t}\n@@ -81,7 +81,7 @@ static void check_attr_stdin_paths(const char *prefix, int cnt,\n \t\tif (line_termination && buf.buf[0] == '\"') {\n \t\t\tstrbuf_reset(&nbuf);\n \t\t\tif (unquote_c_style(&nbuf, buf.buf, NULL))\n-\t\t\t\tdie(\"line is badly quoted\");\n+\t\t\t\tdie(_(\"line is badly quoted\"));\n \t\t\tstrbuf_swap(&buf, &nbuf);\n \t\t}\n \t\tcheck_attr(prefix, cnt, check, buf.buf);\n@@ -93,7 +93,7 @@ static void check_attr_stdin_paths(const char *prefix, int cnt,\n \n static NORETURN void error_with_usage(const char *msg)\n {\n-\terror(\"%s\", msg);\n+\terror(_(\"%s\"), msg);\n \tusage_with_options(check_attr_usage, check_attr_options);\n }\n \n@@ -111,7 +111,7 @@ int cmd_check_attr(int argc, const char **argv, const char *prefix)\n \t\t\t     check_attr_usage, PARSE_OPT_KEEP_DASHDASH);\n \n \tif (read_cache() < 0) {\n-\t\tdie(\"invalid cache\");\n+\t\tdie(_(\"invalid cache\"));\n \t}\n \n \tif (cached_attrs)\n@@ -169,7 +169,7 @@ int cmd_check_attr(int argc, const char **argv, const char *prefix)\n \t\t\tname = argv[i];\n \t\t\ta = git_attr(name);\n \t\t\tif (!a)\n-\t\t\t\treturn error(\"%s: not a valid attribute name\",\n+\t\t\t\treturn error(_(\"%s: not a valid attribute name\"),\n \t\t\t\t\tname);\n \t\t\tcheck[i].attr = a;\n \t\t}\n-- \n2.4.0.3.g9c6ac00.dirty\n"}]}