Changed all translation to use new TransContext
This commit is contained in:
@@ -63,9 +63,9 @@ func setQuestObjective(objective = null):
|
||||
questObjectiveList.select(objective)
|
||||
|
||||
# Setup Description
|
||||
var data = quest.getLocaleData()
|
||||
data.merge(questObjective.getLocaleData())
|
||||
questObjectiveInfo.text = tr(questObjective.description).format(data)
|
||||
var ctx = questObjective.getTransContext()
|
||||
ctx.addContext("quest", quest.getTransContext())
|
||||
questObjectiveInfo.text = ctx.trans(questObjective.description)
|
||||
|
||||
|
||||
func open(questKey = null) -> void:
|
||||
|
Reference in New Issue
Block a user