mirror of
https://github.com/git/git.git
synced 2026-03-24 23:50:09 +01:00
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>
This commit is contained in:
committed by
Junio C Hamano
parent
b9c993e017
commit
cb6aeb22ac
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user