Blender Git Commit Log

Git Commits -> Revision 2e2dc9b

Revision 2e2dc9b by Campbell Barton (master)
August 17, 2015, 21:01 (GMT)
Refactor translation code out of blenfont

- Add blentranslation `BLT_*` module.
- moved & split `BLF_translation.h` into (`BLT_translation.h`, `BLT_lang.h`).
- moved `BLF_*_unifont` functions from `blf_translation.c` to new source file `blf_font_i18n.c`.

Commit Details:

Full Hash: 2e2dc9b9e32d104a0f7c3241ea0c11b57a37fd5b
Parent Commit: 3047b96
Lines Changed: +1613, -1386

7 Added Paths:

/source/blender/blenfont/intern/blf_font_i18n.c (+123, -0) (View)
/source/blender/blentranslation/BLT_lang.h (+69, -0) (View)
/source/blender/blentranslation/BLT_translation.h (+206, -0) (View)
/source/blender/blentranslation/CMakeLists.txt (+56, -0) (View)
/source/blender/blentranslation/intern/blt_lang.c (+356, -0) (View)
/source/blender/blentranslation/intern/blt_translation.c (+185, -0) (View)
/source/blender/blentranslation/SConscript (+46, -0) (View)

3 Deleted Paths:

/source/blender/blenfont/BLF_translation.h (+0, -240)
/source/blender/blenfont/intern/blf_lang.c (+0, -354)
/source/blender/blenfont/intern/blf_translation.c (+0, -265)

275 Modified Paths:

