summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorShadowNinja <shadowninja@minetest.net>2015-02-01 18:10:09 -0500
committerShadowNinja <shadowninja@minetest.net>2015-02-01 18:10:09 -0500
commit4404c4071cddfd7c30b2420be54d184067797482 (patch)
treed555b2fe6773e8216d811ef95833f18e3cc2d3d4 /tools
parentc4335aa3dca1d568167adcf13ec1285b76f25a9a (diff)
Add numbered insertions
Diffstat (limited to 'tools')
-rwxr-xr-xtools/findtext.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/findtext.lua b/tools/findtext.lua
index 63137e0..b6360cb 100755
--- a/tools/findtext.lua
+++ b/tools/findtext.lua
@@ -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