Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ui_translate/update_ui.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui_translate/update_ui.py b/ui_translate/update_ui.py
index df326d23..8fb79bef 100644
--- a/ui_translate/update_ui.py
+++ b/ui_translate/update_ui.py
@@ -138,11 +138,11 @@ class UI_UL_i18n_languages(UIList):
def draw_item(self, context, layout, data, item, icon, active_data, active_propname, index):
if self.layout_type in {'DEFAULT', 'COMPACT'}:
- layout.label(item.name, icon_value=icon)
+ layout.label(text=item.name, icon_value=icon)
layout.prop(item, "use", text="")
elif self.layout_type in {'GRID'}:
layout.alignment = 'CENTER'
- layout.label(item.uid)
+ layout.label(text=item.uid)
layout.prop(item, "use", text="")