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:
authorYevgeny Makarov <jenkm>2020-12-08 01:51:06 +0300
committerHarley Acheson <harley.acheson@gmail.com>2020-12-08 01:51:06 +0300
commitab9952e55fe1bfe84e157cd25c90f9bed3bea6aa (patch)
treee6932e5927ce2f0e086d0793658d6a526269a703 /source/blender/editors
parent41e236c527368273fa1c171fe5c596a37823230c (diff)
Spelling: Bit Depth Compound Modifiers
Correct usage of compound modifiers like '32-bit'. Differential Revision: https://developer.blender.org/D9769 Reviewed by Julian Eisel
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/sculpt_paint/paint_image_proj.c2
-rw-r--r--source/blender/editors/sound/sound_ops.c32
-rw-r--r--source/blender/editors/space_image/image_ops.c4
3 files changed, 19 insertions, 19 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_image_proj.c b/source/blender/editors/sculpt_paint/paint_image_proj.c
index 8c16300a047..98f4b4013cb 100644
--- a/source/blender/editors/sculpt_paint/paint_image_proj.c
+++ b/source/blender/editors/sculpt_paint/paint_image_proj.c
@@ -6748,7 +6748,7 @@ void PAINT_OT_add_texture_paint_slot(wmOperatorType *ot)
"Generated Type",
"Fill the image with a grid for UV map testing");
RNA_def_boolean(
- ot->srna, "float", 0, "32 bit Float", "Create image with 32 bit floating point bit depth");
+ ot->srna, "float", 0, "32-bit Float", "Create image with 32-bit floating-point bit depth");
}
static int add_simple_uvs_exec(bContext *C, wmOperator *UNUSED(op))
diff --git a/source/blender/editors/sound/sound_ops.c b/source/blender/editors/sound/sound_ops.c
index c6961cc9d4b..8dac90c2346 100644
--- a/source/blender/editors/sound/sound_ops.c
+++ b/source/blender/editors/sound/sound_ops.c
@@ -518,27 +518,27 @@ static bool sound_mixdown_draw_check_prop(PointerRNA *UNUSED(ptr),
static void sound_mixdown_draw(bContext *C, wmOperator *op)
{
static const EnumPropertyItem pcm_format_items[] = {
- {AUD_FORMAT_U8, "U8", 0, "U8", "8 bit unsigned"},
- {AUD_FORMAT_S16, "S16", 0, "S16", "16 bit signed"},
+ {AUD_FORMAT_U8, "U8", 0, "U8", "8-bit unsigned"},
+ {AUD_FORMAT_S16, "S16", 0, "S16", "16-bit signed"},
# ifdef WITH_SNDFILE
- {AUD_FORMAT_S24, "S24", 0, "S24", "24 bit signed"},
+ {AUD_FORMAT_S24, "S24", 0, "S24", "24-bit signed"},
# endif
- {AUD_FORMAT_S32, "S32", 0, "S32", "32 bit signed"},
- {AUD_FORMAT_FLOAT32, "F32", 0, "F32", "32 bit floating point"},
- {AUD_FORMAT_FLOAT64, "F64", 0, "F64", "64 bit floating point"},
+ {AUD_FORMAT_S32, "S32", 0, "S32", "32-bit signed"},
+ {AUD_FORMAT_FLOAT32, "F32", 0, "F32", "32-bit floating-point"},
+ {AUD_FORMAT_FLOAT64, "F64", 0, "F64", "64-bit floating-point"},
{0, NULL, 0, NULL, NULL},
};
static const EnumPropertyItem mp3_format_items[] = {
- {AUD_FORMAT_S16, "S16", 0, "S16", "16 bit signed"},
- {AUD_FORMAT_S32, "S32", 0, "S32", "32 bit signed"},
+ {AUD_FORMAT_S16, "S16", 0, "S16", "16-bit signed"},
+ {AUD_FORMAT_S32, "S32", 0, "S32", "32-bit signed"},
{0, NULL, 0, NULL, NULL},
};
# ifdef WITH_SNDFILE
static const EnumPropertyItem flac_format_items[] = {
- {AUD_FORMAT_S16, "S16", 0, "S16", "16 bit signed"},
- {AUD_FORMAT_S24, "S24", 0, "S24", "24 bit signed"},
+ {AUD_FORMAT_S16, "S16", 0, "S16", "16-bit signed"},
+ {AUD_FORMAT_S24, "S24", 0, "S24", "24-bit signed"},
{0, NULL, 0, NULL, NULL},
};
# endif
@@ -672,12 +672,12 @@ static void SOUND_OT_mixdown(wmOperatorType *ot)
{
#ifdef WITH_AUDASPACE
static const EnumPropertyItem format_items[] = {
- {AUD_FORMAT_U8, "U8", 0, "U8", "8 bit unsigned"},
- {AUD_FORMAT_S16, "S16", 0, "S16", "16 bit signed"},
- {AUD_FORMAT_S24, "S24", 0, "S24", "24 bit signed"},
- {AUD_FORMAT_S32, "S32", 0, "S32", "32 bit signed"},
- {AUD_FORMAT_FLOAT32, "F32", 0, "F32", "32 bit floating point"},
- {AUD_FORMAT_FLOAT64, "F64", 0, "F64", "64 bit floating point"},
+ {AUD_FORMAT_U8, "U8", 0, "U8", "8-bit unsigned"},
+ {AUD_FORMAT_S16, "S16", 0, "S16", "16-bit signed"},
+ {AUD_FORMAT_S24, "S24", 0, "S24", "24-bit signed"},
+ {AUD_FORMAT_S32, "S32", 0, "S32", "32-bit signed"},
+ {AUD_FORMAT_FLOAT32, "F32", 0, "F32", "32-bit floating-point"},
+ {AUD_FORMAT_FLOAT64, "F64", 0, "F64", "64-bit floating-point"},
{0, NULL, 0, NULL, NULL},
};
diff --git a/source/blender/editors/space_image/image_ops.c b/source/blender/editors/space_image/image_ops.c
index 0fa48059cdc..a2c0819dc60 100644
--- a/source/blender/editors/space_image/image_ops.c
+++ b/source/blender/editors/space_image/image_ops.c
@@ -2649,7 +2649,7 @@ void IMAGE_OT_new(wmOperatorType *ot)
"Generated Type",
"Fill the image with a grid for UV map testing");
RNA_def_boolean(
- ot->srna, "float", 0, "32 bit Float", "Create image with 32 bit floating point bit depth");
+ ot->srna, "float", 0, "32-bit Float", "Create image with 32-bit floating-point bit depth");
RNA_def_property_flag(prop, PROP_HIDDEN);
prop = RNA_def_boolean(
ot->srna, "use_stereo_3d", 0, "Stereo 3D", "Create an image with left and right views");
@@ -3737,7 +3737,7 @@ static void def_fill_tile(StructOrFunctionRNA *srna)
/* Only needed when filling the first tile. */
RNA_def_boolean(
- srna, "float", 0, "32 bit Float", "Create image with 32 bit floating point bit depth");
+ srna, "float", 0, "32-bit Float", "Create image with 32-bit floating-point bit depth");
RNA_def_boolean(srna, "alpha", 1, "Alpha", "Create an image with an alpha channel");
}