diff --git a/addons/i18n/de.po b/addons/i18n/de.po index d2ef679..e5699b8 100644 --- a/addons/i18n/de.po +++ b/addons/i18n/de.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2023-01-22 09:53+0100\n" +"POT-Creation-Date: 2023-05-21 16:05+0200\n" "PO-Revision-Date: 2022-07-20 19:18+0200\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" @@ -18,7 +18,28 @@ msgstr "" "Generated-By: Babel 2.10.3\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -msgid "Master" +msgid "Sound" +msgstr "" + +msgid "move_up" +msgstr "" + +msgid "move_left" +msgstr "" + +msgid "move_right" +msgstr "" + +msgid "move_down" +msgstr "" + +msgid "fire" +msgstr "" + +msgid "cast" +msgstr "" + +msgid "interact" msgstr "" msgid "Press any key..." @@ -33,8 +54,26 @@ msgstr "" msgid "Back to Menu" msgstr "" -msgid "LANG_EN" -msgstr "Englisch" +msgid "Retry" +msgstr "" + +msgid "Test" +msgstr "" + +msgid "X" +msgstr "" + +msgid "Lost Library" +msgstr "" + +msgid "Enter" +msgstr "" + +msgid "Exit" +msgstr "" + +#~ msgid "LANG_EN" +#~ msgstr "Englisch" -msgid "LANG_DE" -msgstr "Deutsch" +#~ msgid "LANG_DE" +#~ msgstr "Deutsch" diff --git a/addons/i18n/en.po b/addons/i18n/en.po index b61d0a5..6717e8a 100644 --- a/addons/i18n/en.po +++ b/addons/i18n/en.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2023-01-22 09:53+0100\n" +"POT-Creation-Date: 2023-05-21 16:05+0200\n" "PO-Revision-Date: 2022-07-20 19:18+0200\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" @@ -18,9 +18,30 @@ msgstr "" "Generated-By: Babel 2.10.3\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -msgid "Master" +msgid "Sound" msgstr "" +msgid "move_up" +msgstr "Move Up" + +msgid "move_left" +msgstr "Move Left" + +msgid "move_right" +msgstr "Move Right" + +msgid "move_down" +msgstr "Move Down" + +msgid "fire" +msgstr "Fire" + +msgid "cast" +msgstr "Cast" + +msgid "interact" +msgstr "Interact" + msgid "Press any key..." msgstr "" @@ -33,8 +54,26 @@ msgstr "" msgid "Back to Menu" msgstr "" -msgid "LANG_EN" -msgstr "English" +msgid "Retry" +msgstr "" + +msgid "Test" +msgstr "" + +msgid "X" +msgstr "" + +msgid "Lost Library" +msgstr "" + +msgid "Enter" +msgstr "" + +msgid "Exit" +msgstr "" + +#~ msgid "LANG_EN" +#~ msgstr "English" -msgid "LANG_DE" -msgstr "German" +#~ msgid "LANG_DE" +#~ msgstr "German" diff --git a/addons/i18n/messages.mo b/addons/i18n/messages.mo index 0f9c939..dcd9278 100644 Binary files a/addons/i18n/messages.mo and b/addons/i18n/messages.mo differ diff --git a/addons/i18n/messages.pot b/addons/i18n/messages.pot index bdb3cd6..06792d1 100644 --- a/addons/i18n/messages.pot +++ b/addons/i18n/messages.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2023-01-22 09:56+0100\n" +"POT-Creation-Date: 2023-05-21 16:05+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -17,7 +17,28 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.10.3\n" -msgid "Master" +msgid "Sound" +msgstr "" + +msgid "move_up" +msgstr "" + +msgid "move_left" +msgstr "" + +msgid "move_right" +msgstr "" + +msgid "move_down" +msgstr "" + +msgid "fire" +msgstr "" + +msgid "cast" +msgstr "" + +msgid "interact" msgstr "" msgid "Press any key..." @@ -32,9 +53,21 @@ msgstr "" msgid "Back to Menu" msgstr "" -msgid "LANG_EN" +msgid "Retry" +msgstr "" + +msgid "Test" +msgstr "" + +msgid "X" +msgstr "" + +msgid "Lost Library" +msgstr "" + +msgid "Enter" msgstr "" -msgid "LANG_DE" +msgid "Exit" msgstr "" diff --git a/addons/i18n/translations.sh b/addons/i18n/translations.sh index 66f569c..cdc4d2a 100644 --- a/addons/i18n/translations.sh +++ b/addons/i18n/translations.sh @@ -2,7 +2,7 @@ DIR="addons/i18n" -pybabel extract -F "$DIR/babelrc" -k text -k LineEdit/placeholder_text -k tr -k items --no-location -o "$DIR/messages.pot" \ +pybabel extract -F "$DIR/babelrc" -k text -k LineEdit/placeholder_text -k tr -k items -k actions --no-location -o "$DIR/messages.pot" \ src "$DIR/menu" cd $DIR diff --git a/addons/menu-system/RemapButton.tscn b/addons/menu-system/RemapButton.tscn index ad2b25e..acf039c 100644 --- a/addons/menu-system/RemapButton.tscn +++ b/addons/menu-system/RemapButton.tscn @@ -8,6 +8,7 @@ anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 +alignment = 2 script = ExtResource("1") action = "move_down" hover_sound = NodePath("Hover") diff --git a/project.godot b/project.godot index c2019ee..f1cefdc 100644 --- a/project.godot +++ b/project.godot @@ -107,6 +107,10 @@ cancel={ ] } +[internationalization] + +locale/translations=PackedStringArray("res://addons/i18n/en.po") + [layer_names] 2d_physics/layer_1="static" diff --git a/src/menu/Options.tscn b/src/menu/Options.tscn index 1baeb8f..0fddf2c 100644 --- a/src/menu/Options.tscn +++ b/src/menu/Options.tscn @@ -27,7 +27,7 @@ grow_horizontal = 2 grow_vertical = 2 [node name="VBoxContainer" type="VBoxContainer" parent="CenterContainer"] -custom_minimum_size = Vector2(100, 0) +custom_minimum_size = Vector2(150, 0) layout_mode = 2 [node name="Options" type="GridContainer" parent="CenterContainer/VBoxContainer"] diff --git a/src/menu/Pause.tscn b/src/menu/Pause.tscn index d52d052..9fb151f 100644 --- a/src/menu/Pause.tscn +++ b/src/menu/Pause.tscn @@ -50,8 +50,6 @@ text = "Back to Menu" [node name="Options" parent="." instance=ExtResource("2")] layout_mode = 1 -grow_horizontal = 2 -grow_vertical = 2 [node name="GameOver" parent="." instance=ExtResource("6_1amjj")] layout_mode = 1