1
0
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:
MoNTE48
2021-11-25 21:01:05 +01:00
parent 18051c638f
commit b8721f7bd6
8 changed files with 22 additions and 37 deletions

View File

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