[animals (mp)] Update to Git patch 9d08ca5:

https://github.com/AntumMT/mp-animals_modpack/tree/9d08ca5
This commit is contained in:
AntumDeluge 2017-07-09 01:49:28 -07:00
parent 1befb3fa44
commit c7cad35eb2
10 changed files with 73 additions and 19 deletions

View File

@ -521,7 +521,7 @@ The game includes the mods from the default [minetest_game](https://github.com/m
[patch.adv_spawning]: https://github.com/AntumMT/mod-adv_spawning/tree/757197a
[patch.airtanks]: https://github.com/AntumMT/mod-airtanks/tree/71ea616
[patch.animalmaterials]: https://github.com/AntumMT/mp-animalmaterials/tree/b5d8315
[patch.animals]: https://github.com/AntumMT/mp-animals_modpack/tree/3e25eb0
[patch.animals]: https://github.com/AntumMT/mp-animals_modpack/tree/9d08ca5
[patch.awards]: https://github.com/AntumMT/mod-awards/tree/638c137
[patch.away]: https://github.com/AntumMT/mod-away/tree/3b0bf9e
[patch.bags]: https://github.com/AntumMT/mod-bags/tree/4363284

View File

@ -16,9 +16,15 @@
-- Boilerplate to support localized strings if intllib mod is installed.
local S
if (minetest.get_modpath("intllib")) then
if (minetest.global_exists("intllib")) then
dofile(minetest.get_modpath("intllib").."/intllib.lua")
S = intllib.Getter(minetest.get_current_modname())
if (intllib.make_gettext_pair) then
-- New method using gettext.
S = intllib.make_gettext_pair(minetest.get_current_modname())
else
-- Old method using text files.
S = intllib.Getter(minetest.get_current_modname())
end
else
S = function ( s ) return s end
end

View File

@ -16,9 +16,15 @@
-- Boilerplate to support localized strings if intllib mod is installed.
local S
if (minetest.get_modpath("intllib")) then
if (minetest.global_exists("intllib")) then
dofile(minetest.get_modpath("intllib").."/intllib.lua")
S = intllib.Getter(minetest.get_current_modname())
if (intllib.make_gettext_pair) then
-- New method using gettext.
S = intllib.make_gettext_pair(minetest.get_current_modname())
else
-- Old method using text files.
S = intllib.Getter(minetest.get_current_modname())
end
else
S = function ( s ) return s end
end

View File

@ -16,9 +16,15 @@
-- Boilerplate to support localized strings if intllib mod is installed.
local S
if (minetest.get_modpath("intllib")) then
if (minetest.global_exists("intllib")) then
dofile(minetest.get_modpath("intllib").."/intllib.lua")
S = intllib.Getter(minetest.get_current_modname())
if (intllib.make_gettext_pair) then
-- New method using gettext.
S = intllib.make_gettext_pair(minetest.get_current_modname())
else
-- Old method using text files.
S = intllib.Getter(minetest.get_current_modname())
end
else
S = function ( s ) return s end
end

View File

@ -1,8 +1,14 @@
-- Boilerplate to support localized strings if intllib mod is installed.
local S
if (minetest.get_modpath("intllib")) then
if (minetest.global_exists("intllib")) then
dofile(minetest.get_modpath("intllib").."/intllib.lua")
S = intllib.Getter(minetest.get_current_modname())
if (intllib.make_gettext_pair) then
-- New method using gettext.
S = intllib.make_gettext_pair(minetest.get_current_modname())
else
-- Old method using text files.
S = intllib.Getter(minetest.get_current_modname())
end
else
S = function ( s ) return s end
end

View File

@ -16,9 +16,15 @@
-- Boilerplate to support localized strings if intllib mod is installed.
local S
if (minetest.get_modpath("intllib")) then
if (minetest.global_exists("intllib")) then
dofile(minetest.get_modpath("intllib").."/intllib.lua")
S = intllib.Getter(minetest.get_current_modname())
if (intllib.make_gettext_pair) then
-- New method using gettext.
S = intllib.make_gettext_pair(minetest.get_current_modname())
else
-- Old method using text files.
S = intllib.Getter(minetest.get_current_modname())
end
else
S = function ( s ) return s end
end

View File

@ -16,9 +16,15 @@
-- Boilerplate to support localized strings if intllib mod is installed.
local S
if (minetest.get_modpath("intllib")) then
if (minetest.global_exists("intllib")) then
dofile(minetest.get_modpath("intllib").."/intllib.lua")
S = intllib.Getter(minetest.get_current_modname())
if (intllib.make_gettext_pair) then
-- New method using gettext.
S = intllib.make_gettext_pair(minetest.get_current_modname())
else
-- Old method using text files.
S = intllib.Getter(minetest.get_current_modname())
end
else
S = function ( s ) return s end
end

View File

@ -16,9 +16,15 @@
-- Boilerplate to support localized strings if intllib mod is installed.
local S
if (minetest.get_modpath("intllib")) then
if (minetest.global_exists("intllib")) then
dofile(minetest.get_modpath("intllib").."/intllib.lua")
S = intllib.Getter(minetest.get_current_modname())
if (intllib.make_gettext_pair) then
-- New method using gettext.
S = intllib.make_gettext_pair(minetest.get_current_modname())
else
-- Old method using text files.
S = intllib.Getter(minetest.get_current_modname())
end
else
S = function ( s ) return s end
end

View File

@ -16,9 +16,15 @@
--
-- Boilerplate to support localized strings if intllib mod is installed.
local S
if (minetest.get_modpath("intllib")) then
if (minetest.global_exists("intllib")) then
dofile(minetest.get_modpath("intllib").."/intllib.lua")
S = intllib.Getter(minetest.get_current_modname())
if (intllib.make_gettext_pair) then
-- New method using gettext.
S = intllib.make_gettext_pair(minetest.get_current_modname())
else
-- Old method using text files.
S = intllib.Getter(minetest.get_current_modname())
end
else
S = function ( s ) return s end
end

View File

@ -16,9 +16,15 @@
-- Boilerplate to support localized strings if intllib mod is installed.
local S
if (minetest.get_modpath("intllib")) then
if (minetest.global_exists("intllib")) then
dofile(minetest.get_modpath("intllib").."/intllib.lua")
S = intllib.Getter(minetest.get_current_modname())
if (intllib.make_gettext_pair) then
-- New method using gettext.
S = intllib.make_gettext_pair(minetest.get_current_modname())
else
-- Old method using text files.
S = intllib.Getter(minetest.get_current_modname())
end
else
S = function ( s ) return s end
end