diff options
author | nokoe <nokoe@mailbox.org> | 2024-10-03 15:22:44 +0200 |
---|---|---|
committer | nokoe <nokoe@mailbox.org> | 2024-10-03 15:22:44 +0200 |
commit | 0c789a627e1f0357c2e14523782a253c80c50560 (patch) | |
tree | 5339a2989f40f7eeb8af1e2eb88ab8de641bf32b /client | |
parent | e51c31d82a0a267d51189cfad16bec3f1113a116 (diff) | |
download | hurrycurry-0c789a627e1f0357c2e14523782a253c80c50560.tar hurrycurry-0c789a627e1f0357c2e14523782a253c80c50560.tar.bz2 hurrycurry-0c789a627e1f0357c2e14523782a253c80c50560.tar.zst |
use correct translation id in registry consent; fixes #212
Diffstat (limited to 'client')
-rw-r--r-- | client/menu/play.gd | 2 | ||||
-rw-r--r-- | client/menu/popup.tscn | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/client/menu/play.gd b/client/menu/play.gd index 5af71219..7ef60bea 100644 --- a/client/menu/play.gd +++ b/client/menu/play.gd @@ -41,7 +41,7 @@ func _ready(): super() if not Global.get_profile("registry_asked"): var popup_data := MenuPopup.Data.new() - popup_data.text = tr("c.play.allow_query_registry") + popup_data.text = tr("c.menu.play.allow_query_registry").format([Global.get_setting("online.registry_url")]) var allow_button := Button.new() allow_button.text = tr("c.menu.accept") var deny_button := Button.new() diff --git a/client/menu/popup.tscn b/client/menu/popup.tscn index d407f2bf..68818643 100644 --- a/client/menu/popup.tscn +++ b/client/menu/popup.tscn @@ -37,8 +37,10 @@ layout_mode = 2 theme_override_constants/separation = 16 [node name="Message" type="Label" parent="CenterContainer/Panel/MarginContainer/VBoxContainer"] +custom_minimum_size = Vector2(400, 0) layout_mode = 2 horizontal_alignment = 1 +autowrap_mode = 3 [node name="HBoxContainer" type="HBoxContainer" parent="CenterContainer/Panel/MarginContainer/VBoxContainer"] layout_mode = 2 |