Blender Git Commit Log

Git Commits -> Revision 885441e

Revision 885441e by Bastien Montagne (master)
March 20, 2013, 18:42 (GMT)
I18n users request: add the ability to use a translated name for newly added/created objects or other datablocks.

This simply adds a third "translation type" (in addition to iface and tip), "new data", with relevant user settings flag and helper funcs/macros (and py api).

Currently implemented name translation when adding new objects, as well as modifiers and constraints, will add the others (cd layers, scenes, perhaps nodes [though I think they do not need this], etc.) later.

Commit Details:

Full Hash: 885441e75804a92d4c2270fd006f3e71fc460d7b
SVN Revision: 55452
Parent Commit: e9b0b40
Lines Changed: +144, -75

13 Modified Paths:

/release/scripts/startup/bl_ui/space_userpref.py (+5, -3) (Diff)
/source/blender/blenfont/BLF_translation.h (+6, -0) (Diff)
/source/blender/blenfont/intern/blf_translation.c (+24, -0) (Diff)
/source/blender/blenkernel/intern/constraint.c (+4, -2) (Diff)
/source/blender/blenkernel/intern/modifier.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/object.c (+14, -12) (Diff)
/source/blender/blenkernel/intern/particle.c (+9, -5) (Diff)
/source/blender/editors/curve/editcurve.c (+14, -14) (Diff)
/source/blender/editors/mesh/editmesh_add.c (+11, -9) (Diff)
/source/blender/editors/object/object_add.c (+9, -9) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+5, -4) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+7, -2) (Diff)
/source/blender/python/intern/bpy_app_translations.c (+35, -14) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021