Changed all translation to use new TransContext

This commit is contained in:
2025-05-26 08:32:07 -05:00
parent 44dd3b7aa6
commit c1d8dd46d8
14 changed files with 128 additions and 69 deletions

View File

@@ -30,6 +30,7 @@ func isStarted() -> bool:
func objectiveUpdated(objective:QuestObjective) -> void:
QUEST.questUpdated.emit(self)
func getLocaleData() -> Dictionary[String, String]:
var dict: Dictionary[String, String] = {}
return dict
func getTransContext() -> TransContext:
var ctx:TransContext = TransContext.new()
ctx.addTransPlural("title", title)
return ctx