diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2015-12-28 19:46:48 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2015-12-28 19:46:48 +0300 |
commit | 1dcae9e309b0656a250c53a807f01c1c69cb8e42 (patch) | |
tree | 03ea69abc394d383704136b9dc58820af3089605 /source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp | |
parent | 6c99d342d8ab68a60ceddb3ecdca48516fc8ba4d (diff) |
Fix T47045: add some missing UI i18n translations to texture buttons and freestyle render messages.
Diffstat (limited to 'source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp')
-rw-r--r-- | source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp b/source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp index c18c5dad376..85c654ea323 100644 --- a/source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp +++ b/source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp @@ -54,6 +54,8 @@ extern "C" { #include "BKE_text.h" #include "BKE_context.h" +#include "BLT_translation.h" + #include "BLI_blenlib.h" #include "BLI_math.h" #include "BLI_callbacks.h" @@ -284,7 +286,7 @@ static bool test_edge_type_conditions(struct edge_type_condition *conditions, static void prepare(Render *re, SceneRenderLayer *srl) { // load mesh - re->i.infostr = "Freestyle: Mesh loading"; + re->i.infostr = TIP_("Freestyle: Mesh loading"); re->stats_draw(re->sdh, &re->i); re->i.infostr = NULL; if (controller->LoadMesh(re, srl)) // returns if scene cannot be loaded or if empty @@ -467,7 +469,7 @@ static void prepare(Render *re, SceneRenderLayer *srl) return; // compute view map - re->i.infostr = "Freestyle: View map creation"; + re->i.infostr = TIP_("Freestyle: View map creation"); re->stats_draw(re->sdh, &re->i); re->i.infostr = NULL; controller->ComputeViewMap(); @@ -622,7 +624,7 @@ Render *FRS_do_stroke_rendering(Render *re, SceneRenderLayer *srl, int render) // render and composite Freestyle result if (controller->_ViewMap) { // render strokes - re->i.infostr = "Freestyle: Stroke rendering"; + re->i.infostr = TIP_("Freestyle: Stroke rendering"); re->stats_draw(re->sdh, &re->i); re->i.infostr = NULL; g_freestyle.scene = re->scene; |