summaryrefslogtreecommitdiff
path: root/lang/updatelang.py
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-01-12 00:53:13 +0300
committerAndrei Karas <akaras@inbox.ru>2012-01-12 00:53:13 +0300
commit315ce8f31fef26a5980456d5a2dd6c34f781fec7 (patch)
treeeb438f4b5c9bf231ec623a1cda906dc0e7512ed4 /lang/updatelang.py
parent362b80311bd339eea5338ea220b62f745f29f774 (diff)
downloadevol-tools-315ce8f31fef26a5980456d5a2dd6c34f781fec7.tar.gz
evol-tools-315ce8f31fef26a5980456d5a2dd6c34f781fec7.tar.bz2
evol-tools-315ce8f31fef26a5980456d5a2dd6c34f781fec7.tar.xz
evol-tools-315ce8f31fef26a5980456d5a2dd6c34f781fec7.zip
lang: Fix for lg() parser. Now it write to lang file two strings with #0 and #1.
Diffstat (limited to 'lang/updatelang.py')
-rwxr-xr-xlang/updatelang.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/updatelang.py b/lang/updatelang.py
index 5d49527..9fd1459 100755
--- a/lang/updatelang.py
+++ b/lang/updatelang.py
@@ -42,7 +42,8 @@ def collectStrings(parentDir):
m = strre4.findall(line)
if len(m) > 0:
for str in m:
- allStrings.add(str)
+ allStrings.add(str + "#0")
+ allStrings.add(str + "#1")
m = strre2.search(line)
if m is not None:
allStrings.add(m.group("str"))