forked from luanti-org/minetest_game
		
	Add support for MT 5 game translation (rebasing ) (#2466)
rebased #2368
This commit is contained in:
		| @@ -1,8 +1,14 @@ | ||||
| -- map/init.lua | ||||
|  | ||||
| -- Mod global namespace | ||||
|  | ||||
| map = {} | ||||
|  | ||||
|  | ||||
| -- Load support for MT game translation. | ||||
| local S = minetest.get_translator("map") | ||||
|  | ||||
|  | ||||
| -- Cache creative mode setting | ||||
|  | ||||
| local creative_mode_cache = minetest.settings:get_bool("creative_mode") | ||||
| @@ -49,7 +55,7 @@ minetest.after(5.3, cyclic_update) | ||||
| -- Mapping kit item | ||||
|  | ||||
| minetest.register_craftitem("map:mapping_kit", { | ||||
| 	description = "Mapping Kit\nUse with 'Minimap' key", | ||||
| 	description = S("Mapping Kit\nUse with 'Minimap' key"), | ||||
| 	inventory_image = "map_mapping_kit.png", | ||||
| 	stack_max = 1, | ||||
| 	groups = {flammable = 3}, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user