19 lines
497 B
Lua
Raw Normal View History

-- LUALOCALS < ---------------------------------------------------------
2020-09-27 09:30:57 -04:00
local nodecore, pairs
= nodecore, pairs
-- LUALOCALS > ---------------------------------------------------------
2020-09-27 09:30:57 -04:00
nodecore.register_on_register_item({
retroactive = true,
func = function(_, def)
if def.description then
nodecore.translate_inform(def.description)
end
2020-09-27 09:30:57 -04:00
if def.meta_descriptions then
for _, d in pairs(def.meta_descriptions) do
nodecore.translate_inform(d)
end
end
end
2020-09-27 09:30:57 -04:00
})