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>2011-09-21 19:18:38 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-09-21 19:18:38 +0400
commitf4c56a879d946fb0a233307f72cd739e900f9f7c (patch)
treee9745cd2367e8cdd763ad515a9951b5f454c2056 /release/scripts/startup/bl_ui/properties_data_empty.py
parentae0124157f012aeda994534c21aebda1bae054cd (diff)
remove use of gettext: _("...") style translation now its handled by rna.
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_data_empty.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_data_empty.py11
1 files changed, 5 insertions, 6 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_empty.py b/release/scripts/startup/bl_ui/properties_data_empty.py
index fac6d8fcfb1..c781873e16c 100644
--- a/release/scripts/startup/bl_ui/properties_data_empty.py
+++ b/release/scripts/startup/bl_ui/properties_data_empty.py
@@ -19,7 +19,6 @@
# <pep8 compliant>
import bpy
from bpy.types import Panel
-from blf import gettext as _
class DataButtonsPanel():
@@ -40,17 +39,17 @@ class DATA_PT_empty(DataButtonsPanel, Panel):
ob = context.object
- layout.prop(ob, "empty_draw_type", text=_("Display"))
+ layout.prop(ob, "empty_draw_type", text="Display")
if ob.empty_draw_type == 'IMAGE':
layout.template_ID(ob, "data", open="image.open", unlink="image.unlink")
- layout.prop(ob, "color", text=_("Transparency"), index=3, slider=True)
+ layout.prop(ob, "color", text="Transparency", index=3, slider=True)
row = layout.row(align=True)
- row.prop(ob, "empty_image_offset", text=_("Offset X"), index=0)
- row.prop(ob, "empty_image_offset", text=_("Offset Y"), index=1)
+ row.prop(ob, "empty_image_offset", text="Offset X", index=0)
+ row.prop(ob, "empty_image_offset", text="Offset Y", index=1)
- layout.prop(ob, "empty_draw_size", text=_("Size"))
+ layout.prop(ob, "empty_draw_size", text="Size")
if __name__ == "__main__": # only for live edit.
bpy.utils.register_module(__name__)