mirror of
https://github.com/minetest-mods/intllib.git
synced 2025-01-23 16:30:18 +01:00
this … what was it good for?
…
This commit is contained in:
parent
d974117fe7
commit
4db867fa7e
2
init.lua
2
init.lua
@ -23,7 +23,7 @@ local insertion_pattern = "("..INS_CHAR.."?)"..INS_CHAR.."(%(?)(%d+)(%)?)"
|
|||||||
local function make_getter(msgstrs)
|
local function make_getter(msgstrs)
|
||||||
return function(s, ...)
|
return function(s, ...)
|
||||||
local str
|
local str
|
||||||
if strs then
|
if rawget(_G, "strs") then
|
||||||
str = msgstrs[s]
|
str = msgstrs[s]
|
||||||
end
|
end
|
||||||
if not str or str == "" then
|
if not str or str == "" then
|
||||||
|
Loading…
Reference in New Issue
Block a user