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:
@@ -3,6 +3,8 @@ import bpy
|
||||
from bpy.types import Menu, Panel, UIList
|
||||
from rna_prop_ui import PropertyPanel
|
||||
|
||||
from bpy.app.translations import pgettext_tip as tip_
|
||||
|
||||
|
||||
class MESH_MT_vertex_group_context_menu(Menu):
|
||||
bl_label = "Vertex Group Specials"
|
||||
@@ -592,7 +594,7 @@ class DATA_PT_mesh_attributes(MeshButtonsPanel, Panel):
|
||||
if not colliding_names:
|
||||
return
|
||||
|
||||
layout.label(text="Name collisions: " + ", ".join(set(colliding_names)), icon='ERROR')
|
||||
layout.label(text=tip_("Name collisions: ") + ", ".join(set(colliding_names)), icon='ERROR')
|
||||
|
||||
|
||||
class ColorAttributesListBase():
|
||||
|
||||
Reference in New Issue
Block a user