I18n: Disambiguate "Volume Min"
"Volume Min" can mean: - The volume of a bone when modified by a constraint. - The audio volume of a speaker object. Reported by Alexandr Fatih in #43295.
This commit is contained in:
committed by
Bastien Montagne
parent
afa51a5d54
commit
8b39f577fe
@@ -4,6 +4,7 @@
|
||||
|
||||
import bpy
|
||||
from bpy.types import Panel
|
||||
from bpy.app.translations import contexts as i18n_contexts
|
||||
from rna_prop_ui import PropertyPanel
|
||||
from bl_ui.space_properties import PropertiesAnimationMixin
|
||||
|
||||
@@ -85,7 +86,7 @@ class DATA_PT_distance(DataButtonsPanel, Panel):
|
||||
|
||||
col = layout.column()
|
||||
sub = col.column(align=True)
|
||||
sub.prop(speaker, "volume_min", slider=True, text="Volume Min")
|
||||
sub.prop(speaker, "volume_min", slider=True, text="Volume Min", text_ctxt=i18n_contexts.id_speaker)
|
||||
sub.prop(speaker, "volume_max", slider=True, text="Max")
|
||||
col.prop(speaker, "attenuation")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user