[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [51474] trunk/blender/source/blender/ editors/interface/interface_templates.c: Fix [#32934] Some UI texts translated/untranslated regardless of "Interface" checkbox.
Bastien Montagne
montagne29 at wanadoo.fr
Sun Oct 21 10:13:34 CEST 2012
Revision: 51474
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=51474
Author: mont29
Date: 2012-10-21 08:13:34 +0000 (Sun, 21 Oct 2012)
Log Message:
-----------
Fix [#32934] Some UI texts translated/untranslated regardless of "Interface" checkbox. Patch [#32935] by Shinsuke Irie, thanks!
Modified Paths:
--------------
trunk/blender/source/blender/editors/interface/interface_templates.c
Modified: trunk/blender/source/blender/editors/interface/interface_templates.c
===================================================================
--- trunk/blender/source/blender/editors/interface/interface_templates.c 2012-10-21 08:11:04 UTC (rev 51473)
+++ trunk/blender/source/blender/editors/interface/interface_templates.c 2012-10-21 08:13:34 UTC (rev 51474)
@@ -1405,7 +1405,7 @@
uiItemR(layout, &ptr, "color", 0, "", ICON_NONE);
}
- bt = uiDefButS(block, MENU, 0, TIP_("Interpolation %t|Ease %x1|Cardinal %x3|Linear %x0|B-Spline %x2|Constant %x4"),
+ bt = uiDefButS(block, MENU, 0, IFACE_("Interpolation %t|Ease %x1|Cardinal %x3|Linear %x0|B-Spline %x2|Constant %x4"),
xs + 10.0f * unit, butr->ymin + UI_UNIT_Y, unit * 4, UI_UNIT_Y, &coba->ipotype, 0.0, 0.0, 0, 0,
TIP_("Set interpolation between color stops"));
uiButSetNFunc(bt, rna_update_cb, MEM_dupallocN(cb), NULL);
@@ -2744,7 +2744,7 @@
uiDefIconTextBut(block, BUT, B_STOPCAST, ICON_CANCEL, IFACE_("Capture"), 0, 0, 85, UI_UNIT_Y, NULL, 0.0f, 0.0f, 0, 0,
TIP_("Stop screencast"));
if (screen->animtimer)
- uiDefIconTextBut(block, BUT, B_STOPANIM, ICON_CANCEL, TIP_("Anim Player"), 0, 0, 100, UI_UNIT_Y, NULL, 0.0f, 0.0f, 0, 0,
+ uiDefIconTextBut(block, BUT, B_STOPANIM, ICON_CANCEL, IFACE_("Anim Player"), 0, 0, 100, UI_UNIT_Y, NULL, 0.0f, 0.0f, 0, 0,
TIP_("Stop animation playback"));
}
More information about the Bf-blender-cvs
mailing list