Code

i18n: git-stash say + gettext messages
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Sat, 21 May 2011 18:44:12 +0000 (18:44 +0000)
committerJunio C Hamano <gitster@pobox.com>
Sat, 21 May 2011 18:57:17 +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 d720554403dc95420ff29063678be1bf156c9963..c3ca7a1da1436e549995880aa14558ea63c79872 100755 (executable)
@@ -168,7 +168,7 @@ save_stash () {
        git update-index -q --refresh
        if no_changes
        then
-               say 'No local changes to save'
+               say "$(gettext "No local changes to save")"
                exit 0
        fi
        test -f "$GIT_DIR/logs/$ref_stash" ||
@@ -488,7 +488,7 @@ branch)
        case $# in
        0)
                save_stash &&
-               say '(To restore them type "git stash apply")'
+               say "$(gettext "(To restore them type \"git stash apply\")")"
                ;;
        *)
                usage