mirror of
https://github.com/minetest-mods/skinsdb.git
synced 2024-11-16 23:20:17 +01:00
Merge branch 'master' into contentdb
This commit is contained in:
commit
04b43a5969
3
init.lua
3
init.lua
|
@ -8,9 +8,6 @@ skins = {}
|
|||
skins.modpath = minetest.get_modpath(minetest.get_current_modname())
|
||||
skins.default = "character"
|
||||
|
||||
local S = minetest.get_translator("skinsdb")
|
||||
print("Translator:", dump(S))
|
||||
|
||||
dofile(skins.modpath.."/skin_meta_api.lua")
|
||||
dofile(skins.modpath.."/api.lua")
|
||||
dofile(skins.modpath.."/skinlist.lua")
|
||||
|
|
|
@ -15,3 +15,4 @@ see /help skinsdb for supported parameters=Lese /help für erlaubte Parameter
|
|||
skin set to=Skin ist jetzt
|
||||
invalid skin=unbekannter Skin
|
||||
unknown parameter=unbekannter Parameter
|
||||
Skins=Aussehen
|
||||
|
|
|
@ -15,3 +15,4 @@ skin set to=
|
|||
invalid skin=
|
||||
unknown parameter=
|
||||
unknown skin=
|
||||
Skins=
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
local S = skins.S
|
||||
local S = minetest.get_translator("skinsdb")
|
||||
|
||||
-- generate the current formspec
|
||||
local function get_formspec(player, context)
|
||||
|
@ -9,7 +9,7 @@ local function get_formspec(player, context)
|
|||
end
|
||||
|
||||
sfinv.register_page("skins:overview", {
|
||||
title = "Skins",
|
||||
title = S("Skins"),
|
||||
get = function(self, player, context)
|
||||
-- collect skins data
|
||||
return sfinv.make_formspec(player, context, get_formspec(player, context))
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
local S = skins.S
|
||||
local S = minetest.get_translator("skinsdb")
|
||||
|
||||
unified_inventory.register_page("skins", {
|
||||
get_formspec = function(player)
|
||||
|
|
Loading…
Reference in New Issue
Block a user