I18N Messages: fix confusion with Light meanings.
Using ID_LIGHT or ID_ID for "Lamp" meaning, "Light" without context being for 'not heavy'. That rename of data-block was not really nice on that side of things :/ Related to T43295.
This commit is contained in:
@@ -2268,7 +2268,8 @@ void uiTemplatePreview(
|
||||
pr_texture, 10, TEX_PR_OTHER, 0, 0, "");
|
||||
}
|
||||
else if (GS(parent->name) == ID_LA) {
|
||||
uiDefButS(block, UI_BTYPE_ROW, B_MATPRV, IFACE_("Light"), 0, 0, UI_UNIT_X * 10, UI_UNIT_Y,
|
||||
uiDefButS(block, UI_BTYPE_ROW, B_MATPRV, CTX_IFACE_(BLT_I18NCONTEXT_ID_LIGHT, "Light"),
|
||||
0, 0, UI_UNIT_X * 10, UI_UNIT_Y,
|
||||
pr_texture, 10, TEX_PR_OTHER, 0, 0, "");
|
||||
}
|
||||
else if (GS(parent->name) == ID_WO) {
|
||||
|
||||
Reference in New Issue
Block a user