From 002bcbb6d82efe299ba781726ddc44ce890dfc61 Mon Sep 17 00:00:00 2001 From: RealBadAngel Date: Sat, 21 Jun 2014 12:44:31 +0200 Subject: Add intllib support. Some polish and german translations. Start adding tooltips. --- api.lua | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'api.lua') diff --git a/api.lua b/api.lua index 23dd6d4..1ab19fc 100644 --- a/api.lua +++ b/api.lua @@ -1,3 +1,9 @@ +local S +if intllib then + S = intllib.Getter() +else + S = function(s) return s end +end -- Create detached creative inventory after loading all mods minetest.after(0.01, function() -- cgit v1.2.3