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:
Diffstat (limited to 'release/scripts/startup')
-rw-r--r--release/scripts/startup/bl_operators/animsys_update.py2
-rw-r--r--release/scripts/startup/bl_operators/object.py71
-rw-r--r--release/scripts/startup/bl_operators/object_align.py17
-rw-r--r--release/scripts/startup/bl_operators/object_quick_effects.py19
-rw-r--r--release/scripts/startup/bl_operators/object_randomize_transform.py42
-rw-r--r--release/scripts/startup/bl_operators/presets.py38
-rw-r--r--release/scripts/startup/bl_operators/screen_play_rendered_anim.py4
-rw-r--r--release/scripts/startup/bl_operators/sequencer.py10
-rw-r--r--release/scripts/startup/bl_operators/wm.py206
-rw-r--r--release/scripts/startup/bl_ui/properties_animviz.py4
-rw-r--r--release/scripts/startup/bl_ui/properties_data_armature.py14
-rw-r--r--release/scripts/startup/bl_ui/properties_data_bone.py12
-rw-r--r--release/scripts/startup/bl_ui/properties_data_camera.py4
-rw-r--r--release/scripts/startup/bl_ui/properties_data_curve.py14
-rw-r--r--release/scripts/startup/bl_ui/properties_data_empty.py2
-rw-r--r--release/scripts/startup/bl_ui/properties_data_lamp.py14
-rw-r--r--release/scripts/startup/bl_ui/properties_data_lattice.py4
-rw-r--r--release/scripts/startup/bl_ui/properties_data_mesh.py16
-rw-r--r--release/scripts/startup/bl_ui/properties_data_metaball.py6
-rw-r--r--release/scripts/startup/bl_ui/properties_data_modifier.py2
-rw-r--r--release/scripts/startup/bl_ui/properties_game.py22
-rw-r--r--release/scripts/startup/bl_ui/properties_material.py46
-rw-r--r--release/scripts/startup/bl_ui/properties_object.py16
-rw-r--r--release/scripts/startup/bl_ui/properties_object_constraint.py4
-rw-r--r--release/scripts/startup/bl_ui/properties_particle.py26
-rw-r--r--release/scripts/startup/bl_ui/properties_physics_cloth.py12
-rw-r--r--release/scripts/startup/bl_ui/properties_physics_field.py4
-rw-r--r--release/scripts/startup/bl_ui/properties_physics_fluid.py8
-rw-r--r--release/scripts/startup/bl_ui/properties_physics_smoke.py10
-rw-r--r--release/scripts/startup/bl_ui/properties_physics_softbody.py14
-rw-r--r--release/scripts/startup/bl_ui/properties_render.py36
-rw-r--r--release/scripts/startup/bl_ui/properties_scene.py24
-rw-r--r--release/scripts/startup/bl_ui/properties_texture.py46
-rw-r--r--release/scripts/startup/bl_ui/properties_world.py14
-rw-r--r--release/scripts/startup/bl_ui/space_console.py14
-rw-r--r--release/scripts/startup/bl_ui/space_dopesheet.py16
-rw-r--r--release/scripts/startup/bl_ui/space_graph.py12
-rw-r--r--release/scripts/startup/bl_ui/space_image.py46
-rw-r--r--release/scripts/startup/bl_ui/space_info.py30
-rw-r--r--release/scripts/startup/bl_ui/space_logic.py6
-rw-r--r--release/scripts/startup/bl_ui/space_nla.py10
-rw-r--r--release/scripts/startup/bl_ui/space_node.py8
-rw-r--r--release/scripts/startup/bl_ui/space_outliner.py7
-rw-r--r--release/scripts/startup/bl_ui/space_sequencer.py32
-rw-r--r--release/scripts/startup/bl_ui/space_text.py20
-rw-r--r--release/scripts/startup/bl_ui/space_time.py10
-rw-r--r--release/scripts/startup/bl_ui/space_userpref.py84
-rw-r--r--release/scripts/startup/bl_ui/space_userpref_keymap.py62
-rw-r--r--release/scripts/startup/bl_ui/space_view3d.py170
-rw-r--r--release/scripts/startup/bl_ui/space_view3d_toolbar.py2
50 files changed, 666 insertions, 646 deletions
diff --git a/release/scripts/startup/bl_operators/animsys_update.py b/release/scripts/startup/bl_operators/animsys_update.py
index 1c4176d96fa..23b9cf13f07 100644
--- a/release/scripts/startup/bl_operators/animsys_update.py
+++ b/release/scripts/startup/bl_operators/animsys_update.py
@@ -17,7 +17,6 @@
# ##### END GPL LICENSE BLOCK #####
# <pep8 compliant>
-from blf import gettext as _
data_path_update = [
("ClothCollisionSettings", "min_distance", "distance_min"),
@@ -693,7 +692,6 @@ class UpdateAnimData(Operator):
"""Update data paths from 2.56 and previous versions, modifying data paths of drivers and fcurves"""
bl_idname = "anim.update_data_paths"
bl_label = "Update Animation Data"
- __doc__ = _("Update data paths from 2.56 and previous versions, modifying data paths of drivers and fcurves")
def execute(self, context):
import animsys_refactor
diff --git a/release/scripts/startup/bl_operators/object.py b/release/scripts/startup/bl_operators/object.py
index bd879fa8679..6c9f27afaa5 100644
--- a/release/scripts/startup/bl_operators/object.py
+++ b/release/scripts/startup/bl_operators/object.py
@@ -21,29 +21,28 @@
import bpy
from bpy.types import Operator
from bpy.props import StringProperty, BoolProperty, EnumProperty, IntProperty
-from blf import gettext as _
class SelectPattern(Operator):
'''Select object matching a naming pattern'''
bl_idname = "object.select_pattern"
- bl_label = _("Select Pattern")
+ bl_label = "Select Pattern"
bl_options = {'REGISTER', 'UNDO'}
pattern = StringProperty(
- name=_("Pattern"),
- description=_("Name filter using '*' and '?' wildcard chars"),
+ name="Pattern",
+ description="Name filter using '*' and '?' wildcard chars",
maxlen=32,
default="*",
)
case_sensitive = BoolProperty(
- name=_("Case Sensitive"),
- description=_("Do a case sensitive compare"),
+ name="Case Sensitive",
+ description="Do a case sensitive compare",
default=False,
)
extend = BoolProperty(
- name=_("Extend"),
- description=_("Extend the existing selection"),
+ name="Extend",
+ description="Extend the existing selection",
default=True,
)
@@ -104,7 +103,7 @@ class SelectPattern(Operator):
class SelectCamera(Operator):
'''Select object matching a naming pattern'''
bl_idname = "object.select_camera"
- bl_label = _("Select Camera")
+ bl_label = "Select Camera"
bl_options = {'REGISTER', 'UNDO'}
@classmethod
@@ -126,20 +125,20 @@ class SelectHierarchy(Operator):
'''Select object relative to the active objects position''' \
'''in the hierarchy'''
bl_idname = "object.select_hierarchy"
- bl_label = _("Select Hierarchy")
+ bl_label = "Select Hierarchy"
bl_options = {'REGISTER', 'UNDO'}
direction = EnumProperty(
- items=(('PARENT', _("Parent"), ""),
- ('CHILD', _("Child"), "")
+ items=(('PARENT', "Parent", ""),
+ ('CHILD', "Child", ""),
),
- name=_("Direction"),
- description=_("Direction to select in the hierarchy"),
+ name="Direction",
+ description="Direction to select in the hierarchy",
default='PARENT')
extend = BoolProperty(
- name=_("Extend"),
- description=_("Extend the existing selection"),
+ name="Extend",
+ description="Extend the existing selection",
default=False,
)
@@ -193,19 +192,20 @@ class SubdivisionSet(Operator):
'''Sets a Subdivision Surface Level (1-5)'''
bl_idname = "object.subdivision_set"
- bl_label = _("Subdivision Set")
+ bl_label = "Subdivision Set"
bl_options = {'REGISTER', 'UNDO'}
level = IntProperty(
- name=_("Level"),
+ name="Level",
min=-100, max=100,
soft_min=-6, soft_max=6,
default=1,
)
relative = BoolProperty(
- name=_("Relative"),
- description=_("Apply the subsurf level as an offset relative to the current level"),
+ name="Relative",
+ description=("Apply the subsurf level as an offset "
+ "relative to the current level"),
default=False,
)
@@ -273,30 +273,31 @@ class ShapeTransfer(Operator):
'''applying the relative offsets'''
bl_idname = "object.shape_key_transfer"
- bl_label = _("Transfer Shape Key")
+ bl_label = "Transfer Shape Key"
bl_options = {'REGISTER', 'UNDO'}
mode = EnumProperty(
items=(('OFFSET',
- _("Offset"),
- _("Apply the relative positional offset")
+ "Offset",
+ "Apply the relative positional offset",
),
('RELATIVE_FACE',
- _("Relative Face"),
- _("Calculate relative position (using faces)."),
+ "Relative Face",
+ "Calculate relative position (using faces).",
),
('RELATIVE_EDGE',
- _("Relative Edge"),
- _("Calculate relative position (using edges)."),
+ "Relative Edge",
+ "Calculate relative position (using edges).",
),
),
- name=_("Transformation Mode"),
- description=_("Relative shape positions to the new shape method"),
+ name="Transformation Mode",
+ description="Relative shape positions to the new shape method",
default='OFFSET',
)
use_clamp = BoolProperty(
- name=_("Clamp Offset"),
- description=_("Clamp the transformation to the distance each vertex moves in the original shape."),
+ name="Clamp Offset",
+ description=("Clamp the transformation to the distance each "
+ "vertex moves in the original shape."),
default=False,
)
@@ -514,7 +515,7 @@ class ShapeTransfer(Operator):
class JoinUVs(Operator):
'''Copy UV Layout to objects with matching geometry'''
bl_idname = "object.join_uvs"
- bl_label = _("Join as UVs")
+ bl_label = "Join as UVs"
@classmethod
def poll(cls, context):
@@ -582,7 +583,7 @@ class JoinUVs(Operator):
class MakeDupliFace(Operator):
'''Make linked objects into dupli-faces'''
bl_idname = "object.make_dupli_face"
- bl_label = _("Make Dupli-Face")
+ bl_label = "Make Dupli-Face"
@classmethod
def poll(cls, context):
@@ -657,7 +658,7 @@ class IsolateTypeRender(Operator):
'''Hide unselected render objects of same type as active ''' \
'''by setting the hide render flag'''
bl_idname = "object.isolate_type_render"
- bl_label = _("Restrict Render Unselected")
+ bl_label = "Restrict Render Unselected"
bl_options = {'REGISTER', 'UNDO'}
def execute(self, context):
@@ -677,7 +678,7 @@ class IsolateTypeRender(Operator):
class ClearAllRestrictRender(Operator):
'''Reveal all render objects by setting the hide render flag'''
bl_idname = "object.hide_render_clear_all"
- bl_label = _("Clear All Restrict Render")
+ bl_label = "Clear All Restrict Render"
bl_options = {'REGISTER', 'UNDO'}
def execute(self, context):
diff --git a/release/scripts/startup/bl_operators/object_align.py b/release/scripts/startup/bl_operators/object_align.py
index c70b33598b4..50e9bfb5b98 100644
--- a/release/scripts/startup/bl_operators/object_align.py
+++ b/release/scripts/startup/bl_operators/object_align.py
@@ -21,7 +21,6 @@
import bpy
from bpy.types import Operator
from mathutils import Vector
-from blf import gettext as _
def GlobalBB_LQ(bb_world):
@@ -344,16 +343,18 @@ from bpy.props import EnumProperty, BoolProperty
class AlignObjects(Operator):
'''Align Objects'''
bl_idname = "object.align"
- bl_label = _("Align Objects")
+ bl_label = "Align Objects"
bl_options = {'REGISTER', 'UNDO'}
bb_quality = BoolProperty(
- name=_("High Quality"),
- description=_("Enables high quality calculation of the bounding box for perfect results on complex shape meshes with rotation/scale (Slow)"),
+ name="High Quality",
+ description=("Enables high quality calculation of the "
+ "bounding box for perfect results on complex "
+ "shape meshes with rotation/scale (Slow)"),
default=True,
)
align_mode = EnumProperty(
- name=_("Align Mode:"),
+ name="Align Mode:",
items=(('OPT_1', "Negative Sides", ""),
('OPT_2', "Centers", ""),
('OPT_3', "Positive Sides", ""),
@@ -361,7 +362,7 @@ class AlignObjects(Operator):
default='OPT_2',
)
relative_to = EnumProperty(
- name=_("Relative To:"),
+ name="Relative To:",
items=(('OPT_1', "Scene Origin", ""),
('OPT_2', "3D Cursor", ""),
('OPT_3', "Selection", ""),
@@ -370,8 +371,8 @@ class AlignObjects(Operator):
default='OPT_4',
)
align_axis = EnumProperty(
- name=_("Align"),
- description=_("Align to axis"),
+ name="Align",
+ description="Align to axis",
items=(('X', "X", ""),
('Y', "Y", ""),
('Z', "Z", ""),
diff --git a/release/scripts/startup/bl_operators/object_quick_effects.py b/release/scripts/startup/bl_operators/object_quick_effects.py
index 7b616ea5dca..48b547980d4 100644
--- a/release/scripts/startup/bl_operators/object_quick_effects.py
+++ b/release/scripts/startup/bl_operators/object_quick_effects.py
@@ -27,7 +27,7 @@ from bpy.props import (BoolProperty,
FloatProperty,
FloatVectorProperty,
)
-from blf import gettext as _
+
def object_ensure_material(obj, mat_name):
""" Use an existing material or add a new one.
@@ -306,8 +306,8 @@ class QuickSmoke(Operator):
)
show_flows = BoolProperty(
- name=_("Render Smoke Objects"),
- description=_("Keep the smoke objects visible during rendering."),
+ name="Render Smoke Objects",
+ description="Keep the smoke objects visible during rendering.",
default=False,
)
@@ -420,20 +420,21 @@ class QuickFluid(Operator):
default='BASIC',
)
initial_velocity = FloatVectorProperty(
- name=_("Initial Velocity"),
- description=_("Initial velocity of the fluid"),
+ name="Initial Velocity",
+ description="Initial velocity of the fluid",
min=-100.0, max=100.0,
default=(0.0, 0.0, 0.0),
subtype='VELOCITY',
)
show_flows = BoolProperty(
- name=_("Render Fluid Objects"),
- description=_("Keep the fluid objects visible during rendering."),
+ name="Render Fluid Objects",
+ description="Keep the fluid objects visible during rendering.",
default=False,
)
start_baking = BoolProperty(
- name=_("Start Fluid Bake"),
- description=_("Start baking the fluid immediately after creating the domain object"),
+ name="Start Fluid Bake",
+ description=("Start baking the fluid immediately "
+ "after creating the domain object"),
default=False,
)
diff --git a/release/scripts/startup/bl_operators/object_randomize_transform.py b/release/scripts/startup/bl_operators/object_randomize_transform.py
index 2f40741bb18..7aea18487f3 100644
--- a/release/scripts/startup/bl_operators/object_randomize_transform.py
+++ b/release/scripts/startup/bl_operators/object_randomize_transform.py
@@ -19,9 +19,7 @@
# <pep8-80 compliant>
import bpy
-
from bpy.types import Operator
-from blf import gettext as _
def randomize_selected(seed, delta, loc, rot, scale, scale_even):
@@ -93,55 +91,57 @@ from bpy.props import IntProperty, BoolProperty, FloatVectorProperty
class RandomizeLocRotSize(Operator):
'''Randomize objects loc/rot/scale'''
bl_idname = "object.randomize_transform"
- bl_label = _("Randomize Transform")
+ bl_label = "Randomize Transform"
bl_options = {'REGISTER', 'UNDO'}
random_seed = IntProperty(
- name=_("Random Seed"),
- description=_("Seed value for the random generator"),
+ name="Random Seed",
+ description="Seed value for the random generator",
min=0,
max=1000,
default=0,
)
use_delta = BoolProperty(
- name=_("Transform Delta"),
- description=_("Randomize delta transform values instead of regular transform"),
+ name="Transform Delta",
+ description=("Randomize delta transform values "
+ "instead of regular transform"),
default=False,
)
use_loc = BoolProperty(
- name=_("Randomize Location"),
- description=_("Randomize the location values"),
+ name="Randomize Location",
+ description="Randomize the location values",
default=True,
)
loc = FloatVectorProperty(
- name=_("Location"),
- description=_("Maximun distance the objects can spread over each axis"),
+ name="Location",
+ description=("Maximun distance the objects "
+ "can spread over each axis"),
min=-100.0,
max=100.0,
default=(0.0, 0.0, 0.0),
subtype='TRANSLATION',
)
use_rot = BoolProperty(
- name=_("Randomize Rotation"),
- description=_("Randomize the rotation values"),
+ name="Randomize Rotation",
+ description="Randomize the rotation values",
default=True,
)
rot = FloatVectorProperty(
- name=_("Rotation"),
- description=_("Maximun rotation over each axis"),
+ name="Rotation",
+ description="Maximun rotation over each axis",
min=-180.0,
max=180.0,
default=(0.0, 0.0, 0.0),
subtype='TRANSLATION',
)
use_scale = BoolProperty(
- name=_("Randomize Scale"),
- description=_("Randomize the scale values"),
+ name="Randomize Scale",
+ description="Randomize the scale values",
default=True,
)
scale_even = BoolProperty(
- name=_("Scale Even"),
- description=_("Use the same scale value for all axis"),
+ name="Scale Even",
+ description="Use the same scale value for all axis",
default=False,
)
@@ -153,8 +153,8 @@ class RandomizeLocRotSize(Operator):
)'''
scale = FloatVectorProperty(
- name=_("Scale"),
- description=_("Maximum scale randomization over each axis"),
+ name="Scale",
+ description="Maximum scale randomization over each axis",
min=-100.0,
max=100.0,
default=(0.0, 0.0, 0.0),
diff --git a/release/scripts/startup/bl_operators/presets.py b/release/scripts/startup/bl_operators/presets.py
index ec0a650dd40..2fd0c4a9e12 100644
--- a/release/scripts/startup/bl_operators/presets.py
+++ b/release/scripts/startup/bl_operators/presets.py
@@ -20,7 +20,6 @@
import bpy
from bpy.types import Menu, Operator
-from blf import gettext as _
class AddPresetBase():
@@ -33,8 +32,8 @@ class AddPresetBase():
bl_options = {'REGISTER'} # only because invoke_props_popup requires.
name = bpy.props.StringProperty(
- name=_("Name"),
- description=_("Name of the preset, used to make the path name"),
+ name="Name",
+ description="Name of the preset, used to make the path name",
maxlen=64,
)
remove_active = bpy.props.BoolProperty(
@@ -145,17 +144,16 @@ class AddPresetBase():
class ExecutePreset(Operator):
''' Executes a preset '''
bl_idname = "script.execute_preset"
- bl_label = _("Execute a Python Preset")
- __doc__ = _(" Executes a preset ")
+ bl_label = "Execute a Python Preset"
filepath = bpy.props.StringProperty(
- name=_("Path"),
- description=_("Path of the Python file to execute"),
+ name="Path",
+ description="Path of the Python file to execute",
maxlen=512,
)
menu_idname = bpy.props.StringProperty(
- name=_("Menu ID Name"),
- description=_("ID name of the menu this was called from"),
+ name="Menu ID Name",
+ description="ID name of the menu this was called from",
)
def execute(self, context):
@@ -174,7 +172,7 @@ class ExecutePreset(Operator):
class AddPresetRender(AddPresetBase, Operator):
'''Add a Render Preset'''
bl_idname = "render.preset_add"
- bl_label = _("Add Render Preset")
+ bl_label = "Add Render Preset"
preset_menu = "RENDER_MT_presets"
preset_defines = [
@@ -200,9 +198,8 @@ class AddPresetRender(AddPresetBase, Operator):
class AddPresetSSS(AddPresetBase, Operator):
'''Add a Subsurface Scattering Preset'''
bl_idname = "material.sss_preset_add"
- bl_label = _("Add SSS Preset")
+ bl_label = "Add SSS Preset"
preset_menu = "MATERIAL_MT_sss_presets"
- __doc__ = _("Add a Subsurface Scattering Preset")
preset_defines = [
("material = "
@@ -229,7 +226,7 @@ class AddPresetSSS(AddPresetBase, Operator):
class AddPresetCloth(AddPresetBase, Operator):
'''Add a Cloth Preset'''
bl_idname = "cloth.preset_add"
- bl_label = _("Add Cloth Preset")
+ bl_label = "Add Cloth Preset"
preset_menu = "CLOTH_MT_presets"
preset_defines = [
@@ -251,7 +248,7 @@ class AddPresetCloth(AddPresetBase, Operator):
class AddPresetSunSky(AddPresetBase, Operator):
'''Add a Sky & Atmosphere Preset'''
bl_idname = "lamp.sunsky_preset_add"
- bl_label = _("Add Sunsky Preset")
+ bl_label = "Add Sunsky Preset"
preset_menu = "LAMP_MT_sunsky_presets"
preset_defines = [
@@ -280,9 +277,8 @@ class AddPresetSunSky(AddPresetBase, Operator):
class AddPresetInteraction(AddPresetBase, Operator):
'''Add an Application Interaction Preset'''
bl_idname = "wm.interaction_preset_add"
- bl_label = _("Add Interaction Preset")
+ bl_label = "Add Interaction Preset"
preset_menu = "USERPREF_MT_interaction_presets"
- __doc__ = _('Add an Application Interaction Preset')
preset_defines = [
"user_preferences = bpy.context.user_preferences"
@@ -307,10 +303,9 @@ class AddPresetInteraction(AddPresetBase, Operator):
class AddPresetKeyconfig(AddPresetBase, Operator):
'''Add a Keyconfig Preset'''
bl_idname = "wm.keyconfig_preset_add"
- bl_label = _("Add Keyconfig Preset")
+ bl_label = "Add Keyconfig Preset"
preset_menu = "USERPREF_MT_keyconfigs"
preset_subdir = "keyconfig"
- __doc__ = _('Add a Keyconfig Preset')
def add(self, context, filepath):
bpy.ops.wm.keyconfig_export(filepath=filepath)
@@ -331,12 +326,11 @@ class AddPresetKeyconfig(AddPresetBase, Operator):
class AddPresetOperator(AddPresetBase, Operator):
'''Add an Application Interaction Preset'''
bl_idname = "wm.operator_preset_add"
- bl_label = _("Operator Preset")
+ bl_label = "Operator Preset"
preset_menu = "WM_MT_operator_presets"
- __doc__ = _("Add an Application Interaction Preset")
operator = bpy.props.StringProperty(
- name=_("Operator"),
+ name="Operator",
maxlen=64,
options={'HIDDEN'},
)
@@ -375,7 +369,7 @@ class AddPresetOperator(AddPresetBase, Operator):
class WM_MT_operator_presets(Menu):
- bl_label = _("Operator Presets")
+ bl_label = "Operator Presets"
def draw(self, context):
self.operator = context.space_data.operator.bl_idname
diff --git a/release/scripts/startup/bl_operators/screen_play_rendered_anim.py b/release/scripts/startup/bl_operators/screen_play_rendered_anim.py
index 32226ec0b1e..c2a09d6a4ae 100644
--- a/release/scripts/startup/bl_operators/screen_play_rendered_anim.py
+++ b/release/scripts/startup/bl_operators/screen_play_rendered_anim.py
@@ -23,7 +23,6 @@
import bpy
from bpy.types import Operator
import os
-from blf import gettext as _
def guess_player_path(preset):
@@ -69,9 +68,8 @@ def guess_player_path(preset):
class PlayRenderedAnim(Operator):
'''Plays back rendered frames/movies using an external player.'''
bl_idname = "render.play_rendered_anim"
- bl_label = _("Play Rendered Animation")
+ bl_label = "Play Rendered Animation"
bl_options = {'REGISTER'}
- __doc__ = _("Plays back rendered frames/movies using an external player.")
def execute(self, context):
import subprocess
diff --git a/release/scripts/startup/bl_operators/sequencer.py b/release/scripts/startup/bl_operators/sequencer.py
index 44fb0b2efb4..856e182279a 100644
--- a/release/scripts/startup/bl_operators/sequencer.py
+++ b/release/scripts/startup/bl_operators/sequencer.py
@@ -22,14 +22,13 @@ import bpy
from bpy.types import Operator
from bpy.props import IntProperty
-from blf import gettext as _
class SequencerCrossfadeSounds(Operator):
'''Do crossfading volume animation of two selected sound strips.'''
bl_idname = "sequencer.crossfade_sounds"
- bl_label = _("Crossfade sounds")
+ bl_label = "Crossfade sounds"
bl_options = {'REGISTER', 'UNDO'}
@classmethod
@@ -80,11 +79,11 @@ class SequencerCutMulticam(Operator):
'''Cut multicam strip and select camera.'''
bl_idname = "sequencer.cut_multicam"
- bl_label = _("Cut multicam")
+ bl_label = "Cut multicam"
bl_options = {'REGISTER', 'UNDO'}
camera = IntProperty(
- name=_("Camera"),
+ name="Camera",
min=1, max=32,
soft_min=1, soft_max=32,
default=1,
@@ -122,9 +121,8 @@ class SequencerDeinterlaceSelectedMovies(Operator):
'''Deinterlace all selected movie sources.'''
bl_idname = "sequencer.deinterlace_selected_movies"
- bl_label = _("Deinterlace Movies")
+ bl_label = "Deinterlace Movies"
bl_options = {'REGISTER', 'UNDO'}
- __doc__ = _("Deinterlace all selected movie sources.")
@classmethod
def poll(cls, context):
diff --git a/release/scripts/startup/bl_operators/wm.py b/release/scripts/startup/bl_operators/wm.py
index 4f37d0287e3..63ee6c8b5d2 100644
--- a/release/scripts/startup/bl_operators/wm.py
+++ b/release/scripts/startup/bl_operators/wm.py
@@ -28,13 +28,12 @@ from bpy.props import (StringProperty,
)
from rna_prop_ui import rna_idprop_ui_prop_get, rna_idprop_ui_prop_clear
-from blf import gettext as _
class MESH_OT_delete_edgeloop(Operator):
'''Delete an edge loop by merging the faces on each side to a single face loop'''
bl_idname = "mesh.delete_edgeloop"
- bl_label = _("Delete Edge Loop")
+ bl_label = "Delete Edge Loop"
def execute(self, context):
if 'FINISHED' in bpy.ops.transform.edge_slide(value=1.0):
@@ -45,20 +44,20 @@ class MESH_OT_delete_edgeloop(Operator):
return {'CANCELLED'}
rna_path_prop = StringProperty(
- name=_("Context Attributes"),
- description=_("rna context string"),
+ name="Context Attributes",
+ description="rna context string",
maxlen=1024,
)
rna_reverse_prop = BoolProperty(
- name=_("Reverse"),
- description=_("Cycle backwards"),
+ name="Reverse",
+ description="Cycle backwards",
default=False,
)
rna_relative_prop = BoolProperty(
- name=_("Relative"),
- description=_("Apply relative to the current value (delta)"),
+ name="Relative",
+ description="Apply relative to the current value (delta)",
default=False,
)
@@ -141,16 +140,16 @@ def execute_context_assign(self, context):
class BRUSH_OT_active_index_set(Operator):
'''Set active sculpt/paint brush from it's number'''
bl_idname = "brush.active_index_set"
- bl_label = _("Set Brush Number")
+ bl_label = "Set Brush Number"
mode = StringProperty(
- name=_("mode"),
- description=_("Paint mode to set brush for"),
+ name="mode",
+ description="Paint mode to set brush for",
maxlen=1024,
)
index = IntProperty(
- name=_("number"),
- description=_("Brush number"),
+ name="number",
+ description="Brush number",
)
_attr_dict = {"sculpt": "use_paint_sculpt",
@@ -175,13 +174,13 @@ class BRUSH_OT_active_index_set(Operator):
class WM_OT_context_set_boolean(Operator):
'''Set a context value.'''
bl_idname = "wm.context_set_boolean"
- bl_label = _("Context Set Boolean")
+ bl_label = "Context Set Boolean"
bl_options = {'UNDO', 'INTERNAL'}
data_path = rna_path_prop
value = BoolProperty(
- name=_("Value"),
- description=_("Assignment value"),
+ name="Value",
+ description="Assignment value",
default=True,
)
@@ -191,13 +190,13 @@ class WM_OT_context_set_boolean(Operator):
class WM_OT_context_set_int(Operator): # same as enum
'''Set a context value.'''
bl_idname = "wm.context_set_int"
- bl_label = _("Context Set")
+ bl_label = "Context Set"
bl_options = {'UNDO', 'INTERNAL'}
data_path = rna_path_prop
value = IntProperty(
- name=_("Value"),
- description=_("Assign value"),
+ name="Value",
+ description="Assign value",
default=0,
)
relative = rna_relative_prop
@@ -208,18 +207,18 @@ class WM_OT_context_set_int(Operator): # same as enum
class WM_OT_context_scale_int(Operator):
'''Scale an int context value.'''
bl_idname = "wm.context_scale_int"
- bl_label = _("Context Set")
+ bl_label = "Context Set"
bl_options = {'UNDO', 'INTERNAL'}
data_path = rna_path_prop
value = FloatProperty(
- name=_("Value"),
- description=_("Assign value"),
+ name="Value",
+ description="Assign value",
default=1.0,
)
always_step = BoolProperty(
- name=_("Always Step"),
- description=_("Always adjust the value by a minimum of 1 when 'value' is not 1.0."),
+ name="Always Step",
+ description="Always adjust the value by a minimum of 1 when 'value' is not 1.0.",
default=True,
)
@@ -251,13 +250,13 @@ class WM_OT_context_scale_int(Operator):
class WM_OT_context_set_float(Operator): # same as enum
'''Set a context value.'''
bl_idname = "wm.context_set_float"
- bl_label = _("Context Set Float")
+ bl_label = "Context Set Float"
bl_options = {'UNDO', 'INTERNAL'}
data_path = rna_path_prop
value = FloatProperty(
- name=_("Value"),
- description=_("Assignment value"),
+ name="Value",
+ description="Assignment value",
default=0.0,
)
relative = rna_relative_prop
@@ -268,13 +267,13 @@ class WM_OT_context_set_float(Operator): # same as enum
class WM_OT_context_set_string(Operator): # same as enum
'''Set a context value.'''
bl_idname = "wm.context_set_string"
- bl_label = _("Context Set String")
+ bl_label = "Context Set String"
bl_options = {'UNDO', 'INTERNAL'}
data_path = rna_path_prop
value = StringProperty(
- name=_("Value"),
- description=_("Assign value"),
+ name="Value",
+ description="Assign value",
maxlen=1024,
)
@@ -284,13 +283,13 @@ class WM_OT_context_set_string(Operator): # same as enum
class WM_OT_context_set_enum(Operator):
'''Set a context value.'''
bl_idname = "wm.context_set_enum"
- bl_label = _("Context Set Enum")
+ bl_label = "Context Set Enum"
bl_options = {'UNDO', 'INTERNAL'}
data_path = rna_path_prop
value = StringProperty(
- name=_("Value"),
- description=_("Assignment value (as a string)"),
+ name="Value",
+ description="Assignment value (as a string)",
maxlen=1024,
)
@@ -300,13 +299,13 @@ class WM_OT_context_set_enum(Operator):
class WM_OT_context_set_value(Operator):
'''Set a context value.'''
bl_idname = "wm.context_set_value"
- bl_label = _("Context Set Value")
+ bl_label = "Context Set Value"
bl_options = {'UNDO', 'INTERNAL'}
data_path = rna_path_prop
value = StringProperty(
- name=_("Value"),
- description=_("Assignment value (as a string)"),
+ name="Value",
+ description="Assignment value (as a string)",
maxlen=1024,
)
@@ -321,7 +320,7 @@ class WM_OT_context_set_value(Operator):
class WM_OT_context_toggle(Operator):
'''Toggle a context value.'''
bl_idname = "wm.context_toggle"
- bl_label = _("Context Toggle")
+ bl_label = "Context Toggle"
bl_options = {'UNDO', 'INTERNAL'}
data_path = rna_path_prop
@@ -340,18 +339,18 @@ class WM_OT_context_toggle(Operator):
class WM_OT_context_toggle_enum(Operator):
'''Toggle a context value.'''
bl_idname = "wm.context_toggle_enum"
- bl_label = _("Context Toggle Values")
+ bl_label = "Context Toggle Values"
bl_options = {'UNDO', 'INTERNAL'}
data_path = rna_path_prop
value_1 = StringProperty(
- name=_("Value"),
- description=_("Toggle enum"),
+ name="Value",
+ description="Toggle enum",
maxlen=1024,
)
value_2 = StringProperty(
- name=_("Value"),
- description=_("Toggle enum"),
+ name="Value",
+ description="Toggle enum",
maxlen=1024,
)
@@ -374,7 +373,7 @@ class WM_OT_context_cycle_int(Operator):
'''Set a context value. Useful for cycling active material, '''
'''vertex keys, groups' etc.'''
bl_idname = "wm.context_cycle_int"
- bl_label = _("Context Int Cycle")
+ bl_label = "Context Int Cycle"
bl_options = {'UNDO', 'INTERNAL'}
data_path = rna_path_prop
@@ -408,7 +407,7 @@ class WM_OT_context_cycle_int(Operator):
class WM_OT_context_cycle_enum(Operator):
'''Toggle a context value.'''
bl_idname = "wm.context_cycle_enum"
- bl_label = _("Context Enum Cycle")
+ bl_label = "Context Enum Cycle"
bl_options = {'UNDO', 'INTERNAL'}
data_path = rna_path_prop
@@ -461,7 +460,7 @@ class WM_OT_context_cycle_array(Operator):
'''Set a context array value.
Useful for cycling the active mesh edit mode.'''
bl_idname = "wm.context_cycle_array"
- bl_label = _("Context Array Cycle")
+ bl_label = "Context Array Cycle"
bl_options = {'UNDO', 'INTERNAL'}
data_path = rna_path_prop
@@ -507,7 +506,7 @@ class WM_MT_context_menu_enum(Menu):
class WM_OT_context_menu_enum(Operator):
bl_idname = "wm.context_menu_enum"
- bl_label = _("Context Enum Menu")
+ bl_label = "Context Enum Menu"
bl_options = {'UNDO', 'INTERNAL'}
data_path = rna_path_prop
@@ -521,13 +520,13 @@ class WM_OT_context_menu_enum(Operator):
class WM_OT_context_set_id(Operator):
'''Toggle a context value.'''
bl_idname = "wm.context_set_id"
- bl_label = _("Set Library ID")
+ bl_label = "Set Library ID"
bl_options = {'UNDO', 'INTERNAL'}
data_path = rna_path_prop
value = StringProperty(
- name=_("Value"),
- description=_("Assign value"),
+ name="Value",
+ description="Assign value",
maxlen=1024,
)
@@ -557,13 +556,13 @@ class WM_OT_context_set_id(Operator):
doc_id = StringProperty(
- name=_("Doc ID"),
+ name="Doc ID",
maxlen=1024,
options={'HIDDEN'},
)
doc_new = StringProperty(
- name=_("Edit Description"),
+ name="Edit Description",
maxlen=1024,
)
@@ -636,18 +635,18 @@ class WM_OT_context_collection_boolean_set(Operator):
class WM_OT_context_modal_mouse(Operator):
'''Adjust arbitrary values with mouse input'''
bl_idname = "wm.context_modal_mouse"
- bl_label = _("Context Modal Mouse")
+ bl_label = "Context Modal Mouse"
bl_options = {'GRAB_POINTER', 'BLOCKING', 'UNDO', 'INTERNAL'}
data_path_iter = data_path_iter
data_path_item = data_path_item
input_scale = FloatProperty(
- description=_("Scale the mouse movement by this value before applying the delta"),
+ description="Scale the mouse movement by this value before applying the delta",
default=0.01,
)
invert = BoolProperty(
- description=_("Invert the mouse input"),
+ description="Invert the mouse input",
default=False,
)
initial_x = IntProperty(options={'HIDDEN'})
@@ -729,7 +728,6 @@ class WM_OT_context_modal_mouse(Operator):
class WM_OT_url_open(Operator):
"Open a website in the Webbrowser"
- __doc__ = _("Open a website in the Webbrowser")
bl_idname = "wm.url_open"
bl_label = ""
@@ -750,7 +748,7 @@ class WM_OT_path_open(Operator):
bl_label = ""
filepath = StringProperty(
- name=_("File Path"),
+ name="File Path",
maxlen=1024,
subtype='FILE_PATH',
)
@@ -784,7 +782,7 @@ class WM_OT_path_open(Operator):
class WM_OT_doc_view(Operator):
'''Load online reference docs'''
bl_idname = "wm.doc_view"
- bl_label = _("View Documentation")
+ bl_label = "View Documentation"
doc_id = doc_id
if bpy.app.version_cycle == "release":
@@ -839,7 +837,7 @@ class WM_OT_doc_view(Operator):
class WM_OT_doc_edit(Operator):
'''Load online reference docs'''
bl_idname = "wm.doc_edit"
- bl_label = _("Edit Documentation")
+ bl_label = "Edit Documentation"
doc_id = doc_id
doc_new = doc_new
@@ -899,7 +897,7 @@ class WM_OT_doc_edit(Operator):
def draw(self, context):
layout = self.layout
- layout.label(text=_("Descriptor ID")+": '%s'" % self.doc_id)
+ layout.label(text="Descriptor ID: '%s'" % self.doc_id)
layout.prop(self, "doc_new", text="")
def invoke(self, context, event):
@@ -908,26 +906,26 @@ class WM_OT_doc_edit(Operator):
rna_path = StringProperty(
- name=_("Property Edit"),
- description=_("Property data_path edit"),
+ name="Property Edit",
+ description="Property data_path edit",
maxlen=1024,
options={'HIDDEN'},
)
rna_value = StringProperty(
- name=_("Property Value"),
- description=_("Property value edit"),
+ name="Property Value",
+ description="Property value edit",
maxlen=1024,
)
rna_property = StringProperty(
- name=_("Property Name"),
- description=_("Property name edit"),
+ name="Property Name",
+ description="Property name edit",
maxlen=1024,
)
rna_min = FloatProperty(
- name=_("Min"),
+ name="Min",
default=0.0,
precision=3,
)
@@ -942,8 +940,7 @@ rna_max = FloatProperty(
class WM_OT_properties_edit(Operator):
'''Internal use (edit a property data_path)'''
bl_idname = "wm.properties_edit"
- bl_label = _("Edit Property")
- __doc__ = _("Internal use (edit a property data_path)")
+ bl_label = "Edit Property"
bl_options = {'REGISTER'} # only because invoke_props_popup requires.
data_path = rna_path
@@ -952,7 +949,7 @@ class WM_OT_properties_edit(Operator):
min = rna_min
max = rna_max
description = StringProperty(
- name=_("Tip"),
+ name="Tip",
)
def execute(self, context):
@@ -1030,8 +1027,7 @@ class WM_OT_properties_edit(Operator):
class WM_OT_properties_add(Operator):
'''Internal use (edit a property data_path)'''
bl_idname = "wm.properties_add"
- bl_label = _("Add Property")
- __doc__ = _("Internal use (edit a property data_path)")
+ bl_label = "Add Property"
data_path = rna_path
@@ -1061,7 +1057,7 @@ class WM_OT_properties_context_change(Operator):
bl_label = ""
context = StringProperty(
- name=_("Context"),
+ name="Context",
maxlen=32,
)
@@ -1073,8 +1069,7 @@ class WM_OT_properties_context_change(Operator):
class WM_OT_properties_remove(Operator):
'''Internal use (edit a property data_path)'''
bl_idname = "wm.properties_remove"
- bl_label = _("Remove Property")
- __doc__ = _("Internal use (edit a property data_path)")
+ bl_label = "Remove Property"
data_path = rna_path
property = rna_property
@@ -1088,10 +1083,10 @@ class WM_OT_properties_remove(Operator):
class WM_OT_keyconfig_activate(Operator):
bl_idname = "wm.keyconfig_activate"
- bl_label = _("Activate Keyconfig")
+ bl_label = "Activate Keyconfig"
filepath = StringProperty(
- name=_("File Path"),
+ name="File Path",
maxlen=1024,
)
@@ -1102,7 +1097,7 @@ class WM_OT_keyconfig_activate(Operator):
class WM_OT_appconfig_default(Operator):
bl_idname = "wm.appconfig_default"
- bl_label = _("Default Application Configuration")
+ bl_label = "Default Application Configuration"
def execute(self, context):
import os
@@ -1119,7 +1114,7 @@ class WM_OT_appconfig_default(Operator):
class WM_OT_appconfig_activate(Operator):
bl_idname = "wm.appconfig_activate"
- bl_label = _("Activate Application Configuration")
+ bl_label = "Activate Application Configuration"
filepath = StringProperty(
name="File Path",
@@ -1141,8 +1136,7 @@ class WM_OT_appconfig_activate(Operator):
class WM_OT_sysinfo(Operator):
'''Generate System Info'''
bl_idname = "wm.sysinfo"
- bl_label = _("System Info")
- __doc__ = _("Generate System Info")
+ bl_label = "System Info"
def execute(self, context):
import sys_info
@@ -1150,10 +1144,60 @@ class WM_OT_sysinfo(Operator):
return {'FINISHED'}
+class WM_OT_get_messages(Operator):
+ bl_idname = "wm.get_messages"
+ bl_label = "Get Messages"
+
+ def _putMessage(self, messages, msg):
+ if len(msg):
+ messages[msg] = True
+
+ def _walkProperties(self, properties, messages):
+ for prop in properties:
+ self._putMessage(messages, prop.name)
+ self._putMessage(messages, prop.description)
+
+ if isinstance(prop, bpy.types.EnumProperty):
+ for item in prop.enum_items:
+ self._putMessage(messages, item.name)
+ self._putMessage(messages, item.description)
+
+ def _walkRNA(self, bl_rna, messages):
+ if bl_rna.name and bl_rna.name != bl_rna.identifier:
+ self._putMessage(messages, bl_rna.name)
+
+ if bl_rna.description:
+ self._putMessage(messages, bl_rna.description)
+
+ self._walkProperties(bl_rna.properties, messages)
+
+ def _walkClass(self, cls, messages):
+ self._walkRNA(cls.bl_rna, messages)
+
+ def execute(self, context):
+ messages = {}
+
+ for cls in type(bpy.context).__base__.__subclasses__():
+ self._walkClass(cls, messages)
+
+ for cls in bpy.types.Space.__subclasses__():
+ self._walkClass(cls, messages)
+
+ for cls in bpy.types.Operator.__subclasses__():
+ self._walkClass(cls, messages)
+
+ text = bpy.data.texts.new(name="messages.txt")
+ for message in messages:
+ text.write(message + "\n")
+ self._walkClass(bpy.types.SpaceDopeSheetEditor, messages)
+
+ return {'FINISHED'}
+
+
class WM_OT_copy_prev_settings(Operator):
'''Copy settings from previous version'''
bl_idname = "wm.copy_prev_settings"
- bl_label = _("Copy Previous Settings")
+ bl_label = "Copy Previous Settings"
def execute(self, context):
import os
diff --git a/release/scripts/startup/bl_ui/properties_animviz.py b/release/scripts/startup/bl_ui/properties_animviz.py
index 6c5125b8e23..499ea4c95d4 100644
--- a/release/scripts/startup/bl_ui/properties_animviz.py
+++ b/release/scripts/startup/bl_ui/properties_animviz.py
@@ -28,7 +28,7 @@ from blf import gettext as _
class MotionPathButtonsPanel():
bl_space_type = 'PROPERTIES'
bl_region_type = 'WINDOW'
- bl_label = _("Motion Paths")
+ bl_label = "Motion Paths"
bl_options = {'DEFAULT_CLOSED'}
def draw_settings(self, context, avs, bones=False):
@@ -66,7 +66,7 @@ class MotionPathButtonsPanel():
class OnionSkinButtonsPanel():
bl_space_type = 'PROPERTIES'
bl_region_type = 'WINDOW'
- bl_label = _("Onion Skinning")
+ bl_label = "Onion Skinning"
bl_options = {'DEFAULT_CLOSED'}
def draw(self, context):
diff --git a/release/scripts/startup/bl_ui/properties_data_armature.py b/release/scripts/startup/bl_ui/properties_data_armature.py
index 708f485a0f8..e5729a24b91 100644
--- a/release/scripts/startup/bl_ui/properties_data_armature.py
+++ b/release/scripts/startup/bl_ui/properties_data_armature.py
@@ -50,7 +50,7 @@ class DATA_PT_context_arm(ArmatureButtonsPanel, Panel):
class DATA_PT_skeleton(ArmatureButtonsPanel, Panel):
- bl_label = _("Skeleton")
+ bl_label = "Skeleton"
def draw(self, context):
layout = self.layout
@@ -76,7 +76,7 @@ class DATA_PT_skeleton(ArmatureButtonsPanel, Panel):
class DATA_PT_display(ArmatureButtonsPanel, Panel):
- bl_label = _("Display")
+ bl_label = "Display"
def draw(self, context):
layout = self.layout
@@ -101,7 +101,7 @@ class DATA_PT_display(ArmatureButtonsPanel, Panel):
class DATA_PT_bone_group_specials(Menu):
- bl_label = _("Bone Group Specials")
+ bl_label = "Bone Group Specials"
def draw(self, context):
layout = self.layout
@@ -110,7 +110,7 @@ class DATA_PT_bone_group_specials(Menu):
class DATA_PT_bone_groups(ArmatureButtonsPanel, Panel):
- bl_label = _("Bone Groups")
+ bl_label = "Bone Groups"
@classmethod
def poll(cls, context):
@@ -170,7 +170,7 @@ class DATA_PT_bone_groups(ArmatureButtonsPanel, Panel):
class DATA_PT_pose_library(ArmatureButtonsPanel, Panel):
- bl_label = _("Pose Library")
+ bl_label = "Pose Library"
bl_options = {'DEFAULT_CLOSED'}
@classmethod
@@ -216,7 +216,7 @@ class DATA_PT_pose_library(ArmatureButtonsPanel, Panel):
# TODO: this panel will soon be depreceated too
class DATA_PT_ghost(ArmatureButtonsPanel, Panel):
- bl_label = _("Ghost")
+ bl_label = "Ghost"
def draw(self, context):
layout = self.layout
@@ -243,7 +243,7 @@ class DATA_PT_ghost(ArmatureButtonsPanel, Panel):
class DATA_PT_iksolver_itasc(ArmatureButtonsPanel, Panel):
- bl_label = _("iTaSC parameters")
+ bl_label = "iTaSC parameters"
bl_options = {'DEFAULT_CLOSED'}
@classmethod
diff --git a/release/scripts/startup/bl_ui/properties_data_bone.py b/release/scripts/startup/bl_ui/properties_data_bone.py
index 36c07bd1ef8..2c9b31fd88d 100644
--- a/release/scripts/startup/bl_ui/properties_data_bone.py
+++ b/release/scripts/startup/bl_ui/properties_data_bone.py
@@ -50,7 +50,7 @@ class BONE_PT_context_bone(BoneButtonsPanel, Panel):
class BONE_PT_transform(BoneButtonsPanel, Panel):
- bl_label = _("Transform")
+ bl_label = "Transform"
@classmethod
def poll(cls, context):
@@ -104,7 +104,7 @@ class BONE_PT_transform(BoneButtonsPanel, Panel):
class BONE_PT_transform_locks(BoneButtonsPanel, Panel):
- bl_label = _("Transform Locks")
+ bl_label = "Transform Locks"
bl_options = {'DEFAULT_CLOSED'}
@classmethod
@@ -137,7 +137,7 @@ class BONE_PT_transform_locks(BoneButtonsPanel, Panel):
class BONE_PT_relations(BoneButtonsPanel, Panel):
- bl_label = _("Relations")
+ bl_label = "Relations"
def draw(self, context):
layout = self.layout
@@ -182,7 +182,7 @@ class BONE_PT_relations(BoneButtonsPanel, Panel):
class BONE_PT_display(BoneButtonsPanel, Panel):
- bl_label = _("Display")
+ bl_label = "Display"
@classmethod
def poll(cls, context):
@@ -219,7 +219,7 @@ class BONE_PT_display(BoneButtonsPanel, Panel):
class BONE_PT_inverse_kinematics(BoneButtonsPanel, Panel):
- bl_label = _("Inverse Kinematics")
+ bl_label = "Inverse Kinematics"
bl_options = {'DEFAULT_CLOSED'}
@classmethod
@@ -310,7 +310,7 @@ class BONE_PT_inverse_kinematics(BoneButtonsPanel, Panel):
class BONE_PT_deform(BoneButtonsPanel, Panel):
- bl_label = _("Deform")
+ bl_label = "Deform"
bl_options = {'DEFAULT_CLOSED'}
def draw_header(self, context):
diff --git a/release/scripts/startup/bl_ui/properties_data_camera.py b/release/scripts/startup/bl_ui/properties_data_camera.py
index c07acea47d5..0d79ec99789 100644
--- a/release/scripts/startup/bl_ui/properties_data_camera.py
+++ b/release/scripts/startup/bl_ui/properties_data_camera.py
@@ -55,7 +55,7 @@ class DATA_PT_context_camera(CameraButtonsPanel, Panel):
class DATA_PT_camera(CameraButtonsPanel, Panel):
- bl_label = _("Lens")
+ bl_label = "Lens"
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
def draw(self, context):
@@ -113,7 +113,7 @@ class DATA_PT_camera(CameraButtonsPanel, Panel):
class DATA_PT_camera_display(CameraButtonsPanel, Panel):
- bl_label = _("Display")
+ bl_label = "Display"
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
def draw(self, context):
diff --git a/release/scripts/startup/bl_ui/properties_data_curve.py b/release/scripts/startup/bl_ui/properties_data_curve.py
index 36f61c1bd54..eb68311c8e2 100644
--- a/release/scripts/startup/bl_ui/properties_data_curve.py
+++ b/release/scripts/startup/bl_ui/properties_data_curve.py
@@ -116,7 +116,7 @@ class DATA_PT_shape_curve(CurveButtonsPanel, Panel):
class DATA_PT_curve_texture_space(CurveButtonsPanel, Panel):
- bl_label = _("Texture Space")
+ bl_label = "Texture Space"
bl_options = {'DEFAULT_CLOSED'}
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
@@ -135,7 +135,7 @@ class DATA_PT_curve_texture_space(CurveButtonsPanel, Panel):
class DATA_PT_geometry_curve(CurveButtonsPanel, Panel):
- bl_label = _("Geometry")
+ bl_label = "Geometry"
@classmethod
def poll(cls, context):
@@ -168,7 +168,7 @@ class DATA_PT_geometry_curve(CurveButtonsPanel, Panel):
class DATA_PT_pathanim(CurveButtonsPanelCurve, Panel):
- bl_label = _("Path Animation")
+ bl_label = "Path Animation"
def draw_header(self, context):
curve = context.curve
@@ -199,7 +199,7 @@ class DATA_PT_pathanim(CurveButtonsPanelCurve, Panel):
class DATA_PT_active_spline(CurveButtonsPanelActive, Panel):
- bl_label = _("Active Spline")
+ bl_label = "Active Spline"
def draw(self, context):
layout = self.layout
@@ -270,7 +270,7 @@ class DATA_PT_active_spline(CurveButtonsPanelActive, Panel):
class DATA_PT_font(CurveButtonsPanel, Panel):
- bl_label = _("Font")
+ bl_label = "Font"
@classmethod
def poll(cls, context):
@@ -334,7 +334,7 @@ class DATA_PT_font(CurveButtonsPanel, Panel):
class DATA_PT_paragraph(CurveButtonsPanel, Panel):
- bl_label = _("Paragraph")
+ bl_label = "Paragraph"
@classmethod
def poll(cls, context):
@@ -363,7 +363,7 @@ class DATA_PT_paragraph(CurveButtonsPanel, Panel):
class DATA_PT_text_boxes(CurveButtonsPanel, Panel):
- bl_label = _("Text Boxes")
+ bl_label = "Text Boxes"
@classmethod
def poll(cls, context):
diff --git a/release/scripts/startup/bl_ui/properties_data_empty.py b/release/scripts/startup/bl_ui/properties_data_empty.py
index 1a6aad684c4..b6fa6d8e839 100644
--- a/release/scripts/startup/bl_ui/properties_data_empty.py
+++ b/release/scripts/startup/bl_ui/properties_data_empty.py
@@ -32,7 +32,7 @@ class DataButtonsPanel():
class DATA_PT_empty(DataButtonsPanel, Panel):
- bl_label = _("Empty")
+ bl_label = "Empty"
def draw(self, context):
layout = self.layout
diff --git a/release/scripts/startup/bl_ui/properties_data_lamp.py b/release/scripts/startup/bl_ui/properties_data_lamp.py
index 4ae6ad2a7c1..93ed8ca369b 100644
--- a/release/scripts/startup/bl_ui/properties_data_lamp.py
+++ b/release/scripts/startup/bl_ui/properties_data_lamp.py
@@ -67,7 +67,7 @@ class DATA_PT_context_lamp(DataButtonsPanel, Panel):
class DATA_PT_preview(DataButtonsPanel, Panel):
- bl_label = _("Preview")
+ bl_label = "Preview"
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
def draw(self, context):
@@ -75,7 +75,7 @@ class DATA_PT_preview(DataButtonsPanel, Panel):
class DATA_PT_lamp(DataButtonsPanel, Panel):
- bl_label = _("Lamp")
+ bl_label = "Lamp"
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
def draw(self, context):
@@ -117,7 +117,7 @@ class DATA_PT_lamp(DataButtonsPanel, Panel):
class DATA_PT_sunsky(DataButtonsPanel, Panel):
- bl_label = _("Sky & Atmosphere")
+ bl_label = "Sky & Atmosphere"
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
@classmethod
@@ -189,7 +189,7 @@ class DATA_PT_sunsky(DataButtonsPanel, Panel):
class DATA_PT_shadow(DataButtonsPanel, Panel):
- bl_label = _("Shadow")
+ bl_label = "Shadow"
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
@classmethod
@@ -304,7 +304,7 @@ class DATA_PT_shadow(DataButtonsPanel, Panel):
class DATA_PT_area(DataButtonsPanel, Panel):
- bl_label = _("Area Shape")
+ bl_label = "Area Shape"
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
@classmethod
@@ -330,7 +330,7 @@ class DATA_PT_area(DataButtonsPanel, Panel):
class DATA_PT_spot(DataButtonsPanel, Panel):
- bl_label = _("Spot Shape")
+ bl_label = "Spot Shape"
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
@classmethod
@@ -364,7 +364,7 @@ class DATA_PT_spot(DataButtonsPanel, Panel):
class DATA_PT_falloff_curve(DataButtonsPanel, Panel):
- bl_label = _("Falloff Curve")
+ bl_label = "Falloff Curve"
bl_options = {'DEFAULT_CLOSED'}
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
diff --git a/release/scripts/startup/bl_ui/properties_data_lattice.py b/release/scripts/startup/bl_ui/properties_data_lattice.py
index d77de212247..14d6ea66894 100644
--- a/release/scripts/startup/bl_ui/properties_data_lattice.py
+++ b/release/scripts/startup/bl_ui/properties_data_lattice.py
@@ -20,7 +20,7 @@
import bpy
from bpy.types import Panel
from rna_prop_ui import PropertyPanel
-from blf import gettext as _
+
class DataButtonsPanel():
bl_space_type = 'PROPERTIES'
@@ -53,7 +53,7 @@ class DATA_PT_context_lattice(DataButtonsPanel, Panel):
class DATA_PT_lattice(DataButtonsPanel, Panel):
- bl_label = _("Lattice")
+ bl_label = "Lattice"
def draw(self, context):
layout = self.layout
diff --git a/release/scripts/startup/bl_ui/properties_data_mesh.py b/release/scripts/startup/bl_ui/properties_data_mesh.py
index d18cc4ea678..b74c89bb67e 100644
--- a/release/scripts/startup/bl_ui/properties_data_mesh.py
+++ b/release/scripts/startup/bl_ui/properties_data_mesh.py
@@ -38,7 +38,7 @@ class MESH_MT_vertex_group_specials(Menu):
class MESH_MT_shape_key_specials(Menu):
- bl_label = _("Shape Key Specials")
+ bl_label = "Shape Key Specials"
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
def draw(self, context):
@@ -81,7 +81,7 @@ class DATA_PT_context_mesh(MeshButtonsPanel, Panel):
class DATA_PT_normals(MeshButtonsPanel, Panel):
- bl_label = _("Normals")
+ bl_label = "Normals"
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
def draw(self, context):
@@ -101,7 +101,7 @@ class DATA_PT_normals(MeshButtonsPanel, Panel):
class DATA_PT_texture_space(MeshButtonsPanel, Panel):
- bl_label = _("Texture Space")
+ bl_label = "Texture Space"
bl_options = {'DEFAULT_CLOSED'}
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
@@ -121,7 +121,7 @@ class DATA_PT_texture_space(MeshButtonsPanel, Panel):
class DATA_PT_vertex_groups(MeshButtonsPanel, Panel):
- bl_label = _("Vertex Groups")
+ bl_label = "Vertex Groups"
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
@classmethod
@@ -170,7 +170,7 @@ class DATA_PT_vertex_groups(MeshButtonsPanel, Panel):
class DATA_PT_shape_keys(MeshButtonsPanel, Panel):
- bl_label = _("Shape Keys")
+ bl_label = "Shape Keys"
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
@classmethod
@@ -263,7 +263,7 @@ class DATA_PT_shape_keys(MeshButtonsPanel, Panel):
class DATA_PT_uv_texture(MeshButtonsPanel, Panel):
- bl_label = _("UV Texture")
+ bl_label = "UV Texture"
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
def draw(self, context):
@@ -286,7 +286,7 @@ class DATA_PT_uv_texture(MeshButtonsPanel, Panel):
class DATA_PT_texface(MeshButtonsPanel, Panel):
- bl_label = _("Texture Face")
+ bl_label = "Texture Face"
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
@classmethod
@@ -333,7 +333,7 @@ class DATA_PT_texface(MeshButtonsPanel, Panel):
class DATA_PT_vertex_colors(MeshButtonsPanel, Panel):
- bl_label = _("Vertex Colors")
+ bl_label = "Vertex Colors"
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
def draw(self, context):
diff --git a/release/scripts/startup/bl_ui/properties_data_metaball.py b/release/scripts/startup/bl_ui/properties_data_metaball.py
index 55a7314bc7b..693cb697544 100644
--- a/release/scripts/startup/bl_ui/properties_data_metaball.py
+++ b/release/scripts/startup/bl_ui/properties_data_metaball.py
@@ -50,7 +50,7 @@ class DATA_PT_context_metaball(DataButtonsPanel, Panel):
class DATA_PT_metaball(DataButtonsPanel, Panel):
- bl_label = _("Metaball")
+ bl_label = "Metaball"
def draw(self, context):
layout = self.layout
@@ -74,7 +74,7 @@ class DATA_PT_metaball(DataButtonsPanel, Panel):
class DATA_PT_mball_texture_space(DataButtonsPanel, Panel):
- bl_label = _("Texture Space")
+ bl_label = "Texture Space"
bl_options = {'DEFAULT_CLOSED'}
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
@@ -91,7 +91,7 @@ class DATA_PT_mball_texture_space(DataButtonsPanel, Panel):
class DATA_PT_metaball_element(DataButtonsPanel, Panel):
- bl_label = _("Active Element")
+ bl_label = "Active Element"
@classmethod
def poll(cls, context):
diff --git a/release/scripts/startup/bl_ui/properties_data_modifier.py b/release/scripts/startup/bl_ui/properties_data_modifier.py
index 8f1e1af4802..32324411669 100644
--- a/release/scripts/startup/bl_ui/properties_data_modifier.py
+++ b/release/scripts/startup/bl_ui/properties_data_modifier.py
@@ -28,7 +28,7 @@ class ModifierButtonsPanel():
class DATA_PT_modifiers(ModifierButtonsPanel, Panel):
- bl_label = _("Modifiers")
+ bl_label = "Modifiers"
def draw(self, context):
layout = self.layout
diff --git a/release/scripts/startup/bl_ui/properties_game.py b/release/scripts/startup/bl_ui/properties_game.py
index 52cdfc4ad00..95ae54c4597 100644
--- a/release/scripts/startup/bl_ui/properties_game.py
+++ b/release/scripts/startup/bl_ui/properties_game.py
@@ -28,7 +28,7 @@ class PhysicsButtonsPanel():
class PHYSICS_PT_game_physics(PhysicsButtonsPanel, Panel):
- bl_label = _("Physics")
+ bl_label = "Physics"
COMPAT_ENGINES = {'BLENDER_GAME'}
@classmethod
@@ -169,7 +169,7 @@ class PHYSICS_PT_game_physics(PhysicsButtonsPanel, Panel):
class PHYSICS_PT_game_collision_bounds(PhysicsButtonsPanel, Panel):
- bl_label = _("Collision Bounds")
+ bl_label = "Collision Bounds"
COMPAT_ENGINES = {'BLENDER_GAME'}
@classmethod
@@ -235,7 +235,7 @@ class RenderButtonsPanel():
class RENDER_PT_game(RenderButtonsPanel, Panel):
- bl_label = _("Game")
+ bl_label = "Game"
COMPAT_ENGINES = {'BLENDER_GAME'}
def draw(self, context):
@@ -247,7 +247,7 @@ class RENDER_PT_game(RenderButtonsPanel, Panel):
class RENDER_PT_game_player(RenderButtonsPanel, Panel):
- bl_label = _("Standalone Player")
+ bl_label = "Standalone Player"
COMPAT_ENGINES = {'BLENDER_GAME'}
def draw(self, context):
@@ -280,7 +280,7 @@ class RENDER_PT_game_player(RenderButtonsPanel, Panel):
class RENDER_PT_game_stereo(RenderButtonsPanel, Panel):
- bl_label = _("Stereo")
+ bl_label = "Stereo"
COMPAT_ENGINES = {'BLENDER_GAME'}
def draw(self, context):
@@ -334,7 +334,7 @@ class RENDER_PT_game_stereo(RenderButtonsPanel, Panel):
class RENDER_PT_game_shading(RenderButtonsPanel, Panel):
- bl_label = _("Shading")
+ bl_label = "Shading"
COMPAT_ENGINES = {'BLENDER_GAME'}
def draw(self, context):
@@ -360,7 +360,7 @@ class RENDER_PT_game_shading(RenderButtonsPanel, Panel):
class RENDER_PT_game_performance(RenderButtonsPanel, Panel):
- bl_label = _("Performance")
+ bl_label = "Performance"
COMPAT_ENGINES = {'BLENDER_GAME'}
def draw(self, context):
@@ -376,7 +376,7 @@ class RENDER_PT_game_performance(RenderButtonsPanel, Panel):
class RENDER_PT_game_display(RenderButtonsPanel, Panel):
- bl_label = _("Display")
+ bl_label = "Display"
COMPAT_ENGINES = {'BLENDER_GAME'}
def draw(self, context):
@@ -486,7 +486,7 @@ class WORLD_PT_game_context_world(WorldButtonsPanel, Panel):
class WORLD_PT_game_world(WorldButtonsPanel, Panel):
- bl_label = _("World")
+ bl_label = "World"
COMPAT_ENGINES = {'BLENDER_GAME'}
@classmethod
@@ -505,7 +505,7 @@ class WORLD_PT_game_world(WorldButtonsPanel, Panel):
class WORLD_PT_game_mist(WorldButtonsPanel, Panel):
- bl_label = _("Mist")
+ bl_label = "Mist"
COMPAT_ENGINES = {'BLENDER_GAME'}
@classmethod
@@ -531,7 +531,7 @@ class WORLD_PT_game_mist(WorldButtonsPanel, Panel):
class WORLD_PT_game_physics(WorldButtonsPanel, Panel):
- bl_label = _("Physics")
+ bl_label = "Physics"
COMPAT_ENGINES = {'BLENDER_GAME'}
@classmethod
diff --git a/release/scripts/startup/bl_ui/properties_material.py b/release/scripts/startup/bl_ui/properties_material.py
index 18eae572e94..dda6610933d 100644
--- a/release/scripts/startup/bl_ui/properties_material.py
+++ b/release/scripts/startup/bl_ui/properties_material.py
@@ -52,14 +52,14 @@ def simple_material(mat):
class MATERIAL_MT_sss_presets(Menu):
- bl_label = _("SSS Presets")
+ bl_label = "SSS Presets"
preset_subdir = "sss"
preset_operator = "script.execute_preset"
draw = Menu.draw_preset
class MATERIAL_MT_specials(Menu):
- bl_label = _("Material Specials")
+ bl_label = "Material Specials"
def draw(self, context):
layout = self.layout
@@ -146,7 +146,7 @@ class MATERIAL_PT_context_material(MaterialButtonsPanel, Panel):
class MATERIAL_PT_preview(MaterialButtonsPanel, Panel):
- bl_label = _("Preview")
+ bl_label = "Preview"
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
def draw(self, context):
@@ -154,7 +154,7 @@ class MATERIAL_PT_preview(MaterialButtonsPanel, Panel):
class MATERIAL_PT_pipeline(MaterialButtonsPanel, Panel):
- bl_label = _("Render Pipeline Options")
+ bl_label = "Render Pipeline Options"
bl_options = {'DEFAULT_CLOSED'}
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
@@ -205,7 +205,7 @@ class MATERIAL_PT_pipeline(MaterialButtonsPanel, Panel):
class MATERIAL_PT_diffuse(MaterialButtonsPanel, Panel):
- bl_label = _("Diffuse")
+ bl_label = "Diffuse"
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
@classmethod
@@ -262,7 +262,7 @@ class MATERIAL_PT_diffuse(MaterialButtonsPanel, Panel):
class MATERIAL_PT_specular(MaterialButtonsPanel, Panel):
- bl_label = _("Specular")
+ bl_label = "Specular"
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
@classmethod
@@ -315,7 +315,7 @@ class MATERIAL_PT_specular(MaterialButtonsPanel, Panel):
class MATERIAL_PT_shading(MaterialButtonsPanel, Panel):
- bl_label = _("Shading")
+ bl_label = "Shading"
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
@classmethod
@@ -349,7 +349,7 @@ class MATERIAL_PT_shading(MaterialButtonsPanel, Panel):
class MATERIAL_PT_transp(MaterialButtonsPanel, Panel):
- bl_label = _("Transparency")
+ bl_label = "Transparency"
# bl_options = {'DEFAULT_CLOSED'}
COMPAT_ENGINES = {'BLENDER_RENDER'}
@@ -415,7 +415,7 @@ class MATERIAL_PT_transp(MaterialButtonsPanel, Panel):
class MATERIAL_PT_mirror(MaterialButtonsPanel, Panel):
- bl_label = _("Mirror")
+ bl_label = "Mirror"
bl_options = {'DEFAULT_CLOSED'}
COMPAT_ENGINES = {'BLENDER_RENDER'}
@@ -473,7 +473,7 @@ class MATERIAL_PT_mirror(MaterialButtonsPanel, Panel):
class MATERIAL_PT_sss(MaterialButtonsPanel, Panel):
- bl_label = _("Subsurface Scattering")
+ bl_label = "Subsurface Scattering"
bl_options = {'DEFAULT_CLOSED'}
COMPAT_ENGINES = {'BLENDER_RENDER'}
@@ -525,7 +525,7 @@ class MATERIAL_PT_sss(MaterialButtonsPanel, Panel):
class MATERIAL_PT_halo(MaterialButtonsPanel, Panel):
- bl_label = _("Halo")
+ bl_label = "Halo"
COMPAT_ENGINES = {'BLENDER_RENDER'}
@classmethod
@@ -578,7 +578,7 @@ class MATERIAL_PT_halo(MaterialButtonsPanel, Panel):
class MATERIAL_PT_flare(MaterialButtonsPanel, Panel):
- bl_label = _("Flare")
+ bl_label = "Flare"
COMPAT_ENGINES = {'BLENDER_RENDER'}
@classmethod
@@ -613,7 +613,7 @@ class MATERIAL_PT_flare(MaterialButtonsPanel, Panel):
class MATERIAL_PT_physics(MaterialButtonsPanel, Panel):
- bl_label = _("Physics")
+ bl_label = "Physics"
COMPAT_ENGINES = {'BLENDER_GAME'}
@classmethod
@@ -643,7 +643,7 @@ class MATERIAL_PT_physics(MaterialButtonsPanel, Panel):
class MATERIAL_PT_strand(MaterialButtonsPanel, Panel):
- bl_label = _("Strand")
+ bl_label = "Strand"
bl_options = {'DEFAULT_CLOSED'}
COMPAT_ENGINES = {'BLENDER_RENDER'}
@@ -690,7 +690,7 @@ class MATERIAL_PT_strand(MaterialButtonsPanel, Panel):
class MATERIAL_PT_options(MaterialButtonsPanel, Panel):
- bl_label = _("Options")
+ bl_label = "Options"
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
@classmethod
@@ -739,7 +739,7 @@ class MATERIAL_PT_options(MaterialButtonsPanel, Panel):
class MATERIAL_PT_shadow(MaterialButtonsPanel, Panel):
- bl_label = _("Shadow")
+ bl_label = "Shadow"
bl_options = {'DEFAULT_CLOSED'}
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
@@ -783,7 +783,7 @@ class MATERIAL_PT_shadow(MaterialButtonsPanel, Panel):
class MATERIAL_PT_transp_game(MaterialButtonsPanel, Panel):
- bl_label = _("Transparency")
+ bl_label = "Transparency"
bl_options = {'DEFAULT_CLOSED'}
COMPAT_ENGINES = {'BLENDER_GAME'}
@@ -826,7 +826,7 @@ class VolumeButtonsPanel():
class MATERIAL_PT_volume_density(VolumeButtonsPanel, Panel):
- bl_label = _("Density")
+ bl_label = "Density"
COMPAT_ENGINES = {'BLENDER_RENDER'}
def draw(self, context):
@@ -840,7 +840,7 @@ class MATERIAL_PT_volume_density(VolumeButtonsPanel, Panel):
class MATERIAL_PT_volume_shading(VolumeButtonsPanel, Panel):
- bl_label = _("Shading")
+ bl_label = "Shading"
COMPAT_ENGINES = {'BLENDER_RENDER'}
def draw(self, context):
@@ -865,7 +865,7 @@ class MATERIAL_PT_volume_shading(VolumeButtonsPanel, Panel):
class MATERIAL_PT_volume_lighting(VolumeButtonsPanel, Panel):
- bl_label = _("Lighting")
+ bl_label = "Lighting"
COMPAT_ENGINES = {'BLENDER_RENDER'}
def draw(self, context):
@@ -900,7 +900,7 @@ class MATERIAL_PT_volume_lighting(VolumeButtonsPanel, Panel):
class MATERIAL_PT_volume_transp(VolumeButtonsPanel, Panel):
- bl_label = _("Transparency")
+ bl_label = "Transparency"
COMPAT_ENGINES = {'BLENDER_RENDER'}
@classmethod
@@ -918,7 +918,7 @@ class MATERIAL_PT_volume_transp(VolumeButtonsPanel, Panel):
class MATERIAL_PT_volume_integration(VolumeButtonsPanel, Panel):
- bl_label = _("Integration")
+ bl_label = "Integration"
COMPAT_ENGINES = {'BLENDER_RENDER'}
def draw(self, context):
@@ -940,7 +940,7 @@ class MATERIAL_PT_volume_integration(VolumeButtonsPanel, Panel):
class MATERIAL_PT_volume_options(VolumeButtonsPanel, Panel):
- bl_label = _("Options")
+ bl_label = "Options"
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
bl_options = {'DEFAULT_CLOSED'}
diff --git a/release/scripts/startup/bl_ui/properties_object.py b/release/scripts/startup/bl_ui/properties_object.py
index 73a218704f7..a099189eed6 100644
--- a/release/scripts/startup/bl_ui/properties_object.py
+++ b/release/scripts/startup/bl_ui/properties_object.py
@@ -44,7 +44,7 @@ class OBJECT_PT_context_object(ObjectButtonsPanel, Panel):
class OBJECT_PT_transform(ObjectButtonsPanel, Panel):
- bl_label = _("Transform")
+ bl_label = "Transform"
def draw(self, context):
layout = self.layout
@@ -70,7 +70,7 @@ class OBJECT_PT_transform(ObjectButtonsPanel, Panel):
class OBJECT_PT_delta_transform(ObjectButtonsPanel, Panel):
- bl_label = _("Delta Transform")
+ bl_label = "Delta Transform"
bl_options = {'DEFAULT_CLOSED'}
def draw(self, context):
@@ -96,7 +96,7 @@ class OBJECT_PT_delta_transform(ObjectButtonsPanel, Panel):
class OBJECT_PT_transform_locks(ObjectButtonsPanel, Panel):
- bl_label = _("Transform Locks")
+ bl_label = "Transform Locks"
bl_options = {'DEFAULT_CLOSED'}
def draw(self, context):
@@ -122,7 +122,7 @@ class OBJECT_PT_transform_locks(ObjectButtonsPanel, Panel):
class OBJECT_PT_relations(ObjectButtonsPanel, Panel):
- bl_label = _("Relations")
+ bl_label = "Relations"
def draw(self, context):
layout = self.layout
@@ -149,7 +149,7 @@ class OBJECT_PT_relations(ObjectButtonsPanel, Panel):
class OBJECT_PT_groups(ObjectButtonsPanel, Panel):
- bl_label = _("Groups")
+ bl_label = "Groups"
def draw(self, context):
layout = self.layout
@@ -188,7 +188,7 @@ class OBJECT_PT_groups(ObjectButtonsPanel, Panel):
class OBJECT_PT_display(ObjectButtonsPanel, Panel):
- bl_label = _("Display")
+ bl_label = "Display"
def draw(self, context):
layout = self.layout
@@ -222,7 +222,7 @@ class OBJECT_PT_display(ObjectButtonsPanel, Panel):
class OBJECT_PT_duplication(ObjectButtonsPanel, Panel):
- bl_label = _("Duplication")
+ bl_label = "Duplication"
def draw(self, context):
layout = self.layout
@@ -260,7 +260,7 @@ class OBJECT_PT_duplication(ObjectButtonsPanel, Panel):
# XXX: the following options are all quite buggy, ancient hacks that should be dropped
class OBJECT_PT_animation(ObjectButtonsPanel, Panel):
- bl_label = _("Animation Hacks")
+ bl_label = "Animation Hacks"
bl_options = {'DEFAULT_CLOSED'}
def draw(self, context):
diff --git a/release/scripts/startup/bl_ui/properties_object_constraint.py b/release/scripts/startup/bl_ui/properties_object_constraint.py
index 51544e63325..e7385d3926b 100644
--- a/release/scripts/startup/bl_ui/properties_object_constraint.py
+++ b/release/scripts/startup/bl_ui/properties_object_constraint.py
@@ -758,7 +758,7 @@ class ConstraintButtonsPanel():
class OBJECT_PT_constraints(ConstraintButtonsPanel, Panel):
- bl_label = _("Object Constraints")
+ bl_label = "Object Constraints"
bl_context = "constraint"
@classmethod
@@ -782,7 +782,7 @@ class OBJECT_PT_constraints(ConstraintButtonsPanel, Panel):
class BONE_PT_constraints(ConstraintButtonsPanel, Panel):
- bl_label = _("Bone Constraints")
+ bl_label = "Bone Constraints"
bl_context = "bone_constraint"
@classmethod
diff --git a/release/scripts/startup/bl_ui/properties_particle.py b/release/scripts/startup/bl_ui/properties_particle.py
index 307f362a195..eb301ec8534 100644
--- a/release/scripts/startup/bl_ui/properties_particle.py
+++ b/release/scripts/startup/bl_ui/properties_particle.py
@@ -179,7 +179,7 @@ class PARTICLE_PT_context_particles(ParticleButtonsPanel, Panel):
class PARTICLE_PT_emission(ParticleButtonsPanel, Panel):
- bl_label = _("Emission")
+ bl_label = "Emission"
COMPAT_ENGINES = {'BLENDER_RENDER'}
@classmethod
@@ -248,7 +248,7 @@ class PARTICLE_PT_emission(ParticleButtonsPanel, Panel):
class PARTICLE_PT_hair_dynamics(ParticleButtonsPanel, Panel):
- bl_label = _("Hair dynamics")
+ bl_label = "Hair dynamics"
bl_options = {'DEFAULT_CLOSED'}
COMPAT_ENGINES = {'BLENDER_RENDER'}
@@ -304,7 +304,7 @@ class PARTICLE_PT_hair_dynamics(ParticleButtonsPanel, Panel):
class PARTICLE_PT_cache(ParticleButtonsPanel, Panel):
- bl_label = _("Cache")
+ bl_label = "Cache"
bl_options = {'DEFAULT_CLOSED'}
COMPAT_ENGINES = {'BLENDER_RENDER'}
@@ -330,7 +330,7 @@ class PARTICLE_PT_cache(ParticleButtonsPanel, Panel):
class PARTICLE_PT_velocity(ParticleButtonsPanel, Panel):
- bl_label = _("Velocity")
+ bl_label = "Velocity"
COMPAT_ENGINES = {'BLENDER_RENDER'}
@classmethod
@@ -380,7 +380,7 @@ class PARTICLE_PT_velocity(ParticleButtonsPanel, Panel):
class PARTICLE_PT_rotation(ParticleButtonsPanel, Panel):
- bl_label = _("Rotation")
+ bl_label = "Rotation"
COMPAT_ENGINES = {'BLENDER_RENDER'}
@classmethod
@@ -429,7 +429,7 @@ class PARTICLE_PT_rotation(ParticleButtonsPanel, Panel):
class PARTICLE_PT_physics(ParticleButtonsPanel, Panel):
- bl_label = _("Physics")
+ bl_label = "Physics"
COMPAT_ENGINES = {'BLENDER_RENDER'}
@classmethod
@@ -644,7 +644,7 @@ class PARTICLE_PT_physics(ParticleButtonsPanel, Panel):
class PARTICLE_PT_boidbrain(ParticleButtonsPanel, Panel):
- bl_label = _("Boid Brain")
+ bl_label = "Boid Brain"
COMPAT_ENGINES = {'BLENDER_RENDER'}
@classmethod
@@ -745,7 +745,7 @@ class PARTICLE_PT_boidbrain(ParticleButtonsPanel, Panel):
class PARTICLE_PT_render(ParticleButtonsPanel, Panel):
- bl_label = _("Render")
+ bl_label = "Render"
COMPAT_ENGINES = {'BLENDER_RENDER'}
@classmethod
@@ -930,7 +930,7 @@ class PARTICLE_PT_render(ParticleButtonsPanel, Panel):
class PARTICLE_PT_draw(ParticleButtonsPanel, Panel):
- bl_label = _("Display")
+ bl_label = "Display"
bl_options = {'DEFAULT_CLOSED'}
COMPAT_ENGINES = {'BLENDER_RENDER'}
@@ -992,7 +992,7 @@ class PARTICLE_PT_draw(ParticleButtonsPanel, Panel):
class PARTICLE_PT_children(ParticleButtonsPanel, Panel):
- bl_label = _("Children")
+ bl_label = "Children"
bl_options = {'DEFAULT_CLOSED'}
COMPAT_ENGINES = {'BLENDER_RENDER'}
@@ -1092,7 +1092,7 @@ class PARTICLE_PT_children(ParticleButtonsPanel, Panel):
class PARTICLE_PT_field_weights(ParticleButtonsPanel, Panel):
- bl_label = _("Field Weights")
+ bl_label = "Field Weights"
bl_options = {'DEFAULT_CLOSED'}
COMPAT_ENGINES = {'BLENDER_RENDER'}
@@ -1113,7 +1113,7 @@ class PARTICLE_PT_field_weights(ParticleButtonsPanel, Panel):
class PARTICLE_PT_force_fields(ParticleButtonsPanel, Panel):
- bl_label = _("Force Field Settings")
+ bl_label = "Force Field Settings"
bl_options = {'DEFAULT_CLOSED'}
COMPAT_ENGINES = {'BLENDER_RENDER'}
@@ -1147,7 +1147,7 @@ class PARTICLE_PT_force_fields(ParticleButtonsPanel, Panel):
class PARTICLE_PT_vertexgroups(ParticleButtonsPanel, Panel):
- bl_label = _("Vertexgroups")
+ bl_label = "Vertexgroups"
bl_options = {'DEFAULT_CLOSED'}
COMPAT_ENGINES = {'BLENDER_RENDER'}
diff --git a/release/scripts/startup/bl_ui/properties_physics_cloth.py b/release/scripts/startup/bl_ui/properties_physics_cloth.py
index 5e42a465c2a..de74d1473c8 100644
--- a/release/scripts/startup/bl_ui/properties_physics_cloth.py
+++ b/release/scripts/startup/bl_ui/properties_physics_cloth.py
@@ -35,7 +35,7 @@ class CLOTH_MT_presets(Menu):
'''
Creates the menu items by scanning scripts/templates
'''
- bl_label = _("Cloth Presets")
+ bl_label = "Cloth Presets"
preset_subdir = "cloth"
preset_operator = "script.execute_preset"
draw = Menu.draw_preset
@@ -54,7 +54,7 @@ class PhysicButtonsPanel():
class PHYSICS_PT_cloth(PhysicButtonsPanel, Panel):
- bl_label = _("Cloth")
+ bl_label = "Cloth"
def draw(self, context):
layout = self.layout
@@ -119,7 +119,7 @@ class PHYSICS_PT_cloth(PhysicButtonsPanel, Panel):
class PHYSICS_PT_cloth_cache(PhysicButtonsPanel, Panel):
- bl_label = _("Cloth Cache")
+ bl_label = "Cloth Cache"
bl_options = {'DEFAULT_CLOSED'}
@classmethod
@@ -132,7 +132,7 @@ class PHYSICS_PT_cloth_cache(PhysicButtonsPanel, Panel):
class PHYSICS_PT_cloth_collision(PhysicButtonsPanel, Panel):
- bl_label = _("Cloth Collision")
+ bl_label = "Cloth Collision"
bl_options = {'DEFAULT_CLOSED'}
@classmethod
@@ -173,7 +173,7 @@ class PHYSICS_PT_cloth_collision(PhysicButtonsPanel, Panel):
class PHYSICS_PT_cloth_stiffness(PhysicButtonsPanel, Panel):
- bl_label = _("Cloth Stiffness Scaling")
+ bl_label = "Cloth Stiffness Scaling"
bl_options = {'DEFAULT_CLOSED'}
@classmethod
@@ -209,7 +209,7 @@ class PHYSICS_PT_cloth_stiffness(PhysicButtonsPanel, Panel):
class PHYSICS_PT_cloth_field_weights(PhysicButtonsPanel, Panel):
- bl_label = _("Cloth Field Weights")
+ bl_label = "Cloth Field Weights"
bl_options = {'DEFAULT_CLOSED'}
@classmethod
diff --git a/release/scripts/startup/bl_ui/properties_physics_field.py b/release/scripts/startup/bl_ui/properties_physics_field.py
index 25c92c52311..937df5c0ad9 100644
--- a/release/scripts/startup/bl_ui/properties_physics_field.py
+++ b/release/scripts/startup/bl_ui/properties_physics_field.py
@@ -39,7 +39,7 @@ class PhysicButtonsPanel():
class PHYSICS_PT_field(PhysicButtonsPanel, Panel):
- bl_label = _("Force Fields")
+ bl_label = "Force Fields"
@classmethod
def poll(cls, context):
@@ -166,7 +166,7 @@ class PHYSICS_PT_field(PhysicButtonsPanel, Panel):
class PHYSICS_PT_collision(PhysicButtonsPanel, Panel):
- bl_label = _("Collision")
+ bl_label = "Collision"
#bl_options = {'DEFAULT_CLOSED'}
@classmethod
diff --git a/release/scripts/startup/bl_ui/properties_physics_fluid.py b/release/scripts/startup/bl_ui/properties_physics_fluid.py
index 775ad116846..c89d7ec9755 100644
--- a/release/scripts/startup/bl_ui/properties_physics_fluid.py
+++ b/release/scripts/startup/bl_ui/properties_physics_fluid.py
@@ -34,7 +34,7 @@ class PhysicButtonsPanel():
class PHYSICS_PT_fluid(PhysicButtonsPanel, Panel):
- bl_label = _("Fluid")
+ bl_label = "Fluid"
def draw(self, context):
layout = self.layout
@@ -188,7 +188,7 @@ class PHYSICS_PT_fluid(PhysicButtonsPanel, Panel):
class PHYSICS_PT_domain_gravity(PhysicButtonsPanel, Panel):
- bl_label = _("Domain World")
+ bl_label = "Domain World"
bl_options = {'DEFAULT_CLOSED'}
@classmethod
@@ -238,7 +238,7 @@ class PHYSICS_PT_domain_gravity(PhysicButtonsPanel, Panel):
class PHYSICS_PT_domain_boundary(PhysicButtonsPanel, Panel):
- bl_label = _("Domain Boundary")
+ bl_label = "Domain Boundary"
bl_options = {'DEFAULT_CLOSED'}
@classmethod
@@ -267,7 +267,7 @@ class PHYSICS_PT_domain_boundary(PhysicButtonsPanel, Panel):
class PHYSICS_PT_domain_particles(PhysicButtonsPanel, Panel):
- bl_label = _("Domain Particles")
+ bl_label = "Domain Particles"
bl_options = {'DEFAULT_CLOSED'}
@classmethod
diff --git a/release/scripts/startup/bl_ui/properties_physics_smoke.py b/release/scripts/startup/bl_ui/properties_physics_smoke.py
index 5dfe543c8a8..61c477b6d49 100644
--- a/release/scripts/startup/bl_ui/properties_physics_smoke.py
+++ b/release/scripts/startup/bl_ui/properties_physics_smoke.py
@@ -40,7 +40,7 @@ class PhysicButtonsPanel():
class PHYSICS_PT_smoke(PhysicButtonsPanel, Panel):
- bl_label = _("Smoke")
+ bl_label = "Smoke"
def draw(self, context):
layout = self.layout
@@ -105,7 +105,7 @@ class PHYSICS_PT_smoke(PhysicButtonsPanel, Panel):
class PHYSICS_PT_smoke_groups(PhysicButtonsPanel, Panel):
- bl_label = _("Smoke Groups")
+ bl_label = "Smoke Groups"
bl_options = {'DEFAULT_CLOSED'}
@classmethod
@@ -133,7 +133,7 @@ class PHYSICS_PT_smoke_groups(PhysicButtonsPanel, Panel):
class PHYSICS_PT_smoke_highres(PhysicButtonsPanel, Panel):
- bl_label = _("Smoke High Resolution")
+ bl_label = "Smoke High Resolution"
bl_options = {'DEFAULT_CLOSED'}
@classmethod
@@ -170,7 +170,7 @@ class PHYSICS_PT_smoke_highres(PhysicButtonsPanel, Panel):
class PHYSICS_PT_smoke_cache(PhysicButtonsPanel, Panel):
- bl_label = _("Smoke Cache")
+ bl_label = "Smoke Cache"
bl_options = {'DEFAULT_CLOSED'}
@classmethod
@@ -191,7 +191,7 @@ class PHYSICS_PT_smoke_cache(PhysicButtonsPanel, Panel):
class PHYSICS_PT_smoke_field_weights(PhysicButtonsPanel, Panel):
- bl_label = _("Smoke Field Weights")
+ bl_label = "Smoke Field Weights"
bl_options = {'DEFAULT_CLOSED'}
@classmethod
diff --git a/release/scripts/startup/bl_ui/properties_physics_softbody.py b/release/scripts/startup/bl_ui/properties_physics_softbody.py
index 44778ffee5f..5449e54c6e6 100644
--- a/release/scripts/startup/bl_ui/properties_physics_softbody.py
+++ b/release/scripts/startup/bl_ui/properties_physics_softbody.py
@@ -46,7 +46,7 @@ class PhysicButtonsPanel():
class PHYSICS_PT_softbody(PhysicButtonsPanel, Panel):
- bl_label = _("Soft Body")
+ bl_label = "Soft Body"
def draw(self, context):
layout = self.layout
@@ -73,7 +73,7 @@ class PHYSICS_PT_softbody(PhysicButtonsPanel, Panel):
class PHYSICS_PT_softbody_cache(PhysicButtonsPanel, Panel):
- bl_label = _("Soft Body Cache")
+ bl_label = "Soft Body Cache"
bl_options = {'DEFAULT_CLOSED'}
@classmethod
@@ -86,7 +86,7 @@ class PHYSICS_PT_softbody_cache(PhysicButtonsPanel, Panel):
class PHYSICS_PT_softbody_goal(PhysicButtonsPanel, Panel):
- bl_label = _("Soft Body Goal")
+ bl_label = "Soft Body Goal"
bl_options = {'DEFAULT_CLOSED'}
@classmethod
@@ -129,7 +129,7 @@ class PHYSICS_PT_softbody_goal(PhysicButtonsPanel, Panel):
class PHYSICS_PT_softbody_edge(PhysicButtonsPanel, Panel):
- bl_label = _("Soft Body Edges")
+ bl_label = "Soft Body Edges"
bl_options = {'DEFAULT_CLOSED'}
@classmethod
@@ -182,7 +182,7 @@ class PHYSICS_PT_softbody_edge(PhysicButtonsPanel, Panel):
class PHYSICS_PT_softbody_collision(PhysicButtonsPanel, Panel):
- bl_label = _("Soft Body Self Collision")
+ bl_label = "Soft Body Self Collision"
bl_options = {'DEFAULT_CLOSED'}
@classmethod
@@ -214,7 +214,7 @@ class PHYSICS_PT_softbody_collision(PhysicButtonsPanel, Panel):
class PHYSICS_PT_softbody_solver(PhysicButtonsPanel, Panel):
- bl_label = _("Soft Body Solver")
+ bl_label = "Soft Body Solver"
bl_options = {'DEFAULT_CLOSED'}
@classmethod
@@ -250,7 +250,7 @@ class PHYSICS_PT_softbody_solver(PhysicButtonsPanel, Panel):
class PHYSICS_PT_softbody_field_weights(PhysicButtonsPanel, Panel):
- bl_label = _("Soft Body Field Weights")
+ bl_label = "Soft Body Field Weights"
bl_options = {'DEFAULT_CLOSED'}
@classmethod
diff --git a/release/scripts/startup/bl_ui/properties_render.py b/release/scripts/startup/bl_ui/properties_render.py
index 981d539a4b5..1e9c15eedae 100644
--- a/release/scripts/startup/bl_ui/properties_render.py
+++ b/release/scripts/startup/bl_ui/properties_render.py
@@ -23,21 +23,21 @@ from blf import gettext as _
class RENDER_MT_presets(Menu):
- bl_label = _("Render Presets")
+ bl_label = "Render Presets"
preset_subdir = "render"
preset_operator = "script.execute_preset"
draw = Menu.draw_preset
class RENDER_MT_ffmpeg_presets(Menu):
- bl_label = _("FFMPEG Presets")
+ bl_label = "FFMPEG Presets"
preset_subdir = "ffmpeg"
preset_operator = "script.python_file_run"
draw = Menu.draw_preset
class RENDER_MT_framerate_presets(Menu):
- bl_label = _("Frame Rate Presets")
+ bl_label = "Frame Rate Presets"
preset_subdir = "framerate"
preset_operator = "script.execute_preset"
draw = Menu.draw_preset
@@ -56,7 +56,7 @@ class RenderButtonsPanel():
class RENDER_PT_render(RenderButtonsPanel, Panel):
- bl_label = _("Render")
+ bl_label = "Render"
COMPAT_ENGINES = {'BLENDER_RENDER'}
def draw(self, context):
@@ -72,7 +72,7 @@ class RENDER_PT_render(RenderButtonsPanel, Panel):
class RENDER_PT_layers(RenderButtonsPanel, Panel):
- bl_label = _("Layers")
+ bl_label = "Layers"
bl_options = {'DEFAULT_CLOSED'}
COMPAT_ENGINES = {'BLENDER_RENDER'}
@@ -176,7 +176,7 @@ class RENDER_PT_layers(RenderButtonsPanel, Panel):
class RENDER_PT_dimensions(RenderButtonsPanel, Panel):
- bl_label = _("Dimensions")
+ bl_label = "Dimensions"
COMPAT_ENGINES = {'BLENDER_RENDER'}
def draw(self, context):
@@ -212,9 +212,9 @@ class RENDER_PT_dimensions(RenderButtonsPanel, Panel):
col = split.column()
sub = col.column(align=True)
sub.label(text=_("Frame Range:"))
- sub.prop(scene, "frame_start", text=_("Start"))
- sub.prop(scene, "frame_end", text=_("End"))
- sub.prop(scene, "frame_step", text=_("Step"))
+ sub.prop(scene, "frame_start")
+ sub.prop(scene, "frame_end")
+ sub.prop(scene, "frame_step")
sub.label(text=_("Frame Rate:"))
if rd.fps_base == 1:
@@ -243,7 +243,7 @@ class RENDER_PT_dimensions(RenderButtonsPanel, Panel):
class RENDER_PT_antialiasing(RenderButtonsPanel, Panel):
- bl_label = _("Anti-Aliasing")
+ bl_label = "Anti-Aliasing"
COMPAT_ENGINES = {'BLENDER_RENDER'}
def draw_header(self, context):
@@ -271,7 +271,7 @@ class RENDER_PT_antialiasing(RenderButtonsPanel, Panel):
class RENDER_PT_motion_blur(RenderButtonsPanel, Panel):
- bl_label = _("Sampled Motion Blur")
+ bl_label = "Sampled Motion Blur"
bl_options = {'DEFAULT_CLOSED'}
COMPAT_ENGINES = {'BLENDER_RENDER'}
@@ -297,7 +297,7 @@ class RENDER_PT_motion_blur(RenderButtonsPanel, Panel):
class RENDER_PT_shading(RenderButtonsPanel, Panel):
- bl_label = _("Shading")
+ bl_label = "Shading"
bl_options = {'DEFAULT_CLOSED'}
COMPAT_ENGINES = {'BLENDER_RENDER'}
@@ -321,7 +321,7 @@ class RENDER_PT_shading(RenderButtonsPanel, Panel):
class RENDER_PT_performance(RenderButtonsPanel, Panel):
- bl_label = _("Performance")
+ bl_label = "Performance"
bl_options = {'DEFAULT_CLOSED'}
COMPAT_ENGINES = {'BLENDER_RENDER'}
@@ -364,7 +364,7 @@ class RENDER_PT_performance(RenderButtonsPanel, Panel):
class RENDER_PT_post_processing(RenderButtonsPanel, Panel):
- bl_label = _("Post Processing")
+ bl_label = "Post Processing"
bl_options = {'DEFAULT_CLOSED'}
COMPAT_ENGINES = {'BLENDER_RENDER'}
@@ -401,7 +401,7 @@ class RENDER_PT_post_processing(RenderButtonsPanel, Panel):
class RENDER_PT_stamp(RenderButtonsPanel, Panel):
- bl_label = _("Stamp")
+ bl_label = "Stamp"
bl_options = {'DEFAULT_CLOSED'}
COMPAT_ENGINES = {'BLENDER_RENDER'}
@@ -446,7 +446,7 @@ class RENDER_PT_stamp(RenderButtonsPanel, Panel):
class RENDER_PT_output(RenderButtonsPanel, Panel):
- bl_label = _("Output")
+ bl_label = "Output"
COMPAT_ENGINES = {'BLENDER_RENDER'}
def draw(self, context):
@@ -546,7 +546,7 @@ class RENDER_PT_output(RenderButtonsPanel, Panel):
class RENDER_PT_encoding(RenderButtonsPanel, Panel):
- bl_label = _("Encoding")
+ bl_label = "Encoding"
bl_options = {'DEFAULT_CLOSED'}
COMPAT_ENGINES = {'BLENDER_RENDER'}
@@ -599,7 +599,7 @@ class RENDER_PT_encoding(RenderButtonsPanel, Panel):
class RENDER_PT_bake(RenderButtonsPanel, Panel):
- bl_label = _("Bake")
+ bl_label = "Bake"
bl_options = {'DEFAULT_CLOSED'}
COMPAT_ENGINES = {'BLENDER_RENDER'}
diff --git a/release/scripts/startup/bl_ui/properties_scene.py b/release/scripts/startup/bl_ui/properties_scene.py
index 11e20a8cd2a..9735ff5c01b 100644
--- a/release/scripts/startup/bl_ui/properties_scene.py
+++ b/release/scripts/startup/bl_ui/properties_scene.py
@@ -33,7 +33,7 @@ class SceneButtonsPanel():
class SCENE_PT_scene(SceneButtonsPanel, Panel):
- bl_label = _("Scene")
+ bl_label = "Scene"
COMPAT_ENGINES = {'BLENDER_RENDER'}
def draw(self, context):
@@ -45,7 +45,7 @@ class SCENE_PT_scene(SceneButtonsPanel, Panel):
class SCENE_PT_audio(SceneButtonsPanel, Panel):
- bl_label = _("Audio")
+ bl_label = "Audio"
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
def draw(self, context):
@@ -73,7 +73,7 @@ class SCENE_PT_audio(SceneButtonsPanel, Panel):
class SCENE_PT_unit(SceneButtonsPanel, Panel):
- bl_label = _("Units")
+ bl_label = "Units"
COMPAT_ENGINES = {'BLENDER_RENDER'}
def draw(self, context):
@@ -91,7 +91,7 @@ class SCENE_PT_unit(SceneButtonsPanel, Panel):
class SCENE_PT_keying_sets(SceneButtonsPanel, Panel):
- bl_label = _("Keying Sets")
+ bl_label = "Keying Sets"
def draw(self, context):
layout = self.layout
@@ -124,7 +124,7 @@ class SCENE_PT_keying_sets(SceneButtonsPanel, Panel):
class SCENE_PT_keying_set_paths(SceneButtonsPanel, Panel):
- bl_label = _("Active Keying Set")
+ bl_label = "Active Keying Set"
@classmethod
def poll(cls, context):
@@ -174,7 +174,7 @@ class SCENE_PT_keying_set_paths(SceneButtonsPanel, Panel):
class SCENE_PT_physics(SceneButtonsPanel, Panel):
- bl_label = _("Gravity")
+ bl_label = "Gravity"
COMPAT_ENGINES = {'BLENDER_RENDER'}
def draw_header(self, context):
@@ -191,7 +191,7 @@ class SCENE_PT_physics(SceneButtonsPanel, Panel):
class SCENE_PT_simplify(SceneButtonsPanel, Panel):
- bl_label = _("Simplify")
+ bl_label = "Simplify"
COMPAT_ENGINES = {'BLENDER_RENDER'}
def draw_header(self, context):
@@ -230,12 +230,12 @@ class SCENE_PT_custom_props(SceneButtonsPanel, PropertyPanel, Panel):
class ANIM_OT_keying_set_export(Operator):
"Export Keying Set to a python script."
bl_idname = "anim.keying_set_export"
- bl_label = _("Export Keying Set...")
+ bl_label = "Export Keying Set..."
- filepath = bpy.props.StringProperty(name=_("File Path"), description=_("Filepath to write file to."))
- filter_folder = bpy.props.BoolProperty(name=_("Filter folders"), description="", default=True, options={'HIDDEN'})
- filter_text = bpy.props.BoolProperty(name=_("Filter text"), description="", default=True, options={'HIDDEN'})
- filter_python = bpy.props.BoolProperty(name=_("Filter python"), description="", default=True, options={'HIDDEN'})
+ filepath = bpy.props.StringProperty(name="File Path", description="Filepath to write file to.")
+ filter_folder = bpy.props.BoolProperty(name="Filter folders", description="", default=True, options={'HIDDEN'})
+ filter_text = bpy.props.BoolProperty(name="Filter text", description="", default=True, options={'HIDDEN'})
+ filter_python = bpy.props.BoolProperty(name="Filter python", description="", default=True, options={'HIDDEN'})
def execute(self, context):
if not self.filepath:
diff --git a/release/scripts/startup/bl_ui/properties_texture.py b/release/scripts/startup/bl_ui/properties_texture.py
index c80f3fa76d3..c5f8708040f 100644
--- a/release/scripts/startup/bl_ui/properties_texture.py
+++ b/release/scripts/startup/bl_ui/properties_texture.py
@@ -24,7 +24,7 @@ from blf import gettext as _
class TEXTURE_MT_specials(Menu):
- bl_label = _("Texture Specials")
+ bl_label = "Texture Specials"
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
def draw(self, context):
@@ -35,7 +35,7 @@ class TEXTURE_MT_specials(Menu):
class TEXTURE_MT_envmap_specials(Menu):
- bl_label = _("Environment Map Specials")
+ bl_label = "Environment Map Specials"
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
def draw(self, context):
@@ -153,7 +153,7 @@ class TEXTURE_PT_context_texture(TextureButtonsPanel, Panel):
class TEXTURE_PT_preview(TextureButtonsPanel, Panel):
- bl_label = _("Preview")
+ bl_label = "Preview"
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
def draw(self, context):
@@ -170,7 +170,7 @@ class TEXTURE_PT_preview(TextureButtonsPanel, Panel):
class TEXTURE_PT_colors(TextureButtonsPanel, Panel):
- bl_label = _("Colors")
+ bl_label = "Colors"
bl_options = {'DEFAULT_CLOSED'}
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
@@ -226,7 +226,7 @@ class TextureTypePanel(TextureButtonsPanel):
class TEXTURE_PT_clouds(TextureTypePanel, Panel):
- bl_label = _("Clouds")
+ bl_label = "Clouds"
tex_type = 'CLOUDS'
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
@@ -250,7 +250,7 @@ class TEXTURE_PT_clouds(TextureTypePanel, Panel):
class TEXTURE_PT_wood(TextureTypePanel, Panel):
- bl_label = _("Wood")
+ bl_label = "Wood"
tex_type = 'WOOD'
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
@@ -279,7 +279,7 @@ class TEXTURE_PT_wood(TextureTypePanel, Panel):
class TEXTURE_PT_marble(TextureTypePanel, Panel):
- bl_label = _("Marble")
+ bl_label = "Marble"
tex_type = 'MARBLE'
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
@@ -306,7 +306,7 @@ class TEXTURE_PT_marble(TextureTypePanel, Panel):
class TEXTURE_PT_magic(TextureTypePanel, Panel):
- bl_label = _("Magic")
+ bl_label = "Magic"
tex_type = 'MAGIC'
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
@@ -321,7 +321,7 @@ class TEXTURE_PT_magic(TextureTypePanel, Panel):
class TEXTURE_PT_blend(TextureTypePanel, Panel):
- bl_label = _("Blend")
+ bl_label = "Blend"
tex_type = 'BLEND'
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
@@ -339,7 +339,7 @@ class TEXTURE_PT_blend(TextureTypePanel, Panel):
class TEXTURE_PT_stucci(TextureTypePanel, Panel):
- bl_label = _("Stucci")
+ bl_label = "Stucci"
tex_type = 'STUCCI'
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
@@ -359,7 +359,7 @@ class TEXTURE_PT_stucci(TextureTypePanel, Panel):
class TEXTURE_PT_image(TextureTypePanel, Panel):
- bl_label = _("Image")
+ bl_label = "Image"
tex_type = 'IMAGE'
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
@@ -385,7 +385,7 @@ def texture_filter_common(tex, layout):
class TEXTURE_PT_image_sampling(TextureTypePanel, Panel):
- bl_label = _("Image Sampling")
+ bl_label = "Image Sampling"
bl_options = {'DEFAULT_CLOSED'}
tex_type = 'IMAGE'
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
@@ -430,7 +430,7 @@ class TEXTURE_PT_image_sampling(TextureTypePanel, Panel):
class TEXTURE_PT_image_mapping(TextureTypePanel, Panel):
- bl_label = _("Image Mapping")
+ bl_label = "Image Mapping"
bl_options = {'DEFAULT_CLOSED'}
tex_type = 'IMAGE'
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
@@ -486,7 +486,7 @@ class TEXTURE_PT_image_mapping(TextureTypePanel, Panel):
class TEXTURE_PT_envmap(TextureTypePanel, Panel):
- bl_label = _("Environment Map")
+ bl_label = "Environment Map"
tex_type = 'ENVIRONMENT_MAP'
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
@@ -524,7 +524,7 @@ class TEXTURE_PT_envmap(TextureTypePanel, Panel):
class TEXTURE_PT_envmap_sampling(TextureTypePanel, Panel):
- bl_label = _("Environment Map Sampling")
+ bl_label = "Environment Map Sampling"
bl_options = {'DEFAULT_CLOSED'}
tex_type = 'ENVIRONMENT_MAP'
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
@@ -538,7 +538,7 @@ class TEXTURE_PT_envmap_sampling(TextureTypePanel, Panel):
class TEXTURE_PT_musgrave(TextureTypePanel, Panel):
- bl_label = _("Musgrave")
+ bl_label = "Musgrave"
tex_type = 'MUSGRAVE'
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
@@ -575,7 +575,7 @@ class TEXTURE_PT_musgrave(TextureTypePanel, Panel):
class TEXTURE_PT_voronoi(TextureTypePanel, Panel):
- bl_label = _("Voronoi")
+ bl_label = "Voronoi"
tex_type = 'VORONOI'
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
@@ -611,7 +611,7 @@ class TEXTURE_PT_voronoi(TextureTypePanel, Panel):
class TEXTURE_PT_distortednoise(TextureTypePanel, Panel):
- bl_label = _("Distorted Noise")
+ bl_label = "Distorted Noise"
tex_type = 'DISTORTED_NOISE'
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
@@ -633,7 +633,7 @@ class TEXTURE_PT_distortednoise(TextureTypePanel, Panel):
class TEXTURE_PT_voxeldata(TextureButtonsPanel, Panel):
- bl_label = _("Voxel Data")
+ bl_label = "Voxel Data"
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
@classmethod
@@ -673,7 +673,7 @@ class TEXTURE_PT_voxeldata(TextureButtonsPanel, Panel):
class TEXTURE_PT_pointdensity(TextureButtonsPanel, Panel):
- bl_label = _("Point Density")
+ bl_label = "Point Density"
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
@classmethod
@@ -739,7 +739,7 @@ class TEXTURE_PT_pointdensity(TextureButtonsPanel, Panel):
class TEXTURE_PT_pointdensity_turbulence(TextureButtonsPanel, Panel):
- bl_label = _("Turbulence")
+ bl_label = "Turbulence"
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
@classmethod
@@ -776,7 +776,7 @@ class TEXTURE_PT_pointdensity_turbulence(TextureButtonsPanel, Panel):
class TEXTURE_PT_mapping(TextureSlotPanel, Panel):
- bl_label = _("Mapping")
+ bl_label = "Mapping"
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
@classmethod
@@ -864,7 +864,7 @@ class TEXTURE_PT_mapping(TextureSlotPanel, Panel):
class TEXTURE_PT_influence(TextureSlotPanel, Panel):
- bl_label = _("Influence")
+ bl_label = "Influence"
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
@classmethod
diff --git a/release/scripts/startup/bl_ui/properties_world.py b/release/scripts/startup/bl_ui/properties_world.py
index 07df2ff53ec..916667ea400 100644
--- a/release/scripts/startup/bl_ui/properties_world.py
+++ b/release/scripts/startup/bl_ui/properties_world.py
@@ -64,7 +64,7 @@ class WORLD_PT_context_world(WorldButtonsPanel, Panel):
class WORLD_PT_preview(WorldButtonsPanel, Panel):
- bl_label = _("Preview")
+ bl_label = "Preview"
COMPAT_ENGINES = {'BLENDER_RENDER'}
@classmethod
@@ -77,7 +77,7 @@ class WORLD_PT_preview(WorldButtonsPanel, Panel):
class WORLD_PT_world(WorldButtonsPanel, Panel):
- bl_label = _("World")
+ bl_label = "World"
COMPAT_ENGINES = {'BLENDER_RENDER'}
def draw(self, context):
@@ -102,7 +102,7 @@ class WORLD_PT_world(WorldButtonsPanel, Panel):
class WORLD_PT_ambient_occlusion(WorldButtonsPanel, Panel):
- bl_label = _("Ambient Occlusion")
+ bl_label = "Ambient Occlusion"
COMPAT_ENGINES = {'BLENDER_RENDER'}
def draw_header(self, context):
@@ -140,7 +140,7 @@ class WORLD_PT_environment_lighting(WorldButtonsPanel, Panel):
class WORLD_PT_indirect_lighting(WorldButtonsPanel, Panel):
- bl_label = _("Indirect Lighting")
+ bl_label = "Indirect Lighting"
COMPAT_ENGINES = {'BLENDER_RENDER'}
def draw_header(self, context):
@@ -162,7 +162,7 @@ class WORLD_PT_indirect_lighting(WorldButtonsPanel, Panel):
class WORLD_PT_gather(WorldButtonsPanel, Panel):
- bl_label = _("Gather")
+ bl_label = "Gather"
COMPAT_ENGINES = {'BLENDER_RENDER'}
def draw(self, context):
@@ -210,7 +210,7 @@ class WORLD_PT_gather(WorldButtonsPanel, Panel):
class WORLD_PT_mist(WorldButtonsPanel, Panel):
- bl_label = _("Mist")
+ bl_label = "Mist"
bl_options = {'DEFAULT_CLOSED'}
COMPAT_ENGINES = {'BLENDER_RENDER'}
@@ -239,7 +239,7 @@ class WORLD_PT_mist(WorldButtonsPanel, Panel):
class WORLD_PT_stars(WorldButtonsPanel, Panel):
- bl_label = _("Stars")
+ bl_label = "Stars"
bl_options = {'DEFAULT_CLOSED'}
COMPAT_ENGINES = {'BLENDER_RENDER'}
diff --git a/release/scripts/startup/bl_ui/space_console.py b/release/scripts/startup/bl_ui/space_console.py
index fae5f1d313d..bb0cf6eda2c 100644
--- a/release/scripts/startup/bl_ui/space_console.py
+++ b/release/scripts/startup/bl_ui/space_console.py
@@ -38,7 +38,7 @@ class CONSOLE_HT_header(Header):
class CONSOLE_MT_console(Menu):
- bl_label = _("Console")
+ bl_label = "Console"
def draw(self, context):
layout = self.layout
@@ -55,7 +55,7 @@ class CONSOLE_MT_console(Menu):
class CONSOLE_MT_language(Menu):
- bl_label = _("Languages...")
+ bl_label = "Languages..."
def draw(self, context):
import sys
@@ -84,7 +84,7 @@ def add_scrollback(text, text_type):
class ConsoleExec(Operator):
'''Execute the current console line as a python expression'''
bl_idname = "console.execute"
- bl_label = _("Console Execute")
+ bl_label = "Console Execute"
def execute(self, context):
sc = context.space_data
@@ -102,7 +102,7 @@ class ConsoleExec(Operator):
class ConsoleAutocomplete(Operator):
'''Evaluate the namespace up until the cursor and give a list of options or complete the name if there is only one'''
bl_idname = "console.autocomplete"
- bl_label = _("Console Autocomplete")
+ bl_label = "Console Autocomplete"
def execute(self, context):
sc = context.space_data
@@ -119,7 +119,7 @@ class ConsoleAutocomplete(Operator):
class ConsoleBanner(Operator):
'''Print a message whem the terminal initializes'''
bl_idname = "console.banner"
- bl_label = _("Console Banner")
+ bl_label = "Console Banner"
def execute(self, context):
sc = context.space_data
@@ -141,10 +141,10 @@ class ConsoleBanner(Operator):
class ConsoleLanguage(Operator):
'''Set the current language for this console'''
bl_idname = "console.language"
- bl_label = _("Console Language")
+ bl_label = "Console Language"
language = StringProperty(
- name=_("Language"),
+ name="Language",
maxlen=32,
)
diff --git a/release/scripts/startup/bl_ui/space_dopesheet.py b/release/scripts/startup/bl_ui/space_dopesheet.py
index 06905d1505a..580a4e7f1b6 100644
--- a/release/scripts/startup/bl_ui/space_dopesheet.py
+++ b/release/scripts/startup/bl_ui/space_dopesheet.py
@@ -140,7 +140,7 @@ class DOPESHEET_HT_header(Header):
class DOPESHEET_MT_view(Menu):
- bl_label = _("View")
+ bl_label = "View"
def draw(self, context):
layout = self.layout
@@ -174,7 +174,7 @@ class DOPESHEET_MT_view(Menu):
class DOPESHEET_MT_select(Menu):
- bl_label = _("Select")
+ bl_label = "Select"
def draw(self, context):
layout = self.layout
@@ -209,7 +209,7 @@ class DOPESHEET_MT_select(Menu):
class DOPESHEET_MT_marker(Menu):
- bl_label = _("Marker")
+ bl_label = "Marker"
def draw(self, context):
layout = self.layout
@@ -239,7 +239,7 @@ class DOPESHEET_MT_marker(Menu):
# Keyframe Editing
class DOPESHEET_MT_channel(Menu):
- bl_label = _("Channel")
+ bl_label = "Channel"
def draw(self, context):
layout = self.layout
@@ -269,7 +269,7 @@ class DOPESHEET_MT_channel(Menu):
class DOPESHEET_MT_key(Menu):
- bl_label = _("Key")
+ bl_label = "Key"
def draw(self, context):
layout = self.layout
@@ -301,7 +301,7 @@ class DOPESHEET_MT_key(Menu):
class DOPESHEET_MT_key_transform(Menu):
- bl_label = _("Transform")
+ bl_label = "Transform"
def draw(self, context):
layout = self.layout
@@ -316,7 +316,7 @@ class DOPESHEET_MT_key_transform(Menu):
# Grease Pencil Editing
class DOPESHEET_MT_gpencil_channel(Menu):
- bl_label = _("Channel")
+ bl_label = "Channel"
def draw(self, context):
layout = self.layout
@@ -343,7 +343,7 @@ class DOPESHEET_MT_gpencil_channel(Menu):
class DOPESHEET_MT_gpencil_frame(Menu):
- bl_label = _("Frame")
+ bl_label = "Frame"
def draw(self, context):
layout = self.layout
diff --git a/release/scripts/startup/bl_ui/space_graph.py b/release/scripts/startup/bl_ui/space_graph.py
index 7048d5febf8..fd50d60bd45 100644
--- a/release/scripts/startup/bl_ui/space_graph.py
+++ b/release/scripts/startup/bl_ui/space_graph.py
@@ -62,7 +62,7 @@ class GRAPH_HT_header(Header):
class GRAPH_MT_view(Menu):
- bl_label = _("View")
+ bl_label = "View"
def draw(self, context):
layout = self.layout
@@ -106,7 +106,7 @@ class GRAPH_MT_view(Menu):
class GRAPH_MT_select(Menu):
- bl_label = _("Select")
+ bl_label = "Select"
def draw(self, context):
layout = self.layout
@@ -140,7 +140,7 @@ class GRAPH_MT_select(Menu):
class GRAPH_MT_marker(Menu):
- bl_label = _("Marker")
+ bl_label = "Marker"
def draw(self, context):
layout = self.layout
@@ -160,7 +160,7 @@ class GRAPH_MT_marker(Menu):
class GRAPH_MT_channel(Menu):
- bl_label = _("Channel")
+ bl_label = "Channel"
def draw(self, context):
layout = self.layout
@@ -191,7 +191,7 @@ class GRAPH_MT_channel(Menu):
class GRAPH_MT_key(Menu):
- bl_label = _("Key")
+ bl_label = "Key"
def draw(self, context):
layout = self.layout
@@ -229,7 +229,7 @@ class GRAPH_MT_key(Menu):
class GRAPH_MT_key_transform(Menu):
- bl_label = _("Transform")
+ bl_label = "Transform"
def draw(self, context):
layout = self.layout
diff --git a/release/scripts/startup/bl_ui/space_image.py b/release/scripts/startup/bl_ui/space_image.py
index 0f23802a401..f5be25d14f6 100644
--- a/release/scripts/startup/bl_ui/space_image.py
+++ b/release/scripts/startup/bl_ui/space_image.py
@@ -34,7 +34,7 @@ class BrushButtonsPanel():
class IMAGE_MT_view(Menu):
- bl_label = _("View")
+ bl_label = "View"
def draw(self, context):
layout = self.layout
@@ -82,7 +82,7 @@ class IMAGE_MT_view(Menu):
class IMAGE_MT_select(Menu):
- bl_label = _("Select")
+ bl_label = "Select"
def draw(self, context):
layout = self.layout
@@ -103,7 +103,7 @@ class IMAGE_MT_select(Menu):
class IMAGE_MT_image(Menu):
- bl_label = _("Image")
+ bl_label = "Image"
def draw(self, context):
layout = self.layout
@@ -154,7 +154,7 @@ class IMAGE_MT_image(Menu):
class IMAGE_MT_image_invert(Menu):
- bl_label = _("Invert")
+ bl_label = "Invert"
def draw(self, context):
layout = self.layout
@@ -180,7 +180,7 @@ class IMAGE_MT_image_invert(Menu):
class IMAGE_MT_uvs_showhide(Menu):
- bl_label = _("Show/Hide Faces")
+ bl_label = "Show/Hide Faces"
def draw(self, context):
layout = self.layout
@@ -191,7 +191,7 @@ class IMAGE_MT_uvs_showhide(Menu):
class IMAGE_MT_uvs_transform(Menu):
- bl_label = _("Transform")
+ bl_label = "Transform"
def draw(self, context):
layout = self.layout
@@ -206,7 +206,7 @@ class IMAGE_MT_uvs_transform(Menu):
class IMAGE_MT_uvs_snap(Menu):
- bl_label = _("Snap")
+ bl_label = "Snap"
def draw(self, context):
layout = self.layout
@@ -223,7 +223,7 @@ class IMAGE_MT_uvs_snap(Menu):
class IMAGE_MT_uvs_mirror(Menu):
- bl_label = _("Mirror")
+ bl_label = "Mirror"
def draw(self, context):
layout = self.layout
@@ -234,7 +234,7 @@ class IMAGE_MT_uvs_mirror(Menu):
class IMAGE_MT_uvs_weldalign(Menu):
- bl_label = _("Weld/Align")
+ bl_label = "Weld/Align"
def draw(self, context):
layout = self.layout
@@ -289,7 +289,7 @@ class IMAGE_MT_uvs(Menu):
class IMAGE_MT_uvs_select_mode(Menu):
- bl_label = _("UV Select Mode")
+ bl_label = "UV Select Mode"
def draw(self, context):
layout = self.layout
@@ -417,7 +417,7 @@ class IMAGE_HT_header(Header):
class IMAGE_PT_image_properties(Panel):
bl_space_type = 'IMAGE_EDITOR'
bl_region_type = 'UI'
- bl_label = _("Image")
+ bl_label = "Image"
@classmethod
def poll(cls, context):
@@ -436,7 +436,7 @@ class IMAGE_PT_image_properties(Panel):
class IMAGE_PT_game_properties(Panel):
bl_space_type = 'IMAGE_EDITOR'
bl_region_type = 'UI'
- bl_label = _("Game Properties")
+ bl_label = "Game Properties"
@classmethod
def poll(cls, context):
@@ -478,7 +478,7 @@ class IMAGE_PT_game_properties(Panel):
class IMAGE_PT_view_histogram(Panel):
bl_space_type = 'IMAGE_EDITOR'
bl_region_type = 'PREVIEW'
- bl_label = _("Histogram")
+ bl_label = "Histogram"
@classmethod
def poll(cls, context):
@@ -497,7 +497,7 @@ class IMAGE_PT_view_histogram(Panel):
class IMAGE_PT_view_waveform(Panel):
bl_space_type = 'IMAGE_EDITOR'
bl_region_type = 'PREVIEW'
- bl_label = _("Waveform")
+ bl_label = "Waveform"
@classmethod
def poll(cls, context):
@@ -518,7 +518,7 @@ class IMAGE_PT_view_waveform(Panel):
class IMAGE_PT_view_vectorscope(Panel):
bl_space_type = 'IMAGE_EDITOR'
bl_region_type = 'PREVIEW'
- bl_label = _("Vectorscope")
+ bl_label = "Vectorscope"
@classmethod
def poll(cls, context):
@@ -536,7 +536,7 @@ class IMAGE_PT_view_vectorscope(Panel):
class IMAGE_PT_sample_line(Panel):
bl_space_type = 'IMAGE_EDITOR'
bl_region_type = 'PREVIEW'
- bl_label = _("Sample Line")
+ bl_label = "Sample Line"
@classmethod
def poll(cls, context):
@@ -556,7 +556,7 @@ class IMAGE_PT_sample_line(Panel):
class IMAGE_PT_scope_sample(Panel):
bl_space_type = 'IMAGE_EDITOR'
bl_region_type = 'PREVIEW'
- bl_label = _("Scope Samples")
+ bl_label = "Scope Samples"
@classmethod
def poll(cls, context):
@@ -578,7 +578,7 @@ class IMAGE_PT_scope_sample(Panel):
class IMAGE_PT_view_properties(Panel):
bl_space_type = 'IMAGE_EDITOR'
bl_region_type = 'UI'
- bl_label = _("Display")
+ bl_label = "Display"
@classmethod
def poll(cls, context):
@@ -637,7 +637,7 @@ class IMAGE_PT_view_properties(Panel):
class IMAGE_PT_paint(Panel):
bl_space_type = 'IMAGE_EDITOR'
bl_region_type = 'UI'
- bl_label = _("Paint")
+ bl_label = "Paint"
@classmethod
def poll(cls, context):
@@ -679,7 +679,7 @@ class IMAGE_PT_paint(Panel):
class IMAGE_PT_tools_brush_texture(BrushButtonsPanel, Panel):
- bl_label = _("Texture")
+ bl_label = "Texture"
bl_options = {'DEFAULT_CLOSED'}
def draw(self, context):
@@ -694,7 +694,7 @@ class IMAGE_PT_tools_brush_texture(BrushButtonsPanel, Panel):
class IMAGE_PT_tools_brush_tool(BrushButtonsPanel, Panel):
- bl_label = _("Tool")
+ bl_label = "Tool"
bl_options = {'DEFAULT_CLOSED'}
def draw(self, context):
@@ -712,7 +712,7 @@ class IMAGE_PT_tools_brush_tool(BrushButtonsPanel, Panel):
class IMAGE_PT_paint_stroke(BrushButtonsPanel, Panel):
- bl_label = _("Paint Stroke")
+ bl_label = "Paint Stroke"
bl_options = {'DEFAULT_CLOSED'}
def draw(self, context):
@@ -736,7 +736,7 @@ class IMAGE_PT_paint_stroke(BrushButtonsPanel, Panel):
class IMAGE_PT_paint_curve(BrushButtonsPanel, Panel):
- bl_label = _("Paint Curve")
+ bl_label = "Paint Curve"
bl_options = {'DEFAULT_CLOSED'}
def draw(self, context):
diff --git a/release/scripts/startup/bl_ui/space_info.py b/release/scripts/startup/bl_ui/space_info.py
index 416defb3bf5..99ee24406ac 100644
--- a/release/scripts/startup/bl_ui/space_info.py
+++ b/release/scripts/startup/bl_ui/space_info.py
@@ -89,7 +89,7 @@ class INFO_HT_header(Header):
class INFO_MT_report(Menu):
- bl_label = _("Report")
+ bl_label = "Report"
def draw(self, context):
layout = self.layout
@@ -101,7 +101,7 @@ class INFO_MT_report(Menu):
class INFO_MT_file(Menu):
- bl_label = _("File");
+ bl_label = "File"
def draw(self, context):
layout = self.layout
@@ -156,7 +156,7 @@ class INFO_MT_file(Menu):
class INFO_MT_file_import(Menu):
bl_idname = "INFO_MT_file_import"
- bl_label = _("Import")
+ bl_label = "Import"
def draw(self, context):
if hasattr(bpy.types, "WM_OT_collada_import"):
@@ -165,7 +165,7 @@ class INFO_MT_file_import(Menu):
class INFO_MT_file_export(Menu):
bl_idname = "INFO_MT_file_export"
- bl_label = _("Export")
+ bl_label = "Export"
def draw(self, context):
if hasattr(bpy.types, "WM_OT_collada_export"):
@@ -173,7 +173,7 @@ class INFO_MT_file_export(Menu):
class INFO_MT_file_external_data(Menu):
- bl_label = _("External Data")
+ bl_label = "External Data"
def draw(self, context):
layout = self.layout
@@ -191,7 +191,7 @@ class INFO_MT_file_external_data(Menu):
class INFO_MT_mesh_add(Menu):
bl_idname = "INFO_MT_mesh_add"
- bl_label = _("Mesh")
+ bl_label = "Mesh"
def draw(self, context):
layout = self.layout
@@ -212,7 +212,7 @@ class INFO_MT_mesh_add(Menu):
class INFO_MT_curve_add(Menu):
bl_idname = "INFO_MT_curve_add"
- bl_label = _("Curve")
+ bl_label = "Curve"
def draw(self, context):
layout = self.layout
@@ -227,7 +227,7 @@ class INFO_MT_curve_add(Menu):
class INFO_MT_edit_curve_add(Menu):
bl_idname = "INFO_MT_edit_curve_add"
- bl_label = _("Add")
+ bl_label = "Add"
def draw(self, context):
is_surf = context.active_object.type == 'SURFACE'
@@ -243,7 +243,7 @@ class INFO_MT_edit_curve_add(Menu):
class INFO_MT_surface_add(Menu):
bl_idname = "INFO_MT_surface_add"
- bl_label = _("Surface")
+ bl_label = "Surface"
def draw(self, context):
layout = self.layout
@@ -259,7 +259,7 @@ class INFO_MT_surface_add(Menu):
class INFO_MT_armature_add(Menu):
bl_idname = "INFO_MT_armature_add"
- bl_label = _("Armature")
+ bl_label = "Armature"
def draw(self, context):
layout = self.layout
@@ -269,7 +269,7 @@ class INFO_MT_armature_add(Menu):
class INFO_MT_add(Menu):
- bl_label = _("Add")
+ bl_label = "Add"
def draw(self, context):
layout = self.layout
@@ -312,7 +312,7 @@ class INFO_MT_add(Menu):
class INFO_MT_game(Menu):
- bl_label = _("Game")
+ bl_label = "Game"
def draw(self, context):
layout = self.layout
@@ -333,7 +333,7 @@ class INFO_MT_game(Menu):
class INFO_MT_render(Menu):
- bl_label = _("Render")
+ bl_label = "Render"
def draw(self, context):
layout = self.layout
@@ -353,7 +353,7 @@ class INFO_MT_render(Menu):
class INFO_MT_help(Menu):
- bl_label = _("Help")
+ bl_label = "Help"
def draw(self, context):
import sys
@@ -390,7 +390,7 @@ class INFO_MT_help(Menu):
class HELP_OT_operator_cheat_sheet(Operator):
bl_idname = "help.operator_cheat_sheet"
- bl_label = _("Operator Cheat Sheet")
+ bl_label = "Operator Cheat Sheet"
def execute(self, context):
op_strings = []
diff --git a/release/scripts/startup/bl_ui/space_logic.py b/release/scripts/startup/bl_ui/space_logic.py
index 38b63823ff3..b1149913d17 100644
--- a/release/scripts/startup/bl_ui/space_logic.py
+++ b/release/scripts/startup/bl_ui/space_logic.py
@@ -25,7 +25,7 @@ from blf import gettext as _
class LOGIC_PT_properties(Panel):
bl_space_type = 'LOGIC_EDITOR'
bl_region_type = 'UI'
- bl_label = _("Properties")
+ bl_label = "Properties"
@classmethod
def poll(cls, context):
@@ -52,7 +52,7 @@ class LOGIC_PT_properties(Panel):
class LOGIC_MT_logicbricks_add(Menu):
- bl_label = _("Add")
+ bl_label = "Add"
def draw(self, context):
layout = self.layout
@@ -75,7 +75,7 @@ class LOGIC_HT_header(Header):
class LOGIC_MT_view(Menu):
- bl_label = _("View")
+ bl_label = "View"
def draw(self, context):
layout = self.layout
diff --git a/release/scripts/startup/bl_ui/space_nla.py b/release/scripts/startup/bl_ui/space_nla.py
index aa8dc337c39..8a4b0a61291 100644
--- a/release/scripts/startup/bl_ui/space_nla.py
+++ b/release/scripts/startup/bl_ui/space_nla.py
@@ -49,7 +49,7 @@ class NLA_HT_header(Header):
class NLA_MT_view(Menu):
- bl_label = _("View")
+ bl_label = "View"
def draw(self, context):
layout = self.layout
@@ -81,7 +81,7 @@ class NLA_MT_view(Menu):
class NLA_MT_select(Menu):
- bl_label = _("Select")
+ bl_label = "Select"
def draw(self, context):
layout = self.layout
@@ -118,7 +118,7 @@ class NLA_MT_marker(Menu):
class NLA_MT_edit(Menu):
- bl_label = _("Edit")
+ bl_label = "Edit"
def draw(self, context):
layout = self.layout
@@ -160,7 +160,7 @@ class NLA_MT_edit(Menu):
class NLA_MT_add(Menu):
- bl_label = _("Add")
+ bl_label = "Add"
def draw(self, context):
layout = self.layout
@@ -179,7 +179,7 @@ class NLA_MT_add(Menu):
class NLA_MT_edit_transform(Menu):
- bl_label = _("Transform")
+ bl_label = "Transform"
def draw(self, context):
layout = self.layout
diff --git a/release/scripts/startup/bl_ui/space_node.py b/release/scripts/startup/bl_ui/space_node.py
index 6a58fc143fa..0808ddf769a 100644
--- a/release/scripts/startup/bl_ui/space_node.py
+++ b/release/scripts/startup/bl_ui/space_node.py
@@ -75,7 +75,7 @@ class NODE_HT_header(Header):
class NODE_MT_view(Menu):
- bl_label = _("View")
+ bl_label = "View"
def draw(self, context):
layout = self.layout
@@ -104,7 +104,7 @@ class NODE_MT_view(Menu):
class NODE_MT_select(Menu):
- bl_label = _("Select")
+ bl_label = "Select"
def draw(self, context):
layout = self.layout
@@ -121,7 +121,7 @@ class NODE_MT_select(Menu):
class NODE_MT_node(Menu):
- bl_label = _("Node")
+ bl_label = "Node"
def draw(self, context):
layout = self.layout
@@ -164,7 +164,7 @@ class NODE_MT_node(Menu):
class NODE_PT_properties(Panel):
bl_space_type = 'NODE_EDITOR'
bl_region_type = 'UI'
- bl_label = _("Backdrop")
+ bl_label = "Backdrop"
@classmethod
def poll(cls, context):
diff --git a/release/scripts/startup/bl_ui/space_outliner.py b/release/scripts/startup/bl_ui/space_outliner.py
index b3be568cf68..b1e6eaf3245 100644
--- a/release/scripts/startup/bl_ui/space_outliner.py
+++ b/release/scripts/startup/bl_ui/space_outliner.py
@@ -19,7 +19,6 @@
# <pep8 compliant>
import bpy
from bpy.types import Header, Menu
-from blf import gettext as _
class OUTLINER_HT_header(Header):
@@ -66,7 +65,7 @@ class OUTLINER_HT_header(Header):
class OUTLINER_MT_view(Menu):
- bl_label = _("View")
+ bl_label = "View"
def draw(self, context):
layout = self.layout
@@ -88,7 +87,7 @@ class OUTLINER_MT_view(Menu):
class OUTLINER_MT_search(Menu):
- bl_label = _("Search")
+ bl_label = "Search"
def draw(self, context):
layout = self.layout
@@ -100,7 +99,7 @@ class OUTLINER_MT_search(Menu):
class OUTLINER_MT_edit_datablocks(Menu):
- bl_label = _("Edit")
+ bl_label = "Edit"
def draw(self, context):
layout = self.layout
diff --git a/release/scripts/startup/bl_ui/space_sequencer.py b/release/scripts/startup/bl_ui/space_sequencer.py
index ddbbc08eb46..a9a5eae3179 100644
--- a/release/scripts/startup/bl_ui/space_sequencer.py
+++ b/release/scripts/startup/bl_ui/space_sequencer.py
@@ -79,7 +79,7 @@ class SEQUENCER_HT_header(Header):
class SEQUENCER_MT_view_toggle(Menu):
- bl_label = _("View Type")
+ bl_label = "View Type"
def draw(self, context):
layout = self.layout
@@ -90,7 +90,7 @@ class SEQUENCER_MT_view_toggle(Menu):
class SEQUENCER_MT_view(Menu):
- bl_label = _("View")
+ bl_label = "View"
def draw(self, context):
layout = self.layout
@@ -134,7 +134,7 @@ class SEQUENCER_MT_view(Menu):
class SEQUENCER_MT_select(Menu):
- bl_label = _("Select")
+ bl_label = "Select"
def draw(self, context):
layout = self.layout
@@ -152,7 +152,7 @@ class SEQUENCER_MT_select(Menu):
class SEQUENCER_MT_marker(Menu):
- bl_label = _("Marker")
+ bl_label = "Marker"
def draw(self, context):
layout = self.layout
@@ -172,7 +172,7 @@ class SEQUENCER_MT_marker(Menu):
class SEQUENCER_MT_change(Menu):
- bl_label = _("Change")
+ bl_label = "Change"
def draw(self, context):
layout = self.layout
@@ -185,7 +185,7 @@ class SEQUENCER_MT_change(Menu):
class SEQUENCER_MT_add(Menu):
- bl_label = _("Add")
+ bl_label = "Add"
def draw(self, context):
layout = self.layout
@@ -205,7 +205,7 @@ class SEQUENCER_MT_add(Menu):
class SEQUENCER_MT_add_effect(Menu):
- bl_label = _("Effect Strip...")
+ bl_label = "Effect Strip..."
def draw(self, context):
layout = self.layout
@@ -230,7 +230,7 @@ class SEQUENCER_MT_add_effect(Menu):
class SEQUENCER_MT_strip(Menu):
- bl_label = _("Strip")
+ bl_label = "Strip"
def draw(self, context):
layout = self.layout
@@ -336,7 +336,7 @@ class SequencerButtonsPanel_Output():
class SEQUENCER_PT_edit(SequencerButtonsPanel, Panel):
- bl_label = _("Edit Strip")
+ bl_label = "Edit Strip"
def draw(self, context):
layout = self.layout
@@ -394,7 +394,7 @@ class SEQUENCER_PT_edit(SequencerButtonsPanel, Panel):
class SEQUENCER_PT_effect(SequencerButtonsPanel, Panel):
- bl_label = _("Effect Strip")
+ bl_label = "Effect Strip"
@classmethod
def poll(cls, context):
@@ -532,7 +532,7 @@ class SEQUENCER_PT_effect(SequencerButtonsPanel, Panel):
class SEQUENCER_PT_input(SequencerButtonsPanel, Panel):
- bl_label = _("Strip Input")
+ bl_label = "Strip Input"
@classmethod
def poll(cls, context):
@@ -617,7 +617,7 @@ class SEQUENCER_PT_input(SequencerButtonsPanel, Panel):
class SEQUENCER_PT_sound(SequencerButtonsPanel, Panel):
- bl_label = _("Sound")
+ bl_label = "Sound"
@classmethod
def poll(cls, context):
@@ -660,7 +660,7 @@ class SEQUENCER_PT_sound(SequencerButtonsPanel, Panel):
class SEQUENCER_PT_scene(SequencerButtonsPanel, Panel):
- bl_label = _("Scene")
+ bl_label = "Scene"
@classmethod
def poll(cls, context):
@@ -694,7 +694,7 @@ class SEQUENCER_PT_scene(SequencerButtonsPanel, Panel):
class SEQUENCER_PT_filter(SequencerButtonsPanel, Panel):
- bl_label = _("Filter")
+ bl_label = "Filter"
@classmethod
def poll(cls, context):
@@ -756,7 +756,7 @@ class SEQUENCER_PT_filter(SequencerButtonsPanel, Panel):
class SEQUENCER_PT_proxy(SequencerButtonsPanel, Panel):
- bl_label = _("Proxy / Timecode")
+ bl_label = "Proxy / Timecode"
@classmethod
def poll(cls, context):
@@ -831,7 +831,7 @@ class SEQUENCER_PT_preview(SequencerButtonsPanel_Output, Panel):
class SEQUENCER_PT_view(SequencerButtonsPanel_Output, Panel):
- bl_label = _("View Settings")
+ bl_label = "View Settings"
def draw(self, context):
layout = self.layout
diff --git a/release/scripts/startup/bl_ui/space_text.py b/release/scripts/startup/bl_ui/space_text.py
index 03baf8f34ca..cd72d42857b 100644
--- a/release/scripts/startup/bl_ui/space_text.py
+++ b/release/scripts/startup/bl_ui/space_text.py
@@ -79,7 +79,7 @@ class TEXT_HT_header(Header):
class TEXT_PT_properties(Panel):
bl_space_type = 'TEXT_EDITOR'
bl_region_type = 'UI'
- bl_label = _("Properties")
+ bl_label = "Properties"
def draw(self, context):
layout = self.layout
@@ -110,7 +110,7 @@ class TEXT_PT_properties(Panel):
class TEXT_PT_find(Panel):
bl_space_type = 'TEXT_EDITOR'
bl_region_type = 'UI'
- bl_label = _("Find")
+ bl_label = "Find"
def draw(self, context):
layout = self.layout
@@ -142,7 +142,7 @@ class TEXT_PT_find(Panel):
class TEXT_MT_view(Menu):
- bl_label = _("View")
+ bl_label = "View"
def draw(self, context):
layout = self.layout
@@ -165,7 +165,7 @@ class TEXT_MT_view(Menu):
class TEXT_MT_text(Menu):
- bl_label = _("Text")
+ bl_label = "Text"
def draw(self, context):
layout = self.layout
@@ -193,7 +193,7 @@ class TEXT_MT_text(Menu):
class TEXT_MT_templates(Menu):
- bl_label = _("Templates")
+ bl_label = "Templates"
def draw(self, context):
self.path_menu(bpy.utils.script_paths("templates"),
@@ -203,7 +203,7 @@ class TEXT_MT_templates(Menu):
class TEXT_MT_edit_select(Menu):
- bl_label = _("Select")
+ bl_label = "Select"
def draw(self, context):
layout = self.layout
@@ -213,7 +213,7 @@ class TEXT_MT_edit_select(Menu):
class TEXT_MT_edit_markers(Menu):
- bl_label = _("Markers")
+ bl_label = "Markers"
def draw(self, context):
layout = self.layout
@@ -224,7 +224,7 @@ class TEXT_MT_edit_markers(Menu):
class TEXT_MT_format(Menu):
- bl_label = _("Format")
+ bl_label = "Format"
def draw(self, context):
layout = self.layout
@@ -243,7 +243,7 @@ class TEXT_MT_format(Menu):
class TEXT_MT_edit_to3d(Menu):
- bl_label = _("Text To 3D Object")
+ bl_label = "Text To 3D Object"
def draw(self, context):
layout = self.layout
@@ -257,7 +257,7 @@ class TEXT_MT_edit_to3d(Menu):
class TEXT_MT_edit(Menu):
- bl_label = _("Edit")
+ bl_label = "Edit"
@classmethod
def poll(cls, context):
diff --git a/release/scripts/startup/bl_ui/space_time.py b/release/scripts/startup/bl_ui/space_time.py
index 157fe9939e8..d654c1e4d8b 100644
--- a/release/scripts/startup/bl_ui/space_time.py
+++ b/release/scripts/startup/bl_ui/space_time.py
@@ -93,7 +93,7 @@ class TIME_HT_header(Header):
class TIME_MT_view(Menu):
- bl_label = _("View")
+ bl_label = "View"
def draw(self, context):
layout = self.layout
@@ -118,7 +118,7 @@ class TIME_MT_view(Menu):
class TIME_MT_cache(Menu):
- bl_label = _("Cache")
+ bl_label = "Cache"
def draw(self, context):
layout = self.layout
@@ -138,7 +138,7 @@ class TIME_MT_cache(Menu):
class TIME_MT_frame(Menu):
- bl_label = _("Frame")
+ bl_label = "Frame"
def draw(self, context):
layout = self.layout
@@ -164,7 +164,7 @@ class TIME_MT_frame(Menu):
class TIME_MT_playback(Menu):
- bl_label = _("Playback")
+ bl_label = "Playback"
def draw(self, context):
layout = self.layout
@@ -189,7 +189,7 @@ class TIME_MT_playback(Menu):
class TIME_MT_autokey(Menu):
- bl_label = _("Auto-Keyframing Mode")
+ bl_label = "Auto-Keyframing Mode"
def draw(self, context):
layout = self.layout
diff --git a/release/scripts/startup/bl_ui/space_userpref.py b/release/scripts/startup/bl_ui/space_userpref.py
index c90497de29c..d1009a018f0 100644
--- a/release/scripts/startup/bl_ui/space_userpref.py
+++ b/release/scripts/startup/bl_ui/space_userpref.py
@@ -116,7 +116,7 @@ class USERPREF_PT_tabs(Panel):
class USERPREF_MT_interaction_presets(Menu):
- bl_label = _("Presets")
+ bl_label = "Presets"
preset_subdir = "interaction"
preset_operator = "script.execute_preset"
draw = Menu.draw_preset
@@ -153,7 +153,7 @@ class USERPREF_MT_splash(Menu):
class USERPREF_PT_interface(Panel):
bl_space_type = 'USER_PREFERENCES'
- bl_label = _("Interface")
+ bl_label = "Interface"
bl_region_type = 'WINDOW'
bl_options = {'HIDE_HEADER'}
@@ -250,7 +250,7 @@ class USERPREF_PT_interface(Panel):
class USERPREF_PT_edit(Panel):
bl_space_type = 'USER_PREFERENCES'
- bl_label = _("Edit")
+ bl_label = "Edit"
bl_region_type = 'WINDOW'
bl_options = {'HIDE_HEADER'}
@@ -363,7 +363,7 @@ class USERPREF_PT_edit(Panel):
class USERPREF_PT_system(Panel):
bl_space_type = 'USER_PREFERENCES'
- bl_label = _("System")
+ bl_label = "System"
bl_region_type = 'WINDOW'
bl_options = {'HIDE_HEADER'}
@@ -418,20 +418,6 @@ class USERPREF_PT_system(Panel):
col.separator()
col.separator()
- #column = split.column()
- #colsplit = column.split(percentage=0.85)
-
- # No translation in 2.5 yet
- #col.prop(system, "language")
- #col.label(text="Translate:")
- #col.prop(system, "use_translate_tooltips", text="Tooltips")
- #col.prop(system, "use_translate_buttons", text="Labels")
- #col.prop(system, "use_translate_toolbox", text="Toolbox")
-
- #col.separator()
-
- #col.prop(system, "use_textured_fonts")
-
# 2. Column
column = split.column()
colsplit = column.split(percentage=0.85)
@@ -486,9 +472,6 @@ class USERPREF_PT_system(Panel):
column.label(text=_("Color Picker Type:"))
column.row().prop(system, "color_picker_type", text="")
- column.label(text=_("Select Language:"))
- column.row().prop(system, "language", text="")
-
column.separator()
column.prop(system, "use_weight_color_range", text=_("Custom Weight Paint Range"))
@@ -496,10 +479,21 @@ class USERPREF_PT_system(Panel):
sub.active = system.use_weight_color_range
sub.template_color_ramp(system, "weight_color_range", expand=True)
+ column.separator()
+
+ column.prop(system, "use_international_fonts")
+ if system.use_international_fonts:
+ column.label(text=_("Select Language:"))
+ column.prop(system, "language", text="")
+ column.label(text="Translate:")
+ row = column.row()
+ row.prop(system, "use_translate_interface", text="Interface")
+ row.prop(system, "use_translate_tooltips", text="Tooltips")
+
class USERPREF_PT_theme(Panel):
bl_space_type = 'USER_PREFERENCES'
- bl_label = _("Themes")
+ bl_label = "Themes"
bl_region_type = 'WINDOW'
bl_options = {'HIDE_HEADER'}
@@ -682,7 +676,7 @@ class USERPREF_PT_theme(Panel):
class USERPREF_PT_file(Panel):
bl_space_type = 'USER_PREFERENCES'
- bl_label = _("Files")
+ bl_label = "Files"
bl_region_type = 'WINDOW'
bl_options = {'HIDE_HEADER'}
@@ -758,7 +752,7 @@ from bl_ui.space_userpref_keymap import InputKeyMapPanel
class USERPREF_MT_ndof_settings(Menu):
# accessed from the window keybindings in C (only)
- bl_label = _("3D Mouse Settings")
+ bl_label = "3D Mouse Settings"
def draw(self, context):
layout = self.layout
@@ -794,7 +788,7 @@ class USERPREF_MT_ndof_settings(Menu):
class USERPREF_PT_input(Panel, InputKeyMapPanel):
bl_space_type = 'USER_PREFERENCES'
- bl_label = _("Input")
+ bl_label = "Input"
@classmethod
def poll(cls, context):
@@ -883,7 +877,7 @@ class USERPREF_PT_input(Panel, InputKeyMapPanel):
class USERPREF_MT_addons_dev_guides(Menu):
- bl_label = _("Development Guides")
+ bl_label = "Development Guides"
# menu to open webpages with addons development guides
def draw(self, context):
@@ -895,7 +889,7 @@ class USERPREF_MT_addons_dev_guides(Menu):
class USERPREF_PT_addons(Panel):
bl_space_type = 'USER_PREFERENCES'
- bl_label = _("Addons")
+ bl_label = "Addons"
bl_region_type = 'WINDOW'
bl_options = {'HIDE_HEADER'}
@@ -1086,11 +1080,11 @@ class USERPREF_PT_addons(Panel):
class WM_OT_addon_enable(Operator):
"Enable an addon"
bl_idname = "wm.addon_enable"
- bl_label = _("Enable Add-On")
+ bl_label = "Enable Add-On"
module = StringProperty(
- name=_("Module"),
- description=_("Module name of the addon to enable"),
+ name="Module",
+ description="Module name of the addon to enable",
)
def execute(self, context):
@@ -1115,11 +1109,11 @@ class WM_OT_addon_enable(Operator):
class WM_OT_addon_disable(Operator):
"Disable an addon"
bl_idname = "wm.addon_disable"
- bl_label = _("Disable Add-On")
+ bl_label = "Disable Add-On"
module = StringProperty(
- name=_("Module"),
- description=_("Module name of the addon to disable"),
+ name="Module",
+ description="Module name of the addon to disable",
)
def execute(self, context):
@@ -1130,11 +1124,11 @@ class WM_OT_addon_disable(Operator):
class WM_OT_addon_install(Operator):
"Install an addon"
bl_idname = "wm.addon_install"
- bl_label = _("Install Add-On...")
+ bl_label = "Install Add-On..."
overwrite = BoolProperty(
- name=_("Overwrite"),
- description=_("Remove existing addons with the same ID"),
+ name="Overwrite",
+ description="Remove existing addons with the same ID",
default=True,
)
target = EnumProperty(
@@ -1144,16 +1138,16 @@ class WM_OT_addon_install(Operator):
)
filepath = StringProperty(
- name=_("File Path"),
- description=_("File path to write file to"),
+ name="File Path",
+ description="File path to write file to",
)
filter_folder = BoolProperty(
- name=_("Filter folders"),
+ name="Filter folders",
default=True,
options={'HIDDEN'},
)
filter_python = BoolProperty(
- name=_("Filter python"),
+ name="Filter python",
default=True,
options={'HIDDEN'},
)
@@ -1295,11 +1289,11 @@ class WM_OT_addon_install(Operator):
class WM_OT_addon_remove(Operator):
"Disable an addon"
bl_idname = "wm.addon_remove"
- bl_label = _("Remove Add-On")
+ bl_label = "Remove Add-On"
module = StringProperty(
- name=_("Module"),
- description=_("Module name of the addon to remove"),
+ name="Module",
+ description="Module name of the addon to remove",
)
@staticmethod
@@ -1349,8 +1343,8 @@ class WM_OT_addon_expand(Operator):
bl_label = ""
module = StringProperty(
- name=_("Module"),
- description=_("Module name of the addon to expand"),
+ name="Module",
+ description="Module name of the addon to expand",
)
def execute(self, context):
diff --git a/release/scripts/startup/bl_ui/space_userpref_keymap.py b/release/scripts/startup/bl_ui/space_userpref_keymap.py
index 336e4edf006..bc760a73c9a 100644
--- a/release/scripts/startup/bl_ui/space_userpref_keymap.py
+++ b/release/scripts/startup/bl_ui/space_userpref_keymap.py
@@ -128,7 +128,7 @@ def _merge_keymaps(kc1, kc2):
class USERPREF_MT_keyconfigs(Menu):
- bl_label = _("KeyPresets")
+ bl_label = "KeyPresets"
preset_subdir = "keyconfig"
preset_operator = "wm.keyconfig_activate"
@@ -143,7 +143,7 @@ class USERPREF_MT_keyconfigs(Menu):
class InputKeyMapPanel:
bl_space_type = 'USER_PREFERENCES'
- bl_label = _("Input")
+ bl_label = "Input"
bl_region_type = 'WINDOW'
bl_options = {'HIDE_HEADER'}
@@ -263,7 +263,7 @@ class InputKeyMapPanel:
if km.is_modal:
row.prop(kmi, "propvalue", text="")
else:
- row.label(text=kmi.name)
+ row.label(text=_(kmi.name))
row = split.row()
row.prop(kmi, "map_type", text="")
@@ -426,7 +426,6 @@ class WM_OT_keyconfig_test(Operator):
"Test keyconfig for conflicts"
bl_idname = "wm.keyconfig_test"
bl_label = _("Test Key Configuration for Conflicts")
- __doc__ = _("Test keyconfig for conflicts")
def testEntry(self, kc, entry, src=None, parent=None):
result = False
@@ -534,32 +533,31 @@ def _string_value(value):
class WM_OT_keyconfig_import(Operator):
"Import key configuration from a python script"
bl_idname = "wm.keyconfig_import"
- bl_label = _("Import Key Configuration...")
- __doc__ = _("Import key configuration from a python script")
+ bl_label = "Import Key Configuration..."
filepath = StringProperty(
- name=_("File Path"),
- description=_("Filepath to write file to"),
+ name="File Path",
+ description="Filepath to write file to",
default="keymap.py",
)
filter_folder = BoolProperty(
- name=_("Filter folders"),
+ name="Filter folders",
default=True,
options={'HIDDEN'},
)
filter_text = BoolProperty(
- name=_("Filter text"),
+ name="Filter text",
default=True,
options={'HIDDEN'},
)
filter_python = BoolProperty(
- name=_("Filter python"),
+ name="Filter python",
default=True,
options={'HIDDEN'},
)
keep_original = BoolProperty(
- name=_("Keep original"),
- description=_("Keep original file after copying to configuration folder"),
+ name="Keep original",
+ description="Keep original file after copying to configuration folder",
default=True,
)
@@ -602,25 +600,24 @@ class WM_OT_keyconfig_export(Operator):
"Export key configuration to a python script"
bl_idname = "wm.keyconfig_export"
bl_label = _("Export Key Configuration...")
- __doc__ = _("Export key configuration to a python script")
filepath = StringProperty(
- name=_("File Path"),
- description=_("Filepath to write file to"),
+ name="File Path",
+ description="Filepath to write file to",
default="keymap.py",
)
filter_folder = BoolProperty(
- name=_("Filter folders"),
+ name="Filter folders",
default=True,
options={'HIDDEN'},
)
filter_text = BoolProperty(
- name=_("Filter text"),
+ name="Filter text",
default=True,
options={'HIDDEN'},
)
filter_python = BoolProperty(
- name=_("Filter python"),
+ name="Filter python",
default=True,
options={'HIDDEN'},
)
@@ -711,12 +708,11 @@ class WM_OT_keyconfig_export(Operator):
class WM_OT_keymap_restore(Operator):
"Restore key map(s)"
bl_idname = "wm.keymap_restore"
- bl_label = _("Restore Key Map(s)")
- __doc__ = _("Restore key map(s)")
+ bl_label = "Restore Key Map(s)"
all = BoolProperty(
- name=_("All Keymaps"),
- description=_("Restore all keymaps to default"),
+ name="All Keymaps",
+ description="Restore all keymaps to default",
)
def execute(self, context):
@@ -735,12 +731,11 @@ class WM_OT_keymap_restore(Operator):
class WM_OT_keyitem_restore(Operator):
"Restore key map item"
bl_idname = "wm.keyitem_restore"
- bl_label = _("Restore Key Map Item")
- __doc__ = _("Restore key map item")
+ bl_label = "Restore Key Map Item"
item_id = IntProperty(
- name=_("Item Identifier"),
- description=_("Identifier of the item to remove"),
+ name="Item Identifier",
+ description="Identifier of the item to remove",
)
@classmethod
@@ -761,8 +756,7 @@ class WM_OT_keyitem_restore(Operator):
class WM_OT_keyitem_add(Operator):
"Add key map item"
bl_idname = "wm.keyitem_add"
- bl_label = _("Add Key Map Item")
- __doc__ = _("Add key map item")
+ bl_label = "Add Key Map Item"
def execute(self, context):
km = context.keymap
@@ -784,12 +778,11 @@ class WM_OT_keyitem_add(Operator):
class WM_OT_keyitem_remove(Operator):
"Remove key map item"
bl_idname = "wm.keyitem_remove"
- bl_label = _("Remove Key Map Item")
- __doc__ = _("Remove key map item")
+ bl_label = "Remove Key Map Item"
item_id = IntProperty(
- name=_("Item Identifier"),
- description=_("Identifier of the item to remove"),
+ name="Item Identifier",
+ description="Identifier of the item to remove",
)
@classmethod
@@ -806,8 +799,7 @@ class WM_OT_keyitem_remove(Operator):
class WM_OT_keyconfig_remove(Operator):
"Remove key config"
bl_idname = "wm.keyconfig_remove"
- bl_label = _("Remove Key Config")
- __doc__ = _("Remove key config")
+ bl_label = "Remove Key Config"
@classmethod
def poll(cls, context):
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index c78ad774165..69dd18d7a60 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -119,7 +119,7 @@ class VIEW3D_HT_header(Header):
class ShowHideMenu():
- bl_label = _("Show/Hide")
+ bl_label = "Show/Hide"
_operator_name = ""
def draw(self, context):
@@ -131,17 +131,17 @@ class ShowHideMenu():
class VIEW3D_MT_transform(Menu):
- bl_label = _("Transform")
+ bl_label = "Transform"
# TODO: get rid of the custom text strings?
def draw(self, context):
layout = self.layout
- layout.operator("transform.translate", text=_("Grab/Move"))
+ layout.operator("transform.translate", text="Grab/Move")
# TODO: sub-menu for grab per axis
- layout.operator("transform.rotate", text=_("Rotate"))
+ layout.operator("transform.rotate", text="Rotate")
# TODO: sub-menu for rot per axis
- layout.operator("transform.resize", text=_("Scale"))
+ layout.operator("transform.resize", text="Scale")
# TODO: sub-menu for scale per axis
layout.separator()
@@ -187,7 +187,7 @@ class VIEW3D_MT_transform(Menu):
class VIEW3D_MT_mirror(Menu):
- bl_label = _("Mirror")
+ bl_label = "Mirror"
def draw(self, context):
layout = self.layout
@@ -225,7 +225,7 @@ class VIEW3D_MT_mirror(Menu):
class VIEW3D_MT_snap(Menu):
- bl_label = _("Snap")
+ bl_label = "Snap"
def draw(self, context):
layout = self.layout
@@ -242,7 +242,7 @@ class VIEW3D_MT_snap(Menu):
class VIEW3D_MT_uv_map(Menu):
- bl_label = _("UV Mapping")
+ bl_label = "UV Mapping"
def draw(self, context):
layout = self.layout
@@ -275,7 +275,7 @@ class VIEW3D_MT_uv_map(Menu):
class VIEW3D_MT_view(Menu):
- bl_label = _("View")
+ bl_label = "View"
def draw(self, context):
layout = self.layout
@@ -333,7 +333,7 @@ class VIEW3D_MT_view(Menu):
class VIEW3D_MT_view_navigation(Menu):
- bl_label = _("Navigation")
+ bl_label = "Navigation"
def draw(self, context):
layout = self.layout
@@ -356,7 +356,7 @@ class VIEW3D_MT_view_navigation(Menu):
class VIEW3D_MT_view_align(Menu):
- bl_label = _("Align View")
+ bl_label = "Align View"
def draw(self, context):
layout = self.layout
@@ -372,7 +372,7 @@ class VIEW3D_MT_view_align(Menu):
class VIEW3D_MT_view_align_selected(Menu):
- bl_label = _("Align View to Selected")
+ bl_label = "Align View to Selected"
def draw(self, context):
layout = self.layout
@@ -398,7 +398,7 @@ class VIEW3D_MT_view_align_selected(Menu):
class VIEW3D_MT_view_cameras(Menu):
- bl_label = _("Cameras")
+ bl_label = "Cameras"
def draw(self, context):
layout = self.layout
@@ -410,7 +410,7 @@ class VIEW3D_MT_view_cameras(Menu):
class VIEW3D_MT_select_object(Menu):
- bl_label = _("Select")
+ bl_label = "Select"
def draw(self, context):
layout = self.layout
@@ -436,7 +436,7 @@ class VIEW3D_MT_select_object(Menu):
class VIEW3D_MT_select_pose(Menu):
- bl_label = _("Select")
+ bl_label = "Select"
def draw(self, context):
layout = self.layout
@@ -473,7 +473,7 @@ class VIEW3D_MT_select_pose(Menu):
class VIEW3D_MT_select_particle(Menu):
- bl_label = _("Select")
+ bl_label = "Select"
def draw(self, context):
layout = self.layout
@@ -498,7 +498,7 @@ class VIEW3D_MT_select_particle(Menu):
class VIEW3D_MT_select_edit_mesh(Menu):
- bl_label = _("Select")
+ bl_label = "Select"
def draw(self, context):
layout = self.layout
@@ -550,7 +550,7 @@ class VIEW3D_MT_select_edit_mesh(Menu):
class VIEW3D_MT_select_edit_curve(Menu):
- bl_label = _("Select")
+ bl_label = "Select"
def draw(self, context):
layout = self.layout
@@ -579,7 +579,7 @@ class VIEW3D_MT_select_edit_curve(Menu):
class VIEW3D_MT_select_edit_surface(Menu):
- bl_label = _("Select")
+ bl_label = "Select"
def draw(self, context):
layout = self.layout
@@ -605,7 +605,7 @@ class VIEW3D_MT_select_edit_surface(Menu):
class VIEW3D_MT_select_edit_metaball(Menu):
- bl_label = _("Select")
+ bl_label = "Select"
def draw(self, context):
layout = self.layout
@@ -623,7 +623,7 @@ class VIEW3D_MT_select_edit_metaball(Menu):
class VIEW3D_MT_select_edit_lattice(Menu):
- bl_label = _("Select")
+ bl_label = "Select"
def draw(self, context):
layout = self.layout
@@ -636,7 +636,7 @@ class VIEW3D_MT_select_edit_lattice(Menu):
class VIEW3D_MT_select_edit_armature(Menu):
- bl_label = _("Select")
+ bl_label = "Select"
def draw(self, context):
layout = self.layout
@@ -667,7 +667,7 @@ class VIEW3D_MT_select_edit_armature(Menu):
class VIEW3D_MT_select_face(Menu): # XXX no matching enum
- bl_label = _("Select")
+ bl_label = "Select"
def draw(self, context):
# layout = self.layout
@@ -681,7 +681,7 @@ class VIEW3D_MT_select_face(Menu): # XXX no matching enum
class VIEW3D_MT_object(Menu):
bl_context = "objectmode"
- bl_label = _("Object")
+ bl_label = "Object"
def draw(self, context):
layout = self.layout
@@ -738,7 +738,7 @@ class VIEW3D_MT_object(Menu):
class VIEW3D_MT_object_animation(Menu):
- bl_label = _("Animation")
+ bl_label = "Animation"
def draw(self, context):
layout = self.layout
@@ -749,7 +749,7 @@ class VIEW3D_MT_object_animation(Menu):
class VIEW3D_MT_object_clear(Menu):
- bl_label = _("Clear")
+ bl_label = "Clear"
def draw(self, context):
layout = self.layout
@@ -761,7 +761,7 @@ class VIEW3D_MT_object_clear(Menu):
class VIEW3D_MT_object_specials(Menu):
- bl_label = _("Specials")
+ bl_label = "Specials"
@classmethod
def poll(cls, context):
@@ -856,7 +856,7 @@ class VIEW3D_MT_object_specials(Menu):
class VIEW3D_MT_object_apply(Menu):
- bl_label = _("Apply")
+ bl_label = "Apply"
def draw(self, context):
layout = self.layout
@@ -875,7 +875,7 @@ class VIEW3D_MT_object_apply(Menu):
class VIEW3D_MT_object_parent(Menu):
- bl_label = _("Parent")
+ bl_label = "Parent"
def draw(self, context):
layout = self.layout
@@ -885,7 +885,7 @@ class VIEW3D_MT_object_parent(Menu):
class VIEW3D_MT_object_track(Menu):
- bl_label = _("Track")
+ bl_label = "Track"
def draw(self, context):
layout = self.layout
@@ -895,7 +895,7 @@ class VIEW3D_MT_object_track(Menu):
class VIEW3D_MT_object_group(Menu):
- bl_label = _("Group")
+ bl_label = "Group"
def draw(self, context):
layout = self.layout
@@ -910,7 +910,7 @@ class VIEW3D_MT_object_group(Menu):
class VIEW3D_MT_object_constraints(Menu):
- bl_label = _("Constraints")
+ bl_label = "Constraints"
def draw(self, context):
layout = self.layout
@@ -921,7 +921,7 @@ class VIEW3D_MT_object_constraints(Menu):
class VIEW3D_MT_object_showhide(Menu):
- bl_label = _("Show/Hide")
+ bl_label = "Show/Hide"
def draw(self, context):
layout = self.layout
@@ -932,7 +932,7 @@ class VIEW3D_MT_object_showhide(Menu):
class VIEW3D_MT_make_single_user(Menu):
- bl_label = _("Make Single User")
+ bl_label = "Make Single User"
def draw(self, context):
layout = self.layout
@@ -954,7 +954,7 @@ class VIEW3D_MT_make_single_user(Menu):
class VIEW3D_MT_make_links(Menu):
- bl_label = _("Make Links")
+ bl_label = "Make Links"
def draw(self, context):
layout = self.layout
@@ -971,7 +971,7 @@ class VIEW3D_MT_make_links(Menu):
class VIEW3D_MT_object_game(Menu):
- bl_label = _("Game")
+ bl_label = "Game"
def draw(self, context):
layout = self.layout
@@ -993,7 +993,7 @@ class VIEW3D_MT_object_game(Menu):
class VIEW3D_MT_paint_vertex(Menu):
- bl_label = _("Paint")
+ bl_label = "Paint"
def draw(self, context):
layout = self.layout
@@ -1008,7 +1008,7 @@ class VIEW3D_MT_paint_vertex(Menu):
class VIEW3D_MT_hook(Menu):
- bl_label = _("Hooks")
+ bl_label = "Hooks"
def draw(self, context):
layout = self.layout
@@ -1027,7 +1027,7 @@ class VIEW3D_MT_hook(Menu):
class VIEW3D_MT_vertex_group(Menu):
- bl_label = _("Vertex Groups")
+ bl_label = "Vertex Groups"
def draw(self, context):
layout = self.layout
@@ -1052,7 +1052,7 @@ class VIEW3D_MT_vertex_group(Menu):
class VIEW3D_MT_paint_weight(Menu):
- bl_label = _("Weights")
+ bl_label = "Weights"
def draw(self, context):
layout = self.layout
@@ -1082,7 +1082,7 @@ class VIEW3D_MT_paint_weight(Menu):
class VIEW3D_MT_sculpt(Menu):
- bl_label = _("Sculpt")
+ bl_label = "Sculpt"
def draw(self, context):
layout = self.layout
@@ -1132,7 +1132,7 @@ class VIEW3D_MT_sculpt(Menu):
class VIEW3D_MT_particle(Menu):
- bl_label = _("Particle")
+ bl_label = "Particle"
def draw(self, context):
layout = self.layout
@@ -1164,7 +1164,7 @@ class VIEW3D_MT_particle(Menu):
class VIEW3D_MT_particle_specials(Menu):
- bl_label = _("Specials")
+ bl_label = "Specials"
def draw(self, context):
layout = self.layout
@@ -1188,7 +1188,7 @@ class VIEW3D_MT_particle_showhide(ShowHideMenu, Menu):
class VIEW3D_MT_pose(Menu):
- bl_label = _("Pose")
+ bl_label = "Pose"
def draw(self, context):
layout = self.layout
@@ -1257,7 +1257,7 @@ class VIEW3D_MT_pose(Menu):
class VIEW3D_MT_pose_transform(Menu):
- bl_label = _("Clear Transform")
+ bl_label = "Clear Transform"
def draw(self, context):
layout = self.layout
@@ -1276,7 +1276,7 @@ class VIEW3D_MT_pose_transform(Menu):
class VIEW3D_MT_pose_slide(Menu):
- bl_label = _("In-Betweens")
+ bl_label = "In-Betweens"
def draw(self, context):
layout = self.layout
@@ -1287,7 +1287,7 @@ class VIEW3D_MT_pose_slide(Menu):
class VIEW3D_MT_pose_propagate(Menu):
- bl_label = _("Propagate")
+ bl_label = "Propagate"
def draw(self, context):
layout = self.layout
@@ -1305,7 +1305,7 @@ class VIEW3D_MT_pose_propagate(Menu):
class VIEW3D_MT_pose_library(Menu):
- bl_label = _("Pose Library")
+ bl_label = "Pose Library"
def draw(self, context):
layout = self.layout
@@ -1320,7 +1320,7 @@ class VIEW3D_MT_pose_library(Menu):
class VIEW3D_MT_pose_motion(Menu):
- bl_label = _("Motion Paths")
+ bl_label = "Motion Paths"
def draw(self, context):
layout = self.layout
@@ -1330,7 +1330,7 @@ class VIEW3D_MT_pose_motion(Menu):
class VIEW3D_MT_pose_group(Menu):
- bl_label = _("Bone Groups")
+ bl_label = "Bone Groups"
def draw(self, context):
layout = self.layout
@@ -1344,7 +1344,7 @@ class VIEW3D_MT_pose_group(Menu):
class VIEW3D_MT_pose_ik(Menu):
- bl_label = _("Inverse Kinematics")
+ bl_label = "Inverse Kinematics"
def draw(self, context):
layout = self.layout
@@ -1354,7 +1354,7 @@ class VIEW3D_MT_pose_ik(Menu):
class VIEW3D_MT_pose_constraints(Menu):
- bl_label = _("Constraints")
+ bl_label = "Constraints"
def draw(self, context):
layout = self.layout
@@ -1425,7 +1425,7 @@ class VIEW3D_MT_bone_options_disable(Menu, BoneOptions):
class VIEW3D_MT_edit_mesh(Menu):
- bl_label = _("Mesh")
+ bl_label = "Mesh"
def draw(self, context):
layout = self.layout
@@ -1472,7 +1472,7 @@ class VIEW3D_MT_edit_mesh(Menu):
class VIEW3D_MT_edit_mesh_specials(Menu):
- bl_label = _("Specials")
+ bl_label = "Specials"
def draw(self, context):
layout = self.layout
@@ -1497,7 +1497,7 @@ class VIEW3D_MT_edit_mesh_specials(Menu):
class VIEW3D_MT_edit_mesh_select_mode(Menu):
- bl_label = _("Mesh Select Mode")
+ bl_label = "Mesh Select Mode"
def draw(self, context):
layout = self.layout
@@ -1518,7 +1518,7 @@ class VIEW3D_MT_edit_mesh_select_mode(Menu):
class VIEW3D_MT_edit_mesh_extrude(Menu):
- bl_label = _("Extrude")
+ bl_label = "Extrude"
_extrude_funcs = { \
"VERT": lambda layout: layout.operator("mesh.extrude_vertices_move", text=_("Vertices Only")),
@@ -1553,7 +1553,7 @@ class VIEW3D_MT_edit_mesh_extrude(Menu):
class VIEW3D_OT_edit_mesh_extrude_individual_move(Operator):
"Extrude individual elements and move"
- bl_label = _("Extrude Individual and Move")
+ bl_label = "Extrude Individual and Move"
bl_idname = "view3d.edit_mesh_extrude_individual_move"
def execute(self, context):
@@ -1582,7 +1582,7 @@ class VIEW3D_OT_edit_mesh_extrude_individual_move(Operator):
class VIEW3D_OT_edit_mesh_extrude_move(Operator):
"Extrude and move along normals"
- bl_label = _("Extrude and Move on Normals")
+ bl_label = "Extrude and Move on Normals"
bl_idname = "view3d.edit_mesh_extrude_move_normal"
def execute(self, context):
@@ -1607,7 +1607,7 @@ class VIEW3D_OT_edit_mesh_extrude_move(Operator):
class VIEW3D_MT_edit_mesh_vertices(Menu):
- bl_label = _("Vertices")
+ bl_label = "Vertices"
def draw(self, context):
layout = self.layout
@@ -1639,7 +1639,7 @@ class VIEW3D_MT_edit_mesh_vertices(Menu):
class VIEW3D_MT_edit_mesh_edges(Menu):
- bl_label = _("Edges")
+ bl_label = "Edges"
def draw(self, context):
layout = self.layout
@@ -1679,7 +1679,7 @@ class VIEW3D_MT_edit_mesh_edges(Menu):
class VIEW3D_MT_edit_mesh_faces(Menu):
- bl_label = _("Faces")
+ bl_label = "Faces"
bl_idname = "VIEW3D_MT_edit_mesh_faces"
def draw(self, context):
@@ -1727,7 +1727,7 @@ class VIEW3D_MT_edit_mesh_faces(Menu):
class VIEW3D_MT_edit_mesh_normals(Menu):
- bl_label = _("Normals")
+ bl_label = "Normals"
def draw(self, context):
layout = self.layout
@@ -1781,13 +1781,13 @@ def draw_curve(self, context):
class VIEW3D_MT_edit_curve(Menu):
- bl_label = _("Curve")
+ bl_label = "Curve"
draw = draw_curve
class VIEW3D_MT_edit_curve_ctrlpoints(Menu):
- bl_label = _("Control Points")
+ bl_label = "Control Points"
def draw(self, context):
layout = self.layout
@@ -1809,7 +1809,7 @@ class VIEW3D_MT_edit_curve_ctrlpoints(Menu):
class VIEW3D_MT_edit_curve_segments(Menu):
- bl_label = _("Segments")
+ bl_label = "Segments"
def draw(self, context):
layout = self.layout
@@ -1819,7 +1819,7 @@ class VIEW3D_MT_edit_curve_segments(Menu):
class VIEW3D_MT_edit_curve_specials(Menu):
- bl_label = _("Specials")
+ bl_label = "Specials"
def draw(self, context):
layout = self.layout
@@ -1837,13 +1837,13 @@ class VIEW3D_MT_edit_curve_showhide(ShowHideMenu, Menu):
class VIEW3D_MT_edit_surface(Menu):
- bl_label = _("Surface")
+ bl_label = "Surface"
draw = draw_curve
class VIEW3D_MT_edit_font(Menu):
- bl_label = _("Text")
+ bl_label = "Text"
def draw(self, context):
layout = self.layout
@@ -1863,7 +1863,7 @@ class VIEW3D_MT_edit_font(Menu):
class VIEW3D_MT_edit_text_chars(Menu):
- bl_label = _("Special Characters")
+ bl_label = "Special Characters"
def draw(self, context):
layout = self.layout
@@ -1897,7 +1897,7 @@ class VIEW3D_MT_edit_text_chars(Menu):
class VIEW3D_MT_edit_meta(Menu):
- bl_label = _("Metaball")
+ bl_label = "Metaball"
def draw(self, context):
layout = self.layout
@@ -1930,7 +1930,7 @@ class VIEW3D_MT_edit_meta(Menu):
class VIEW3D_MT_edit_meta_showhide(Menu):
- bl_label = _("Show/Hide")
+ bl_label = "Show/Hide"
def draw(self, context):
layout = self.layout
@@ -1941,7 +1941,7 @@ class VIEW3D_MT_edit_meta_showhide(Menu):
class VIEW3D_MT_edit_lattice(Menu):
- bl_label = _("Lattice")
+ bl_label = "Lattice"
def draw(self, context):
layout = self.layout
@@ -1963,7 +1963,7 @@ class VIEW3D_MT_edit_lattice(Menu):
class VIEW3D_MT_edit_armature(Menu):
- bl_label = _("Armature")
+ bl_label = "Armature"
def draw(self, context):
layout = self.layout
@@ -2018,7 +2018,7 @@ class VIEW3D_MT_edit_armature(Menu):
class VIEW3D_MT_armature_specials(Menu):
- bl_label = _("Specials")
+ bl_label = "Specials"
def draw(self, context):
layout = self.layout
@@ -2038,7 +2038,7 @@ class VIEW3D_MT_armature_specials(Menu):
class VIEW3D_MT_edit_armature_parent(Menu):
- bl_label = _("Parent")
+ bl_label = "Parent"
def draw(self, context):
layout = self.layout
@@ -2048,7 +2048,7 @@ class VIEW3D_MT_edit_armature_parent(Menu):
class VIEW3D_MT_edit_armature_roll(Menu):
- bl_label = _("Bone Roll")
+ bl_label = "Bone Roll"
def draw(self, context):
layout = self.layout
@@ -2065,7 +2065,7 @@ class VIEW3D_MT_edit_armature_roll(Menu):
class VIEW3D_PT_view3d_properties(Panel):
bl_space_type = 'VIEW_3D'
bl_region_type = 'UI'
- bl_label = _("View")
+ bl_label = "View"
@classmethod
def poll(cls, context):
@@ -2108,7 +2108,7 @@ class VIEW3D_PT_view3d_properties(Panel):
class VIEW3D_PT_view3d_name(Panel):
bl_space_type = 'VIEW_3D'
bl_region_type = 'UI'
- bl_label = _("Item")
+ bl_label = "Item"
@classmethod
def poll(cls, context):
@@ -2133,7 +2133,7 @@ class VIEW3D_PT_view3d_name(Panel):
class VIEW3D_PT_view3d_display(Panel):
bl_space_type = 'VIEW_3D'
bl_region_type = 'UI'
- bl_label = _("Display")
+ bl_label = "Display"
bl_options = {'DEFAULT_CLOSED'}
@classmethod
@@ -2205,7 +2205,7 @@ class VIEW3D_PT_view3d_display(Panel):
class VIEW3D_PT_view3d_meshdisplay(Panel):
bl_space_type = 'VIEW_3D'
bl_region_type = 'UI'
- bl_label = _("Mesh Display")
+ bl_label = "Mesh Display"
@classmethod
def poll(cls, context):
@@ -2242,7 +2242,7 @@ class VIEW3D_PT_view3d_meshdisplay(Panel):
class VIEW3D_PT_view3d_curvedisplay(Panel):
bl_space_type = 'VIEW_3D'
bl_region_type = 'UI'
- bl_label = _("Curve Display")
+ bl_label = "Curve Display"
@classmethod
def poll(cls, context):
@@ -2264,7 +2264,7 @@ class VIEW3D_PT_view3d_curvedisplay(Panel):
class VIEW3D_PT_background_image(Panel):
bl_space_type = 'VIEW_3D'
bl_region_type = 'UI'
- bl_label = _("Background Images")
+ bl_label = "Background Images"
bl_options = {'DEFAULT_CLOSED'}
@classmethod
@@ -2317,7 +2317,7 @@ class VIEW3D_PT_background_image(Panel):
class VIEW3D_PT_transform_orientations(Panel):
bl_space_type = 'VIEW_3D'
bl_region_type = 'UI'
- bl_label = _("Transform Orientations")
+ bl_label = "Transform Orientations"
bl_options = {'DEFAULT_CLOSED'}
@classmethod
@@ -2345,7 +2345,7 @@ class VIEW3D_PT_transform_orientations(Panel):
class VIEW3D_PT_etch_a_ton(Panel):
bl_space_type = 'VIEW_3D'
bl_region_type = 'UI'
- bl_label = _("Skeleton Sketching")
+ bl_label = "Skeleton Sketching"
bl_options = {'DEFAULT_CLOSED'}
@classmethod
@@ -2390,7 +2390,7 @@ class VIEW3D_PT_etch_a_ton(Panel):
class VIEW3D_PT_context_properties(Panel):
bl_space_type = 'VIEW_3D'
bl_region_type = 'UI'
- bl_label = _("Properties")
+ bl_label = "Properties"
bl_options = {'DEFAULT_CLOSED'}
def _active_context_member(context):
diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
index 16d4b9b7fe6..7ac2df7b5d5 100644
--- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py
+++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
@@ -68,7 +68,7 @@ def draw_gpencil_tools(context, layout):
class VIEW3D_PT_tools_objectmode(View3DPanel, Panel):
bl_context = "objectmode"
- bl_label = _("Object Tools")
+ bl_label = "Object Tools"
def draw(self, context):
layout = self.layout