I18n: make more parts of the UI translatable
- "Name collisions" label in mesh properties - "Threshold" labels in Vertex Weight Edit modifier - "Particle System" label in Particle Instance modifier - Slot number in the Shader Editor - Status bar keymap items during modal operations: add TIP_() macro to status bar interface template - On dumping messages, sort preset files so their messages are stable between runs Ref. T43295 Reviewed By: mont29 Differential Revision: https://developer.blender.org/D15607
This commit is contained in:
@@ -375,8 +375,8 @@ class NODE_PT_material_slots(Panel):
|
||||
def draw_header(self, context):
|
||||
ob = context.object
|
||||
self.bl_label = (
|
||||
"Slot " + str(ob.active_material_index + 1) if ob.material_slots else
|
||||
"Slot"
|
||||
iface_("Slot %d") % (ob.active_material_index + 1) if ob.material_slots else
|
||||
iface_("Slot")
|
||||
)
|
||||
|
||||
# Duplicate part of 'EEVEE_MATERIAL_PT_context_material'.
|
||||
|
||||
Reference in New Issue
Block a user