Code

i18n: git-stash echo + gettext message
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Sat, 21 May 2011 18:44:11 +0000 (18:44 +0000)
committerJunio C Hamano <gitster@pobox.com>
Sat, 21 May 2011 18:57:16 +0000 (11:57 -0700)
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-stash.sh

index 1ad380a289250e67289e05eeef0908c3ed86e84b..d720554403dc95420ff29063678be1bf156c9963 100755 (executable)
@@ -390,7 +390,10 @@ apply_stash () {
                status=$?
                if test -n "$INDEX_OPTION"
                then
-                       echo >&2 'Index was not unstashed.'
+                       (
+                               gettext "Index was not unstashed." &&
+                               echo
+                       ) >&2
                fi
                exit $status
        fi