Added translations management
Prepares work for line voiceovers management.
This commit is contained in:
11
game/ui/commons/main_menu/options.gd
Normal file
11
game/ui/commons/main_menu/options.gd
Normal file
@@ -0,0 +1,11 @@
|
||||
extends Control
|
||||
|
||||
func _ready():
|
||||
var locale = TranslationServer.get_locale()
|
||||
|
||||
func greyout_other_languages(except_lang : String) -> void:
|
||||
pass
|
||||
|
||||
func _on_language_input(event : InputEvent, language : String):
|
||||
if event.is_pressed():
|
||||
TranslationServer.set_locale(language)
|
||||
Reference in New Issue
Block a user