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:
Damien Picard
2022-08-09 12:42:16 +02:00
committed by Campbell Barton
parent 2de1b06287
commit af59e32c13
6 changed files with 11 additions and 9 deletions

View File

@@ -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'.