summaryrefslogtreecommitdiff
path: root/tools/lpgen
AgeCommit message (Collapse)Author
2013-09-16now handles /")Goraf
git-svn-id: http://svn.miranda-ng.org/main/trunk@6099 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-09-10ooopsVadim Dashevskiy
git-svn-id: http://svn.miranda-ng.org/main/trunk@6044 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-09-10- Old stuff moved to deprecatedVadim Dashevskiy
git-svn-id: http://svn.miranda-ng.org/main/trunk@6039 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-09-08Refactored installing langpacks generated with Refresher.bat scriptRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@6017 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-09-08Typo in refresher.batRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@6015 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-07-15Langpack refresher: Use standard command for deleting files/foldersRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@5365 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-07-11Langpack refresher: Use new /release parameterRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@5328 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-07-11fixed /release parameter removing a MUUID and plugin headBasil
git-svn-id: http://svn.miranda-ng.org/main/trunk@5327 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-07-11forgot init variable release :)Basil
git-svn-id: http://svn.miranda-ng.org/main/trunk@5325 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-07-11* /release:"/path/to/file" parameter added. Same behavior as /outfile, but ↵Basil
output a "clean" langpack file, without references to source code files and without untranslated strings. You can combine /outfile and /release in same time. * file output generation altered. If you didn't specify /out parameter, do not output translated_*.txt files into /langpacks/english/ folder * slight comments cleaned git-svn-id: http://svn.miranda-ng.org/main/trunk@5324 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-07-10Windows line-endings for refresher scripts.Robert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@5311 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-07-10Refresher: fixed forgotten czech parameter (thanks Wishmaster)Robert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@5310 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-07-09Langpack Refresher: Update to fit latest translate.jsRobert Pösel
Czech langpacks: Added weather translations, Slovnicek.txt and updated Refresh.bat script git-svn-id: http://svn.miranda-ng.org/main/trunk@5297 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-07-09output log of missing file only if logging enabled via /log:"yes"Basil
git-svn-id: http://svn.miranda-ng.org/main/trunk@5296 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-07-09* now respect a translated ./weather/somesite.ini files during translation, ↵Basil
thanks Robier for problem report. * /core switch deprecated, use /path instead * /path parameter behavior altered. Now script try to find files =CORE=.txt, =DUPES=.txt and subfolders .\Plugins & .\Weather in /path:"/path/to/folder". It's very same as /sourcelang parameter, however, langpack_%somelang% aren't checked. You can still specify /dupes param and /langpack param if need. Testing still required :) git-svn-id: http://svn.miranda-ng.org/main/trunk@5295 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-07-09* =HEAD=.txt added to full langpack file, if exist.Basil
git-svn-id: http://svn.miranda-ng.org/main/trunk@5292 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-07-09* Weather folder supportBasil
* Weather.ini files translation goes directly after weather plugin translation in full langpack file * Subfolders created automatically for /out parameter * Untranslated folder created automatically (one-level only, in other words, with /untranslated:"/path/to/untranslated", folder /path/to have to be existed, "untranslated" will be created inside /path/to) ATTENTION: now for /out parameter you need specify a upper-level folder, not "plugins" as before. In other words, with /out:"path/to/folder" a folder with name "folder" will be created in /path/to as well as subfolders /path/to/folder/Plugins and /path/to/folder/Weather will be created too. Careful testing needed :) git-svn-id: http://svn.miranda-ng.org/main/trunk@5291 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-07-08lpgen: garbage filter update.Robert Pösel
Popup and Tlen: translation fix. English langpack update. git-svn-id: http://svn.miranda-ng.org/main/trunk@5280 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-07-08translate.js: Fixed processing files with unix line-endings (like Russian ↵Robert Pösel
langpack) git-svn-id: http://svn.miranda-ng.org/main/trunk@5270 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-07-08Fix for doubled ";Version" string for some plugins.Basil
git-svn-id: http://svn.miranda-ng.org/main/trunk@5265 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-07-08translate.js: fix for translations beginning with [ (thanks BasiL)Robert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@5264 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-07-07lpgen: Improved popup filter.Robert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@5252 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-06-27lpgen: for input files use ansi locale instead of OS defaultRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@5144 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-06-25one more lpgen fixRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@5134 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-06-25fix for previous commitRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@5132 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-06-25Lpgen: Added few more crap filtering for rc files.Robert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@5131 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-06-19Langpack refresher fix.Robert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@5040 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-06-19More advanced version of Langpack Refresher. For your langpack usage look at ↵Robert Pösel
langpacks/czech/Refresh.bat script. git-svn-id: http://svn.miranda-ng.org/main/trunk@5038 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-06-19Langpack refresher: Few more comments.Robert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@5037 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-06-19For *.rc files we have a "garbage filter" in another function.Basil
"filter" variables are for filtering garbage in source files only. git-svn-id: http://svn.miranda-ng.org/main/trunk@5034 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-06-18Added universal version of Langpack Refresher script.Robert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@5027 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-06-18lpgen: Added few more crap words. But this test2 doesn't seem to work at ↵Robert Pösel
all... Basil? git-svn-id: http://svn.miranda-ng.org/main/trunk@5019 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-05-22- lpgen.js.bat updatedVadim Dashevskiy
git-svn-id: http://svn.miranda-ng.org/main/trunk@4796 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-05-22lpgen.js: Commented putting "Language pack version" line into =CORE=.txtRobert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@4794 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-05-19translate.js: Fixed rewriting ==CORE== file with untranslated ==CORE== file ↵Robert Pösel
when set /untranslated parameter. git-svn-id: http://svn.miranda-ng.org/main/trunk@4737 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-03-23because translate.js have so many switches, I'm too lazy specify em every ↵Basil
time, I have add a new switch /sourcelang:"language". This switch can replace four long switches: /core, /dupes, /path, /langpack. In other words, /sourcelang:"Russian" are equal to: /path:"..\..\langpacks\Russian\Plugins" /core:"..\..\langpacks\Russian\=CORE=.txt" /dupes:"..\..\langpacks\Russian\=DUPES=.txt" /langpack:"..\..\langpacks\russian\Langpack_Russian.txt" git-svn-id: http://svn.miranda-ng.org/main/trunk@4166 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-03-21path to sln file moved to vars.Basil
git-svn-id: http://svn.miranda-ng.org/main/trunk@4141 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-03-13more precise RegExp for dictionary building.Basil
git-svn-id: http://svn.miranda-ng.org/main/trunk@3990 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-03-11remove trailing slashes from end of string. Useful for tree itemsBasil
git-svn-id: http://svn.miranda-ng.org/main/trunk@3974 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-02-26libcurl added into unneeded modulesBasil
git-svn-id: http://svn.miranda-ng.org/main/trunk@3781 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-02-26more precise building a translation dictionary. Now source translated files ↵Basil
ignores a string, which have a newline after [somestring], thus somestring are untranslated (removes CR unix-style newline symbol in translated file and add a [somestring] to untranslated file) git-svn-id: http://svn.miranda-ng.org/main/trunk@3777 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-02-26more correct log output in case of ↵Basil
/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
2013-02-22By Wishmaster request, translate.js now output =CORE=.txt not to ↵Basil
/out:"/path/to/folder", but one level upper. Thus, now you need specify /out:"/path/plugins" and /untranslated:"/path/plugins" to get same folder structure, as /langpacks/german have now: \langpacks\german\=CORE=.txt \langpacks\german\Plugins\*.txt \langpacks\german\Untranslated\=CORE=.txt \langpacks\german\Untranslated\Plugins\*.txt git-svn-id: http://svn.miranda-ng.org/main/trunk@3688 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-02-22LPGENW() function added to source-code parserBasil
git-svn-id: http://svn.miranda-ng.org/main/trunk@3686 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-02-22do not expect a translated string ends not with "]"Basil
git-svn-id: http://svn.miranda-ng.org/main/trunk@3685 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-02-21translate.js with option /noref:"yes" will remove a line "Miranda Language ↵Basil
Pack Version 1" from =CORE=.txt for correct processing of translated files with LangpackSuite git-svn-id: http://svn.miranda-ng.org/main/trunk@3661 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-02-21code refactoring, replace file reading routines with function ReadFile(file)Basil
git-svn-id: http://svn.miranda-ng.org/main/trunk@3659 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-02-21code refactoring, move reading file and removing comments from code into ↵Basil
function ReadFile(file) git-svn-id: http://svn.miranda-ng.org/main/trunk@3658 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-02-21new *.rc parsing engine, now multi-line.Basil
More correct results, multi-line comments are skipped. git-svn-id: http://svn.miranda-ng.org/main/trunk@3657 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-02-20- additional removal of comments from source code. Many useless lines now ↵Basil
not included into templates. new RC engine with same behavior will be ready soon. git-svn-id: http://svn.miranda-ng.org/main/trunk@3648 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c