Configure locales for main scene

This commit is contained in:
VAILLANT Jeremy
2021-05-09 23:28:45 +02:00
parent dd1744dcce
commit 90591e098e
7 changed files with 61 additions and 1 deletions
+7
View File
@@ -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
View File
@@ -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
}