summaryrefslogtreecommitdiff
path: root/tools/lpgen/translate.js
AgeCommit message (Collapse)Author
2013-02-19translate.js now more flexible with output files. You can specify ↵Basil
/untranslated:"/path/to/folder/" to output untranslated strings of core\plugin. Specifying /untranslated:"yes" will work as before - output untranslated_*.txt to /out:"/path/to/folder" or /english/plugins/ if /out omitted. Moreover, if /out and /outfile specified in same time, both templates and final langpack file will output. Thus, now you can output translated templates into one /out:"/path", /untranslated:"/into/another/path" and full langpack into /outfile:"/path/to/Langpack_file.txt" in the same time. Running without /out /outfile and /untranslated will generate translated_* in /english/plugins/ git-svn-id: http://svn.miranda-ng.org/main/trunk@3643 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-02-15translate.js - more correct RegExp for build a translation dictionary. ↵Basil
Solves the issue with duplicated english strings when no translation in source file and duplicated ;file link. In other words, string after [somestring] have to start not from "[" and not from ";file" and must ends without "]" git-svn-id: http://svn.miranda-ng.org/main/trunk@3608 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-02-14translate.js now output all files in UTF-8 with BOM. Thanks wishmaster for hintBasil
git-svn-id: http://svn.miranda-ng.org/main/trunk@3598 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-02-08New parameter /untranslated:"yes"Basil
Now you can output to untranslated_%filename%.txt all stings, translation for which wasn't found in any place. git-svn-id: http://svn.miranda-ng.org/main/trunk@3470 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-02-08cosmeticsBasil
git-svn-id: http://svn.miranda-ng.org/main/trunk@3463 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-02-06translate.js new functions:Basil
1) /outfile:"/path/to/full/langpack_language.txt" will output one full langpack file, instead of translated templates from /english/* 2) /noref:"yes" will remove references to source code files (;file /some/path/filename.ext) Thus, combining this two options, you can generate a fresh langpack file, without references, and using current up-to-date templates from /english/ 3) now use Unicode with BOM code for output files, and UTF-8 are expected from translation templates. Moreover, newline symbols in /english/ templates have to be in windows-style (CRLF, \r\n), not any other types :) git-svn-id: http://svn.miranda-ng.org/main/trunk@3449 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-01-30CosmeticsBasil
git-svn-id: http://svn.miranda-ng.org/main/trunk@3359 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-01-28- New /langpack:"/path/file.txt" switch - the 4th place to search for ↵Basil
translation. Now the sequence is: plugins/plugintranslation.txt->DUPES->CORE->FullLangpack - More information in header - Fixed loosing of last translated string in file with translations, new RegExp (\r replaced with $) - New function for output UTF-8 files with BOM (currently disabled, output as is, so if source files are in UTF-8, result files are in UTF-8, but without BOM 3-byte header) git-svn-id: http://svn.miranda-ng.org/main/trunk@3320 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-01-25translate.js - use also different variants of Miranda name for translations ↵Robert Pösel
from old langpacks git-svn-id: http://svn.miranda-ng.org/main/trunk@3288 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-01-25translate.js: fixed working with duplicated translations in core fileRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@3280 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-01-25- log function redesigned as lpgen.jsBasil
- new /out:"/path/to/folder" option. Create a folder and specify to /out:"" key, so you translated files will be stored there, without translated_* prefix and without plugins folder. git-svn-id: http://svn.miranda-ng.org/main/trunk@3279 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-01-14- translate.js updatedVadim Dashevskiy
- LangpackSuite.exe updated git-svn-id: http://svn.miranda-ng.org/main/trunk@3103 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2012-12-26- translate.js updatedVadim Dashevskiy
git-svn-id: http://svn.miranda-ng.org/main/trunk@2850 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2012-11-30- translate.js and translate.js.bat addedVadim Dashevskiy
git-svn-id: http://svn.miranda-ng.org/main/trunk@2563 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c