Age | Commit message (Collapse) | Author |
|
This is no longer necessary, see: T98554.
|
|
See T95597
|
|
Recent changes broke calling an operator from python too early during
init process, including during first draw calls.
So now moved most of `UI_OT_i18n_updatetranslation_svn_init_settings`
logic into a static method that can be called directly in this specific
case.
Also improved situation where init fails, by showing the reset/init
settings operator in the UI still.
|
|
|
|
Fairly straghtforward, once the data from the i18n utils module are
pickleable... ;)
Gives nice improvements in global speed of i18n update process.
|
|
|
|
|
|
|
|
Make operator properties into variable annotations.
Cleanup includes and descriptions.
PEP-8 compliance pass.
|
|
We do want to catch actual errors from message extraction process, but
not dummy ASAN complaining about memleaks!
|
|
|
|
|
|
|
|
Python 3.4.0 deprecated the "imp" module, and replaced it with
"importlib". This changes imp.reload() into implib.reload().
Reviewers: campbellbarton
Differential Revision: https://developer.blender.org/D1016
|
|
|
|
minor other edits
|
|
operators (which can be rather long), thanks Gaia! :)
|
|
own translations.
* Update: update (or create) an addon's translation data (as some py code).
* Export PO: export an addon's translation data in a set of pot/po's files.
* Import PO: import a set of po's files to update an addon's translations.
Note: current i18n doc on wiki is completely outdated, I will try to fix this in following days.
|
|
|
|
Also a few minor edits (and add a version number to this addon!)...
|
|
Now everything should be done with ui_translate addon (which is also now fully functional again, in theory ;) ).
Notes:
* Everything is still a bit raw and sometimes hackish.
* Not every feature implemented yet.
* A bunch of cleanup is still needed.
* Doc needs to be updated too!
|
|
it's too late for such huge changes now.
|
|
make addons blender versions consistent
|
|
|
|
language code...).
|
|
appear in popup! stupid!)
|
|
This is the py addon to use for embeded Blender ui translation. It can edit various UI elements' messages and tips, save the changes to the relevant po, "compile" a new mo placed into user's datafiles dir, and erase that same files (to get back "official" translations).
Notes:
* Still work in progress. Most likely some remaning bugs (even though it works quite well for me)...
* All UI elements in Blender aren't translatable this way (e.g. panel labels just don't react to right mouse clicks currently...)
* RTL languages won't work as well as others, still have to implement some kind of revert-RTL process...
* Having a nicer way than editing user_settings.py in modules/bl_i18n_utils to set up needed parameters is mandatory! Will try to use some kind of user preferences in user's config dir.
And a whole doc to write! :/
|