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_camera.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_camera.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_data_camera.py | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_camera.py b/release/scripts/startup/bl_ui/properties_data_camera.py index 6d6f4c27ddf..5255af40951 100644 --- a/release/scripts/startup/bl_ui/properties_data_camera.py +++ b/release/scripts/startup/bl_ui/properties_data_camera.py @@ -20,7 +20,6 @@ import bpy from bpy.types import Panel from rna_prop_ui import PropertyPanel -from blf import gettext as _ class CameraButtonsPanel(): @@ -92,16 +91,16 @@ class DATA_PT_camera(CameraButtonsPanel, Panel): split = layout.split() col = split.column(align=True) - col.label(text=_("Shift:")) + col.label(text="Shift:") col.prop(cam, "shift_x", text="X") col.prop(cam, "shift_y", text="Y") col = split.column(align=True) - col.label(text=_("Clipping:")) - col.prop(cam, "clip_start", text=_("Start")) - col.prop(cam, "clip_end", text=_("End")) + col.label(text="Clipping:") + col.prop(cam, "clip_start", text="Start") + col.prop(cam, "clip_end", text="End") - layout.label(text=_("Depth of Field:")) + layout.label(text="Depth of Field:") split = layout.split() split.prop(cam, "dof_object", text="") @@ -110,7 +109,7 @@ class DATA_PT_camera(CameraButtonsPanel, Panel): if cam.dof_object is not None: col.enabled = False - col.prop(cam, "dof_distance", text=_("Distance")) + col.prop(cam, "dof_distance", text="Distance") class DATA_PT_camera_display(CameraButtonsPanel, Panel): @@ -125,19 +124,19 @@ class DATA_PT_camera_display(CameraButtonsPanel, Panel): split = layout.split() col = split.column() - col.prop(cam, "show_limits", text=_("Limits")) - col.prop(cam, "show_mist", text=_("Mist")) - col.prop(cam, "show_title_safe", text=_("Title Safe")) - col.prop(cam, "show_name", text=_("Name")) + col.prop(cam, "show_limits", text="Limits") + col.prop(cam, "show_mist", text="Mist") + col.prop(cam, "show_title_safe", text="Title Safe") + col.prop(cam, "show_name", text="Name") col.prop_menu_enum(cam, "show_guide") col = split.column() - col.prop(cam, "draw_size", text=_("Size")) + col.prop(cam, "draw_size", text="Size") col.separator() - col.prop(cam, "show_passepartout", text=_("Passepartout")) + col.prop(cam, "show_passepartout", text="Passepartout") sub = col.column() sub.active = cam.show_passepartout - sub.prop(cam, "passepartout_alpha", text=_("Alpha"), slider=True) + sub.prop(cam, "passepartout_alpha", text="Alpha", slider=True) class DATA_PT_custom_props_camera(CameraButtonsPanel, PropertyPanel, Panel): |