diff options
author | Basil <basil@miranda-ng.org> | 2013-02-08 06:31:35 +0000 |
---|---|---|
committer | Basil <basil@miranda-ng.org> | 2013-02-08 06:31:35 +0000 |
commit | 8b6f18b97aa8465aec439b9182f67d786ae25ae4 (patch) | |
tree | 11a5bfe77f65c69e3c395997457bba6e4506ed35 | |
parent | 7a58165c7cac595d416860b148406fba05b46188 (diff) |
AUTOCHECKBOX and CHECKBOX translation lines now parsed in *.rc files.
git-svn-id: http://svn.miranda-ng.org/main/trunk@3464 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-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 034ce490f4..e9942424ac 100644 --- a/tools/lpgen/lpgen.js +++ b/tools/lpgen/lpgen.js @@ -421,7 +421,7 @@ function ParseRCFile(RC_File,array) { //read on line into rcline
rcline=RC_File_stream.ReadLine();
//find string to translate in rcline by regexp
- rc_regexp=rcline.match(/\s*(?:CONTROL|(?:DEF)?PUSHBUTTON|[LRC]TEXT|AUTORADIOBUTTON|GROUPBOX|CAPTION|MENUITEM|POPUP)\s*"((?:(?:""[^"]+?"")*[^"]*?)*)"(,|$)/);
+ rc_regexp=rcline.match(/\s*(?:CONTROL|(?:DEF)?PUSHBUTTON|[LRC]TEXT|AUTORADIOBUTTON|GROUPBOX|(?:AUTO)CHECKBOX|CAPTION|MENUITEM|POPUP)\s*"((?:(?:""[^"]+?"")*[^"]*?)*)"(,|$)/);
// if exist rc_regexp, do checks, double "" removal and add strings into array
if (rc_regexp) {
// check for some garbage like "List1","Tab1" etc. in *.rc files, we do not need this.
|