remove intllib

This commit is contained in:
tenplus1 2023-08-08 17:24:01 +01:00
parent 9aa1d1dac8
commit 5544e8e20f
5 changed files with 2 additions and 19 deletions

View File

@ -1,3 +0,0 @@
default
intllib?
lucky_block?

View File

@ -1 +0,0 @@
Adds hoppers to transport items between chests/furnace etc.

View File

@ -8,8 +8,6 @@ local S
if minetest.get_translator then
S = minetest.get_translator("hopper")
elseif minetest.get_modpath("intllib") then
S = intllib.Getter()
else
S = function(s, a, ...) a = {a, ...}
return s:gsub("@(%d+)", function(n)
@ -21,7 +19,7 @@ end
-- creative check
local creative_mode_cache = minetest.settings:get_bool("creative_mode")
function check_creative(name)
local function check_creative(name)
return creative_mode_cache or minetest.check_player_privs(name, {creative = true})
end

View File

@ -1,11 +0,0 @@
# Template for translations of hopper mod
# German translation by Xanthin
# last update: 1st February 2017
#init.lua
[MOD] Hopper loaded = [MOD] Trichter geladen
Hopper (Place onto sides for side-hopper) = Trichter (für Seitentrichter an den Seiten platzieren)
Side Hopper (Place into crafting to return normal Hopper) = Seitentrichter (in Fertigungsraster legen, um normalen Trichter zu erhalten)
@1 moves stuff in hopper at @2 = @1 bewegt Dinge in einem Trichter bei @2
@1 moves stuff to hopper at @2 = @1 verlagert Dinge in einen Trichter bei @2
@1 moves stuff from hopper at @2 = @1 nimmt Dinge aus einem Trichter bei @2

View File

@ -1,4 +1,4 @@
name = hopper
depends = default
optional_depends = intllib, lucky_block
optional_depends = lucky_block
description = Adds hoppers to transport items between chests/furnace etc.