From: Ævar Arnfjörð Bjarmason Date: Tue, 14 Sep 2010 11:43:29 +0000 (+0000) Subject: gettextize: git-stash die + eval_gettext messages X-Git-Tag: ko-pu~10^2~17 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6d55e7fc204f2417ef24934cf0b4a60b37302049;p=git.git gettextize: git-stash die + eval_gettext messages Signed-off-by: Ævar Arnfjörð Bjarmason --- diff --git a/git-stash.sh b/git-stash.sh index 082d2761a..a01bd5944 100755 --- a/git-stash.sh +++ b/git-stash.sh @@ -294,7 +294,7 @@ parse_flags_and_rev() : ;; *) - die "Too many revisions specified: $REV" + die "$(eval_gettext "Too many revisions specified: \$REV")" ;; esac @@ -318,7 +318,7 @@ parse_flags_and_rev() # this condition with a non-zero status code but as of 1.7.2.1 it # it did not. So, we use non-empty stderr output as a proxy for the # condition of interest. - test -z "$(git rev-parse "$REV" 2>&1 >/dev/null)" || die "$REV does not exist in the stash log" + test -z "$(git rev-parse "$REV" 2>&1 >/dev/null)" || die "$(eval_gettext "\$REV does not exist in the stash log")" fi }