/build_files/cmake/macros.cmake (+1, -0) (Diff)
/source/blender/blenfont/BLF_api.h (+6, -0) (Diff)
/source/blender/blenfont/CMakeLists.txt (+2, -4) (Diff)
/source/blender/blenfont/intern/blf_thumbs.c (+2, -2) (Diff)
/source/blender/blenfont/SConscript (+1, -1) (Diff)
/source/blender/blenkernel/CMakeLists.txt (+1, -0) (Diff)
/source/blender/blenkernel/intern/action.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/anim.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/anim_sys.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/constraint.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/context.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/customdata.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/deform.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/dynamicpaint.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/fcurve.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/fmodifier.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/gpencil.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/idcode.c (+37, -37) (Diff)
/source/blender/blenkernel/intern/ipo.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/key.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/library.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/mask.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/modifier.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/nla.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/node.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/object.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/object_deform.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/particle.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/pointcache.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/report.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/scene.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/seqmodifier.c (+7, -7) (Diff)
/source/blender/blenkernel/intern/sequencer.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/tracking.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/tracking_solver.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/tracking_util.c (+2, -2) (Diff)
/source/blender/blenkernel/SConscript (+1, -0) (Diff)
/source/blender/blenloader/CMakeLists.txt (+1, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+1, -1) (Diff)
/source/blender/blenloader/intern/versioning_260.c (+1, -1) (Diff)
/source/blender/blenloader/SConscript (+1, -0) (Diff)
/source/blender/bmesh/CMakeLists.txt (+1, -1) (Diff)
/source/blender/bmesh/intern/bmesh_core.c (+1, -1) (Diff)
/source/blender/bmesh/intern/bmesh_operators.c (+1, -1) (Diff)
/source/blender/bmesh/SConscript (+1, -1) (Diff)
/source/blender/CMakeLists.txt (+1, -0) (Diff)
/source/blender/collada/AnimationImporter.cpp (+3, -3) (Diff)
/source/blender/collada/CMakeLists.txt (+1, -1) (Diff)
/source/blender/collada/SConscript (+1, -1) (Diff)
/source/blender/editors/animation/anim_channels_defines.c (+1, -1) (Diff)
/source/blender/editors/animation/anim_ipo_utils.c (+1, -1) (Diff)
/source/blender/editors/animation/CMakeLists.txt (+1, -1) (Diff)
/source/blender/editors/animation/fmodifier_ui.c (+1, -1) (Diff)
/source/blender/editors/animation/keyframing.c (+1, -1) (Diff)
/source/blender/editors/animation/SConscript (+1, -1) (Diff)
/source/blender/editors/armature/armature_edit.c (+1, -1) (Diff)
/source/blender/editors/armature/armature_naming.c (+1, -1) (Diff)
/source/blender/editors/armature/armature_relations.c (+2, -2) (Diff)
/source/blender/editors/armature/CMakeLists.txt (+1, -1) (Diff)
/source/blender/editors/armature/meshlaplacian.c (+1, -1) (Diff)
/source/blender/editors/armature/pose_lib.c (+1, -1) (Diff)
/source/blender/editors/armature/SConscript (+1, -1) (Diff)
/source/blender/editors/curve/CMakeLists.txt (+1, -1) (Diff)
/source/blender/editors/curve/editcurve.c (+1, -1) (Diff)
/source/blender/editors/curve/editcurve_add.c (+15, -15) (Diff)
/source/blender/editors/curve/SConscript (+1, -1) (Diff)
/source/blender/editors/gpencil/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/gpencil/drawgpencil.c (+1, -1) (Diff)
/source/blender/editors/gpencil/gpencil_convert.c (+1, -1) (Diff)
/source/blender/editors/gpencil/gpencil_data.c (+1, -1) (Diff)
/source/blender/editors/gpencil/gpencil_edit.c (+1, -1) (Diff)
/source/blender/editors/gpencil/gpencil_paint.c (+1, -1) (Diff)
/source/blender/editors/gpencil/SConscript (+1, -0) (Diff)
/source/blender/editors/interface/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/interface/interface.c (+4, -4) (Diff)
/source/blender/editors/interface/interface_eyedropper.c (+1, -1) (Diff)
/source/blender/editors/interface/interface_handlers.c (+39, -39) (Diff)
/source/blender/editors/interface/interface_layout.c (+1, -1) (Diff)
/source/blender/editors/interface/interface_ops.c (+4, -4) (Diff)
/source/blender/editors/interface/interface_panel.c (+1, -1) (Diff)
/source/blender/editors/interface/interface_regions.c (+1, -1) (Diff)
/source/blender/editors/interface/interface_style.c (+1, -1) (Diff)
/source/blender/editors/interface/interface_templates.c (+31, -31) (Diff)
/source/blender/editors/interface/interface_utils.c (+1, -1) (Diff)
/source/blender/editors/interface/SConscript (+1, -0) (Diff)
/source/blender/editors/io/CMakeLists.txt (+1, -1) (Diff)
/source/blender/editors/io/io_collada.c (+1, -1) (Diff)
/source/blender/editors/io/SConscript (+1, -1) (Diff)
/source/blender/editors/mesh/CMakeLists.txt (+1, -1) (Diff)
/source/blender/editors/mesh/editmesh_add.c (+10, -10) (Diff)
/source/blender/editors/mesh/editmesh_bevel.c (+1, -1) (Diff)
/source/blender/editors/mesh/editmesh_bisect.c (+1, -1) (Diff)
/source/blender/editors/mesh/editmesh_inset.c (+1, -1) (Diff)
/source/blender/editors/mesh/editmesh_knife.c (+1, -1) (Diff)
/source/blender/editors/mesh/editmesh_loopcut.c (+2, -2) (Diff)
/source/blender/editors/mesh/editmesh_tools.c (+2, -2) (Diff)
/source/blender/editors/mesh/SConscript (+1, -1) (Diff)
/source/blender/editors/object/CMakeLists.txt (+1, -1) (Diff)
/source/blender/editors/object/object_add.c (+10, -10) (Diff)
/source/blender/editors/object/object_constraint.c (+1, -1) (Diff)
/source/blender/editors/object/object_edit.c (+1, -1) (Diff)
/source/blender/editors/object/object_relations.c (+1, -1) (Diff)
/source/blender/editors/object/object_select.c (+1, -1) (Diff)
/source/blender/editors/object/SConscript (+1, -1) (Diff)
/source/blender/editors/physics/CMakeLists.txt (+1, -1) (Diff)
/source/blender/editors/physics/dynamicpaint_ops.c (+1, -1) (Diff)
/source/blender/editors/physics/rigidbody_object.c (+1, -1) (Diff)
/source/blender/editors/physics/SConscript (+1, -1) (Diff)
/source/blender/editors/render/CMakeLists.txt (+1, -1) (Diff)
/source/blender/editors/render/render_internal.c (+1, -1) (Diff)
/source/blender/editors/render/render_shading.c (+1, -1) (Diff)
/source/blender/editors/render/SConscript (+1, -0) (Diff)
/source/blender/editors/screen/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/screen/SConscript (+1, -0) (Diff)
/source/blender/editors/screen/screen_ops.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/CMakeLists.txt (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_image_proj.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_utils.c (+2, -2) (Diff)
/source/blender/editors/sculpt_paint/SConscript (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+1, -1) (Diff)
/source/blender/editors/space_action/action_data.c (+1, -1) (Diff)
/source/blender/editors/space_action/action_edit.c (+1, -1) (Diff)
/source/blender/editors/space_action/CMakeLists.txt (+1, -1) (Diff)
/source/blender/editors/space_action/SConscript (+1, -1) (Diff)
/source/blender/editors/space_buttons/buttons_context.c (+2, -2) (Diff)
/source/blender/editors/space_buttons/buttons_ops.c (+1, -1) (Diff)
/source/blender/editors/space_buttons/buttons_texture.c (+1, -1) (Diff)
/source/blender/editors/space_buttons/CMakeLists.txt (+1, -1) (Diff)
/source/blender/editors/space_buttons/SConscript (+1, -1) (Diff)
/source/blender/editors/space_clip/clip_buttons.c (+1, -1) (Diff)
/source/blender/editors/space_clip/clip_ops.c (+1, -1) (Diff)
/source/blender/editors/space_clip/clip_toolbar.c (+2, -2) (Diff)
/source/blender/editors/space_clip/CMakeLists.txt (+2, -1) (Diff)
/source/blender/editors/space_clip/SConscript (+1, -0) (Diff)
/source/blender/editors/space_clip/tracking_ops.c (+1, -1) (Diff)
/source/blender/editors/space_file/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/space_file/file_draw.c (+1, -1) (Diff)
/source/blender/editors/space_file/file_panels.c (+2, -2) (Diff)
/source/blender/editors/space_file/SConscript (+1, -0) (Diff)
/source/blender/editors/space_graph/CMakeLists.txt (+1, -1) (Diff)
/source/blender/editors/space_graph/graph_buttons.c (+6, -6) (Diff)
/source/blender/editors/space_graph/graph_edit.c (+1, -1) (Diff)
/source/blender/editors/space_graph/SConscript (+1, -1) (Diff)
/source/blender/editors/space_image/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/space_image/image_buttons.c (+1, -1) (Diff)
/source/blender/editors/space_image/image_ops.c (+1, -1) (Diff)
/source/blender/editors/space_image/SConscript (+1, -0) (Diff)
/source/blender/editors/space_info/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/space_info/info_ops.c (+1, -1) (Diff)
/source/blender/editors/space_info/info_stats.c (+1, -1) (Diff)
/source/blender/editors/space_info/SConscript (+1, -0) (Diff)
/source/blender/editors/space_info/space_info.c (+2, -2) (Diff)
/source/blender/editors/space_logic/CMakeLists.txt (+1, -1) (Diff)
/source/blender/editors/space_logic/logic_ops.c (+1, -1) (Diff)
/source/blender/editors/space_logic/logic_window.c (+2, -2) (Diff)
/source/blender/editors/space_logic/SConscript (+1, -1) (Diff)
/source/blender/editors/space_nla/CMakeLists.txt (+1, -1) (Diff)
/source/blender/editors/space_nla/nla_buttons.c (+7, -7) (Diff)
/source/blender/editors/space_nla/nla_edit.c (+1, -1) (Diff)
/source/blender/editors/space_nla/SConscript (+1, -1) (Diff)
/source/blender/editors/space_node/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/space_node/drawnode.c (+1, -1) (Diff)
/source/blender/editors/space_node/node_add.c (+1, -1) (Diff)
/source/blender/editors/space_node/node_buttons.c (+3, -3) (Diff)
/source/blender/editors/space_node/node_draw.c (+1, -1) (Diff)
/source/blender/editors/space_node/node_group.c (+2, -2) (Diff)
/source/blender/editors/space_node/node_relationships.c (+1, -1) (Diff)
/source/blender/editors/space_node/node_templates.c (+1, -1) (Diff)
/source/blender/editors/space_node/SConscript (+1, -0) (Diff)
/source/blender/editors/space_outliner/CMakeLists.txt (+1, -1) (Diff)
/source/blender/editors/space_outliner/outliner_draw.c (+2, -2) (Diff)
/source/blender/editors/space_outliner/outliner_edit.c (+1, -1) (Diff)
/source/blender/editors/space_outliner/outliner_tree.c (+1, -1) (Diff)
/source/blender/editors/space_outliner/SConscript (+1, -1) (Diff)
/source/blender/editors/space_sequencer/CMakeLists.txt (+1, -1) (Diff)
/source/blender/editors/space_sequencer/SConscript (+1, -1) (Diff)
/source/blender/editors/space_sequencer/sequencer_buttons.c (+2, -2) (Diff)
/source/blender/editors/space_sequencer/sequencer_edit.c (+1, -1) (Diff)
/source/blender/editors/space_text/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/space_text/SConscript (+1, -0) (Diff)
/source/blender/editors/space_text/text_header.c (+4, -4) (Diff)
/source/blender/editors/space_text/text_ops.c (+2, -2) (Diff)
/source/blender/editors/space_view3d/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/space_view3d/SConscript (+1, -0) (Diff)
/source/blender/editors/space_view3d/view3d_buttons.c (+3, -3) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+1, -1) (Diff)
/source/blender/editors/space_view3d/view3d_fly.c (+1, -1) (Diff)
/source/blender/editors/space_view3d/view3d_header.c (+1, -1) (Diff)
/source/blender/editors/space_view3d/view3d_toolbar.c (+3, -3) (Diff)
/source/blender/editors/space_view3d/view3d_walk.c (+1, -1) (Diff)
/source/blender/editors/transform/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/transform/SConscript (+1, -0) (Diff)
/source/blender/editors/transform/transform.c (+1, -1) (Diff)
/source/blender/editors/transform/transform_constraints.c (+1, -1) (Diff)
/source/blender/editors/transform/transform_generics.c (+1, -1) (Diff)
/source/blender/editors/transform/transform_ops.c (+2, -2) (Diff)
/source/blender/editors/transform/transform_orientations.c (+2, -2) (Diff)
/source/blender/editors/util/CMakeLists.txt (+1, -1) (Diff)
/source/blender/editors/util/ed_util.c (+1, -1) (Diff)
/source/blender/editors/util/SConscript (+1, -1) (Diff)
/source/blender/editors/util/undo.c (+1, -1) (Diff)
/source/blender/editors/uvedit/CMakeLists.txt (+1, -1) (Diff)
/source/blender/editors/uvedit/SConscript (+1, -1) (Diff)
/source/blender/editors/uvedit/uvedit_buttons.c (+1, -1) (Diff)
/source/blender/editors/uvedit/uvedit_ops.c (+3, -3) (Diff)
/source/blender/imbuf/intern/thumbs_font.c (+2, -2) (Diff)
/source/blender/makesrna/intern/CMakeLists.txt (+2, -1) (Diff)
/source/blender/makesrna/intern/rna_access.c (+8, -8) (Diff)
/source/blender/makesrna/intern/rna_actuator.c (+3, -3) (Diff)
/source/blender/makesrna/intern/rna_constraint.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_controller.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_curve.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_define.c (+5, -5) (Diff)
/source/blender/makesrna/intern/rna_gpencil.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_key.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_lamp.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_main_api.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_mask.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_modifier.c (+5, -5) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+3, -3) (Diff)
/source/blender/makesrna/intern/rna_particle.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_pose.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_property.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+3, -3) (Diff)
/source/blender/makesrna/intern/rna_sensor.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_sequencer.c (+4, -4) (Diff)
/source/blender/makesrna/intern/rna_space.c (+4, -4) (Diff)
/source/blender/makesrna/intern/rna_speaker.c (+4, -4) (Diff)
/source/blender/makesrna/intern/rna_text.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_ui.c (+7, -7) (Diff)
/source/blender/makesrna/intern/rna_ui_api.c (+6, -6) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+3, -3) (Diff)
/source/blender/makesrna/intern/rna_wm.c (+7, -7) (Diff)
/source/blender/makesrna/intern/SConscript (+1, -0) (Diff)
/source/blender/makesrna/SConscript (+1, -0) (Diff)
/source/blender/nodes/CMakeLists.txt (+1, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_keying.c (+1, -1) (Diff)
/source/blender/nodes/composite/node_composite_tree.c (+1, -1) (Diff)
/source/blender/nodes/composite/node_composite_util.h (+1, -1) (Diff)
/source/blender/nodes/intern/node_common.c (+1, -1) (Diff)
/source/blender/nodes/intern/node_util.c (+1, -1) (Diff)
/source/blender/nodes/SConscript (+1, -1) (Diff)
/source/blender/nodes/shader/node_shader_tree.c (+1, -1) (Diff)
/source/blender/nodes/shader/node_shader_util.h (+1, -1) (Diff)
/source/blender/nodes/texture/node_texture_tree.c (+1, -1) (Diff)
/source/blender/nodes/texture/node_texture_util.h (+1, -1) (Diff)
/source/blender/python/intern/bpy_app_translations.c (+25, -24) (Diff)
/source/blender/python/intern/bpy_util.c (+1, -1) (Diff)
/source/blender/python/intern/CMakeLists.txt (+1, -1) (Diff)
/source/blender/python/SConscript (+1, -0) (Diff)
/source/blender/render/CMakeLists.txt (+1, -1) (Diff)
/source/blender/render/intern/source/convertblender.c (+1, -1) (Diff)
/source/blender/render/intern/source/envmap.c (+1, -1) (Diff)
/source/blender/render/intern/source/external_engine.c (+1, -1) (Diff)
/source/blender/render/intern/source/occlusion.c (+1, -1) (Diff)
/source/blender/render/intern/source/pipeline.c (+1, -1) (Diff)
/source/blender/render/intern/source/pointdensity.c (+1, -1) (Diff)
/source/blender/render/intern/source/rayshade.c (+1, -1) (Diff)
/source/blender/render/intern/source/sss.c (+1, -1) (Diff)
/source/blender/render/intern/source/volume_precache.c (+1, -1) (Diff)
/source/blender/render/intern/source/voxeldata.c (+1, -1) (Diff)
/source/blender/render/SConscript (+1, -1) (Diff)
/source/blender/SConscript (+1, -0) (Diff)
/source/blender/windowmanager/CMakeLists.txt (+1, -0) (Diff)
/source/blender/windowmanager/intern/wm_dragdrop.c (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_files.c (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_init_exit.c (+4, -4) (Diff)
/source/blender/windowmanager/intern/wm_keymap.c (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+9, -9) (Diff)
/source/blender/windowmanager/intern/wm_window.c (+1, -1) (Diff)
/source/blender/windowmanager/SConscript (+1, -0) (Diff)
/source/blenderplayer/CMakeLists.txt (+1, -0) (Diff)
/source/gameengine/GamePlayer/ghost/CMakeLists.txt (+1, -0) (Diff)
/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp (+5, -4) (Diff)
/source/gameengine/GamePlayer/ghost/SConscript (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021