diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2012-03-17 18:27:46 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2012-03-17 18:27:46 +0400 |
commit | 1f6ae5e4fbc4a67afd9655d55f9930c196c9e754 (patch) | |
tree | 7f3a0911f733b7c8aa06cfef927bb064e4efb01a /source/blender/editors | |
parent | e4cc4b3e952b479d4bcf04c47c81622a5a167dff (diff) |
Minor UI messages fixes, and enabling i18n for all modifier_setError() error messages.
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/armature/meshlaplacian.c | 4 | ||||
-rw-r--r-- | source/blender/editors/space_clip/tracking_ops.c | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/editors/armature/meshlaplacian.c b/source/blender/editors/armature/meshlaplacian.c index eb707119263..17c6e25b52b 100644 --- a/source/blender/editors/armature/meshlaplacian.c +++ b/source/blender/editors/armature/meshlaplacian.c @@ -47,6 +47,8 @@ #include "BLI_memarena.h" #include "BLI_string.h" +#include "BLF_translation.h" + #include "BKE_DerivedMesh.h" #include "BKE_modifier.h" #include "BKE_mesh.h" @@ -1714,7 +1716,7 @@ static void meshdeform_matrix_solve(MeshDeformModifierData *mmd, MeshDeformBind } } else { - modifier_setError(&mmd->modifier, "Failed to find bind solution (increase precision?)."); + modifier_setError(&mmd->modifier, TIP_("Failed to find bind solution (increase precision?).")); error("Mesh Deform: failed to find bind solution."); break; } diff --git a/source/blender/editors/space_clip/tracking_ops.c b/source/blender/editors/space_clip/tracking_ops.c index 616fa7d742c..2c03db5032d 100644 --- a/source/blender/editors/space_clip/tracking_ops.c +++ b/source/blender/editors/space_clip/tracking_ops.c @@ -2935,7 +2935,7 @@ void CLIP_OT_frame_jump(wmOperatorType *ot) ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO; /* properties */ - RNA_def_enum(ot->srna, "position", position_items, 0, "Position", "Position to jumo to"); + RNA_def_enum(ot->srna, "position", position_items, 0, "Position", "Position to jump to"); } /********************** join tracks operator *********************/ |