Commit Graph

780 Commits

Author SHA1 Message Date
Bastien Montagne 45d6eb5dea Adding Estonian and Esperanto iso codes in allowed non-capitalized UI messages... 2012-10-15 17:52:09 +00:00
Bastien Montagne 7b8dc4be0d Few minor fixes to i18n tools (mostly use ordered dicts too for "xgettexted" messages...). 2012-10-14 14:18:30 +00:00
Bastien Montagne 3d6ab52f2b Add translation of reports messages (only direct uses of BKE_report(f)/BKE_reports_append(f) funcs for now). Already adds quite a bunch of new msgids! 2012-10-13 13:55:14 +00:00
Bastien Montagne 9f21b799c4 And more UI messages spell check. 2012-10-13 13:40:05 +00:00
Campbell Barton ee67123748 code cleanup: minor edits on recent commit. 2012-10-13 11:23:04 +00:00
Bastien Montagne 4ef69febeb More spell check exceptions... 2012-10-13 11:08:00 +00:00
Gaia Clary 3fa24c7d5f differenciate log message for enabled/disabled modules 2012-10-13 10:31:35 +00:00
Campbell Barton 3d9812c5d1 fix for own error in copy_as_script(), imports were incorrect. 2012-10-12 04:00:41 +00:00
Bastien Montagne 0e6e171cdd Revert part of own r51193 (now I know where Courant comes from...), and add another exception to UI messages spellchecker! Thanks to Lockal for pointing this. 2012-10-11 18:41:07 +00:00
Campbell Barton 844916d46e check addons are enabled before disabling them (would cause python exceptions when removing a disabled addon). 2012-10-10 11:37:38 +00:00
Campbell Barton 9fa36b12cc style cleanup: pep8 2012-10-08 08:28:05 +00:00
Bastien Montagne 6527e8a1a8 Fix for rtl processing of menu strings... 2012-10-04 13:49:39 +00:00
Campbell Barton 8a51d235e6 pep8 cleanup 2012-09-26 21:19:51 +00:00
Campbell Barton b3fd195665 fix [#31703] modules/rna_xml.py: BoolVectorProperty and CollectionProperty
patch provided by reporter (n floyd)
2012-09-25 05:17:23 +00:00
Campbell Barton dba5ef3ba8 code cleanup: python - pass multiple args to string startswith() / endswith() functions rather than calling multiple times. 2012-09-04 20:26:42 +00:00
Bastien Montagne 40e3af441b Adding despeckle as “blender” word... 2012-08-27 21:01:21 +00:00
Campbell Barton 6b1582c012 better handle sizes by default for mask mode, now ignore image width/height 2012-08-25 14:18:54 +00:00
Campbell Barton a7ec09aef9 ability to register your own online manual callbacks - useful for 3rd party addon developers, who may want to link to their own URL's. 2012-08-25 14:07:51 +00:00
Campbell Barton 71d1b09708 minor code cleanup 2012-08-25 12:55:14 +00:00
Campbell Barton 179ac9ebc0 baking actions with euler rotations now uses compatible eulers for pose and object bakes. 2012-08-25 12:37:15 +00:00
Campbell Barton 043783c20b use set's when checking against multiple types. 2012-08-25 11:54:58 +00:00
Campbell Barton 7d673ef0d2 fix for blend_render_info.py not closing file & some edits to comments. 2012-08-22 10:29:30 +00:00
Campbell Barton 28b9576f4b error message when an addon was missing register/unregister functions whasnt very good (didnt point to file with the error) 2012-08-22 10:03:37 +00:00
Campbell Barton 257c6de9ac copy as script operator for the console, so you can copy input from a console for use in a textblock. 2012-08-19 21:32:18 +00:00
Campbell Barton b0371f053c style cleanup 2012-08-17 18:36:20 +00:00
Bastien Montagne 43c3fa6c39 Adding "inpaint" as allowed words... 2012-08-06 19:19:51 +00:00
Campbell Barton 2553cdf195 style cleanup 2012-07-29 12:07:06 +00:00
Campbell Barton 3270438678 fix for own regression with handling of script paths, however this didnt work quite right before either.
Handle these 2 kinds of script paths
* user script path: ~/.blender/scripts OR $BLENDER_USER_SCRIPTS
* pref script path: always bpy.context.user_preferences.filepaths.script_directory

now both are returned by bpy.utils.script_paths()
2012-07-29 01:02:25 +00:00
Bastien Montagne 541e46f7ad Grrr... Minkowski... :p 2012-07-23 19:08:02 +00:00
Bastien Montagne 1fc3f91016 Some small fixes (grrr, python imports...). 2012-07-18 14:03:10 +00:00
Bastien Montagne e204d67cc7 Fix [#32135] FRAMERATE: Framerate display is truncated in selection box.
Filename extension was striped twice...
2012-07-18 08:51:19 +00:00
Bastien Montagne 18f28e5408 Small cleanup... 2012-07-09 19:33:25 +00:00
Bastien Montagne 063f78041a Grmbl, dummy argparse... 2012-07-08 17:18:01 +00:00
Bastien Montagne dc459c8fea Some cleanup, and update to make those files usable both as self-executables and module stuff...
Also updated update_mo to allwo specifying a custom po/mo file.
2012-07-08 17:10:10 +00:00
Bastien Montagne 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
Bastien Montagne 3dacc164e4 Update/fixes (was escaping more chars than needed!) 2012-07-07 14:28:49 +00:00
Campbell Barton 2a140e93c1 style cleanup 2012-07-04 21:41:05 +00:00
Bastien Montagne 99f0589ea7 Minor update to make it work within i18n repo too. 2012-07-04 18:19:58 +00:00
Bastien Montagne 4149ea5f50 Last spell checking (for now).
Only mysterious courant from bpy.types.ParticleSettings.courant_target reamins...
2012-07-04 15:52:07 +00:00
Bastien Montagne 558721ab59 More spell checking. 2012-07-04 15:04:38 +00:00
Bastien Montagne 14b2c348c8 Minor updates. 2012-07-03 19:06:43 +00:00
Bastien Montagne 37dc4006c7 First load of spell and typo fixes (mostly UI messages, but also one or two pieces of code using mis-spelled names). 2012-07-03 17:20:21 +00:00
Bastien Montagne 8d4f9f9390 Grmph! module renaming broke the tool! 2012-07-03 15:05:10 +00:00
Bastien Montagne 69ca014d50 More exception words to the ui dico... :/ 2012-07-03 13:24:13 +00:00
Bastien Montagne 1f81930ad8 Minor edits. 2012-07-03 13:15:23 +00:00
Campbell Barton f42d606789 rename module to something less generic. 2012-07-03 11:32:42 +00:00
Bastien Montagne 63810ffcef Style edit (mostly), use """ for docstrings (not ''').
Should also fix the broken py ops tips...
2012-07-03 09:02:41 +00:00
Bastien Montagne 4aa43a0bfd Nice update to xgettext replacement, now finds 608 strings, think this covers all cases...
Will run a complete test case tomorrow, regexes killed me this evening!
2012-07-03 01:11:59 +00:00
Bastien Montagne 2d8a9a0cc3 Adding (moving from bf-translation) the i18n python module. This will make it available for future "UI Translation" addon, and probably other UI-related tools as well.
Notes:
* This is a somewhat reworked version of what is currently in bf-translation's trunk/po/tools, not yet fully functionnal (well, 95% is ;) ) nor fully tested. ultimately, it will replace it (being "svn-linked" in bf-translation).
* Added feature: more complete/strict tests (yet some work to be done here).
* Added spell checking (huge spellcheck commit incomming...).
* Trying to get rid of xgettext itself (should e.g. allow us to use #defines as contexts, among other things...). But currently captures less strings, work needed here too.

Please note this includes libfribidi.dll, as it is hard to find it for windows (unixes should have no problems here).
2012-07-02 19:51:06 +00:00
Campbell Barton b0dedf3d3f new function: bpy.extras.view3d_utils.region_2d_to_origin_3d()
useful for doing ray casts from the view.
2012-07-01 08:06:01 +00:00