forked from nalc/awards
Update to new intllib API.
This commit is contained in:
committed by
rubenwardy
parent
7fd56ac3d0
commit
1049280eeb
@ -14,12 +14,7 @@
|
||||
-- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
--
|
||||
|
||||
local S
|
||||
if minetest.get_modpath("intllib") then
|
||||
S = intllib.Getter()
|
||||
else
|
||||
S = function ( s ) return s end
|
||||
end
|
||||
local S = awards.gettext
|
||||
|
||||
minetest.register_chatcommand("awards", {
|
||||
params = S("[c|clear|disable|enable]"),
|
||||
|
Reference in New Issue
Block a user