Closed TnecnivOC closed 1 year ago
Thanks for the work. I would suggest one change. Instead of building the translation key from different tokens, just do a simple lookup map. This may not seem elegant at first, but it would be easier to read, to maintain and also be faster. Wold you do that?
const NW_CRAFTING_GROUP_NAMES = {
}
function getCraftingGroupName(item: Crafting) {
return NW_CRAFTING_GROUP_NAMES[item?.CraftingGroup]
}
Translated Columns
In Items:
Housing:
Crafting: