1
0
mirror of https://github.com/minetest-mods/intllib.git synced 2025-06-28 14:16:05 +02:00

Add numbered insertions

This commit is contained in:
ShadowNinja
2015-02-01 18:10:09 -05:00
parent c4335aa3dc
commit 4404c4071c
4 changed files with 71 additions and 26 deletions

View File

@ -109,7 +109,7 @@ for _, file in ipairs(inputs) do
local infile, e = io.open(file, "r")
if infile then
for line in infile:lines() do
for s in line:gmatch('S%("([^"]*)"%)') do
for s in line:gmatch('S%("([^"]*)"') do
table.insert(messages, s)
end
end