finished the mechanism for setting the language

This commit is contained in:
Luca Canali 2021-09-08 17:00:51 +02:00
parent 705cc849c2
commit 50ee071f0e
214 changed files with 94 additions and 10 deletions
levels/en_EN/shit-happens

View file

@ -0,0 +1,22 @@
title = Restore a deleted file
cards = checkout
[description]
Oops - you deleted the "essay" file, which you worked on all night!
Luckily, Git is here to help! You can use `git checkout` to restore the file!
[setup]
echo important > essay
git add .
git commit -m "Initial commit"
echo "important content" > essay
git commit -am "Improve essay"
rm essay
[win]
# Restore the essay to contain "important content"
test "$(cat essay)" = "important content"