mirror of
https://github.com/minetest/minetest_game.git
synced 2025-06-29 13:20:25 +02:00
Add support for MT 5 game translation (rebasing ) (#2466)
rebased #2368
This commit is contained in:
@ -3,10 +3,14 @@
|
||||
|
||||
-- The API documentation in here was moved into game_api.txt
|
||||
|
||||
-- Load support for MT game translation.
|
||||
local S = minetest.get_translator("default")
|
||||
|
||||
-- Definitions made by this mod that other mods can use too
|
||||
default = {}
|
||||
|
||||
default.LIGHT_MAX = 14
|
||||
default.get_translator = S
|
||||
|
||||
-- GUI related stuff
|
||||
minetest.register_on_joinplayer(function(player)
|
||||
|
Reference in New Issue
Block a user