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

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-02-08 20:41:02 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-02-08 20:41:02 +0400
commitd26c06312138d9032f8534282af5ba2a1cad0089 (patch)
tree256d00d0c8e7d892b5bd74be9f8c819ae2c7bb4b /release/scripts/modules/rna_prop_ui.py
parentebf18c6df927c0075dcc9057cf1774309d56464e (diff)
disable translations for some python buttons.
Diffstat (limited to 'release/scripts/modules/rna_prop_ui.py')
-rw-r--r--release/scripts/modules/rna_prop_ui.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/modules/rna_prop_ui.py b/release/scripts/modules/rna_prop_ui.py
index 12438795539..5e8bccb815e 100644
--- a/release/scripts/modules/rna_prop_ui.py
+++ b/release/scripts/modules/rna_prop_ui.py
@@ -135,11 +135,11 @@ def draw(layout, context, context_member, property_type, use_edit=True):
else:
row = box.row()
- row.label(text=key)
+ row.label(text=key, translate=False)
# explicit exception for arrays
if to_dict or to_list:
- row.label(text=val_draw)
+ row.label(text=val_draw, translate=False)
else:
if key in rna_properties:
row.prop(rna_item, key, text="")