summaryrefslogtreecommitdiff
path: root/tools/lpgen
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2013-07-08 14:33:03 +0000
committerRobert Pösel <robyer@seznam.cz>2013-07-08 14:33:03 +0000
commit6ca6109bae7413647a8478a32e62fb8b798633a9 (patch)
tree3da34b2ad768206f74208c365e6fe522a99ddec0 /tools/lpgen
parent7b97ff0f271a8b72529711afa49e7730db564713 (diff)
lpgen: garbage filter update.
Popup and Tlen: translation fix. English langpack update. git-svn-id: http://svn.miranda-ng.org/main/trunk@5280 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'tools/lpgen')
-rw-r--r--tools/lpgen/lpgen.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lpgen/lpgen.js b/tools/lpgen/lpgen.js
index 8bc89a6509..05bcf289a2 100644
--- a/tools/lpgen/lpgen.js
+++ b/tools/lpgen/lpgen.js
@@ -419,7 +419,7 @@ function ParseRCFile(FileTextVar,array) {
//now make a job, till end of matching regexp
while ((string = find.exec(FileTextVar)) != null) {
// check for some garbage like "List1","Tab1" etc. in *.rc files, we do not need this.
- onestring=string[2].replace(/^((List|Tab|Tree|Spin|Custom|Slider|DateTimePicker|Radio|Check|HotKey|Progress)\d)|(whiterect)$/g,"");
+ onestring=string[2].replace(/^(((List|Tab|Tree|Spin|Custom|Slider|DateTimePicker|Radio|Check|HotKey|Progress)\d)|(whiterect)|(%.(.*%)?))$/g,"");
// ignore some popup menu craps
if (string[1]=="POPUP" && onestring.match(/^([a-zA-Z ]*(menu|context|popup))|([A-Z][a-z]+([A-Z][a-z]*)+)|(new item)$/g))
continue;