diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2014-04-11 06:38:41 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2014-04-11 06:38:41 +0000 |
commit | d88a320f94a73837bb7c84c747f3f2bb581251a0 (patch) | |
tree | 97ccf3fb1b611c3ca84d7ca5aa9b4982a5c03620 /tools | |
parent | 7e41e89c5828dfa5bbddc4a779ae501d453821bb (diff) |
one more filters fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@8945 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'tools')
-rw-r--r-- | tools/lpgen/lpgen.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/lpgen/lpgen.js b/tools/lpgen/lpgen.js index 69659018b9..c6dffb5581 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|IndSndList|&?[Oo][Kk]|ICQ|Jabber|WhatsApp|&\w)|(%.(.*%)?))$/g,"");
+ onestring=string[2].replace(/^(((List|Tab|Tree|Spin|Custom|Slider|DateTimePicker|Radio|Check|HotKey|Progress)\d)|(whiterect|IndSndList|&?[Oo][Kk]|ICQ|Jabber|WhatsApp|OSD|&\w)|(%.(.*%)?))$/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;
@@ -463,7 +463,7 @@ function ParseSourceFile (FileTextVar,array) { //filter _T() function results
function filter_T(string) {
//filter for exact matched strings
-var filter1=/^(&?[Oo][Kk]|ICQ|Jabber|WhatsApp)$/g;
+var filter1=/^(&?[Oo][Kk]|ICQ|Jabber|WhatsApp|OSD)$/g;
//filter string starting from following words
var filter2=/^(SOFTWARE\\|SYSTEM\\|http|ftp|UTF-|utf-|TEXT|EXE|exe|txt|css|html|dat[^a]|txt|MS\x20|CLVM|TM_|CLCB|CLSID|CLUI|HKEY_|MButton|BUTTON|WindowClass|MHeader|RichEdit|RICHEDIT|STATIC|EDIT|CList|listbox|LISTBOX|combobox|COMBOBOX|TitleB|std\w|iso-|windows-|<div|<html|<img|<span|<hr|<a\x20|<table|<td|miranda_|kernel32|user32|muc|pubsub|shlwapi|Tahoma|NBRichEdit|CreatePopup|&?[Oo][Kk]|<\/|<\w>|\w\\\w|urn\:|<\?xml|<\!|h\d|\.!\.).*$/g;
//filter string ending with following words
|