add some localizations and levels traductions

This commit is contained in:
Luca Canali 2021-09-14 18:06:29 +02:00
parent 90574216dc
commit 086922d0c9
8 changed files with 41 additions and 19 deletions

View file

@ -1,29 +1,29 @@
title = Yellow brick road
title = Strada di mattoni gialli
cards = checkout commit-auto reset-hard bisect-start bisect-good bisect-bad
[description]
(Please zoom out a bit using your mouse wheel! :D)
(Perpiacere rimpicciolisci un pochino usando la rotella del mouse! :D)
Oh no! You have lost your key at some point during the day!
Oh no! Hai perso la tua chiave da qualche parte durante il giorno!
Sure, you could look at every single commit in an attempt to find it - but there's a better way: your time machine has a built-in way to find the point in time where things went wrong quickly!
Sicuro, certo potresti guardare in ogni singolo commit nella speranza di trovarlo - ma c'è un modo migliore: la tua macchina del tempo ha un modo integrato per trovare velocemente il punto nel tempo dove le cose sono andate male!
First, play the "bisect start" card. Then, go to a commit where you don't have the key, and play the "bisect bad" card. Likewise, go to a commit early on where you have the key *in your pocket*, and play the "bisect good card".
Per prima cosa, gioca la carta "bisec start". Quindi, vai ad un commit in cui non hai la chiave e gioca la carta "bisect bad". Allo stesso modo vai velocemente in un commit dove hai la chiave *in tascca* e gioca la carta "bisect goofìd".
After you've found the last good commit, reset the main branch to it. What happened to the key after you lost it?
Dopo aver trovato l'ultimo commit valido reimposta la branch principale su di esso. Cosa è successo alla chiave dopo che l'hai persa?
[setup]
echo "You still have your key." > you
echo "Hai ancora la tua chiave." > you
for i in {1..30}; do
if test $i -eq 12; then
echo "Your pocket is empty." > you
echo "Is on the ground." > key
echo "La tua tasca è vuota." > you
echo "E' per terra." > key
fi
if test $i -eq 13; then
echo "Is holding a key in its beak." > bird
echo "Tiene una chiave nel becco." > bird
rm key
fi
if test $i -eq 14; then
@ -35,9 +35,9 @@ done
[win]
# Find the last good commit
# Trova l'ultimo commit buono
test "$(git log --pretty=%s main | head -1)" -eq 11
[congrats]
Well done! :) The only problem is that you now have to walk all the way back home, again...
Molto bene! :) L'unico problema è che adesso devi tornare a casa camminando, dinuovo...

View file

@ -1,9 +1,9 @@
title = Cloning a repo
title = Clonare un repo
cards = clone commit-auto reset-hard checkout file-new branch
[description]
Your friend has a problem! Clone the repo, create a branch called "solution", and fix the problem in this branch. When you're ready, make a "Pull Request" by using `git tag pr`.
Il tuo amico ha un problema! Clona il repo, crea una branch chiamata "solution" e aggiusta il problema in qulla branch. Quando sei pronto crea una "Pull Request" usando `git tag pr`.
[setup]
@ -13,12 +13,12 @@ rm -rf .git
echo "2 + 3 = " > file
git add .
git commit -m "Initial commit"
git commit -m "Commit iniziale"
[actions friend]
git ls-remote yours | grep pr && git fetch yours && git merge yours/solution
git show main:file | grep 5 && hint "Thanks!"
git show main:file | grep 5 && hint "Grazie!"
[win friend]

View file

@ -17,4 +17,15 @@ Su macOS 10.8 e versioni precedenti, puoi scaricare Git da git-scm.com."
INSTALL,"Sure, I'll install it!","Sicuro, lo installerò"
LANGUAGE,Language,Linguaggio
ITALIAN,Italian,Italiano
ENGLISH,English,Inglese
ENGLISH,English,Inglese
GOT_IT,"Got it!","fatto"
INTERESTING,"Interesting!","interessante"
VERY_USEFULL,"Very useful!","Veramente utile!"
COOL,"Cool!","Bello!"
NICE,"Nice!","Bene!"
THANKS,"Thanks!","Grazie!"
WHATEVER,"Whatever...","Ad ogni costo..."
OKAY,"Okay!","Ok!"
YAY,"Yay!","Yay!"
AWESOME,"Awesome!","Eccezionale!"
YOUR_TERMINAL,"This is your terminal! All commands are executed here, and you can see their output. You can also type your own commands here!","Questo è il tuo terminale! Tutti i comandi sono eseguiti qui e puoi vedere il loro output. Puoi anche digitare i tuoi comndi qui!"
Can't render this file because it contains an unexpected character in line 10 and column 86.

View file

@ -1,7 +1,17 @@
extends Node2D
var text setget _set_text
var button_texts = ["Got it!", "Interesting!", "Very useful!", "Cool!", "Nice!", "Thanks!", "Whatever...", "Okay!", "Yay!", "Awesome!"]
var button_texts = [
tr("GOT_IT"),
tr("INTERESTING"),
tr("VERY_USEFULL"),
tr("COOL"),
tr("NICE"),
tr("THANKS"),
tr("WHATEVER"),
tr("OKAY"),
tr("YAY"),
tr("AWESOME") ]
func _ready():
button_texts.shuffle()

View file

@ -104,7 +104,7 @@ func command_done(cmd):
if cmd.output.length() <= 1000:
output.text = output.text + "$ " + cmd.command + "\n" + cmd.output
game.notify("This is your terminal! All commands are executed here, and you can see their output. You can also type your own commands here!", self, "terminal")
game.notify(tr("YOUR_TERMINAL"), self, "terminal")
else:
$Pager/Text.text = cmd.output
$Pager.popup()

View file

@ -147,6 +147,7 @@ volume_db = -10.0
[node name="OkSound" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 2 )
volume_db = -5.0
[connection signal="item_selected" from="Rows/TopHalf/Completions" to="." method="_completion_selected"]
[connection signal="pressed" from="Rows/VBoxContainer/Button" to="Rows/VBoxContainer/Button" method="pressed"]
[connection signal="pressed" from="Rows/VBoxContainer/Button2" to="Rows/VBoxContainer/Button2" method="pressed"]