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)
|
||||
|
||||
+1
-1
@@ -82,7 +82,7 @@ margin_top = 30.0
|
||||
margin_right = 130.0
|
||||
margin_bottom = 64.0
|
||||
custom_fonts/font = ExtResource( 3 )
|
||||
text = "Nouveau"
|
||||
text = "new"
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user