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:
authorBastien Montagne <montagne29@wanadoo.fr>2019-05-09 11:31:11 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2019-05-09 12:38:54 +0300
commitb2a8019f162fc1efe1103b3ca33d9f97703b254a (patch)
tree6ce0d2bfb970414a43b456f4b07a0ebd4230ec5b /release
parent1b753acd896cd5886fe7b0a6e7b92027e1f30a60 (diff)
I18n disambiguation: setting particles' parent/children appart.
Looks like in some languages common generic parent/child relationship does notn apply well to those. Part of T43295.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/properties_particle.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/properties_particle.py b/release/scripts/startup/bl_ui/properties_particle.py
index 2a6913a8584..51e6427bc30 100644
--- a/release/scripts/startup/bl_ui/properties_particle.py
+++ b/release/scripts/startup/bl_ui/properties_particle.py
@@ -21,6 +21,7 @@ import bpy
from bpy.types import Panel, Menu
from rna_prop_ui import PropertyPanel
from bpy.app.translations import pgettext_iface as iface_
+from bpy.app.translations import contexts as i18n_contexts
from bl_ui.utils import PresetPanel
from .properties_physics_common import (
@@ -1562,6 +1563,7 @@ class PARTICLE_PT_draw(ParticleButtonsPanel, Panel):
class PARTICLE_PT_children(ParticleButtonsPanel, Panel):
bl_label = "Children"
+ bl_translation_context = i18n_contexts.id_particlesettings
bl_options = {'DEFAULT_CLOSED'}
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_EEVEE', 'BLENDER_WORKBENCH'}