diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-09-21 19:18:38 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-09-21 19:18:38 +0400 |
commit | f4c56a879d946fb0a233307f72cd739e900f9f7c (patch) | |
tree | e9745cd2367e8cdd763ad515a9951b5f454c2056 /release/scripts/startup/bl_ui/properties_data_metaball.py | |
parent | ae0124157f012aeda994534c21aebda1bae054cd (diff) |
remove use of gettext: _("...") style translation now its handled by rna.
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_data_metaball.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_data_metaball.py | 31 |
1 files changed, 15 insertions, 16 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_metaball.py b/release/scripts/startup/bl_ui/properties_data_metaball.py index dbb947e416c..cd894e60dbb 100644 --- a/release/scripts/startup/bl_ui/properties_data_metaball.py +++ b/release/scripts/startup/bl_ui/properties_data_metaball.py @@ -20,7 +20,6 @@ import bpy from bpy.types import Panel from rna_prop_ui import PropertyPanel -from blf import gettext as _ class DataButtonsPanel(): @@ -61,16 +60,16 @@ class DATA_PT_metaball(DataButtonsPanel, Panel): split = layout.split() col = split.column() - col.label(text=_("Resolution:")) + col.label(text="Resolution:") sub = col.column(align=True) - sub.prop(mball, "resolution", text=_("View")) - sub.prop(mball, "render_resolution", text=_("Render")) + sub.prop(mball, "resolution", text="View") + sub.prop(mball, "render_resolution", text="Render") col = split.column() - col.label(text=_("Settings:")) - col.prop(mball, "threshold", text=_("Threshold")) + col.label(text="Settings:") + col.prop(mball, "threshold", text="Threshold") - layout.label(text=_("Update:")) + layout.label(text="Update:") layout.prop(mball, "update_method", expand=True) @@ -87,8 +86,8 @@ class DATA_PT_mball_texture_space(DataButtonsPanel, Panel): layout.prop(mball, "use_auto_texspace") row = layout.row() - row.column().prop(mball, "texspace_location", text=_("Location")) - row.column().prop(mball, "texspace_size", text=_("Size")) + row.column().prop(mball, "texspace_location", text="Location") + row.column().prop(mball, "texspace_size", text="Size") class DATA_PT_metaball_element(DataButtonsPanel, Panel): @@ -108,25 +107,25 @@ class DATA_PT_metaball_element(DataButtonsPanel, Panel): split = layout.split() col = split.column(align=True) - col.label(text=_("Settings:")) - col.prop(metaelem, "stiffness", text=_("Stiffness")) - col.prop(metaelem, "use_negative", text=_("Negative")) - col.prop(metaelem, "hide", text=_("Hide")) + col.label(text="Settings:") + col.prop(metaelem, "stiffness", text="Stiffness") + col.prop(metaelem, "use_negative", text="Negative") + col.prop(metaelem, "hide", text="Hide") col = split.column(align=True) if metaelem.type in {'CUBE', 'ELLIPSOID'}: - col.label(text=_("Size:")) + col.label(text="Size:") col.prop(metaelem, "size_x", text="X") col.prop(metaelem, "size_y", text="Y") col.prop(metaelem, "size_z", text="Z") elif metaelem.type == 'TUBE': - col.label(text=_("Size:")) + col.label(text="Size:") col.prop(metaelem, "size_x", text="X") elif metaelem.type == 'PLANE': - col.label(text=_("Size:")) + col.label(text="Size:") col.prop(metaelem, "size_x", text="X") col.prop(metaelem, "size_y", text="Y") |