Basically putting all the translation stuff together before I refactor things to use it.
This commit is contained in:
6
scripts/Scene/MainMenuScene.gd
Normal file
6
scripts/Scene/MainMenuScene.gd
Normal file
@@ -0,0 +1,6 @@
|
||||
class_name MainMenuScene extends Node
|
||||
|
||||
func _enter_tree() -> void:
|
||||
$Control/Label.text = tr("main_menu.label").format({
|
||||
inputIcon = "[img=32x32]res://icon.svg[/img]"
|
||||
})
|
Reference in New Issue
Block a user