Age | Commit message (Collapse) | Author |
|
git-svn-id: http://svn.miranda-ng.org/main/trunk@3990 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
|
|
git-svn-id: http://svn.miranda-ng.org/main/trunk@3974 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
|
|
git-svn-id: http://svn.miranda-ng.org/main/trunk@3792 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
|
|
git-svn-id: http://svn.miranda-ng.org/main/trunk@3781 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
|
|
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
|
|
/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
|
|
/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
|
|
git-svn-id: http://svn.miranda-ng.org/main/trunk@3686 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
|
|
git-svn-id: http://svn.miranda-ng.org/main/trunk@3685 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
|
|
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
|
|
git-svn-id: http://svn.miranda-ng.org/main/trunk@3659 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
|
|
function ReadFile(file)
git-svn-id: http://svn.miranda-ng.org/main/trunk@3658 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
|
|
More correct results, multi-line comments are skipped.
git-svn-id: http://svn.miranda-ng.org/main/trunk@3657 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
|
|
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
|
|
Unfortunately, rc parsing engine reads *.rc files line-by-line, thus currently ignoring multi-line comments (start with /* and ends with */) not supported.
- typo
git-svn-id: http://svn.miranda-ng.org/main/trunk@3647 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
|
|
/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
|
|
If result does not have any letter, it's a crap. Dozen crap removed from many plugins.
git-svn-id: http://svn.miranda-ng.org/main/trunk@3638 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
|
|
parsing engines.
git-svn-id: http://svn.miranda-ng.org/main/trunk@3630 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
|
|
git-svn-id: http://svn.miranda-ng.org/main/trunk@3623 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
|
|
translation function.
For example, there is a TranslateT(someMSG), first, try to find #define someMSG "sometext", than, if not found define in same file, search ALL SOURCE FILES of current plugin (or CORE) for this #define.
Currently, seldom additional strings founded, but processing speed few times slower, than before.
Sorce code refactoring needed...
git-svn-id: http://svn.miranda-ng.org/main/trunk@3611 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
|
|
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
|
|
git-svn-id: http://svn.miranda-ng.org/main/trunk@3599 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
|
|
git-svn-id: http://svn.miranda-ng.org/main/trunk@3598 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
|
|
git-svn-id: http://svn.miranda-ng.org/main/trunk@3586 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
|
|
- MUUID RegExp altered to new variant of MUUID definition in sources.
- version.h file now aren't searched recursively in plugin folder, but statically tried in root folder, than src\include and in src subfolders. Last match win. This is done because of clist_nicer have a subfodler with skinedit, and two version.h returned by FindFiles() function for clist_nicer.
- description RegExp in version.h updated, now more variants of plugin description returned into english translation template.
git-svn-id: http://svn.miranda-ng.org/main/trunk@3552 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
|
|
Example: TranslateW(L"MRIM_CS_GAME: unknown internal game message code: %lu")
git-svn-id: http://svn.miranda-ng.org/main/trunk@3478 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
|
|
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
|
|
git-svn-id: http://svn.miranda-ng.org/main/trunk@3468 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
|
|
git-svn-id: http://svn.miranda-ng.org/main/trunk@3464 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
|
|
git-svn-id: http://svn.miranda-ng.org/main/trunk@3463 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
|
|
resource files, same for all of them. Because they are stored in trunk one folder level upper, than plugin folder itself, those three files never processed, thus all strings of this modules are lost.
Now this three file's strings added to each of AdvancedAutoAway, StartupStatus and KeepStatus.
- Removed replacing multiline strings with \r\n, we do not need it. Pascal plugs still need, but I'll deal with it later.
git-svn-id: http://svn.miranda-ng.org/main/trunk@3459 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
|
|
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
|
|
Replace with \r\n, win-windows-style!
git-svn-id: http://svn.miranda-ng.org/main/trunk@3437 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
|
|
useful strings), filter2 removed \d (string start from a digit).
git-svn-id: http://svn.miranda-ng.org/main/trunk@3436 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
|
|
- updated RegExp for parse source files, now strings with spaces between open bracket and quotation mark parsed.
Example string mi.ptszName = LPGENT( "Show/Hide &Ping Window" )
git-svn-id: http://svn.miranda-ng.org/main/trunk@3433 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
|
|
git-svn-id: http://svn.miranda-ng.org/main/trunk@3415 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
|
|
git-svn-id: http://svn.miranda-ng.org/main/trunk@3391 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
|
|
git-svn-id: http://svn.miranda-ng.org/main/trunk@3386 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
|
|
parsed, as well ass MirOTR version.
git-svn-id: http://svn.miranda-ng.org/main/trunk@3385 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
|
|
exist. In other words, do not output zero-size crap file.
- Parse _T() function disabled by default. You can enable it by uncomment var "find"
- More correct version.h parsing, authors and versions now more accurate.
git-svn-id: http://svn.miranda-ng.org/main/trunk@3384 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
|
|
correct RegExp with \1 using. When string starts with (" than match end as "), not ').
- english templates updated with new lpgen.js
git-svn-id: http://svn.miranda-ng.org/main/trunk@3377 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
|
|
Two plugins uses __PLUGIN_DESC define :-)
git-svn-id: http://svn.miranda-ng.org/main/trunk@3364 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
|
|
not only as __DESCRIPTION, but also simply __DESC
git-svn-id: http://svn.miranda-ng.org/main/trunk@3361 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
|
|
git-svn-id: http://svn.miranda-ng.org/main/trunk@3359 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
|
|
- comments cleaning
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@3358 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
|
|
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
|
|
git-svn-id: http://svn.miranda-ng.org/main/trunk@3319 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
|
|
fixed running from not current directory
git-svn-id: http://svn.miranda-ng.org/main/trunk@3317 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
|
|
- new /dupes:"yes" parameter - if you need to see a file with duplicated strings, for some reason :)
- now for single-plug processing (/path:"/path/to/plug/src/folder), output a crap file with %plugin_name%_crap.txt near to lpgen.js
git-svn-id: http://svn.miranda-ng.org/main/trunk@3313 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
|
|
from old langpacks
git-svn-id: http://svn.miranda-ng.org/main/trunk@3288 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
|