traductions of the levels

This commit is contained in:
Luca Canali 2021-09-09 14:26:32 +02:00
parent 14e753aadd
commit 331f08b899
4 changed files with 57 additions and 58 deletions
levels/it_IT/branches

View file

@ -1,29 +1,29 @@
title = Creating branches
title = Creare ramificazioni
cards = checkout commit-auto branch branch-delete reset-hard
[description]
You were invited to two parties! At one of them, your favorite band is playing - and the other one is your best friend's birthday party. Where should you go? No worries - as a time travel agent in training, you can go to both parties!
Vieni invitato a due feste! In una di queste, suona il tuo gruppo preferito e l'altra è la festa del tuo miglio amico. Dove andrai? Non preoccuparti - come agente del viaggio nel tempo, puoi andare ad entrambe le feste!
To make it easier to tell which timeline is which, you can create time portals! (We call these "branches".)
Per rendere più facile dire quale sia la linea temporale, puoi creare portali temporali! (Chiamiamoli "rami-branchs")
[cli]
Branches also make it really easy to travel between different places using the command line! As soon as you have a branch called "birthday", you can type `git checkout birthday` to travel to it!
Anche viaggiare tra differenti rami temporali è davvero facile usando la linea di comando! Hai un ramo chiamato "birthday", puoi digitare `git checkout birthday` per arrivarci.
[setup]
echo "You wrap the birthday present, and grab your concert ticket." > you
echo "Incarta il regalo di compleanno e prendi il biglietto del concerto." > you
git add .
git commit -m "Evening preparations"
echo "You go to the birthday party!" >> you
git commit -m "Preparazione serale"
echo "Vai alla festa di compleanno!" >> you
git add .
git commit -m "Go to the birthday"
git commit -m "Vai al compleanno"
git checkout HEAD~1
echo "You go to the concert!" > you
echo "Vai al concerto!" > you
git add .
git commit -m "Go to the concert"
git commit -m "Vai al concerto"
git checkout HEAD~1
@ -31,14 +31,14 @@ git branch -D main
[win]
# Create a branch called 'birthday' that points to the birthday timeline.
git show birthday | grep 'to the birthday'
# Crea un ramo chiamato 'birthday questo punta alla linea temporale del compleanno
git show birthday | grep 'al compleanno'
# Create a branch called 'concert' that points to the concert timeline.
git show concert | grep 'to the concert'
git show concert | grep 'al concerto'
[congrats]
Now you can travel between those branches easily (using `git checkout`) - try it!
Adesso tu puoi viaggiare tra quie rami facilmente (usando `git checkout`) - Prova!
Your friend is happy that you made it to the birthday party and you also got your concert ticket signed. Yay!
Il tuo amico è felice che tu sia andato alla sua festa di compleanno e anche tu sei contento del biglietto del concerto firmato. Yay!

View file

@ -1,37 +1,37 @@
title = Deleting branches
title = Cancellare rami
cards = checkout commit-auto reset-hard branch-delete
[description]
Life is full of dangers, right? Even when walking to school, it seems like there's a lot of risks!
La vita è piena di pericolim, vero? Anche quando cammini a scuola2, sembra che ci siano molti rischi!
This Monday is especially bad. You made it to school, but there's some timelines you definitely don't want to keep around.
Questo Lunedì è particolarmente brutto.Sei arrivato a scuola ma ci sono delle line temporali che tu non vuoi tenere in giro
[setup]
echo You leave your house and start walking to school. > you
echo Esci di casa e ti incammini verso la scuola. > you
git add .
git commit -m "Good morning!"
git commit -m "Buon giorno!"
echo You walk on the right side of the street. >> you
git commit -am "Right side"
echo Cammini nel lato destro della strada. >> you
git commit -am "Lato destro"
echo You jump over an manhole in the walkway, and arrive at school on time. >> you
git commit -am "Jump"
echo Salti in un tombino nel marciapiede e arrivi in orario a scuola. >> you
git commit -am "Salto"
git checkout HEAD^ -b friend
echo Suddenly, you fall down, splash into stinking water, and are eaten by an alligator. >> you
git commit -am "A new friend"
echo All'improvviso cadi in una pozzanghera puzzolente e vieni mangiato da degli alligatori. >> you
git commit -am "Un nuovo amico"
git checkout HEAD~2 -b music
echo You walk on the left side of the street. >> you
git commit -am "Left side"
echo Cammini nel lato sinistro della strada. >> you
git commit -am "Lato sinistro"
echo Because you\'re kind of late, you start running. Someone throws a piano out of their windows, and it smashes you. >> you
git commit -am "Sounds nice"
echo Siccome sei in ritardo, inizi a corre ma qualcuno lanci un pianoforte dalla finestra e ti schiacci. >> you
git commit -am "Bei suoni"
git checkout HEAD^ -b ice-cream
echo You\'re not in a hurry, and walk slowly. You even get some ice cream on your way. You arrive at school too late, your teacher is angry, and you are expelled. >> you
echo Non sei preoccupato e cammini lentamente. Prendi anche un gelato per strada. Arrivi troppo tardi a scuola, il tuo insegnante è arrabbiato e vieni espulso da scuola. >> you
git commit -am "Yum"
git branch -M main leap
@ -39,9 +39,9 @@ git checkout leap^^
[win]
# Find the bad branches and delete them. Keep only the best one.
# Trova i rami cattivi e cancellali. Tieni solo il migliore.
test "$(git show-ref --heads | cut -f2 -d' ')" = "$(echo refs/heads/leap)"
[congrats]
On second thought, maybe you even prefer the ice cream timeline to the main one? :)
Ripensandoci preferisci la linea temporale del gelato? :)