[Bf-blender-cvs] [1c2e6de] master: Usual typo and style fixes in UI messages...

Bastien Montagne noreply at git.blender.org
Mon May 12 23:09:42 CEST 2014


Commit: 1c2e6de9696d9300446ee6a856df9ab68b5dac1f
Author: Bastien Montagne
Date:   Mon May 12 23:08:31 2014 +0200
https://developer.blender.org/rB1c2e6de9696d9300446ee6a856df9ab68b5dac1f

Usual typo and style fixes in UI messages...

===================================================================

M	release/scripts/modules/bl_i18n_utils/utils_spell_check.py
M	source/blender/editors/object/object_bake_api.c
M	source/blender/editors/space_nla/nla_channels.c
M	source/blender/makesrna/intern/rna_linestyle.c

===================================================================

diff --git a/release/scripts/modules/bl_i18n_utils/utils_spell_check.py b/release/scripts/modules/bl_i18n_utils/utils_spell_check.py
index 6eb0f02..212a507 100644
--- a/release/scripts/modules/bl_i18n_utils/utils_spell_check.py
+++ b/release/scripts/modules/bl_i18n_utils/utils_spell_check.py
@@ -108,6 +108,7 @@ class SpellChecker():
         "libdata",
         "lightless",
         "lineset",
+        "linestyle",
         "localview",
         "lookup", "lookups",
         "mathutils",
@@ -134,6 +135,7 @@ class SpellChecker():
         "prepend",
         "preprocess", "preprocessing",
         "preseek",
+        "pushdown",
         "raytree",
         "readonly",
         "realtime",
diff --git a/source/blender/editors/object/object_bake_api.c b/source/blender/editors/object/object_bake_api.c
index 46555f8..9cacc0d 100644
--- a/source/blender/editors/object/object_bake_api.c
+++ b/source/blender/editors/object/object_bake_api.c
@@ -798,11 +798,11 @@ static int bake(
 				        margin, &bake->im_format, is_noncolor);
 
 				if (!ok) {
-					BKE_reportf(reports, RPT_ERROR, "Problem saving baked map in \"%s\".", name);
+					BKE_reportf(reports, RPT_ERROR, "Problem saving baked map in \"%s\"", name);
 					op_result = OPERATOR_CANCELLED;
 				}
 				else {
-					BKE_reportf(reports, RPT_INFO, "Baking map written to \"%s\".", name);
+					BKE_reportf(reports, RPT_INFO, "Baking map written to \"%s\"", name);
 					op_result = OPERATOR_FINISHED;
 				}
 
diff --git a/source/blender/editors/space_nla/nla_channels.c b/source/blender/editors/space_nla/nla_channels.c
index 16572f1..edd1a1f 100644
--- a/source/blender/editors/space_nla/nla_channels.c
+++ b/source/blender/editors/space_nla/nla_channels.c
@@ -460,7 +460,8 @@ static int nlachannels_pushdown_exec(bContext *C, wmOperator *op)
 		return OPERATOR_CANCELLED;
 	}
 	else if (nlaedit_is_tweakmode_on(&ac)) {
-		BKE_report(op->reports, RPT_WARNING, "Cannot push down actions while tweaking a strip's action. Exit tweakmode first");
+		BKE_report(op->reports, RPT_WARNING,
+		           "Cannot push down actions while tweaking a strip's action, exit tweak mode first");
 		return OPERATOR_CANCELLED;
 	}
 	else if (adt->action == NULL) {
diff --git a/source/blender/makesrna/intern/rna_linestyle.c b/source/blender/makesrna/intern/rna_linestyle.c
index 2b20dc2..027aed8 100644
--- a/source/blender/makesrna/intern/rna_linestyle.c
+++ b/source/blender/makesrna/intern/rna_linestyle.c
@@ -293,7 +293,7 @@ static void rna_def_linestyle_mtex(BlenderRNA *brna)
 	static EnumPropertyItem texco_items[] = {
 		{TEXCO_WINDOW, "WINDOW", 0, "Window", "Use screen coordinates as texture coordinates"},
 		{TEXCO_GLOB, "GLOBAL", 0, "Global", "Use global coordinates for the texture coordinates"},
-		{TEXCO_STROKE, "ALONG_STROKE", 0, "Along stroke", "Use stroke lenght for texture coordinates"},
+		{TEXCO_STROKE, "ALONG_STROKE", 0, "Along stroke", "Use stroke length for texture coordinates"},
 		{TEXCO_ORCO, "ORCO", 0, "Generated", "Use the original undeformed coordinates of the object"},
 		{0, NULL, 0, NULL, NULL}
 	};
@@ -1345,7 +1345,7 @@ static void rna_def_linestyle(BlenderRNA *brna)
 	prop = RNA_def_property(srna, "texture_spacing", PROP_FLOAT, PROP_FACTOR);
 	RNA_def_property_float_sdna(prop, NULL, "texstep");
 	RNA_def_property_range(prop, 0.01f, 100.0f);
-	RNA_def_property_ui_text(prop, "Texture spacing", "Spacing for textures along stroke lenght");
+	RNA_def_property_ui_text(prop, "Texture spacing", "Spacing for textures along stroke length");
 	RNA_def_property_update(prop, NC_LINESTYLE, NULL);
 
 	/* nodes */




More information about the Bf-blender-cvs mailing list