From f51416915c26a3dd1a67a2bd422541fec4b45f16 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 24 Sep 2015 00:56:29 +0300 Subject: lang: fix translation script with new npcs format. --- lang/updatelang.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lang/updatelang.py') 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[^\"]+)[\"]") strre3 = re.compile("[\t +(]getitemlink[(][\"](?P[^\"]+)[\"][)]") -strre2 = re.compile("^[^/](.+)([^\t]+)[\t](script|shop)[\t](?P[^\t]+)[\t]([\d]+),") +strre2 = re.compile("^[^/](.+)([^\t]+)[\t](script|shop)[\t](?P[^\t]+)[\t]([\w\d]+),") strre4 = re.compile("[\t +(]lg[(][\"](?P[^\"]+)[\"][)]") strre5 = re.compile("[\t +(]getitemname[(][\"](?P[^\"]+)[\"][)]") strre6 = re.compile("[\t ]mesn[ ][\"](?P[^\"]+)[\"]") -- cgit v1.2.3-70-g09d2