diff options
Diffstat (limited to 'sha1_name.c')
-rw-r--r-- | sha1_name.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sha1_name.c b/sha1_name.c index 361708b7bb..c6331136d1 100644 --- a/sha1_name.c +++ b/sha1_name.c @@ -861,15 +861,15 @@ int interpret_branch_name(const char *name, struct strbuf *buf) * points to something different than a branch. */ if (!upstream) - return error("HEAD does not point to a branch"); + return error(_("HEAD does not point to a branch")); if (!upstream->merge || !upstream->merge[0]->dst) { if (!ref_exists(upstream->refname)) - return error("No such branch: '%s'", cp); + return error(_("No such branch: '%s'"), cp); if (!upstream->merge) - return error("No upstream configured for branch '%s'", + return error(_("No upstream configured for branch '%s'"), upstream->name); return error( - "Upstream branch '%s' not stored as a remote-tracking branch", + _("Upstream branch '%s' not stored as a remote-tracking branch"), upstream->merge[0]->src); } free(cp); |