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/bl_operators/object_quick_effects.py')
-rw-r--r--release/scripts/startup/bl_operators/object_quick_effects.py19
1 files changed, 9 insertions, 10 deletions
diff --git a/release/scripts/startup/bl_operators/object_quick_effects.py b/release/scripts/startup/bl_operators/object_quick_effects.py
index 48b547980d4..7b616ea5dca 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,21 +420,20 @@ 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,
)