i18n: stash: mark messages for translation

Signed-off-by: Vasco Almeida <vascomalmeida@sapo.pt> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Vasco Almeida committed Sep 19, 2016 at 13:08 UTC 850251f33be0e1d0a30d11285b618bdce23be3d7
1 file changed +3 -3
git-stash.sh
+3 -3
@@ -100,7 +100,7 @@ create_stash () {
100 u_tree=$(git write-tree) &&
101 printf 'untracked files on %s\n' "$msg" | git commit-tree $u_tree &&
102 rm -f "$TMPindex"
103 - ) ) || die "Cannot save the untracked files"
103 + ) ) || die "$(gettext "Cannot save the untracked files")"
104
105 untracked_commit_option="-p $u_commit";
106 else
@@ -248,7 +248,7 @@ save_stash () {
248
249 if test -n "$patch_mode" && test -n "$untracked"
250 then
251 - die "Can't use --patch and --include-untracked or --all at the same time"
251 + die "$(gettext "Can't use --patch and --include-untracked or --all at the same time")"
252 fi
253
254 stash_msg="$*"
@@ -494,7 +494,7 @@ apply_stash () {
494 GIT_INDEX_FILE="$TMPindex" git-read-tree "$u_tree" &&
495 GIT_INDEX_FILE="$TMPindex" git checkout-index --all &&
496 rm -f "$TMPindex" ||
497 - die 'Could not restore untracked files from stash'
497 + die "$(gettext "Could not restore untracked files from stash")"
498 fi
499
500 eval "