From 8b6f18b97aa8465aec439b9182f67d786ae25ae4 Mon Sep 17 00:00:00 2001 From: Basil Date: Fri, 8 Feb 2013 06:31:35 +0000 Subject: 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 --- tools/lpgen/lpgen.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- cgit v1.2.3