summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7e15495)
raw | patch | inline | side by side (parent: 7e15495)
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | |
Tue, 7 Sep 2010 14:54:27 +0000 (14:54 +0000) | ||
committer | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | |
Sat, 30 Oct 2010 07:58:16 +0000 (07:58 +0000) |
Messages that used the clean_abort function needed both gettext(1) and
eval_gettext(). These need to be interpolated in a string like the die
and cannot_fallback messages.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
eval_gettext(). These need to be interpolated in a string like the die
and cannot_fallback messages.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
git-am.sh | patch | blob | history |
diff --git a/git-am.sh b/git-am.sh
index 5cec47d15375ecd6949e0e5f3abcf06e868e959c..c8d46799cbebe304b8873f3dcd92cbd6a13f2535 100755 (executable)
--- a/git-am.sh
+++ b/git-am.sh
stgit-series)
if test $# -ne 1
then
- clean_abort "Only one StGIT patch series can be applied at once"
+ clean_abort "$(gettext "Only one StGIT patch series can be applied at once")"
fi
series_dir=`dirname "$1"`
series_file="$1"
;;
*)
if test -n "$parse_patch" ; then
- clean_abort "Patch format $patch_format is not supported."
+ clean_abort "$(eval_gettext "Patch format \$patch_format is not supported.")"
else
- clean_abort "Patch format detection failed."
+ clean_abort "$(gettext "Patch format detection failed.")"
fi
;;
esac