mirror of
https://github.com/SmallJoker/exchange_shop.git
synced 2025-07-05 01:30:29 +02:00
Minor changes
This commit is contained in:
7
init.lua
7
init.lua
@ -1,13 +1,10 @@
|
||||
if not minetest.get_translator then
|
||||
error("exchange_shop requires at least Minetest 5.0.0-dev.")
|
||||
end
|
||||
|
||||
exchange_shop = {}
|
||||
exchange_shop.storage_size = 5 * 4
|
||||
exchange_shop.shopname = "exchange_shop:shop"
|
||||
|
||||
-- Internationalisaton
|
||||
exchange_shop.S = minetest.get_translator("exchange_shop")
|
||||
--exchange_shop.S = minetest.get_translator("exchange_shop")
|
||||
exchange_shop.S = intllib.make_gettext_pair()
|
||||
exchange_shop.FS = function(...)
|
||||
return minetest.formspec_escape(exchange_shop.S(...))
|
||||
end
|
||||
|
Reference in New Issue
Block a user