From 2cfaeb79339df937027cf261a5f10b14d426b3d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Sun, 19 May 2013 15:05:39 +0000 Subject: translate.js: Fixed rewriting ==CORE== file with untranslated ==CORE== file when set /untranslated parameter. git-svn-id: http://svn.miranda-ng.org/main/trunk@4737 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- tools/lpgen/translate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/lpgen/translate.js b/tools/lpgen/translate.js index c7723aa675..ec88980952 100644 --- a/tools/lpgen/translate.js +++ b/tools/lpgen/translate.js @@ -233,7 +233,7 @@ function OutputFiles(TranslatedArray,UntranslatedArray,FileName) { //Write untranslated array into file, if /untranslated specified and there is something in array if (untranslated & UntranslatedArray.length>0) { //redefine Untranslated file path and name, if /untranslated:"/path/plugins" specified and this is not a =CORE=.txt file - if (UnTranslatedPath!="yes" && FileName!="=CORE=.txt") UnTranslatedFile=UnTranslatedPath+"\\"+FileName; + if (UnTranslatedPath!="yes"/* && FileName!="=CORE=.txt"*/) UnTranslatedFile=UnTranslatedPath+"\\"+FileName; if (log) WScript.Echo("Untranslated in: "+UnTranslatedFile); WriteToUnicodeFile(UntranslatedArray,UnTranslatedFile); } -- cgit v1.2.3