fix missed adjustments for MT5 game translation

This commit is contained in:
Alexander Weber 2020-01-08 08:00:44 +01:00
parent fa92207f14
commit e5714f272c
9 changed files with 79 additions and 79 deletions

View File

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

View File

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

View File

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

View File

@ -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 = {}