added translations
This commit is contained in:
@@ -33,7 +33,7 @@ func _ready() -> void:
|
||||
blink_timer.one_shot = false
|
||||
blink_timer.timeout.connect(_on_blink_timeout)
|
||||
add_child(blink_timer)
|
||||
ai_threat.text = display_text
|
||||
ai_threat.text = tr(display_text)
|
||||
for lamp in status_lamps:
|
||||
lamp.visible = true
|
||||
if lamp.get_surface_override_material(0) == null:
|
||||
|
||||
@@ -16,7 +16,7 @@ transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, 0, 0
|
||||
collision_layer = 8
|
||||
collision_mask = 7
|
||||
script = ExtResource("1_6jshr")
|
||||
prompt_message = "drücken Sie [t] oder [Enter]"
|
||||
prompt_message = "HELPER_PROMPT"
|
||||
talkable = true
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
@@ -41,11 +41,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.3250453e-09, -0.54445666, -
|
||||
[node name="Label3D" type="Label3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.3886542, 0)
|
||||
billboard = 1
|
||||
text = "Rede mit mir!
|
||||
(t / Enter)
|
||||
|
|
||||
|
|
||||
\\/"
|
||||
text = "HELPER_TALK"
|
||||
font_size = 42
|
||||
outline_size = 8
|
||||
|
||||
|
||||
@@ -27,11 +27,11 @@ var answered_correctly := false
|
||||
|
||||
func _ready() -> void:
|
||||
# Texte setzen
|
||||
question_label.text = question
|
||||
answer_0_label.text = answer_0
|
||||
answer_1_label.text = answer_1
|
||||
answer_2_label.text = answer_2
|
||||
answer_3_label.text = answer_3
|
||||
question_label.text = tr(question)
|
||||
answer_0_label.text = tr(answer_0)
|
||||
answer_1_label.text = tr(answer_1)
|
||||
answer_2_label.text = tr(answer_2)
|
||||
answer_3_label.text = tr(answer_3)
|
||||
|
||||
# Signale verbinden
|
||||
answer_pad_0.body_entered.connect(_on_answer_entered.bind(0))
|
||||
|
||||
Reference in New Issue
Block a user