Passage de globales en locales

Adaptation des variables global en local pour la version 4.11
Este commit está contenido en:
guillaume
2015-01-11 21:25:25 +01:00
padre 3126d8a40d
commit 715ca50df1
Se han modificado 17 ficheros con 35 adiciones y 25 borrados

Ver fichero

@@ -1,5 +1,6 @@
local S -- Load translation library if intllib is installed:
if intllib then
if (minetest.get_modpath("intllib")) then
dofile(minetest.get_modpath("intllib").."/intllib.lua")
S = intllib.Getter(minetest.get_current_modname())
else
S = function(s) return s end

Ver fichero

@@ -1,5 +1,6 @@
local S -- Load translation library if intllib is installed:
if intllib then
if (minetest.get_modpath("intllib")) then
dofile(minetest.get_modpath("intllib").."/intllib.lua")
S = intllib.Getter(minetest.get_current_modname())
else
S = function(s) return s end

Ver fichero

@@ -1,5 +1,6 @@
local S -- Load translation library if intllib is installed:
if intllib then
if (minetest.get_modpath("intllib")) then
dofile(minetest.get_modpath("intllib").."/intllib.lua")
S = intllib.Getter(minetest.get_current_modname())
else
S = function(s) return s end

Ver fichero

@@ -1,5 +1,6 @@
local S -- Load translation library if intllib is installed:
if intllib then
if (minetest.get_modpath("intllib")) then
dofile(minetest.get_modpath("intllib").."/intllib.lua")
S = intllib.Getter(minetest.get_current_modname())
else
S = function(s) return s end