Fix [#32934] Some UI texts translated/untranslated regardless of "Interface" checkbox. Patch [#32935] by Shinsuke Irie, thanks!
This commit is contained in:
@@ -1405,7 +1405,7 @@ static void colorband_buttons_small(uiLayout *layout, uiBlock *block, ColorBand
|
|||||||
uiItemR(layout, &ptr, "color", 0, "", ICON_NONE);
|
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,
|
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"));
|
TIP_("Set interpolation between color stops"));
|
||||||
uiButSetNFunc(bt, rna_update_cb, MEM_dupallocN(cb), NULL);
|
uiButSetNFunc(bt, rna_update_cb, MEM_dupallocN(cb), NULL);
|
||||||
@@ -2744,7 +2744,7 @@ void uiTemplateRunningJobs(uiLayout *layout, bContext *C)
|
|||||||
uiDefIconTextBut(block, BUT, B_STOPCAST, ICON_CANCEL, IFACE_("Capture"), 0, 0, 85, UI_UNIT_Y, NULL, 0.0f, 0.0f, 0, 0,
|
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"));
|
TIP_("Stop screencast"));
|
||||||
if (screen->animtimer)
|
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"));
|
TIP_("Stop animation playback"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user