Campbell Barton
0b9be70591
typo's and some style cleanup, also added asserts into BLI_vsnprintf and BLI_sprintfN when invalid args are given.
2012-11-28 06:43:04 +00:00
Campbell Barton
4fe35721e6
bmesh operator api reference - add in 'bmesh' arg at the start of each operator, also use :class: references.
2012-11-28 01:14:11 +00:00
Bastien Montagne
eab58bf994
Spell check updates...
2012-11-26 21:25:50 +00:00
Bastien Montagne
bb7fdc7935
Handle of new BLF_I18N_MSGID_MULTI_CTXT macro, which allows to define a same msgid in up to 16 different contexts at once.
2012-11-23 15:35:16 +00:00
Campbell Barton
b867f9f17e
style cleanup: comments & spelling
2012-11-18 01:22:31 +00:00
Campbell Barton
7c3db355b1
remove ifdef'd bevel code, current bevel works better then the previous code.
...
reduce strlen check in texttool_suggest_add()
use 'del list[:]' rather then 'list[:] = []' in python scripts which clear lists.
2012-11-14 09:45:15 +00:00
Bastien Montagne
aadfcb7a83
Removing again windows' long_locales! :p
2012-11-13 06:29:46 +00:00
Bastien Montagne
d8443cdfb0
New words...
2012-11-07 12:14:35 +00:00
Bastien Montagne
c9307ec6a3
Fix for [ #32992 ] Switching language does nothing under Windows.
...
Our current intl build for windows is quite old (don't know the exact version), and does not have the new setlocale overwrite. Problem is, new windows dll have no more the gettext_putenv helper, which is currently mandatory to make it work for this OS.
So back for now to the ugly long_locales for win. Best fix is probably to build our own static version of libl, but this is not trivial and will require some time. :/
PS: I had a look over i18n/translation in wxWidget, Qt and boost: all implement their own system, even though wxWidget and boost use po/mo files...
2012-11-02 20:03:15 +00:00
Bastien Montagne
ec67334e25
A few more BMesh errors messages translated, and "automated" translation for modifers too!
2012-10-27 11:12:09 +00:00
Bastien Montagne
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
Bastien Montagne
16ced60372
Fix Blender version retrieving...
2012-10-26 17:49:36 +00:00
Bastien Montagne
c9dade4fe0
Big i18n commit: add "reports" from bmesh/readfile/tracking/dynapaint (and a few others), and another bunch of UI messages tweaks/fixes, as well as some BKE_report()<->BKE_reportf()...
2012-10-26 17:32:50 +00:00
Bastien Montagne
7013931b14
Back to generating a pot file into trunk/po of i18n repo (it's useful for translators who want to start a new translation without be able to generate their own po!).
2012-10-26 13:15:14 +00:00
Bastien Montagne
d739536103
Back to "Espanol" (instead os "Castellano"), as it looks to be the standard for softwares...
2012-10-24 10:09:48 +00:00
Bastien Montagne
baa4fc68a8
Separate languages file generation code into its own script (much better this way, so that we can regenerate that file without update whole trunk!).
...
Also add es_ES (Spanish from Spain) language, as we have a po for it!
2012-10-23 20:39:26 +00:00
Bastien Montagne
40da6bb531
Update of the tools for the new "dynamic" i18n menu, to generate the languages file into locale dir...
2012-10-22 14:17:30 +00:00
Bastien Montagne
95a414955c
Remove six languages from Blender UI (rational: very low level of translation, 1-2% at most, and no commit done in branch since more than one year): fi (Finnish), ca (Catalan), bg (Bulgarian), el (Greek), ne (Nepali) and pl (Polish).
...
Also fix compile in paranoid warning=errors mode for own last commit.
2012-10-20 08:52:54 +00:00
Sergey Sharybin
a75f11d036
Fix #32219 : Inconsistent influence of Units Scale on new objects
...
Made it so meshes, curves, surfaces and metaballs are scaling to a grid cell size,
which makes them behave consistently now.
There're still issues to be resolved still:
- Lattice is not scaled to grid cell size yet, it uses slightly different add
function which makes scaling a bit tricky and hacky. Would prefer to do a
bit bigger refactor here, so it's a TODO for now.
- Cameras, speakers and other helpers are not scaling. They don't have data
on which scale could be applied and perhaps it should be some kind of draw
scale. Also would consider it's a TODO for now.
2012-10-19 12:53:03 +00:00
Bastien Montagne
b8267a0dfb
More UI messages and BKE_reportf<->BKE_report fixes...
2012-10-18 16:25:58 +00:00
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