diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-09-24 00:56:29 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-09-24 00:56:29 +0300 |
commit | f51416915c26a3dd1a67a2bd422541fec4b45f16 (patch) | |
tree | e7554788c93d81ae7b0d89f1eb153644fd77d8d3 /lang | |
parent | 551261e4aa47d9e4baa9396e20f503b9fc75680a (diff) | |
download | evol-tools-f51416915c26a3dd1a67a2bd422541fec4b45f16.tar.gz evol-tools-f51416915c26a3dd1a67a2bd422541fec4b45f16.tar.bz2 evol-tools-f51416915c26a3dd1a67a2bd422541fec4b45f16.tar.xz evol-tools-f51416915c26a3dd1a67a2bd422541fec4b45f16.zip |
lang: fix translation script with new npcs format.
Diffstat (limited to 'lang')
-rwxr-xr-x | lang/updatelang.py | 2 |
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>[^\"]+)[\"]") |