diff --git a/cards/add.svg.import b/cards/add.svg.import index cca9696..4ec9107 100644 --- a/cards/add.svg.import +++ b/cards/add.svg.import @@ -28,6 +28,7 @@ process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false +process/normal_map_invert_y=false stream=false size_limit=0 detect_3d=true diff --git a/cards/bisect-bad.svg.import b/cards/bisect-bad.svg.import index c2afba5..a23974f 100644 --- a/cards/bisect-bad.svg.import +++ b/cards/bisect-bad.svg.import @@ -28,6 +28,7 @@ process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false +process/normal_map_invert_y=false stream=false size_limit=0 detect_3d=true diff --git a/cards/bisect-good.svg.import b/cards/bisect-good.svg.import index 50f3eef..eccfb46 100644 --- a/cards/bisect-good.svg.import +++ b/cards/bisect-good.svg.import @@ -28,6 +28,7 @@ process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false +process/normal_map_invert_y=false stream=false size_limit=0 detect_3d=true diff --git a/cards/bisect-start.svg.import b/cards/bisect-start.svg.import index cd672e1..f58b103 100644 --- a/cards/bisect-start.svg.import +++ b/cards/bisect-start.svg.import @@ -28,6 +28,7 @@ process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false +process/normal_map_invert_y=false stream=false size_limit=0 detect_3d=true diff --git a/cards/branch-delete.svg.import b/cards/branch-delete.svg.import index 6277fe4..385e0b9 100644 --- a/cards/branch-delete.svg.import +++ b/cards/branch-delete.svg.import @@ -28,6 +28,7 @@ process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false +process/normal_map_invert_y=false stream=false size_limit=0 detect_3d=true diff --git a/cards/branch.svg.import b/cards/branch.svg.import index ff2d5b8..f0a165e 100644 --- a/cards/branch.svg.import +++ b/cards/branch.svg.import @@ -28,6 +28,7 @@ process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false +process/normal_map_invert_y=false stream=false size_limit=0 detect_3d=true diff --git a/cards/checkout-file.svg.import b/cards/checkout-file.svg.import index a960142..10b175c 100644 --- a/cards/checkout-file.svg.import +++ b/cards/checkout-file.svg.import @@ -28,6 +28,7 @@ process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false +process/normal_map_invert_y=false stream=false size_limit=0 detect_3d=true diff --git a/cards/checkout-from.svg.import b/cards/checkout-from.svg.import index 2892f47..7e6160e 100644 --- a/cards/checkout-from.svg.import +++ b/cards/checkout-from.svg.import @@ -28,6 +28,7 @@ process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false +process/normal_map_invert_y=false stream=false size_limit=0 detect_3d=true diff --git a/cards/checkout.svg.import b/cards/checkout.svg.import index 895efd6..ba8c88a 100644 --- a/cards/checkout.svg.import +++ b/cards/checkout.svg.import @@ -28,6 +28,7 @@ process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false +process/normal_map_invert_y=false stream=false size_limit=0 detect_3d=true diff --git a/cards/cherry-pick.svg.import b/cards/cherry-pick.svg.import index 3549183..1c88964 100644 --- a/cards/cherry-pick.svg.import +++ b/cards/cherry-pick.svg.import @@ -28,6 +28,7 @@ process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false +process/normal_map_invert_y=false stream=false size_limit=0 detect_3d=true diff --git a/cards/clone.svg.import b/cards/clone.svg.import index 1f894b7..6fa25e0 100644 --- a/cards/clone.svg.import +++ b/cards/clone.svg.import @@ -28,6 +28,7 @@ process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false +process/normal_map_invert_y=false stream=false size_limit=0 detect_3d=true diff --git a/cards/commit-a.svg.import b/cards/commit-a.svg.import index d514e29..be711b0 100644 --- a/cards/commit-a.svg.import +++ b/cards/commit-a.svg.import @@ -28,6 +28,7 @@ process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false +process/normal_map_invert_y=false stream=false size_limit=0 detect_3d=true diff --git a/cards/commit-auto.svg.import b/cards/commit-auto.svg.import index 51e7cfd..4f561ca 100644 --- a/cards/commit-auto.svg.import +++ b/cards/commit-auto.svg.import @@ -28,6 +28,7 @@ process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false +process/normal_map_invert_y=false stream=false size_limit=0 detect_3d=true diff --git a/cards/commit.svg.import b/cards/commit.svg.import index 613bc09..1e1535b 100644 --- a/cards/commit.svg.import +++ b/cards/commit.svg.import @@ -28,6 +28,7 @@ process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false +process/normal_map_invert_y=false stream=false size_limit=0 detect_3d=true diff --git a/cards/fetch.svg.import b/cards/fetch.svg.import index 3c65896..80da734 100644 --- a/cards/fetch.svg.import +++ b/cards/fetch.svg.import @@ -28,6 +28,7 @@ process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false +process/normal_map_invert_y=false stream=false size_limit=0 detect_3d=true diff --git a/cards/file-copy.svg.import b/cards/file-copy.svg.import index ebd39cb..f5c9405 100644 --- a/cards/file-copy.svg.import +++ b/cards/file-copy.svg.import @@ -28,6 +28,7 @@ process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false +process/normal_map_invert_y=false stream=false size_limit=0 detect_3d=true diff --git a/cards/file-delete.svg.import b/cards/file-delete.svg.import index 9c9d9da..942334e 100644 --- a/cards/file-delete.svg.import +++ b/cards/file-delete.svg.import @@ -28,6 +28,7 @@ process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false +process/normal_map_invert_y=false stream=false size_limit=0 detect_3d=true diff --git a/cards/file-new.svg.import b/cards/file-new.svg.import index 968c800..334d7a1 100644 --- a/cards/file-new.svg.import +++ b/cards/file-new.svg.import @@ -28,6 +28,7 @@ process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false +process/normal_map_invert_y=false stream=false size_limit=0 detect_3d=true diff --git a/cards/file-rename.svg.import b/cards/file-rename.svg.import index 79f1261..ca2d82c 100644 --- a/cards/file-rename.svg.import +++ b/cards/file-rename.svg.import @@ -28,6 +28,7 @@ process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false +process/normal_map_invert_y=false stream=false size_limit=0 detect_3d=true diff --git a/cards/init.svg.import b/cards/init.svg.import index aacb273..dedbfe6 100644 --- a/cards/init.svg.import +++ b/cards/init.svg.import @@ -28,6 +28,7 @@ process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false +process/normal_map_invert_y=false stream=false size_limit=0 detect_3d=true diff --git a/cards/merge-abort.svg.import b/cards/merge-abort.svg.import index cbdf0a8..4a919d2 100644 --- a/cards/merge-abort.svg.import +++ b/cards/merge-abort.svg.import @@ -28,6 +28,7 @@ process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false +process/normal_map_invert_y=false stream=false size_limit=0 detect_3d=true diff --git a/cards/merge.svg.import b/cards/merge.svg.import index b96f40d..a83da3d 100644 --- a/cards/merge.svg.import +++ b/cards/merge.svg.import @@ -28,6 +28,7 @@ process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false +process/normal_map_invert_y=false stream=false size_limit=0 detect_3d=true diff --git a/cards/pull.svg.import b/cards/pull.svg.import index 15ab40d..e792f8f 100644 --- a/cards/pull.svg.import +++ b/cards/pull.svg.import @@ -28,6 +28,7 @@ process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false +process/normal_map_invert_y=false stream=false size_limit=0 detect_3d=true diff --git a/cards/push.svg.import b/cards/push.svg.import index aa6a9ff..e191ead 100644 --- a/cards/push.svg.import +++ b/cards/push.svg.import @@ -28,6 +28,7 @@ process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false +process/normal_map_invert_y=false stream=false size_limit=0 detect_3d=true diff --git a/cards/rebase-continue.svg.import b/cards/rebase-continue.svg.import index 4276f0a..41f5eda 100644 --- a/cards/rebase-continue.svg.import +++ b/cards/rebase-continue.svg.import @@ -28,6 +28,7 @@ process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false +process/normal_map_invert_y=false stream=false size_limit=0 detect_3d=true diff --git a/cards/rebase-interactive.svg.import b/cards/rebase-interactive.svg.import index a65c315..ebe0624 100644 --- a/cards/rebase-interactive.svg.import +++ b/cards/rebase-interactive.svg.import @@ -28,6 +28,7 @@ process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false +process/normal_map_invert_y=false stream=false size_limit=0 detect_3d=true diff --git a/cards/rebase.svg.import b/cards/rebase.svg.import index 97241e1..460096a 100644 --- a/cards/rebase.svg.import +++ b/cards/rebase.svg.import @@ -28,6 +28,7 @@ process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false +process/normal_map_invert_y=false stream=false size_limit=0 detect_3d=true diff --git a/cards/reflog.svg.import b/cards/reflog.svg.import index 17b81f7..00dcf26 100644 --- a/cards/reflog.svg.import +++ b/cards/reflog.svg.import @@ -28,6 +28,7 @@ process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false +process/normal_map_invert_y=false stream=false size_limit=0 detect_3d=true diff --git a/cards/reset-file.svg.import b/cards/reset-file.svg.import index 883becf..03dc0bd 100644 --- a/cards/reset-file.svg.import +++ b/cards/reset-file.svg.import @@ -28,6 +28,7 @@ process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false +process/normal_map_invert_y=false stream=false size_limit=0 detect_3d=true diff --git a/cards/reset-hard.svg.import b/cards/reset-hard.svg.import index 199bee3..103b70b 100644 --- a/cards/reset-hard.svg.import +++ b/cards/reset-hard.svg.import @@ -28,6 +28,7 @@ process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false +process/normal_map_invert_y=false stream=false size_limit=0 detect_3d=true diff --git a/cards/reset.svg.import b/cards/reset.svg.import index 3409230..0e43dc4 100644 --- a/cards/reset.svg.import +++ b/cards/reset.svg.import @@ -28,6 +28,7 @@ process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false +process/normal_map_invert_y=false stream=false size_limit=0 detect_3d=true diff --git a/cards/revert.svg.import b/cards/revert.svg.import index 6f0bbfc..6491f9c 100644 --- a/cards/revert.svg.import +++ b/cards/revert.svg.import @@ -28,6 +28,7 @@ process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false +process/normal_map_invert_y=false stream=false size_limit=0 detect_3d=true diff --git a/cards/rm.svg.import b/cards/rm.svg.import index 2830052..ab96873 100644 --- a/cards/rm.svg.import +++ b/cards/rm.svg.import @@ -28,6 +28,7 @@ process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false +process/normal_map_invert_y=false stream=false size_limit=0 detect_3d=true diff --git a/cards/show.svg.import b/cards/show.svg.import index 39cebac..40f1504 100644 --- a/cards/show.svg.import +++ b/cards/show.svg.import @@ -28,6 +28,7 @@ process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false +process/normal_map_invert_y=false stream=false size_limit=0 detect_3d=true diff --git a/images/cli-badge.svg.import b/images/cli-badge.svg.import index 53031f8..930d998 100644 --- a/images/cli-badge.svg.import +++ b/images/cli-badge.svg.import @@ -28,6 +28,7 @@ process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false +process/normal_map_invert_y=false stream=false size_limit=0 detect_3d=true diff --git a/images/commit.svg.import b/images/commit.svg.import index 54316cf..fbf6f82 100644 --- a/images/commit.svg.import +++ b/images/commit.svg.import @@ -28,6 +28,7 @@ process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false +process/normal_map_invert_y=false stream=false size_limit=0 detect_3d=true diff --git a/images/conflict.svg.import b/images/conflict.svg.import index 5053a2b..63c961d 100644 --- a/images/conflict.svg.import +++ b/images/conflict.svg.import @@ -28,6 +28,7 @@ process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false +process/normal_map_invert_y=false stream=false size_limit=0 detect_3d=true diff --git a/images/file.svg.import b/images/file.svg.import index 12aa5dd..49fd863 100644 --- a/images/file.svg.import +++ b/images/file.svg.import @@ -28,6 +28,7 @@ process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false +process/normal_map_invert_y=false stream=false size_limit=0 detect_3d=true diff --git a/images/head.svg.import b/images/head.svg.import index 2a5c3cf..b92f7aa 100644 --- a/images/head.svg.import +++ b/images/head.svg.import @@ -28,6 +28,7 @@ process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false +process/normal_map_invert_y=false stream=false size_limit=0 detect_3d=true diff --git a/images/modified.svg.import b/images/modified.svg.import index a7356bb..c8ba6f4 100644 --- a/images/modified.svg.import +++ b/images/modified.svg.import @@ -28,6 +28,7 @@ process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false +process/normal_map_invert_y=false stream=false size_limit=0 detect_3d=true diff --git a/images/new.svg.import b/images/new.svg.import index 4b01767..1218f0e 100644 --- a/images/new.svg.import +++ b/images/new.svg.import @@ -28,6 +28,7 @@ process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false +process/normal_map_invert_y=false stream=false size_limit=0 detect_3d=true diff --git a/images/oh-my-git.png.import b/images/oh-my-git.png.import index 708ee15..a173ad8 100644 --- a/images/oh-my-git.png.import +++ b/images/oh-my-git.png.import @@ -28,6 +28,7 @@ process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false +process/normal_map_invert_y=false stream=false size_limit=0 detect_3d=true diff --git a/images/ref.svg.import b/images/ref.svg.import index 480c664..1b179ae 100644 --- a/images/ref.svg.import +++ b/images/ref.svg.import @@ -28,6 +28,7 @@ process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false +process/normal_map_invert_y=false stream=false size_limit=0 detect_3d=true diff --git a/images/remote.svg.import b/images/remote.svg.import index 762dceb..7c90ac0 100644 --- a/images/remote.svg.import +++ b/images/remote.svg.import @@ -28,6 +28,7 @@ process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false +process/normal_map_invert_y=false stream=false size_limit=0 detect_3d=true diff --git a/images/removed.svg.import b/images/removed.svg.import index 1e0dd8a..104b392 100644 --- a/images/removed.svg.import +++ b/images/removed.svg.import @@ -28,6 +28,7 @@ process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false +process/normal_map_invert_y=false stream=false size_limit=0 detect_3d=true diff --git a/images/settings_32x32.png.import b/images/settings_32x32.png.import index 85d04d8..c4a7e0c 100644 --- a/images/settings_32x32.png.import +++ b/images/settings_32x32.png.import @@ -28,6 +28,7 @@ process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false +process/normal_map_invert_y=false stream=false size_limit=0 detect_3d=true diff --git a/images/string.svg.import b/images/string.svg.import index 97a8d20..53ec0cd 100644 --- a/images/string.svg.import +++ b/images/string.svg.import @@ -28,6 +28,7 @@ process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false +process/normal_map_invert_y=false stream=false size_limit=0 detect_3d=true diff --git a/images/untracked.svg.import b/images/untracked.svg.import index 95cb700..ab65e26 100644 --- a/images/untracked.svg.import +++ b/images/untracked.svg.import @@ -28,6 +28,7 @@ process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false +process/normal_map_invert_y=false stream=false size_limit=0 detect_3d=true diff --git a/locale/babelrc b/locale/babelrc new file mode 100644 index 0000000..b2125de --- /dev/null +++ b/locale/babelrc @@ -0,0 +1,5 @@ +[python: **.gd] +encoding = utf-8 + +[godot_scene: **.tscn] +encoding = utf-8 diff --git a/locale/it.po b/locale/it.po new file mode 100644 index 0000000..adbae71 --- /dev/null +++ b/locale/it.po @@ -0,0 +1,264 @@ +# Translations template for PROJECT. +# Copyright (C) 2022 ORGANIZATION +# This file is distributed under the same license as the PROJECT project. +# Automatically generated, 2022. +# +msgid "" +msgstr "" +"Project-Id-Version: PROJECT VERSION\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2022-08-18 10:39+0200\n" +"PO-Revision-Date: 2022-08-18 10:39+0200\n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.10.3\n" +"Language: it\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: oh-my-git/scenes/arrow.tscn:35 oh-my-git/scenes/arrow.tscn:48 +#msgid "label" +#msgstr "" + +#: oh-my-git/scenes/card.tscn:125 +#msgid "Description" +#msgstr "" + +#: oh-my-git/scenes/card.tscn:144 +#msgid "0" +#msgstr "" + +#: oh-my-git/scenes/cards.gd:58 +msgid "These are your cards! Drag them to highlighted areas to play them!" +msgstr "Queste sono le tue carte! Spostale nell'area evidenziata per usarle!" + +#: oh-my-git/scenes/cards.tscn:34 +msgid "Draw new cards" +msgstr "Pesca nuove carte" + +#: oh-my-git/scenes/cards.tscn:48 +#msgid "3" +#msgstr "" + +#: oh-my-git/scenes/file_browser.tscn:51 +msgid "title" +msgstr "titolo" + +#: oh-my-git/scenes/file_browser.tscn:64 +#msgid "root" +#msgstr "" + +#: oh-my-git/scenes/file_browser.tscn:70 +#msgid "dir" +#msgstr "" + +#: oh-my-git/scenes/file_browser.tscn:111 oh-my-git/scenes/text_editor.tscn:32 +msgid "Save" +msgstr "Salva" + +#: oh-my-git/scenes/file_browser.tscn:126 oh-my-git/scenes/text_editor.tscn:47 +#msgid "x" +#msgstr "" + +#: oh-my-git/scenes/file_browser_item.tscn:118 +msgid "filename" +msgstr "nome file" + +#: oh-my-git/scenes/game.gd:3 +msgid "English" +msgstr "Inglese" + +#: oh-my-git/scenes/game.gd:3 +msgid "Italian" +msgstr "Italiano" + +#: oh-my-git/scenes/level.gd:81 +msgid "Complete the goal of this level" +msgstr "Completa l'obbiettivo di questo ivello!" + +#: oh-my-git/scenes/level_select.gd:60 +msgid "You get a golden badge for each level you solve without using the playing cards! Can you solve them all using the command line?" +msgstr "Ti aggiudicherai un badge d'oro per ogni livello che risolverai senza usare le cards! Puoi risolverli usando solo la linea di comando?" + +#: oh-my-git/scenes/level_select.tscn:51 +msgid "Help us improving Oh My Git! by\nanswering some questions:" +msgstr "Aiutaci a migliorare Oh My Git!\nRispondendo ad alcune domande:" + +#: oh-my-git/scenes/level_select.tscn:65 oh-my-git/scenes/survey.tscn:105 +msgid "To the survey /o/" +msgstr "Al sondaggio /o/" + +#: oh-my-git/scenes/level_select.tscn:82 oh-my-git/scenes/main.tscn:214 +msgid "Back" +msgstr "Indietro" + +#: oh-my-git/scenes/level_select.tscn:93 oh-my-git/scenes/main.tscn:225 +msgid "Reload" +msgstr "Ricarica" + +#: oh-my-git/scenes/main.tscn:105 +#msgid "Level name here!" +#msgstr "" + +#: oh-my-git/scenes/main.tscn:124 oh-my-git/scenes/main.tscn:136 +#msgid "Level description here!" +#msgstr "" + +#: oh-my-git/scenes/main.tscn:237 +msgid "Cards!" +msgstr "Carte!" + +#: oh-my-git/scenes/main.tscn:249 +msgid "Tip!" +msgstr "Mancia!" + +#: oh-my-git/scenes/main.tscn:275 +msgid "Next level" +msgstr "Prossimo livello" + +#: oh-my-git/scenes/music_button.tscn:12 +msgid "Toggle music" +msgstr "Musica" + +#: oh-my-git/scenes/no_git.tscn:33 oh-my-git/scenes/survey.tscn:46 +#: oh-my-git/scenes/title.tscn:25 +#msgid "by bleeptrack & blinry" +#msgstr "" + +#: oh-my-git/scenes/no_git.tscn:46 oh-my-git/scenes/title.tscn:38 +#msgid "Original score by winniehell" +#msgstr "" + +#: oh-my-git/scenes/no_git.tscn:65 oh-my-git/scenes/title.tscn:56 +msgid "Levels" +msgstr "Livelli" + +#: oh-my-git/scenes/no_git.tscn:71 oh-my-git/scenes/title.tscn:62 +msgid "Sandbox" +msgstr "Sandbox" + +#: oh-my-git/scenes/no_git.tscn:76 +msgid "Install" +msgstr "Installa" + +#: oh-my-git/scenes/no_git.tscn:97 +#msgid "GIT_MESSAGE" +#msgstr "" + +#: oh-my-git/scenes/node.gd:83 +msgid "You can drag these around with your mouse!" +msgstr "Puoi trascinarli in giro con il mouse!" + +#: oh-my-git/scenes/node.tscn:55 +#msgid "object_id" +#msgstr "" + +#: oh-my-git/scenes/notification.gd:5 oh-my-git/scenes/notification.tscn:59 +msgid "Got it!" +msgstr "Fatto!" + +#: oh-my-git/scenes/notification.gd:6 +msgid "Interesting!" +msgstr "Interessante" + +#: oh-my-git/scenes/notification.gd:7 +msgid "Very useful!" +msgstr "Veramente utile!" + +#: oh-my-git/scenes/notification.gd:8 +msgid "Cool!" +msgstr "Bello!" + +#: oh-my-git/scenes/notification.gd:9 +msgid "Nice!" +msgstr "Bene!" + +#: oh-my-git/scenes/notification.gd:10 +msgid "Thanks!" +msgstr "Grazie!" + +#: oh-my-git/scenes/notification.gd:11 +msgid "Whatever..." +msgstr "Ad ogni costo..." + +#: oh-my-git/scenes/notification.gd:12 +msgid "Okay!" +msgstr "Ok!" + +#: oh-my-git/scenes/notification.gd:13 +msgid "Yay!" +msgstr "Yay!" + +#: oh-my-git/scenes/notification.gd:14 +msgid "Awesome!" +msgstr "Eccezionale!" + +#: oh-my-git/scenes/notification.tscn:37 +msgid "This is a hint! This is a hint! This is a hint! This is a hint! This is a hint! This is a hint! This is a hint! This is a hint! This is a hint!" +msgstr "Questo è un suggerimento! Questo è un suggerimento! Questo è un suggerimento! Questo è un suggerimento! Questo è un suggerimento! Questo è un suggerimento! Questo è un suggerimento! Questo è un suggerimento! Questo è un suggerimento!" + +#: oh-my-git/scenes/notification.tscn:59 +#msgid "Got it!" +#msgstr "Fatto!" + +#: oh-my-git/scenes/repository.gd:92 +msgid "This is the time machine of another person! To interact with it, you need special commands!" +msgstr "Questa è la macchina del tempo di u'altra persona! Per interagirci hai bisogno di comandi speciali!" + +#: oh-my-git/scenes/repository.tscn:56 +#msgid "Repo name" +#msgstr "" + +#: oh-my-git/scenes/repository.tscn:67 +#msgid "Index:" +#msgstr "" + +#: oh-my-git/scenes/repository.tscn:78 +msgid "Update" +msgstr "Aggiorna" + +#: oh-my-git/scenes/repository.tscn:93 +msgid "Hide trees and blobs" +msgstr "Nascondi alberi e macchie" + +#: oh-my-git/scenes/survey.tscn:34 +#msgid "Oh My Git!" +#msgstr "" + +#: oh-my-git/scenes/survey.tscn:71 oh-my-git/scenes/title.tscn:68 +msgid "Quit" +msgstr "Esci" + +#: oh-my-git/scenes/survey.tscn:90 +msgid "Thank you very much for playing!\nPlease help us improve Oh My Git! \nby filling out this survey:" +msgstr "Grazie mille per aver giocato!\nAiutaci a migliorare Oh My Git!\ncompilando questo sondaggio:" + +#: oh-my-git/scenes/terminal.gd:107 +msgid "This is your terminal! All commands are executed here, and you can see their output. You can also type your own commands here!" +msgstr "Questo è il tuo terminale! Tutti i comandi sono eseguiti qui e puoi vedere il loro output. Puoi anche digitare i tuoi comandi qui!" + +#: oh-my-git/scenes/terminal.tscn:86 +#msgid "git commit --allow-empty -m \"$RANDOM\"" +#msgstr "" + +#: oh-my-git/scenes/terminal.tscn:93 +#msgid "git checkout HEAD^" +#msgstr "" + +#: oh-my-git/scenes/terminal.tscn:100 +#msgid "git checkout -b \"$RANDOM\"" +#msgstr "" + +#: oh-my-git/scenes/text_editor.tscn:12 +msgid "Text here" +msgstr "Il testo qui" + +#: oh-my-git/scenes/title.tscn:68 +#msgid "Quit" +#msgstr "Esci" + +#: oh-my-git/scenes/title.tscn:74 +msgid "Language" +msgstr "Linguaggio" diff --git a/locale/messages.pot b/locale/messages.pot new file mode 100644 index 0000000..82b3c14 --- /dev/null +++ b/locale/messages.pot @@ -0,0 +1,271 @@ +# Translations template for PROJECT. +# Copyright (C) 2022 ORGANIZATION +# This file is distributed under the same license as the PROJECT project. +# FIRST AUTHOR , 2022. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PROJECT VERSION\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2022-08-18 10:39+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.10.3\n" + +#: oh-my-git/scenes/arrow.tscn:35 oh-my-git/scenes/arrow.tscn:48 +msgid "label" +msgstr "" + +#: oh-my-git/scenes/card.tscn:125 +msgid "Description" +msgstr "" + +#: oh-my-git/scenes/card.tscn:144 +msgid "0" +msgstr "" + +#: oh-my-git/scenes/cards.gd:58 +msgid "YOUR_CARDS" +msgstr "" + +#: oh-my-git/scenes/cards.tscn:34 +msgid "Draw new cards" +msgstr "" + +#: oh-my-git/scenes/cards.tscn:48 +msgid "3" +msgstr "" + +#: oh-my-git/scenes/file_browser.tscn:51 +msgid "title" +msgstr "" + +#: oh-my-git/scenes/file_browser.tscn:64 +msgid "root" +msgstr "" + +#: oh-my-git/scenes/file_browser.tscn:70 +msgid "dir" +msgstr "" + +#: oh-my-git/scenes/file_browser.tscn:111 oh-my-git/scenes/text_editor.tscn:32 +msgid "Save" +msgstr "" + +#: oh-my-git/scenes/file_browser.tscn:126 oh-my-git/scenes/text_editor.tscn:47 +msgid "x" +msgstr "" + +#: oh-my-git/scenes/file_browser_item.tscn:118 +msgid "filename" +msgstr "" + +#: oh-my-git/scenes/game.gd:3 +msgid "ENGLISH" +msgstr "" + +#: oh-my-git/scenes/game.gd:3 +msgid "ITALIAN" +msgstr "" + +#: oh-my-git/scenes/level.gd:81 +msgid "COMPLETE_GOAL" +msgstr "" + +#: oh-my-git/scenes/level_select.gd:60 +msgid "GOLDEN_BADGE" +msgstr "" + +#: oh-my-git/scenes/level_select.tscn:51 +msgid "" +"Help us improving Oh My Git! by\n" +"answering some questions:" +msgstr "" + +#: oh-my-git/scenes/level_select.tscn:65 oh-my-git/scenes/survey.tscn:105 +msgid "To the survey /o/" +msgstr "" + +#: oh-my-git/scenes/level_select.tscn:82 oh-my-git/scenes/main.tscn:214 +msgid "BACK" +msgstr "" + +#: oh-my-git/scenes/level_select.tscn:93 oh-my-git/scenes/main.tscn:225 +msgid "RELOAD" +msgstr "" + +#: oh-my-git/scenes/main.tscn:105 +msgid "Level name here!" +msgstr "" + +#: oh-my-git/scenes/main.tscn:124 oh-my-git/scenes/main.tscn:136 +msgid "Level description here!" +msgstr "" + +#: oh-my-git/scenes/main.tscn:237 +msgid "Cards!" +msgstr "" + +#: oh-my-git/scenes/main.tscn:249 +msgid "Tip!" +msgstr "" + +#: oh-my-git/scenes/main.tscn:275 +msgid "NEXT_LEVEL" +msgstr "" + +#: oh-my-git/scenes/music_button.tscn:12 +msgid "MUSIC" +msgstr "" + +#: oh-my-git/scenes/no_git.tscn:33 oh-my-git/scenes/survey.tscn:46 +#: oh-my-git/scenes/title.tscn:25 +msgid "by bleeptrack & blinry" +msgstr "" + +#: oh-my-git/scenes/no_git.tscn:46 oh-my-git/scenes/title.tscn:38 +msgid "Original score by winniehell" +msgstr "" + +#: oh-my-git/scenes/no_git.tscn:65 oh-my-git/scenes/title.tscn:56 +msgid "LEVELS" +msgstr "" + +#: oh-my-git/scenes/no_git.tscn:71 oh-my-git/scenes/title.tscn:62 +msgid "Sandbox" +msgstr "" + +#: oh-my-git/scenes/no_git.tscn:76 +msgid "INSTALL" +msgstr "" + +#: oh-my-git/scenes/no_git.tscn:97 +msgid "GIT_MESSAGE" +msgstr "" + +#: oh-my-git/scenes/node.gd:83 +msgid "DRAG_AROUND" +msgstr "" + +#: oh-my-git/scenes/node.tscn:55 +msgid "object_id" +msgstr "" + +#: oh-my-git/scenes/notification.gd:5 +msgid "GOT_IT" +msgstr "" + +#: oh-my-git/scenes/notification.gd:6 +msgid "INTERESTING" +msgstr "" + +#: oh-my-git/scenes/notification.gd:7 +msgid "VERY_USEFULL" +msgstr "" + +#: oh-my-git/scenes/notification.gd:8 +msgid "COOL" +msgstr "" + +#: oh-my-git/scenes/notification.gd:9 +msgid "NICE" +msgstr "" + +#: oh-my-git/scenes/notification.gd:10 +msgid "THANKS" +msgstr "" + +#: oh-my-git/scenes/notification.gd:11 +msgid "WHATEVER" +msgstr "" + +#: oh-my-git/scenes/notification.gd:12 +msgid "OKAY" +msgstr "" + +#: oh-my-git/scenes/notification.gd:13 +msgid "YAY" +msgstr "" + +#: oh-my-git/scenes/notification.gd:14 +msgid "AWESOME" +msgstr "" + +#: oh-my-git/scenes/notification.tscn:37 +msgid "" +"This is a hint! This is a hint! This is a hint! This is a hint! This is a" +" hint! This is a hint! This is a hint! This is a hint! This is a hint!" +msgstr "" + +#: oh-my-git/scenes/notification.tscn:59 +msgid "Got it!" +msgstr "" + +#: oh-my-git/scenes/repository.gd:92 +msgid "INTERACT" +msgstr "" + +#: oh-my-git/scenes/repository.tscn:56 +msgid "Repo name" +msgstr "" + +#: oh-my-git/scenes/repository.tscn:67 +msgid "Index:" +msgstr "" + +#: oh-my-git/scenes/repository.tscn:78 +msgid "Update" +msgstr "" + +#: oh-my-git/scenes/repository.tscn:93 +msgid "Hide trees and blobs" +msgstr "" + +#: oh-my-git/scenes/survey.tscn:34 +msgid "Oh My Git!" +msgstr "" + +#: oh-my-git/scenes/survey.tscn:71 +msgid "Quit" +msgstr "" + +#: oh-my-git/scenes/survey.tscn:90 +msgid "" +"Thank you very much for playing!\n" +"Please help us improve Oh My Git! \n" +"by filling out this survey:" +msgstr "" + +#: oh-my-git/scenes/terminal.gd:107 +msgid "YOUR_TERMINAL" +msgstr "" + +#: oh-my-git/scenes/terminal.tscn:86 +msgid "git commit --allow-empty -m \"$RANDOM\"" +msgstr "" + +#: oh-my-git/scenes/terminal.tscn:93 +msgid "git checkout HEAD^" +msgstr "" + +#: oh-my-git/scenes/terminal.tscn:100 +msgid "git checkout -b \"$RANDOM\"" +msgstr "" + +#: oh-my-git/scenes/text_editor.tscn:12 +msgid "Text here" +msgstr "" + +#: oh-my-git/scenes/title.tscn:68 +msgid "QUIT" +msgstr "" + +#: oh-my-git/scenes/title.tscn:74 +msgid "LANGUAGE" +msgstr "" + diff --git a/nodes/blob.svg.import b/nodes/blob.svg.import index 725b562..bcb068a 100644 --- a/nodes/blob.svg.import +++ b/nodes/blob.svg.import @@ -28,6 +28,7 @@ process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false +process/normal_map_invert_y=false stream=false size_limit=0 detect_3d=true diff --git a/nodes/commit.svg.import b/nodes/commit.svg.import index d47ebc6..86b4574 100644 --- a/nodes/commit.svg.import +++ b/nodes/commit.svg.import @@ -28,6 +28,7 @@ process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false +process/normal_map_invert_y=false stream=false size_limit=0 detect_3d=true diff --git a/nodes/document.svg.import b/nodes/document.svg.import index 4c5b739..d038a7f 100644 --- a/nodes/document.svg.import +++ b/nodes/document.svg.import @@ -28,6 +28,7 @@ process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false +process/normal_map_invert_y=false stream=false size_limit=0 detect_3d=true diff --git a/nodes/head.svg.import b/nodes/head.svg.import index f011619..db9e9e9 100644 --- a/nodes/head.svg.import +++ b/nodes/head.svg.import @@ -28,6 +28,7 @@ process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false +process/normal_map_invert_y=false stream=false size_limit=0 detect_3d=true diff --git a/nodes/head1.svg.import b/nodes/head1.svg.import index 0888d00..6ad89b1 100644 --- a/nodes/head1.svg.import +++ b/nodes/head1.svg.import @@ -28,6 +28,7 @@ process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false +process/normal_map_invert_y=false stream=false size_limit=0 detect_3d=true diff --git a/nodes/head2.svg.import b/nodes/head2.svg.import index 92a04d2..f1fd364 100644 --- a/nodes/head2.svg.import +++ b/nodes/head2.svg.import @@ -28,6 +28,7 @@ process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false +process/normal_map_invert_y=false stream=false size_limit=0 detect_3d=true diff --git a/nodes/head3.svg.import b/nodes/head3.svg.import index 7ba33f4..1641097 100644 --- a/nodes/head3.svg.import +++ b/nodes/head3.svg.import @@ -28,6 +28,7 @@ process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false +process/normal_map_invert_y=false stream=false size_limit=0 detect_3d=true diff --git a/nodes/ref.svg.import b/nodes/ref.svg.import index 1ad858d..a7b3421 100644 --- a/nodes/ref.svg.import +++ b/nodes/ref.svg.import @@ -28,6 +28,7 @@ process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false +process/normal_map_invert_y=false stream=false size_limit=0 detect_3d=true diff --git a/nodes/tree.svg.import b/nodes/tree.svg.import index 8192b20..f613eaf 100644 --- a/nodes/tree.svg.import +++ b/nodes/tree.svg.import @@ -28,6 +28,7 @@ process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false process/invert_color=false +process/normal_map_invert_y=false stream=false size_limit=0 detect_3d=true diff --git a/project.godot b/project.godot index 84b9e7c..59db029 100644 --- a/project.godot +++ b/project.godot @@ -151,7 +151,8 @@ mute={ [locale] -translations=PoolStringArray( "res://resources/localizations.en.translation", "res://resources/localizations.it.translation" ) +translations=PoolStringArray( "res://locale/it.po" ) +locale_filter=[ 0, [ ] ] [network] diff --git a/resources/localizations.csv b/resources/localizations.csv deleted file mode 100644 index 4e082eb..0000000 --- a/resources/localizations.csv +++ /dev/null @@ -1,38 +0,0 @@ -keys,en,it -LEVELS,Levels,Livelli -QUIT,Quit,Esci -BACK,Back,Indietro -RELOAD,Reload,Ricarica -MUSIC,Toggle Music,Musica -NEXT_LEVEL,Next Level,Prossimo Livello -GIT_MESSAGE,"Hi! It seems that you don't have Git installed yet! - -On Linux, please install it from your package manager, usually the package is called "git"! - -On macOS 10.8 and below, you can download Git from git-scm.com.","Ciao! Sembra che tu non abbia ancora installato Git! - -Su Linux, installalo dal tuo gestore di pacchetti, di solito il pacchetto si chiama "git"! - -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 -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 comandi qui!" -INTERACT,"This is the time machine of another person! To interact with it, you need special commands!","Questa è la macchina del tempo di u'altra persona! Per interagirci hai bisogno di comandi speciali!" -GOLDEN_BADGE,"You get a golden badge for each level you solve without using the playing cards! Can you solve them all using the command line?","Ti aggiudicherai un badge d'oro per ogni livello che risolverai senza usare le cards! Puoi risolverli usando solo la linea di comando?" -GOOD_JOB,"Good job, you solved the level!\n\nFeel free to try a few more things or click 'Next level'.","Ottimo lavoro hai risolto il livello!\n\nSentiti libero di provare altro o clicca su 'Prossimo livello'" -COMPLETE_GOAL,"Complete the goal of this level","Completa l'obbiettivo di questo ivello!" -DRAG_AROUND,"You can drag these around with your mouse!","Puoi trascinarli in giro con il mouse!" -EDIT_FILE,"Click on these files to edit them!","Clicca su questi files per modificarli!" -YOUR_CARDS,"These are your cards! Drag them to highlighted areas to play them!","Queste sono le tue carte! Spostale nell'area evidenziata per usarle!" \ No newline at end of file diff --git a/resources/localizations.csv.import b/resources/localizations.csv.import deleted file mode 100644 index e2044a4..0000000 --- a/resources/localizations.csv.import +++ /dev/null @@ -1,16 +0,0 @@ -[remap] - -importer="csv_translation" -type="Translation" - -[deps] - -files=[ "res://resources/localizations.en.translation", "res://resources/localizations.it.translation" ] - -source_file="res://resources/localizations.csv" -dest_files=[ "res://resources/localizations.en.translation", "res://resources/localizations.it.translation" ] - -[params] - -compress=true -delimiter=0 diff --git a/resources/localizations.en.translation b/resources/localizations.en.translation deleted file mode 100644 index 8809d36..0000000 Binary files a/resources/localizations.en.translation and /dev/null differ diff --git a/resources/localizations.it.translation b/resources/localizations.it.translation deleted file mode 100644 index 0a5f06a..0000000 Binary files a/resources/localizations.it.translation and /dev/null differ diff --git a/scenes/arrow.tscn b/scenes/arrow.tscn index 53c1d62..27ca701 100644 --- a/scenes/arrow.tscn +++ b/scenes/arrow.tscn @@ -30,8 +30,8 @@ margin_left = -19.374 margin_top = -5.93085 margin_right = 20.626 margin_bottom = 8.06915 -custom_fonts/font = ExtResource( 1 ) custom_colors/font_color = Color( 1, 1, 1, 1 ) +custom_fonts/font = ExtResource( 1 ) text = "label" align = 1 __meta__ = { @@ -43,10 +43,7 @@ margin_left = -230.84 margin_top = 42.1225 margin_right = 231.16 margin_bottom = 68.1225 -custom_fonts/font = ExtResource( 1 ) custom_colors/font_color = Color( 0.356863, 0.356863, 0.356863, 1 ) +custom_fonts/font = ExtResource( 1 ) text = "label" align = 1 -__meta__ = { -"_edit_use_anchors_": false -} diff --git a/scenes/cards.gd b/scenes/cards.gd index 095ee96..f1696ec 100644 --- a/scenes/cards.gd +++ b/scenes/cards.gd @@ -39,7 +39,8 @@ func draw_card(card): new_card.id = card["id"] new_card.command = card["command"] - new_card.description = card["description"][game.lang] + # TODO: Make better game.os_lang + "_" + game.os_lang.to_upper() + new_card.description = card["description"][game.os_lang + "_" + game.os_lang.to_upper()] new_card.energy = 0 #card.energy new_card.position = Vector2(rect_size.x, rect_size.y*2) add_child(new_card) @@ -55,7 +56,7 @@ func draw(ids): arrange_cards() if ids.size() > 0: - game.notify(tr("YOUR_CARDS"), self, "cards") + game.notify(tr("These are your cards! Drag them to highlighted areas to play them!"), self, "cards") func arrange_cards(): var t = Timer.new() diff --git a/scenes/cards.tscn b/scenes/cards.tscn index bc678d1..dbade8d 100644 --- a/scenes/cards.tscn +++ b/scenes/cards.tscn @@ -9,9 +9,6 @@ anchor_right = 1.0 anchor_bottom = 1.0 mouse_filter = 2 script = ExtResource( 3 ) -__meta__ = { -"_edit_use_anchors_": false -} [node name="ColorRect" type="ColorRect" parent="."] anchor_right = 1.0 diff --git a/scenes/cli_badge.tscn b/scenes/cli_badge.tscn index 740e2a3..37bbb26 100644 --- a/scenes/cli_badge.tscn +++ b/scenes/cli_badge.tscn @@ -32,9 +32,6 @@ texture = ExtResource( 1 ) expand = true stretch_mode = 6 script = ExtResource( 2 ) -__meta__ = { -"_edit_use_anchors_": false -} [node name="Particles2D" type="Particles2D" parent="."] show_behind_parent = true diff --git a/scenes/drop_area.tscn b/scenes/drop_area.tscn index 8a85979..9326dc4 100644 --- a/scenes/drop_area.tscn +++ b/scenes/drop_area.tscn @@ -23,16 +23,14 @@ resource_local_to_scene = true shader = SubResource( 2 ) shader_param/hovered = 0.0 -[node name="DropArea" type="Node2D" groups=[ -"drop_areas", -]] +[node name="DropArea" type="Node2D" groups=["drop_areas"]] position = Vector2( -0.197731, 0.0673599 ) script = ExtResource( 1 ) [node name="Area2D" type="Area2D" parent="."] -input_pickable = false collision_layer = 0 collision_mask = 524288 +input_pickable = false [node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"] shape = SubResource( 1 ) diff --git a/scenes/file_browser.tscn b/scenes/file_browser.tscn index 7bfbe1d..e10ad1a 100644 --- a/scenes/file_browser.tscn +++ b/scenes/file_browser.tscn @@ -4,17 +4,12 @@ [ext_resource path="res://fonts/default.tres" type="DynamicFont" id=2] [ext_resource path="res://styles/theme.tres" type="Theme" id=3] -[node name="FileBrowser" type="Control" groups=[ -"editors", -]] +[node name="FileBrowser" type="Control" groups=["editors"]] anchor_right = 1.0 anchor_bottom = 1.0 rect_min_size = Vector2( 0, 142 ) theme = ExtResource( 3 ) script = ExtResource( 1 ) -__meta__ = { -"_edit_use_anchors_": false -} [node name="Panel" type="Panel" parent="."] anchor_right = 1.0 @@ -53,19 +48,19 @@ align = 1 [node name="Breadcrumbs" type="HBoxContainer" parent="Panel/Margin/Rows"] visible = false -margin_right = 1856.0 +margin_right = 1904.0 margin_bottom = 50.0 rect_min_size = Vector2( 0, 50 ) custom_constants/separation = 8 [node name="Button" type="Button" parent="Panel/Margin/Rows/Breadcrumbs"] -margin_right = 55.0 +margin_right = 61.0 margin_bottom = 50.0 text = "root" [node name="Button2" type="Button" parent="Panel/Margin/Rows/Breadcrumbs"] -margin_left = 63.0 -margin_right = 104.0 +margin_left = 69.0 +margin_right = 114.0 margin_bottom = 50.0 text = "dir" diff --git a/scenes/file_browser_item.tscn b/scenes/file_browser_item.tscn index 4ceb076..6a8149d 100644 --- a/scenes/file_browser_item.tscn +++ b/scenes/file_browser_item.tscn @@ -13,9 +13,6 @@ margin_bottom = -0.0800018 rect_min_size = Vector2( 140, 140 ) mouse_filter = 1 script = ExtResource( 1 ) -__meta__ = { -"_edit_use_anchors_": false -} [node name="Control" type="Control" parent="."] anchor_left = 0.5 diff --git a/scenes/game.gd b/scenes/game.gd index f9b73c3..a336900 100644 --- a/scenes/game.gd +++ b/scenes/game.gd @@ -1,6 +1,6 @@ extends Node -var languages = {"en": tr("ENGLISH"), "it": tr("ITALIAN")} # Localizations allowed +var languages = {"en": tr("English"), "it": tr("Italian")} # Localizations allowed var os_lang = OS.get_locale_language() # Variable for game localization var tmp_prefix = OS.get_user_data_dir() + "/tmp/" diff --git a/scenes/level.gd b/scenes/level.gd index 06b8740..d978784 100644 --- a/scenes/level.gd +++ b/scenes/level.gd @@ -78,7 +78,7 @@ func load(path): else: repo = "yours" - var desc = tr("COMPLETE_GOAL") + var desc = tr("Complete the goal of this level") for line in Array(config[k].split("\n")): if line.length() > 0 and line[0] == "#": desc = line.substr(1).strip_edges(true, true) diff --git a/scenes/level_select.gd b/scenes/level_select.gd index a0118f6..e311f12 100644 --- a/scenes/level_select.gd +++ b/scenes/level_select.gd @@ -57,7 +57,7 @@ func reload(): level_list.add_child(hb) if badge.active: - game.notify(tr("GOLDEN_BADGE"), badge, "cli-badge") + game.notify(tr("You get a golden badge for each level you solve without using the playing cards! Can you solve them all using the command line?"), badge, "cli-badge") level_id += 1 chapter_id += 1 diff --git a/scenes/level_select.tscn b/scenes/level_select.tscn index d60e69e..eb8f3b5 100644 --- a/scenes/level_select.tscn +++ b/scenes/level_select.tscn @@ -17,9 +17,6 @@ anchor_right = 1.0 anchor_bottom = 1.0 theme = ExtResource( 1 ) script = ExtResource( 2 ) -__meta__ = { -"_edit_use_anchors_": false -} [node name="ScrollContainer" type="ScrollContainer" parent="."] anchor_right = 1.0 @@ -77,29 +74,30 @@ __meta__ = { } [node name="Back" type="Button" parent="HBoxContainer"] -margin_right = 75.0 +margin_right = 65.0 margin_bottom = 39.0 -text = "BACK" +text = "Back" __meta__ = { "_edit_use_anchors_": false } [node name="Reload" type="Button" parent="HBoxContainer"] -margin_left = 80.0 -margin_right = 188.0 +margin_left = 70.0 +margin_right = 158.0 margin_bottom = 39.0 focus_mode = 0 enabled_focus_mode = 0 -text = "RELOAD" +text = "Reload" __meta__ = { "_edit_use_anchors_": false } [node name="Toggle_Music" parent="HBoxContainer" instance=ExtResource( 4 )] -margin_left = 193.0 +margin_left = 163.0 margin_top = 0.0 -margin_right = 282.0 +margin_right = 309.0 margin_bottom = 39.0 +text = "Toggle music" [connection signal="pressed" from="HelpLabel/Button3" to="." method="onSurveyPressed"] [connection signal="pressed" from="HBoxContainer/Back" to="." method="back"] diff --git a/scenes/main.tscn b/scenes/main.tscn index 303f9a7..a97e9e4 100644 --- a/scenes/main.tscn +++ b/scenes/main.tscn @@ -36,9 +36,6 @@ margin_bottom = -8.0 mouse_filter = 2 theme = ExtResource( 6 ) script = ExtResource( 2 ) -__meta__ = { -"_edit_use_anchors_": false -} [node name="CanvasLayer" type="CanvasLayer" parent="."] layer = -1 @@ -122,9 +119,6 @@ size_flags_vertical = 3 bbcode_enabled = true bbcode_text = "Level description here!" text = "Level description here!" -__meta__ = { -"_edit_use_anchors_": false -} [node name="LevelCongrats" type="RichTextLabel" parent="Rows/Columns/RightSide/LevelInfo/LevelPanel/Text"] visible = false @@ -189,9 +183,9 @@ position = Vector2( 68.6342, 59.1206 ) script = ExtResource( 9 ) [node name="Area2D" type="Area2D" parent="Cursor"] -input_pickable = false collision_layer = 524288 collision_mask = 0 +input_pickable = false [node name="CollisionShape2D" type="CollisionShape2D" parent="Cursor/Area2D"] shape = SubResource( 1 ) @@ -202,27 +196,24 @@ margin_top = 5.13129 margin_right = 636.864 margin_bottom = 44.1313 custom_constants/separation = 8 -__meta__ = { -"_edit_use_anchors_": false -} [node name="Back" type="Button" parent="Menu"] -margin_right = 75.0 +margin_right = 65.0 margin_bottom = 39.0 focus_mode = 0 enabled_focus_mode = 0 -text = "BACK" +text = "Back" __meta__ = { "_edit_use_anchors_": false } [node name="Reload" type="Button" parent="Menu"] -margin_left = 83.0 -margin_right = 191.0 +margin_left = 73.0 +margin_right = 161.0 margin_bottom = 39.0 focus_mode = 0 enabled_focus_mode = 0 -text = "RELOAD" +text = "Reload" __meta__ = { "_edit_use_anchors_": false } @@ -252,27 +243,28 @@ __meta__ = { } [node name="Toogle_Music" parent="Menu" instance=ExtResource( 11 )] -margin_left = 199.0 +margin_left = 169.0 margin_top = 0.0 -margin_right = 288.0 +margin_right = 315.0 margin_bottom = 39.0 +text = "Toggle music" [node name="CLIBadge" parent="Menu" instance=ExtResource( 10 )] anchor_right = 0.0 anchor_bottom = 0.0 -margin_left = 296.0 -margin_right = 341.0 +margin_left = 323.0 +margin_right = 368.0 margin_bottom = 39.0 [node name="NextLevelButton" type="Button" parent="Menu"] -margin_left = 349.0 -margin_right = 501.0 +margin_left = 376.0 +margin_right = 493.0 margin_bottom = 39.0 focus_mode = 0 custom_styles/hover = SubResource( 2 ) custom_styles/normal = ExtResource( 4 ) enabled_focus_mode = 0 -text = "NEXT_LEVEL" +text = "Next level" __meta__ = { "_edit_use_anchors_": false } diff --git a/scenes/music_button.tscn b/scenes/music_button.tscn index a48cc46..fae6457 100644 --- a/scenes/music_button.tscn +++ b/scenes/music_button.tscn @@ -9,10 +9,7 @@ margin_right = 387.005 margin_bottom = 97.856 focus_mode = 0 enabled_focus_mode = 0 -text = "MUSIC" +text = "Toggle music" script = ExtResource( 1 ) -__meta__ = { -"_edit_use_anchors_": false -} [connection signal="pressed" from="." to="." method="toggle_music"] diff --git a/scenes/no_git.tscn b/scenes/no_git.tscn index 60bc98c..61f5db1 100644 --- a/scenes/no_git.tscn +++ b/scenes/no_git.tscn @@ -28,8 +28,8 @@ margin_left = 797.196 margin_top = 545.117 margin_right = 1138.2 margin_bottom = 601.117 -custom_fonts/font = ExtResource( 5 ) custom_colors/font_color = Color( 0.533333, 0.392157, 0.392157, 1 ) +custom_fonts/font = ExtResource( 5 ) text = "by bleeptrack & blinry" align = 1 __meta__ = { @@ -41,8 +41,8 @@ margin_left = 716.131 margin_top = 572.398 margin_right = 1216.13 margin_bottom = 628.398 -custom_fonts/font = ExtResource( 5 ) custom_colors/font_color = Color( 0.533333, 0.392157, 0.392157, 1 ) +custom_fonts/font = ExtResource( 5 ) text = "Original score by winniehell" align = 1 __meta__ = { @@ -62,7 +62,7 @@ __meta__ = { visible = false margin_right = 351.0 margin_bottom = 39.0 -text = "LEVELS" +text = "Levels" [node name="Button3" type="Button" parent="VBoxContainer"] visible = false @@ -73,7 +73,7 @@ text = "Sandbox" [node name="Install" type="Button" parent="VBoxContainer"] margin_right = 351.0 margin_bottom = 39.0 -text = "INSTALL" +text = "Install" [node name="Sprite" type="Sprite" parent="."] diff --git a/scenes/node.gd b/scenes/node.gd index 716ac3d..c695e91 100644 --- a/scenes/node.gd +++ b/scenes/node.gd @@ -80,7 +80,7 @@ func type_set(new_type): $Sprite.texture = preload("res://nodes/tree.svg") "commit": $Sprite.texture = preload("res://nodes/commit.svg") - game.notify(tr("DRAG_AROUND"), self, "drag-nodes") + game.notify(tr("You can drag these around with your mouse!"), self, "drag-nodes") "tag": $Sprite.texture = preload("res://nodes/blob.svg") "ref": diff --git a/scenes/node.tscn b/scenes/node.tscn index f951214..0905cc2 100644 --- a/scenes/node.tscn +++ b/scenes/node.tscn @@ -50,8 +50,8 @@ margin_left = -19.9265 margin_top = -12.0097 margin_right = 129.073 margin_bottom = 40.9903 -custom_fonts/font = ExtResource( 1 ) custom_colors/font_color = Color( 1, 1, 1, 1 ) +custom_fonts/font = ExtResource( 1 ) text = "object_id" __meta__ = { "_edit_use_anchors_": false @@ -75,9 +75,9 @@ margin_left = -22.057 margin_top = 31.1738 margin_right = -12.057 margin_bottom = 66.1738 -custom_styles/normal = SubResource( 2 ) -custom_fonts/font = ExtResource( 1 ) custom_colors/font_color = Color( 1, 1, 1, 1 ) +custom_fonts/font = ExtResource( 1 ) +custom_styles/normal = SubResource( 2 ) __meta__ = { "_edit_use_anchors_": false } diff --git a/scenes/notification.gd b/scenes/notification.gd index 70ed8af..e668c49 100644 --- a/scenes/notification.gd +++ b/scenes/notification.gd @@ -2,16 +2,16 @@ extends Node2D var text setget _set_text 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") ] + tr("Got it!"), + tr("Interesting!"), + tr("Very useful!"), + tr("Cool!"), + tr("Nice!"), + tr("Thanks!"), + tr("Whatever..."), + tr("Okay!"), + tr("Yay!"), + tr("Awesome!") ] func _ready(): button_texts.shuffle() diff --git a/scenes/notification.tscn b/scenes/notification.tscn index 3b552c5..0068983 100644 --- a/scenes/notification.tscn +++ b/scenes/notification.tscn @@ -22,9 +22,6 @@ margin_right = 492.0 margin_bottom = 170.0 theme = ExtResource( 2 ) custom_styles/panel = SubResource( 1 ) -__meta__ = { -"_edit_use_anchors_": false -} [node name="Label" type="Label" parent="Panel"] anchor_right = 1.0 @@ -36,9 +33,6 @@ margin_bottom = -15.0 custom_fonts/font = ExtResource( 1 ) text = "This is a hint! This is a hint! This is a hint! This is a hint! This is a hint! This is a hint! This is a hint! This is a hint! This is a hint!" autowrap = true -__meta__ = { -"_edit_use_anchors_": false -} [node name="CenterContainer" type="CenterContainer" parent="Panel"] anchor_top = 1.0 diff --git a/scenes/repository.gd b/scenes/repository.gd index f64056f..00a9aeb 100644 --- a/scenes/repository.gd +++ b/scenes/repository.gd @@ -89,7 +89,7 @@ func set_label(new_label): $Rows/RepoVis/SeparatorLine/DropArea.queue_free() $Rows/RepoVis/SeparatorLine.hide() else: - game.notify(tr("INTERACT"), self, "remote") + game.notify(tr("This is the time machine of another person! To interact with it, you need special commands!"), self, "remote") label_node.text = new_label func random_position(): diff --git a/scenes/repository.tscn b/scenes/repository.tscn index 35264e9..476ffb0 100644 --- a/scenes/repository.tscn +++ b/scenes/repository.tscn @@ -12,9 +12,6 @@ rect_clip_content = true mouse_filter = 2 theme = ExtResource( 2 ) script = ExtResource( 1 ) -__meta__ = { -"_edit_use_anchors_": false -} [node name="Rows" type="HSplitContainer" parent="."] anchor_right = 1.0 @@ -38,9 +35,6 @@ anchor_bottom = 1.0 margin_top = -4.0 mouse_filter = 2 color = Color( 0.196078, 0.184314, 0.435294, 1 ) -__meta__ = { -"_edit_use_anchors_": false -} [node name="DropArea" parent="Rows/RepoVis/SeparatorLine" instance=ExtResource( 4 )] position = Vector2( 71.6342, -29.3427 ) @@ -54,9 +48,6 @@ margin_right = 229.063 margin_bottom = -8.50476 custom_fonts/font = ExtResource( 3 ) text = "Repo name" -__meta__ = { -"_edit_use_anchors_": false -} [node name="IndexLabel" type="Label" parent="Rows/RepoVis"] visible = false diff --git a/scenes/sandbox.tscn b/scenes/sandbox.tscn index ee28577..fc1e113 100644 --- a/scenes/sandbox.tscn +++ b/scenes/sandbox.tscn @@ -48,4 +48,5 @@ margin_left = 961.0 margin_right = 1910.0 margin_bottom = 1070.0 size_flags_horizontal = 3 + [connection signal="command_done" from="Columns/Terminal" to="." method="update_repo"] diff --git a/scenes/survey.tscn b/scenes/survey.tscn index 85aa1a1..2d3bfc1 100644 --- a/scenes/survey.tscn +++ b/scenes/survey.tscn @@ -13,9 +13,6 @@ anchor_right = 1.0 anchor_bottom = 1.0 theme = ExtResource( 1 ) script = ExtResource( 3 ) -__meta__ = { -"_edit_use_anchors_": false -} [node name="ColorRect" type="ColorRect" parent="."] anchor_right = 1.0 @@ -41,8 +38,8 @@ margin_left = 774.698 margin_top = 297.059 margin_right = 1115.7 margin_bottom = 353.059 -custom_fonts/font = ExtResource( 5 ) custom_colors/font_color = Color( 0.533333, 0.392157, 0.392157, 1 ) +custom_fonts/font = ExtResource( 5 ) text = "by bleeptrack & blinry" align = 1 __meta__ = { @@ -61,9 +58,6 @@ anchor_bottom = 1.0 margin_left = -175.997 margin_top = -183.0 margin_right = 175.997 -__meta__ = { -"_edit_use_anchors_": false -} [node name="Button2" type="Button" parent="VBoxContainer"] margin_right = 351.0 @@ -106,5 +100,6 @@ text = "To the survey /o/" __meta__ = { "_edit_use_anchors_": false } + [connection signal="pressed" from="VBoxContainer/Button2" to="." method="quit"] [connection signal="pressed" from="VBoxContainer2/Button" to="." method="on_survey_pressed"] diff --git a/scenes/terminal.gd b/scenes/terminal.gd index a52600f..757df1e 100644 --- a/scenes/terminal.gd +++ b/scenes/terminal.gd @@ -104,7 +104,7 @@ func command_done(cmd): if cmd.output.length() <= 1000: output.text = output.text + "$ " + cmd.command + "\n" + cmd.output - game.notify(tr("YOUR_TERMINAL"), self, "terminal") + game.notify(tr("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") else: $Pager/Text.text = cmd.output $Pager.popup() diff --git a/scenes/terminal.tscn b/scenes/terminal.tscn index e9706ea..8e36199 100644 --- a/scenes/terminal.tscn +++ b/scenes/terminal.tscn @@ -34,9 +34,6 @@ anchor_right = 1.0 anchor_bottom = 1.0 mouse_filter = 1 script = ExtResource( 4 ) -__meta__ = { -"_edit_use_anchors_": false -} [node name="Rows" type="VBoxContainer" parent="."] anchor_right = 1.0 @@ -56,12 +53,9 @@ anchor_bottom = 1.0 margin_top = -1.92206 margin_bottom = -1.92212 size_flags_vertical = 3 -custom_styles/normal = SubResource( 1 ) custom_fonts/normal_font = ExtResource( 3 ) +custom_styles/normal = SubResource( 1 ) scroll_following = true -__meta__ = { -"_edit_use_anchors_": false -} [node name="Completions" type="Tree" parent="Rows/TopHalf"] anchor_top = 1.0 diff --git a/scenes/text_editor.tscn b/scenes/text_editor.tscn index 732784f..1738b65 100644 --- a/scenes/text_editor.tscn +++ b/scenes/text_editor.tscn @@ -3,9 +3,7 @@ [ext_resource path="res://fonts/default.tres" type="DynamicFont" id=1] [ext_resource path="res://scenes/text_editor.gd" type="Script" id=2] -[node name="TextEditor" type="TextEdit" groups=[ -"editors", -]] +[node name="TextEditor" type="TextEdit" groups=["editors"]] anchor_right = 1.0 anchor_bottom = 1.0 custom_colors/background_color = Color( 0, 0, 0, 1 ) @@ -48,5 +46,6 @@ text = "x" __meta__ = { "_edit_use_anchors_": false } + [connection signal="pressed" from="SaveButton" to="." method="save"] [connection signal="pressed" from="CloseButton" to="." method="close"] diff --git a/scenes/title.gd b/scenes/title.gd index 285d24e..a9674bf 100644 --- a/scenes/title.gd +++ b/scenes/title.gd @@ -1,6 +1,5 @@ extends Control -#onready var popup = $VBoxContainer/Language func _ready(): #check_correct_lang_item() @@ -10,9 +9,11 @@ func _ready(): #make_popup_items() + func quit(): get_tree().quit() + func levels(): get_tree().change_scene("res://scenes/level_select.tscn") @@ -25,39 +26,3 @@ func sandbox(): game.current_chapter = levels.chapters.size() - 1 game.current_level = levels.chapters[game.current_chapter].levels.size() -1 get_tree().change_scene("res://scenes/main.tscn") - - -# Check the apropriate locale -#func check_correct_lang_item(): -# for i in game.langs.keys(): -# if game.lang == game.langs[i]: -# popup.get_popup().set_item_checked(i, true) - -# Set all items to unchecked -#func uncheck_all_item(): -# for i in game.langs.keys(): -# popup.get_popup().set_item_checked(i, false) - - -# Create popup items width allowed locales -#func make_popup_items(): -# for i in game.langs.keys(): -# popup.get_popup().add_radio_check_item(game.langs[i], i) -# -# uncheck_all_item() -# -# check_correct_lang_item() -# -# popup.get_popup().connect("id_pressed", self, "_on_item_pressed") - - -# Change the translations and localizations of the cards and strings -#func _on_item_pressed(id): -# uncheck_all_item() - -# popup.get_popup().set_item_checked(id, true) -# game.lang = popup.get_popup().get_item_text(id) - - -# TranslationServer.set_locale(game.os_lang) - diff --git a/scenes/title.tscn b/scenes/title.tscn index e2333d3..6ea4267 100644 --- a/scenes/title.tscn +++ b/scenes/title.tscn @@ -11,9 +11,6 @@ anchor_right = 1.0 anchor_bottom = 1.0 theme = ExtResource( 1 ) script = ExtResource( 3 ) -__meta__ = { -"_edit_use_anchors_": false -} [node name="Label2" type="Label" parent="."] margin_left = 790.778 @@ -24,9 +21,6 @@ custom_colors/font_color = Color( 0.533333, 0.392157, 0.392157, 1 ) custom_fonts/font = ExtResource( 5 ) text = "by bleeptrack & blinry" align = 1 -__meta__ = { -"_edit_use_anchors_": false -} [node name="Label3" type="Label" parent="."] margin_left = 709.713 @@ -53,7 +47,7 @@ __meta__ = { [node name="Button" type="Button" parent="VBoxContainer"] margin_right = 351.0 margin_bottom = 39.0 -text = "LEVELS" +text = "Levels" [node name="Button3" type="Button" parent="VBoxContainer"] margin_top = 44.0 @@ -65,13 +59,13 @@ text = "Sandbox" margin_top = 88.0 margin_right = 351.0 margin_bottom = 127.0 -text = "QUIT" +text = "Quit" [node name="Language" type="MenuButton" parent="VBoxContainer"] margin_top = 132.0 margin_right = 351.0 margin_bottom = 171.0 -text = "LANGUAGE" +text = "Language" flat = false script = ExtResource( 4 )