Locale testing
This commit is contained in:
@@ -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")
|
||||
|
Reference in New Issue
Block a user