summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorBasil <basil@miranda-ng.org>2013-02-26 09:35:02 +0000
committerBasil <basil@miranda-ng.org>2013-02-26 09:35:02 +0000
commitfa455bcef176b1c777669a7c600ee9ccb3660273 (patch)
tree6784a0fc8dea1670236cd36c0878fed3c507e40e /tools
parent9c4928583627025821e92541fa8b73f277c6fc38 (diff)
more correct log output in case of /plugin:"/path/to/english/templateplugin.txt" command line parameter specified.
git-svn-id: http://svn.miranda-ng.org/main/trunk@3776 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'tools')
-rw-r--r--tools/lpgen/translate.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/lpgen/translate.js b/tools/lpgen/translate.js
index bddfe8b5a0..bdaa17fa7a 100644
--- a/tools/lpgen/translate.js
+++ b/tools/lpgen/translate.js
@@ -119,9 +119,12 @@ if (WScript.Arguments.Named.Item("plugin")) {
TranslateTemplateFile(WScript.Arguments.Named.Item("plugin"),cmdline_file_array,cmdline_untranslated_array);
//Output results to scriptpath folder.
WriteToUnicodeFile(cmdline_file_array,traslated_cmdline_file);
+ if (log) WScript.Echo("Translated file: "+traslated_cmdline_file);
//if there is something untranslated in cmdline_untranslated_array, output to file
- if (cmdline_untranslated_array.length>0) WriteToUnicodeFile(cmdline_untranslated_array,untranslated_cmdline_file);
- if (log) WScript.Echo("files here:\r\n"+traslated_cmdline_file+"\r\n"+untranslated_cmdline_file);
+ if (cmdline_untranslated_array.length>0) {
+ WriteToUnicodeFile(cmdline_untranslated_array,untranslated_cmdline_file);
+ if (log) WScript.Echo("Untranslated file: "+traslated_cmdline_file);
+ }
//We are done, quit.
WScript.Quit();
}