Merge remote-tracking branch 'upstream/master'

This commit is contained in:
2025-03-20 11:34:32 +01:00
5 changed files with 34 additions and 4 deletions

View File

@ -1,13 +1,17 @@
digilines = {}
digilines.S = minetest.get_translator("digilines")
-- formspec escape translation
digilines.FS = function (...)
return minetest.formspec_escape(digilines.S(...))
end
digilines.mcl = minetest.get_modpath("mcl_core")
-- sounds check
if minetest.get_modpath("default") then digilines.sounds = default end
if digilines.mcl then digilines.sounds = mcl_sounds end
-- Backwards compatibility code.
-- We define a proxy table whose methods can be called with the
-- `foo:bar` notation, and it will redirect the call to the