From 07fa9d5583f83979637f633d4ffde811dad2969d Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Wed, 16 Oct 2013 10:30:41 -0400 Subject: [PATCH] oops, S() needs to stay in init.lua --- init.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/init.lua b/init.lua index 1cd3ba6b..d782aba4 100644 --- a/init.lua +++ b/init.lua @@ -20,6 +20,13 @@ homedecor.modpath = minetest.get_modpath("homedecor") homedecor.intllib_modpath = minetest.get_modpath("intllib") -- Boilerplate to support localized strings if intllib mod is installed. +local S +if homedecor.intllib_modpath then + dofile(homedecor.intllib_modpath.."/intllib.lua") + S = intllib.Getter(minetest.get_current_modname()) +else + S = function ( s ) return s end +end local dbg = function(s) if homedecor.debug == 1 then