Locale testing

This commit is contained in:
2025-05-24 23:07:50 -05:00
parent 1bce56231c
commit 1abb9a85f7
10 changed files with 193 additions and 19 deletions

View File

@@ -1,5 +1,7 @@
class_name DebugMenu extends VBoxContainer
var whatever:String = tr("SOME_STRING_TRANSLATED")
func _ready() -> void:
show()
@@ -53,9 +55,12 @@ func _on_Quests_pressed():
func _on_Custscene_pressed():
print("Cutscene pressed")
print(whatever)
func _on_Cooking_pressed():
print("Cooking pressed")
TranslatssionServer.change
TranslationServer.set_locale("en_US")
func _on_Battle_pressed():
print("Battle pressed")