diff options
author | Basil <basil@miranda-ng.org> | 2013-01-28 11:53:17 +0000 |
---|---|---|
committer | Basil <basil@miranda-ng.org> | 2013-01-28 11:53:17 +0000 |
commit | a632a88d91b062a702c49c86f44be68712e86ff2 (patch) | |
tree | 0ea5ee09b05580b9df551d4b811aa667fb33460e /tools/lpgen | |
parent | 2a92d9277758c65f03b5639a2bc03d29be689c5e (diff) |
CAPTION in *.rc files wasn't parsed, because of wrong RexExp.
git-svn-id: http://svn.miranda-ng.org/main/trunk@3319 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'tools/lpgen')
-rw-r--r-- | tools/lpgen/lpgen.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lpgen/lpgen.js b/tools/lpgen/lpgen.js index 00e5694196..4d4f73c785 100644 --- a/tools/lpgen/lpgen.js +++ b/tools/lpgen/lpgen.js @@ -402,7 +402,7 @@ function ParseRCFile(RC_File,array) { //read on line into rcline
rcline=RC_File_stream.ReadLine();
//find string to translate in rcline by regexp
- regexpstring=rcline.match(/\s*(?:CONTROL|(?:DEF)?PUSHBUTTON|[LRC]TEXT|GROUPBOX|CAPTION|MENUITEM|POPUP)\s*\"([^\"]+(\"\")?[^\"]*(\"\")?[^\"]*)\"\,/);
+ regexpstring=rcline.match(/\s*(?:CONTROL|(?:DEF)?PUSHBUTTON|[LRC]TEXT|GROUPBOX|CAPTION|MENUITEM|POPUP)\s*\"([^\"]+(\"\")?[^\"]*(\"\")?[^\"]*)\"\,?/);
// if exist regexpstring, do checks, double "" removal and add strings to array
if (regexpstring) {
|