File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ create_stash () {
100100 u_tree=$( git write-tree) &&
101101 printf ' untracked files on %s\n' " $msg " | git commit-tree $u_tree &&
102102 rm -f " $TMPindex "
103- ) ) || die " Cannot save the untracked files"
103+ ) ) || die " $( gettext " Cannot save the untracked files" ) "
104104
105105 untracked_commit_option=" -p $u_commit " ;
106106 else
@@ -248,7 +248,7 @@ save_stash () {
248248
249249 if test -n " $patch_mode " && test -n " $untracked "
250250 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" ) "
252252 fi
253253
254254 stash_msg=" $* "
@@ -494,7 +494,7 @@ apply_stash () {
494494 GIT_INDEX_FILE=" $TMPindex " git-read-tree " $u_tree " &&
495495 GIT_INDEX_FILE=" $TMPindex " git checkout-index --all &&
496496 rm -f " $TMPindex " ||
497- die ' Could not restore untracked files from stash'
497+ die " $( gettext " Could not restore untracked files from stash" ) "
498498 fi
499499
500500 eval "
You can’t perform that action at this time.
0 commit comments