summaryrefslogtreecommitdiff
path: root/lang/updatelang.py
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-09-24 00:56:29 +0300
committerAndrei Karas <akaras@inbox.ru>2015-09-24 00:56:29 +0300
commitf51416915c26a3dd1a67a2bd422541fec4b45f16 (patch)
treee7554788c93d81ae7b0d89f1eb153644fd77d8d3 /lang/updatelang.py
parent551261e4aa47d9e4baa9396e20f503b9fc75680a (diff)
downloadtools-f51416915c26a3dd1a67a2bd422541fec4b45f16.tar.gz
tools-f51416915c26a3dd1a67a2bd422541fec4b45f16.tar.bz2
tools-f51416915c26a3dd1a67a2bd422541fec4b45f16.tar.xz
tools-f51416915c26a3dd1a67a2bd422541fec4b45f16.zip
lang: fix translation script with new npcs format.
Diffstat (limited to 'lang/updatelang.py')
-rwxr-xr-xlang/updatelang.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/updatelang.py b/lang/updatelang.py
index 2c0a803..2a5efb6 100755
--- a/lang/updatelang.py
+++ b/lang/updatelang.py
@@ -14,7 +14,7 @@ allStrings = set()
strComments = dict()
strre1 = re.compile("[\t +(]l[(][\"](?P<str>[^\"]+)[\"]")
strre3 = re.compile("[\t +(]getitemlink[(][\"](?P<str>[^\"]+)[\"][)]")
-strre2 = re.compile("^[^/](.+)([^\t]+)[\t](script|shop)[\t](?P<str>[^\t]+)[\t]([\d]+),")
+strre2 = re.compile("^[^/](.+)([^\t]+)[\t](script|shop)[\t](?P<str>[^\t]+)[\t]([\w\d]+),")
strre4 = re.compile("[\t +(]lg[(][\"](?P<str>[^\"]+)[\"][)]")
strre5 = re.compile("[\t +(]getitemname[(][\"](?P<str>[^\"]+)[\"][)]")
strre6 = re.compile("[\t ]mesn[ ][\"](?P<str>[^\"]+)[\"]")