Fix uilists showing data names translated (reported on bf-translations ML by Satoshi...
[blender.git] / release / scripts / startup / bl_ui / properties_texture.py
index 9e8fd0470cf68b19b744abd46d4d7f1d09071aeb..dd30627abff0834210caa15d904ee2a15366fac6 100644 (file)
@@ -63,12 +63,12 @@ class TEXTURE_UL_texslots(UIList):
         slot = item
         tex = slot.texture if slot else None
         if self.layout_type in {'DEFAULT', 'COMPACT'}:
-            layout.label(tex.name if tex else "", icon_value=icon)
+            layout.label(text=tex.name if tex else "", translate=False, icon_value=icon)
             if tex and isinstance(item, bpy.types.MaterialTextureSlot):
                 layout.prop(ma, "use_textures", text="", index=index)
         elif self.layout_type in {'GRID'}:
             layout.alignment = 'CENTER'
-            layout.label("", icon_value=icon)
+            layout.label(text="", icon_value=icon)
 
 
 from bl_ui.properties_material import active_node_mat