diff --git a/Resources/Objects/alien.tscn b/Resources/Objects/alien.tscn index 1f81d6d..c1c6d18 100644 --- a/Resources/Objects/alien.tscn +++ b/Resources/Objects/alien.tscn @@ -335,8 +335,7 @@ autoplay = "idle" [node name="Label3D" type="Label3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.7864695, -0.07333246) billboard = 1 -text = "Interagieren -(t / Enter)" +text = "ALIEN_TALK" font = ExtResource("4_0lt3b") outline_size = 4 width = 80.0 diff --git a/addons/dialogue_manager/game_balloons/head_text.gd b/addons/dialogue_manager/game_balloons/head_text.gd index ecea997..f7c1006 100644 --- a/addons/dialogue_manager/game_balloons/head_text.gd +++ b/addons/dialogue_manager/game_balloons/head_text.gd @@ -1,12 +1,15 @@ extends RichTextLabel -# Called when the node enters the scene tree for the first time. func _ready() -> void: + _update_head_text() + + +func _notification(what: int) -> void: + if what == NOTIFICATION_TRANSLATION_CHANGED: + _update_head_text() + + +func _update_head_text() -> void: var scene_name = get_tree().current_scene.name - text = "/" + scene_name + "/" - - -# Called every frame. 'delta' is the elapsed time since the previous frame. -func _process(delta: float) -> void: - pass + text = "/" + tr(String(scene_name)) + "/" diff --git a/ai_act_text.tscn b/ai_act_text.tscn index 2cc8320..49e880e 100644 --- a/ai_act_text.tscn +++ b/ai_act_text.tscn @@ -44,9 +44,9 @@ text = "CHANGE_STATIC" [node name="Button2" type="Button" parent="."] layout_mode = 0 -offset_left = 1684.0 +offset_left = 1660.0 offset_top = 999.0 -offset_right = 1907.0 +offset_right = 1892.0 offset_bottom = 1052.0 theme_override_colors/font_color = Color(0, 0, 0, 1) theme_override_font_sizes/font_size = 32 diff --git a/keypad.tscn b/keypad.tscn index 50463bb..914c899 100644 --- a/keypad.tscn +++ b/keypad.tscn @@ -76,6 +76,7 @@ theme_override_styles/pressed = SubResource("StyleBoxFlat_3c3sr") theme_override_styles/hover = SubResource("StyleBoxFlat_8rcbr") toggle_mode = true text = "KEYPAD_ID" +autowrap_mode = 3 [node name="Button2" type="Button" parent="Panel/Panel/Buttons"] layout_mode = 0 @@ -89,6 +90,7 @@ theme_override_styles/pressed = SubResource("StyleBoxFlat_3c3sr") theme_override_styles/hover = SubResource("StyleBoxFlat_8rcbr") toggle_mode = true text = "KEYPAD_PHOTO" +autowrap_mode = 3 [node name="Button3" type="Button" parent="Panel/Panel/Buttons"] layout_mode = 0 @@ -102,6 +104,7 @@ theme_override_styles/pressed = SubResource("StyleBoxFlat_3c3sr") theme_override_styles/hover = SubResource("StyleBoxFlat_8rcbr") toggle_mode = true text = "KEYPAD_RESIDENCE" +autowrap_mode = 3 [node name="Button4" type="Button" parent="Panel/Panel/Buttons"] layout_mode = 0 @@ -129,6 +132,7 @@ theme_override_styles/pressed = SubResource("StyleBoxFlat_3c3sr") theme_override_styles/hover = SubResource("StyleBoxFlat_8rcbr") toggle_mode = true text = "KEYPAD_WORK" +autowrap_mode = 3 [node name="Button6" type="Button" parent="Panel/Panel/Buttons"] layout_mode = 0 diff --git a/title_screen.tscn b/title_screen.tscn index 9f0c45c..d7452de 100644 --- a/title_screen.tscn +++ b/title_screen.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=28 format=3 uid="uid://bkxjs7ullu1dr"] +[gd_scene load_steps=27 format=3 uid="uid://bkxjs7ullu1dr"] [ext_resource type="Script" uid="uid://crw0j5r7h0f2y" path="res://title_screen.gd" id="1_8vmu4"] [ext_resource type="ArrayMesh" uid="uid://cnkc0coob8mu" path="res://Resources/meshes/player_uniGW2.tres" id="2_xfn3p"] @@ -10,7 +10,6 @@ [ext_resource type="Texture2D" uid="uid://bj8jcfeaakxlw" path="res://assets/Images/DataScience_logo_small.png" id="8_wot2p"] [ext_resource type="Texture2D" uid="uid://b0ym0c3w67rhi" path="res://assets/Gain_Logo_RGB.png" id="9_kvwfe"] [ext_resource type="AudioStream" uid="uid://cyxaxp30xuhnm" path="res://assets/Sounds/Peachtea - Somewhere in the Elevator.wav" id="10_xfn3p"] -[ext_resource type="Texture2D" uid="uid://bvmhojh1ryrdg" path="res://assets/Images/de.svg" id="11_flag_de"] [ext_resource type="Texture2D" uid="uid://cr51lpygo5cxn" path="res://assets/Images/us.svg" id="12_flag_us"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ak2if"] @@ -463,9 +462,9 @@ offset_top = 1005.0 offset_right = 1600.0 offset_bottom = 1055.0 icon = ExtResource("12_flag_us") -expand_icon = true flat = true - +icon_alignment = 1 +expand_icon = true [node name="impressum" type="Button" parent="."] layout_mode = 0 @@ -500,7 +499,7 @@ layout_mode = 0 offset_left = -8.0 offset_top = -298.0 offset_right = 290.0 -offset_bottom = 309.0 +offset_bottom = 282.0 scale = Vector2(0.9, 0.9) picker_shape = 2 sampler_visible = false @@ -534,7 +533,7 @@ layout_mode = 0 offset_left = 10.0 offset_top = -290.0 offset_right = 308.0 -offset_bottom = 317.0 +offset_bottom = 288.88892 picker_shape = 2 sampler_visible = false color_modes_visible = false diff --git a/translations/en_de_translation.csv b/translations/en_de_translation.csv index d07d29b..4dce386 100644 --- a/translations/en_de_translation.csv +++ b/translations/en_de_translation.csv @@ -172,3 +172,7 @@ CHATBOT_CH13,Kapitel 12 - Sanktionen,Chapter 12 - Penalties CHATBOT_CH14,Kapitel 13 - Schlussbestimmungen,Chapter 13 - Final provisions CHATBOT_CH15,Anhang,Annex CHATBOT_SYSTEM_PROMPT,"Antworte auf Deutsch. Antworte kurz und präzise in 1-2 Sätzen nur basierend auf dem bereitgestellten Dokument. Wenn die Antwort nicht im Dokument steht, antworte nur mit: 'Darauf kann ich nicht antworten, bitte stelle mir eine Frage zum EU AI Act'.","Answer in English. Answer briefly and precisely in 1-2 sentences based only on the provided document. If the answer is not in the document, reply only with: 'I cannot answer that, please ask me a question about the EU AI Act'." +ALIEN_TALK,"Interagieren +(t / Enter)","Interact +(t / Enter)" +KI-Schulung,KI-Schulung,AI Training diff --git a/translations/en_de_translation.de.translation b/translations/en_de_translation.de.translation index f168d60..00243d7 100644 Binary files a/translations/en_de_translation.de.translation and b/translations/en_de_translation.de.translation differ diff --git a/translations/en_de_translation.en.translation b/translations/en_de_translation.en.translation index 62f578a..d335aa1 100644 Binary files a/translations/en_de_translation.en.translation and b/translations/en_de_translation.en.translation differ