fix internationalization

This commit is contained in:
FaceDeer 2017-03-16 13:08:10 -06:00
parent fa4c551dcf
commit 2177175593
6 changed files with 24 additions and 0 deletions

View File

@ -1,3 +1,7 @@
-- internationalization boilerplate
local MP = minetest.get_modpath(minetest.get_current_modname())
local S, NS = dofile(MP.."/intllib.lua")
local wheat_names = {} local wheat_names = {}
local register_cave_wheat = function(number) local register_cave_wheat = function(number)

View File

@ -1,3 +1,7 @@
-- internationalization boilerplate
local MP = minetest.get_modpath(minetest.get_current_modname())
local S, NS = dofile(MP.."/intllib.lua")
local dimple_names = {} local dimple_names = {}
local register_dimple_cup = function(number) local register_dimple_cup = function(number)

View File

@ -1,3 +1,7 @@
-- internationalization boilerplate
local MP = minetest.get_modpath(minetest.get_current_modname())
local S, NS = dofile(MP.."/intllib.lua")
local pig_tail_names = {} local pig_tail_names = {}
local register_pig_tail = function(number) local register_pig_tail = function(number)

View File

@ -1,3 +1,7 @@
-- internationalization boilerplate
local MP = minetest.get_modpath(minetest.get_current_modname())
local S, NS = dofile(MP.."/intllib.lua")
local displace_x = 0.125 local displace_x = 0.125
local displace_z = 0.125 local displace_z = 0.125

View File

@ -1,3 +1,7 @@
-- internationalization boilerplate
local MP = minetest.get_modpath(minetest.get_current_modname())
local S, NS = dofile(MP.."/intllib.lua")
local quarry_names = {} local quarry_names = {}
local register_quarry_bush = function(number) local register_quarry_bush = function(number)

View File

@ -1,3 +1,7 @@
-- internationalization boilerplate
local MP = minetest.get_modpath(minetest.get_current_modname())
local S, NS = dofile(MP.."/intllib.lua")
local sweet_names = {} local sweet_names = {}
local register_sweet_pod = function(number) local register_sweet_pod = function(number)