{"thread":{"id":"39242","subject":"[PATCH] fixed translation error in fetch","startedAt":"2015-05-04T11:47:49Z","lastAt":"2015-05-04T11:47:49Z","messageCount":1,"participants":["Alangi Derick"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"260521","messageId":"55476a2c.0530c20a.7f3d.ffffcb98@mx.google.com","threadId":"39242","inReplyTo":null,"subject":"[PATCH] fixed translation error in fetch","fromName":"Alangi Derick","fromEmail":"alangiderick@gmail.com","sentAt":"2015-05-04T11:47:49Z","receivedAt":"2015-05-04T11:47:49Z","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/fetch.c | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)\n\ndiff --git a/builtin/fetch.c b/builtin/fetch.c\nindex f951265..ab110b2 100644\n--- a/builtin/fetch.c\n+++ b/builtin/fetch.c\n@@ -340,7 +340,7 @@ static struct ref *get_ref_map(struct transport *transport,\n \t\tif (tags == TAGS_SET)\n \t\t\tget_fetch_map(remote_refs, tag_refspec, &tail, 0);\n \t} else if (refmap_array) {\n-\t\tdie(\"--refmap option is only meaningful with command-line refspec(s).\");\n+\t\tdie(_(\"--refmap option is only meaningful with command-line refspec(s).\"));\n \t} else {\n \t\t/* Use the defaults */\n \t\tstruct remote *remote = transport->remote;\n@@ -432,7 +432,7 @@ static int s_update_ref(const char *action,\n \treturn 0;\n fail:\n \tref_transaction_free(transaction);\n-\terror(\"%s\", err.buf);\n+\terror(_(\"%s\"), err.buf);\n \tstrbuf_release(&err);\n \treturn df_conflict ? STORE_REF_ERROR_DF_CONFLICT\n \t\t\t   : STORE_REF_ERROR_OTHER;\n-- \n2.4.0.8.geba5036.dirty\n"}]}