Configure locales for main scene
This commit is contained in:
@@ -5,6 +5,13 @@ export (PackedScene) var scenes = load("res://scenes/UI/ChooseScene.tscn")
|
||||
|
||||
var current_scene = null
|
||||
|
||||
func _ready():
|
||||
print(tr("MESSAGE_READY"))
|
||||
$Grid/Menu/Action/New.text = tr("MAIN_BUTTON_NEW")
|
||||
$Grid/Menu/Action/Continue.text = tr("MAIN_BUTTON_CONTINUE")
|
||||
$Grid/Menu/Action/About.text = tr("MAIN_BUTTON_ABOUT")
|
||||
$Grid/Menu/Action/Quit.text = tr("MAIN_BUTTON_QUIT")
|
||||
|
||||
# Quit the game
|
||||
func _on_Quit_pressed():
|
||||
get_tree().quit(0)
|
||||
|
||||
Reference in New Issue
Block a user