Aleksei-bird 7c9c708c92 Первый фикс
Пачки некоторых позиций увеличены
2024-03-01 20:54:33 +03:00

19 lines
568 B
Lua

-- create remote interface for the translation module
local retranslate_all_event = script.generate_event_name()
remote.add_interface("railualib_translation", {
retranslate_all_event = function() return retranslate_all_event end,
})
commands.add_command(
"retranslate-all-dictionaries",
"- retranslates all of your personal dictionaries",
function(e)
script.raise_event(retranslate_all_event, {player_index=e.player_index})
end
)
-- load tests
local tests = require("tests.tests")
for _,test in pairs(tests) do
require("tests."..test..".control")
end