From 086922d0c9cf97eff1057a45fdbebc6713b8d728 Mon Sep 17 00:00:00 2001 From: Luca Canali Date: Tue, 14 Sep 2021 18:06:29 +0200 Subject: [PATCH] add some localizations and levels traductions --- levels/it_IT/bisect/bisect | 24 ++++++++++++------------ levels/it_IT/workflows/pr | 8 ++++---- resources/localizations.csv | 13 ++++++++++++- resources/localizations.en.translation | Bin 865 -> 1285 bytes resources/localizations.it.translation | Bin 884 -> 1324 bytes scenes/notification.gd | 12 +++++++++++- scenes/terminal.gd | 2 +- scenes/terminal.tscn | 1 + 8 files changed, 41 insertions(+), 19 deletions(-) diff --git a/levels/it_IT/bisect/bisect b/levels/it_IT/bisect/bisect index 0b66edb..a80e2e8 100644 --- a/levels/it_IT/bisect/bisect +++ b/levels/it_IT/bisect/bisect @@ -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... diff --git a/levels/it_IT/workflows/pr b/levels/it_IT/workflows/pr index 1c72510..98fa95f 100644 --- a/levels/it_IT/workflows/pr +++ b/levels/it_IT/workflows/pr @@ -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] diff --git a/resources/localizations.csv b/resources/localizations.csv index 2a860b7..8716ff6 100644 --- a/resources/localizations.csv +++ b/resources/localizations.csv @@ -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 \ No newline at end of file +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!" \ No newline at end of file diff --git a/resources/localizations.en.translation b/resources/localizations.en.translation index 01525b371dbe43672a80083931d72d4a92bd84eb..29648f6b6dbc57f36302ef34dc7bc83d7c7f8eb3 100644 GIT binary patch literal 1285 zcmbW1Uu;WJ9LG<)*}9nxTUKVQjb#g2RsD&@Ojb3s=sMOiL)Kh%v{&!$t=@aFjUe$L z65+w0B|H!o4|qZ%kr2s(ga@98M8cEB5?;2&mbmr((Ibs`a*|KZ@6Y-DIlrFUu5ed? zWmg_{!5qk2H%odVl9p6mkqlW=#kv399f+I<(p=Zfbc{z8EhZ^ZLyPJ$u5wnI>rl z6oX%x)_T1@RzfDMf8Ln}k`G+K31}67*&u^encZF4oosbkxgoo+&+%=990C#03le}P zOK~%>y8tyxJrR+J!!`(ke1tt~@BKLXv=1^3g$N}>&)qmjy%8e*%EK?^l#eDti1_#U zfyi$uShg=$c|u#fM%H4ODnUo<1~#na~;%@9PruNC(z zPQgyUB%#iIzThZ!;a~B>HWtKr(TB)izw+CIdMF}J^gVu6U3vg^F^`Ln#=nzHFM<&9 zZ`yWAC!o-MD7T0|f3jiKe&}Lu<=0NHu7Vx}$8*jNK0RN47WxJ78cY@jMtYEs9tphz zQK$IB?IsP%-*a!ie$Zv+*vVf5&cL=oiX~ZyA2D1(euyi~>V9nhtg5QTtVpoY8Gcu~ zz*Dxj@S~NNQ4dGyh?Hgnb+}Hano3%46}^Qw_LRv*DTsoS>Ugwiwqa|iz*97sT8Ga^1dpr z_WZyYLUIh91tm3Z;>%|dEgo06tHadg7;DoEmuyhSFD_SEYzI&GyG)($Hx<~zmnJf{ m_WB`oK1nm^k^0>%plR@RCQ06A$_7HWUhCLIe#W}+2lx};E+Py7 delta 430 zcmZqWddRjxm$9Cgfq~&a5CADK%>|@Iplm51tpLPoK&%7AAazDiniWVZ0I>}aGXXIp z5LX|ZAPf?p0>l@9cyS!Z;9&f-uN1 z5dOyQd}Ird76f8(s2E6m_KsJ=M}aiRP!NWxpSt_YkGnuVHx$FfCp7Aq%mj*|n}3VN z%{gQNPy!SRAPjTimz3p8fn2cTKn_$le!ulBkmiJ9HXtnz#BYJvDKR;FG9$~>XrIio z)SP05ko@%YoKywh(&EfyhJT(Xrc3=}_!m6w>wiX1^%;J?1>gQNDl)j{rRQW8XE69A o=B1Y=rl&FlrRL-(rZD)WR+K3Cqyi0M2rSJk0UFN`6ddFX01ggapa1{> diff --git a/resources/localizations.it.translation b/resources/localizations.it.translation index 410081c3a76de444c9468a0d450193b9122de478..882761e5a9cb18d2f8ee2eaf1b13810923fa30cd 100644 GIT binary patch literal 1324 zcmbVMUr1A76#w?8d7I^`iHS-&kSmB|*&mapLYbM;bZx8D$lcqz>2lra?kp;NustLZ zB}EOXhlW{!_#y^UPm+*OJp?{P5mYZlMfo66QFr~$ycZ;T>VqHWoZolO_dDPDF4yPx z)iZ6GV0Em8@7*IR-GP`WD-kgsj>>x8e_IZf`9MrkqW!Uu6pTbeVk8)k29=N`ODt#k zo-Ce_*h(-bBt;RsB!y)m$W%xy8*Vqc3&zDG5s9rvc%(nnBgHj>l$3ZZEO#xHDWO=n zHx80917HO*CvA7RD%mQcu>N^xGd5@_D>NI9Gong>^#Cmkum(tD?qJEfN9&&X9yddjzA#cfR>Ba{)eGoQBrY)AD#1@~Ah0 zUVmfyqx}kEnkD7x^)Jo!fdG<-Cp_72e@pkX0W=rAezcPt6%gn;I=^`I?ikWC+N4i2 zqP?!zW$q9h>XrKVk~@`~f?WmBtI6vg7mmQvd4x@KhELtdr%z$IZrSFq_nX1f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