I18n: Disambiguate "Steps"
- "Steps" can refer to staircase steps in the context of curve profiles. Use already-extracted "Mesh" context. - In the context of the Grease Pencil noise modifier, refers to a step number between frames. - In the general context, refers to a number of times to do an operation. Issue reported by Hoang Duy Tran.
This commit is contained in:
committed by
Bastien Montagne
parent
ec9c7ba465
commit
08ca59b43b
@@ -38,10 +38,14 @@ static uiBlock *curve_profile_presets_fn(bContext *C, ARegion *region, void *cb_
|
||||
|
||||
for (const auto &item :
|
||||
{std::pair<StringRef, eCurveProfilePresets>(IFACE_("Default"), PROF_PRESET_LINE),
|
||||
std::pair<StringRef, eCurveProfilePresets>(IFACE_("Support Loops"), PROF_PRESET_SUPPORTS),
|
||||
std::pair<StringRef, eCurveProfilePresets>(IFACE_("Cornice Molding"), PROF_PRESET_CORNICE),
|
||||
std::pair<StringRef, eCurveProfilePresets>(IFACE_("Crown Molding"), PROF_PRESET_CROWN),
|
||||
std::pair<StringRef, eCurveProfilePresets>(IFACE_("Steps"), PROF_PRESET_STEPS)})
|
||||
std::pair<StringRef, eCurveProfilePresets>(
|
||||
CTX_IFACE_(BLT_I18NCONTEXT_ID_MESH, "Support Loops"), PROF_PRESET_SUPPORTS),
|
||||
std::pair<StringRef, eCurveProfilePresets>(
|
||||
CTX_IFACE_(BLT_I18NCONTEXT_ID_MESH, "Cornice Molding"), PROF_PRESET_CORNICE),
|
||||
std::pair<StringRef, eCurveProfilePresets>(
|
||||
CTX_IFACE_(BLT_I18NCONTEXT_ID_MESH, "Crown Molding"), PROF_PRESET_CROWN),
|
||||
std::pair<StringRef, eCurveProfilePresets>(CTX_IFACE_(BLT_I18NCONTEXT_ID_MESH, "Steps"),
|
||||
PROF_PRESET_STEPS)})
|
||||
{
|
||||
uiBut *but = uiDefIconTextBut(block,
|
||||
UI_BTYPE_BUT_MENU,
|
||||
|
||||
@@ -9477,6 +9477,7 @@ static void rna_def_modifier_grease_pencil_noise(BlenderRNA *brna)
|
||||
prop = RNA_def_property(srna, "random_mode", PROP_ENUM, PROP_NONE);
|
||||
RNA_def_property_enum_sdna(prop, nullptr, "noise_mode");
|
||||
RNA_def_property_enum_items(prop, modifier_noise_random_mode_items);
|
||||
RNA_def_property_translation_context(prop, BLT_I18NCONTEXT_ID_GPENCIL);
|
||||
RNA_def_property_ui_text(prop, "Mode", "Where to perform randomization");
|
||||
|
||||
RNA_define_lib_overridable(false);
|
||||
|
||||
Reference in New Issue
Block a user