File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ create_stash () {
100
100
u_tree=$( git write-tree) &&
101
101
printf ' untracked files on %s\n' " $msg " | git commit-tree $u_tree &&
102
102
rm -f " $TMPindex "
103
- ) ) || die " Cannot save the untracked files"
103
+ ) ) || die " $( gettext " Cannot save the untracked files" ) "
104
104
105
105
untracked_commit_option=" -p $u_commit " ;
106
106
else
@@ -248,7 +248,7 @@ save_stash () {
248
248
249
249
if test -n " $patch_mode " && test -n " $untracked "
250
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
252
fi
253
253
254
254
stash_msg=" $* "
@@ -494,7 +494,7 @@ apply_stash () {
494
494
GIT_INDEX_FILE=" $TMPindex " git-read-tree " $u_tree " &&
495
495
GIT_INDEX_FILE=" $TMPindex " git checkout-index --all &&
496
496
rm -f " $TMPindex " ||
497
- die ' Could not restore untracked files from stash'
497
+ die " $( gettext " Could not restore untracked files from stash" ) "
498
498
fi
499
499
500
500
eval "
You can’t perform that action at this time.
0 commit comments