Update translator system

master
Wuzzy 2021-01-14 13:28:45 +01:00
parent 4f3b075b60
commit 9db2760976
6 changed files with 8 additions and 13 deletions

View File

@ -1,2 +0,0 @@
sfinv
intllib?

View File

@ -1,10 +1,4 @@
-- Boilerplate to support localized strings if intllib mod is installed.
local S
if minetest.get_modpath("intllib") then
S = intllib.Getter()
else
S = function(s) return s end
end
local S = minetest.get_translator("sfinv_buttons")
local buttons = {}
local button_names_sorted = {}

View File

@ -1,2 +0,0 @@
More = Mehr
Go = Los

View File

@ -0,0 +1,3 @@
# textdomain: sfinv_buttons
More=Mehr
Go=Los

View File

@ -1,2 +1,3 @@
More =
Go =
# textdomain: sfinv_buttons
More=
Go=

View File

@ -1 +1,2 @@
name = sfinv_buttons
depends = sfinv