diff --git a/README.md b/README.md index db54912a..1a48ee43 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ The game includes the mods from the default [minetest_game](https://github.com/m * [jukebox][] ([WTFPL / CC0][lic.jukebox]) -- version: [e6a507f Git][ver.jukebox] *2016-05-23* ***UPDATE*** * [trampoline][] ([GPL][lic.gpl3.0]) -- version: [ab1c289 Git][ver.trampoline] *2017-05-26* * [trash_can][] ([MIT][lic.trash_can]) -- version: [5fd3df7 Git][ver.trash_can] *2016-01-14* ([patched][patch.trash_can]) -* [intllib][] ([Unilicense][lic.unilicense]) -- version: [49e965d Git][ver.intllib] *2017-05-15* ([patched][patch.intllib]) ***UPDATE*** +* [intllib][] ([Unilicense][lic.unilicense]) -- version: [d01a9c6 Git][ver.intllib] *2017-07-08* ([patched][patch.intllib]) * inventory/ * [bags][] ([BSD 3-Clause][lic.bags]) -- version: [f17d829 Git][ver.bags] *2015-10-11* ([patched][patch.bags]) * [inventory_plus][] ([BSD 3-Clause][lic.inventory_plus]) -- version: [fd71e3d Git][ver.inventory_plus] *2016-05-13* @@ -460,7 +460,7 @@ The game includes the mods from the default [minetest_game](https://github.com/m [ver.hudbars]: http://repo.or.cz/minetest_hudbars.git/tree/bd0641a [ver.hudmap]: https://github.com/stujones11/hudmap/tree/09d40f3 [ver.ilights]: https://github.com/minetest-mods/ilights/tree/7060243 -[ver.intllib]: https://github.com/minetest-mods/intllib/tree/49e965d +[ver.intllib]: https://github.com/minetest-mods/intllib/tree/d01a9c6 [ver.inventory_plus]: https://github.com/cornernote/minetest-inventory_plus/tree/fd71e3d [ver.invisibility]: https://github.com/tenplus1/invisibility/tree/bf4156b [ver.jukebox]: https://github.com/minetest-mods/jukebox/tree/e6a507f @@ -556,7 +556,7 @@ The game includes the mods from the default [minetest_game](https://github.com/m [patch.hud]: https://github.com/AntumMT/mod-hud/tree/6846e20 [patch.hudbars]: https://github.com/AntumMT/mod-hudbars/tree/9ca4f6b [patch.ilights]: https://github.com/AntumMT/mod-ilights/tree/d7f4f7e -[patch.intllib]: https://github.com/AntumMT/mod-intllib/tree/edea599 +[patch.intllib]: https://github.com/AntumMT/mod-intllib/tree/4c91cc6 [patch.invisibility]: https://github.com/AntumMT/mod-invisibility/tree/f045c7c [patch.mesecons]: https://github.com/AntumMT/mp-mesecons/tree/830823a [patch.minetest_game]: https://github.com/AntumMT/mtgame-minetest/tree/4275126 diff --git a/mods/intllib/init.lua b/mods/intllib/init.lua index a7de1003..0778a736 100644 --- a/mods/intllib/init.lua +++ b/mods/intllib/init.lua @@ -65,7 +65,12 @@ end function intllib.Getter(modname) - return intllib.make_gettext_pair(modname) + local info = debug and debug.getinfo and debug.getinfo(2) + local loc = info and info.short_src..":"..info.currentline + minetest.log("deprecated", "intllib.Getter is deprecated." + .." Please use intllib.make_gettext_pair instead." + ..(info and " (called from "..loc..")" or "")) + return Getter(modname) end