initial shit
This commit is contained in:
8
Language/LanguageManager.gd
Normal file
8
Language/LanguageManager.gd
Normal file
@@ -0,0 +1,8 @@
|
||||
extends Node
|
||||
|
||||
var langs : Dictionary = {
|
||||
"en-US": "res://Language/locale/en-US.gd"
|
||||
}
|
||||
|
||||
func loadLanguage():
|
||||
return load(langs[MainGame.loadedLanguage]).new().keys
|
||||
1
Language/LanguageManager.gd.uid
Normal file
1
Language/LanguageManager.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://cq1njdji6gak6
|
||||
6
Language/locale/en-US.gd
Normal file
6
Language/locale/en-US.gd
Normal file
@@ -0,0 +1,6 @@
|
||||
extends Node
|
||||
|
||||
var keys = {
|
||||
"base.command.commandNotFoundError": "Unknown command!",
|
||||
"base.ui.chatAndCommands": "Chat"
|
||||
}
|
||||
1
Language/locale/en-US.gd.uid
Normal file
1
Language/locale/en-US.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://bcqrc804w3evu
|
||||
Reference in New Issue
Block a user