aboutsummaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2011-02-22 23:42:31 +0000
committerJunio C Hamano <gitster@pobox.com>2011-03-09 23:52:57 -0800
commitcb6aeb22ace0e20c19ba14fc4540e426a1a37880 (patch)
tree0813d8bb9fb04e33386c6430d0b669031c54082d /builtin
parentb9c993e017715e07615df30091b0fe5f556df13d (diff)
downloadgit-cb6aeb22ace0e20c19ba14fc4540e426a1a37880.tar.gz
git-cb6aeb22ace0e20c19ba14fc4540e426a1a37880.tar.xz
i18n: git-revert split up "could not revert/apply" message
Split up the "could not %s %s... %s" message into "could not revert %s... %s" and "could not apply %s... %s". This makes it easier for translators to understand the message. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin')
-rw-r--r--builtin/revert.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/builtin/revert.c b/builtin/revert.c
index b0a5ffb18..98dfd4d13 100644
--- a/builtin/revert.c
+++ b/builtin/revert.c
@@ -536,8 +536,9 @@ static int do_pick_commit(void)
}
if (res) {
- error("could not %s %s... %s",
- action == REVERT ? "revert" : "apply",
+ error(action == REVERT
+ ? _("could not revert %s... %s")
+ : _("could not apply %s... %s"),
find_unique_abbrev(commit->object.sha1, DEFAULT_ABBREV),
msg.subject);
print_advice();