Changed all translation to use new TransContext
This commit is contained in:
@@ -28,7 +28,7 @@ static func getCategoryTitleKey(cat:Category) -> String:
|
||||
@export var category:Category = Category.INGREDIENT
|
||||
@export var stackable:bool = true
|
||||
|
||||
func getTranslationContext() -> TransContext:
|
||||
func getTransContext() -> TransContext:
|
||||
var ctx:TransContext = TransContext.new()
|
||||
ctx.addTransPlural("title", title)
|
||||
ctx.addTrans("description", description_text)
|
||||
|
Reference in New Issue
Block a user