1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-06-28 06:11:47 +02:00

Passage de globales en locales

Adaptation des variables global en local pour la version 4.11
This commit is contained in:
guillaume
2015-01-11 21:25:25 +01:00
parent 3126d8a40d
commit 715ca50df1
17 changed files with 35 additions and 25 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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