From: Alangi Derick <alangiderick@gmail.com>
To: unlisted-recipients:; (no To-header on input)
Subject: [PATCH] fixed translation error in fetch
Date: Mon, 4 May 2015 12:47:49 +0100 [thread overview]
Message-ID: <55476a2c.0530c20a.7f3d.ffffcb98@mx.google.com> (raw)
Signed-off-by: Alangi Derick <alangiderick@gmail.com>
---
builtin/fetch.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/builtin/fetch.c b/builtin/fetch.c
index f951265..ab110b2 100644
--- a/builtin/fetch.c
+++ b/builtin/fetch.c
@@ -340,7 +340,7 @@ static struct ref *get_ref_map(struct transport *transport,
if (tags == TAGS_SET)
get_fetch_map(remote_refs, tag_refspec, &tail, 0);
} else if (refmap_array) {
- die("--refmap option is only meaningful with command-line refspec(s).");
+ die(_("--refmap option is only meaningful with command-line refspec(s)."));
} else {
/* Use the defaults */
struct remote *remote = transport->remote;
@@ -432,7 +432,7 @@ static int s_update_ref(const char *action,
return 0;
fail:
ref_transaction_free(transaction);
- error("%s", err.buf);
+ error(_("%s"), err.buf);
strbuf_release(&err);
return df_conflict ? STORE_REF_ERROR_DF_CONFLICT
: STORE_REF_ERROR_OTHER;
--
2.4.0.8.geba5036.dirty
reply other threads:[~2015-05-04 12:47 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55476a2c.0530c20a.7f3d.ffffcb98@mx.google.com \
--to=alangiderick@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).