2019-08-23 20:40:33 -04:00
|
|
|
-- LUALOCALS < ---------------------------------------------------------
|
2020-09-27 09:30:57 -04:00
|
|
|
local nodecore, pairs
|
|
|
|
= nodecore, pairs
|
2019-08-23 20:40:33 -04:00
|
|
|
-- 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)
|
2019-08-27 19:14:51 -04:00
|
|
|
end
|
2020-09-27 09:30:57 -04:00
|
|
|
if def.meta_descriptions then
|
|
|
|
for _, d in pairs(def.meta_descriptions) do
|
2019-08-27 19:14:51 -04:00
|
|
|
nodecore.translate_inform(d)
|
|
|
|
end
|
2019-08-23 20:40:33 -04:00
|
|
|
end
|
|
|
|
end
|
2020-09-27 09:30:57 -04:00
|
|
|
})
|