mirror of
https://github.com/minetest-mods/skinsdb.git
synced 2024-12-23 07:50:18 +01:00
fix missed adjustments for MT5 game translation
This commit is contained in:
parent
fa92207f14
commit
e5714f272c
@ -1,4 +1,4 @@
|
|||||||
local S = skins.S
|
local S = minetest.get_translator("skinsdb")
|
||||||
|
|
||||||
local function show_selection_formspec(player)
|
local function show_selection_formspec(player)
|
||||||
local context = skins.get_formspec_context(player)
|
local context = skins.get_formspec_context(player)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
local S = skins.S
|
local S = minetest.get_translator("skinsdb")
|
||||||
|
|
||||||
function skins.get_formspec_context(player)
|
function skins.get_formspec_context(player)
|
||||||
if player then
|
if player then
|
||||||
|
2
init.lua
2
init.lua
@ -3,13 +3,13 @@
|
|||||||
-- Copyright (c) 2012 cornernote, Dean Montgomery
|
-- Copyright (c) 2012 cornernote, Dean Montgomery
|
||||||
-- Rework 2017 by bell07
|
-- Rework 2017 by bell07
|
||||||
-- License: GPLv3
|
-- License: GPLv3
|
||||||
-- Boilerplate to support localized strings if intllib mod is installed.
|
|
||||||
|
|
||||||
skins = {}
|
skins = {}
|
||||||
skins.modpath = minetest.get_modpath(minetest.get_current_modname())
|
skins.modpath = minetest.get_modpath(minetest.get_current_modname())
|
||||||
skins.default = "character"
|
skins.default = "character"
|
||||||
|
|
||||||
local S = minetest.get_translator("skinsdb")
|
local S = minetest.get_translator("skinsdb")
|
||||||
|
print("Translator:", dump(S))
|
||||||
|
|
||||||
dofile(skins.modpath.."/skin_meta_api.lua")
|
dofile(skins.modpath.."/skin_meta_api.lua")
|
||||||
dofile(skins.modpath.."/api.lua")
|
dofile(skins.modpath.."/api.lua")
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
-- Skins update script
|
-- Skins update script
|
||||||
|
|
||||||
local S = skins.S
|
local S = minetest.get_translator("skinsdb")
|
||||||
local _ID_ = "Lua Skins Updater"
|
local _ID_ = "Lua Skins Updater"
|
||||||
|
|
||||||
local internal = {}
|
local internal = {}
|
||||||
|
Loading…
Reference in New Issue
Block a user