f2d9fc7e25
Update to how similar messages matching is handled when updating po files from pot one (gain something like 20% in heavy update situations, and save a nice bunch of memory!).
2013-02-12 17:32:54 +00:00
a643d28446
Update translation extractor so ternary expressions are not merged.
...
eg: ("A" if test else "B")
2013-02-10 07:11:32 +00:00
a4a1c66725
Better to return default op context when we can't find a given operator (e.g. console toggling under linux does not exists).
2013-02-09 18:47:40 +00:00
e14b21dd6d
Updated py ui message extraction, to find out contexts as much as possible...
2013-02-09 18:32:00 +00:00
cdb5e557b0
Grumph, going quicker than the music! :P
2013-01-13 14:36:50 +00:00
55e3912f25
Big refactor of bl_i18n_utils, switching to an object-based model. Still a bit wip.
...
Notes:
* Most tools here have been updated, only a few (unused :p ) features should be missing. But some updates are rough for now, and performances are globally worse currently, will address this later (this is only really noticeable when you work over the whole repo, anyway ;) ).
* This update breaks "edit translations" addon, will fix it later, once core (i.e. this module) is considered stable again!
2013-01-12 16:49:06 +00:00
5d9d76e3f1
Finally fix the "double operators labels" in current po's: Operator sub-classes do not have custom "Operator" translation_context (while OperatorProperties subclasses do), so skip parsing the first!
...
Also refactored the "skip dummy messages like "1024" or ": %d", now using a regex!
All this removes about 160 doubles/unneeded messages!
2012-10-27 10:05:38 +00:00
9fa36b12cc
style cleanup: pep8
2012-10-08 08:28:05 +00:00
8a51d235e6
pep8 cleanup
2012-09-26 21:19:51 +00:00
2553cdf195
style cleanup
2012-07-29 12:07:06 +00:00
18f28e5408
Small cleanup...
2012-07-09 19:33:25 +00:00
d96275a5c3
Some cleanup.
...
Also trying to make it usuable from other tools (imports become a bit tricky here :/ ).
2012-07-08 09:27:33 +00:00
14b2c348c8
Minor updates.
2012-07-03 19:06:43 +00:00
8d4f9f9390
Grmph! module renaming broke the tool!
2012-07-03 15:05:10 +00:00
1f81930ad8
Minor edits.
2012-07-03 13:15:23 +00:00
f42d606789
rename module to something less generic.
2012-07-03 11:32:42 +00:00