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 <b.mont29@gmail.com>2020-02-17 15:00:01 +0300
committerBastien Montagne <b.mont29@gmail.com>2020-02-17 15:01:07 +0300
commitd119e163d0a867fe0263d751231b838c57b95b31 (patch)
treecc271d14cd6b0f12d56498f0a906b8d32dc37e24 /source/blender/editors
parent2d1b05a15fa2d53894efd5198784ddde6bfa63a3 (diff)
Fix many typos and other issues in UI messages.
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/gpencil/gpencil_fill.c2
-rw-r--r--source/blender/editors/interface/interface_templates.c6
-rw-r--r--source/blender/editors/mesh/editmesh_mask_extract.c2
-rw-r--r--source/blender/editors/object/object_add.c3
-rw-r--r--source/blender/editors/object/object_remesh.c20
-rw-r--r--source/blender/editors/sculpt_paint/sculpt.c4
-rw-r--r--source/blender/editors/space_outliner/outliner_edit.c4
-rw-r--r--source/blender/editors/space_view3d/view3d_edit.c2
8 files changed, 21 insertions, 22 deletions
diff --git a/source/blender/editors/gpencil/gpencil_fill.c b/source/blender/editors/gpencil/gpencil_fill.c
index d3811a61b2a..3feec7a5801 100644
--- a/source/blender/editors/gpencil/gpencil_fill.c
+++ b/source/blender/editors/gpencil/gpencil_fill.c
@@ -1372,7 +1372,7 @@ static int gpencil_fill_invoke(bContext *C, wmOperator *op, const wmEvent *UNUSE
}
}
if (!valid) {
- BKE_report(op->reports, RPT_ERROR, "Fill tool needs active material.");
+ BKE_report(op->reports, RPT_ERROR, "Fill tool needs active material");
return OPERATOR_CANCELLED;
}
diff --git a/source/blender/editors/interface/interface_templates.c b/source/blender/editors/interface/interface_templates.c
index fcb51838d59..6feabd15daa 100644
--- a/source/blender/editors/interface/interface_templates.c
+++ b/source/blender/editors/interface/interface_templates.c
@@ -813,7 +813,7 @@ static void template_ID(bContext *C,
}
if (text) {
- /* Add label resepecting the seperated layout property split state. */
+ /* Add label resepecting the separated layout property split state. */
layout = uiItemL_respect_property_split(layout, text, ICON_NONE);
}
@@ -4607,7 +4607,7 @@ static uiBlock *CurveProfile_presets_func(bContext *C, ARegion *ar, CurveProfile
UI_BTYPE_BUT_MENU,
1,
ICON_BLANK1,
- IFACE_("Cornice Moulding"),
+ IFACE_("Cornice Molding"),
0,
yco -= UI_UNIT_Y,
menuwidth,
@@ -4622,7 +4622,7 @@ static uiBlock *CurveProfile_presets_func(bContext *C, ARegion *ar, CurveProfile
UI_BTYPE_BUT_MENU,
1,
ICON_BLANK1,
- IFACE_("Crown Moulding"),
+ IFACE_("Crown Molding"),
0,
yco -= UI_UNIT_Y,
menuwidth,
diff --git a/source/blender/editors/mesh/editmesh_mask_extract.c b/source/blender/editors/mesh/editmesh_mask_extract.c
index cb67cb404e4..e604248874a 100644
--- a/source/blender/editors/mesh/editmesh_mask_extract.c
+++ b/source/blender/editors/mesh/editmesh_mask_extract.c
@@ -63,7 +63,7 @@ static bool paint_mask_extract_poll(bContext *C)
Object *ob = CTX_data_active_object(C);
if (ob != NULL && ob->mode == OB_MODE_SCULPT) {
if (ob->sculpt->bm) {
- CTX_wm_operator_poll_msg_set(C, "The mask can not be extracted with dyntopo activated.");
+ CTX_wm_operator_poll_msg_set(C, "The mask can not be extracted with dyntopo activated");
return false;
}
else {
diff --git a/source/blender/editors/object/object_add.c b/source/blender/editors/object/object_add.c
index 5cc9f70b9af..e99c7543bf3 100644
--- a/source/blender/editors/object/object_add.c
+++ b/source/blender/editors/object/object_add.c
@@ -2378,8 +2378,7 @@ static int convert_exec(bContext *C, wmOperator *op)
else if (target == OB_GPENCIL) {
if (ob->type != OB_CURVE) {
ob->flag &= ~OB_DONE;
- BKE_report(
- op->reports, RPT_ERROR, "Convert Surfaces to Grease Pencil is not supported.");
+ BKE_report(op->reports, RPT_ERROR, "Convert Surfaces to Grease Pencil is not supported");
}
else {
/* Create a new grease pencil object and copy transformations.
diff --git a/source/blender/editors/object/object_remesh.c b/source/blender/editors/object/object_remesh.c
index 70e3c93cbd9..f6e80df7cd8 100644
--- a/source/blender/editors/object/object_remesh.c
+++ b/source/blender/editors/object/object_remesh.c
@@ -83,18 +83,18 @@ static bool object_remesh_poll(bContext *C)
}
if (BKE_object_is_in_editmode(ob)) {
- CTX_wm_operator_poll_msg_set(C, "The remesher cannot run from edit mode.");
+ CTX_wm_operator_poll_msg_set(C, "The remesher cannot run from edit mode");
return false;
}
if (ob->mode == OB_MODE_SCULPT && ob->sculpt->bm) {
- CTX_wm_operator_poll_msg_set(C, "The remesher cannot run with dyntopo activated.");
+ CTX_wm_operator_poll_msg_set(C, "The remesher cannot run with dyntopo activated");
return false;
}
if (modifiers_usesMultires(ob)) {
CTX_wm_operator_poll_msg_set(
- C, "The remesher cannot run with a Multires modifier in the modifier stack.");
+ C, "The remesher cannot run with a Multires modifier in the modifier stack");
return false;
}
@@ -109,7 +109,7 @@ static int voxel_remesh_exec(bContext *C, wmOperator *op)
Mesh *new_mesh;
if (mesh->remesh_voxel_size <= 0.0f) {
- BKE_report(op->reports, RPT_ERROR, "Voxel remesher cannot run with a voxel size of 0.0.");
+ BKE_report(op->reports, RPT_ERROR, "Voxel remesher cannot run with a voxel size of 0.0");
return OPERATOR_CANCELLED;
}
@@ -122,7 +122,7 @@ static int voxel_remesh_exec(bContext *C, wmOperator *op)
mesh, mesh->remesh_voxel_size, mesh->remesh_voxel_adaptivity, isovalue);
if (!new_mesh) {
- BKE_report(op->reports, RPT_ERROR, "Voxel remesher failed to create mesh.");
+ BKE_report(op->reports, RPT_ERROR, "Voxel remesher failed to create mesh");
return OPERATOR_CANCELLED;
}
@@ -461,18 +461,18 @@ static void quadriflow_end_job(void *customdata)
switch (qj->success) {
case 1:
DEG_id_tag_update(&ob->id, ID_RECALC_GEOMETRY);
- WM_reportf(RPT_INFO, "QuadriFlow: Completed remeshing!");
+ WM_reportf(RPT_INFO, "QuadriFlow: Remeshing completed");
break;
case 0:
- WM_reportf(RPT_ERROR, "QuadriFlow: remeshing failed!");
+ WM_reportf(RPT_ERROR, "QuadriFlow: Remeshing failed");
break;
case -1:
- WM_report(RPT_WARNING, "QuadriFlow: remeshing canceled!");
+ WM_report(RPT_WARNING, "QuadriFlow: Remeshing cancelled");
break;
case -2:
WM_report(RPT_WARNING,
"QuadriFlow: The mesh needs to be manifold and have face normals that point in a "
- "consistent direction.");
+ "consistent direction");
break;
}
}
@@ -640,7 +640,7 @@ void OBJECT_OT_quadriflow_remesh(wmOperatorType *ot)
"use_paint_symmetry",
true,
"Use Paint Symmetry",
- "Generates a symmetrycal mesh using the paint symmetry configuration");
+ "Generates a symmetrical mesh using the paint symmetry configuration");
RNA_def_boolean(ot->srna,
"use_preserve_sharp",
diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c
index 880ad147403..f03da21e02a 100644
--- a/source/blender/editors/sculpt_paint/sculpt.c
+++ b/source/blender/editors/sculpt_paint/sculpt.c
@@ -6864,7 +6864,7 @@ static const char *sculpt_tool_name(Sculpt *sd)
case SCULPT_TOOL_POSE:
return "Pose Brush";
case SCULPT_TOOL_MULTIPLANE_SCRAPE:
- return "Multiplane Scrape Brush";
+ return "Multi-plane Scrape Brush";
case SCULPT_TOOL_SLIDE_RELAX:
return "Slide/Relax Brush";
}
@@ -10458,7 +10458,7 @@ static int sculpt_mask_expand_invoke(bContext *C, wmOperator *op, const wmEvent
BKE_pbvh_parallel_range(0, ss->filter_cache->totnode, &data, sculpt_expand_task_cb, &settings);
const char *status_str = TIP_(
- "Move the mouse to expand the mask from the active vertex. LBM: confirm mask, ESC/RMB: "
+ "Move the mouse to expand the mask from the active vertex. LMB: confirm mask, ESC/RMB: "
"cancel");
ED_workspace_status_text(C, status_str);
diff --git a/source/blender/editors/space_outliner/outliner_edit.c b/source/blender/editors/space_outliner/outliner_edit.c
index eafd89620dc..3d7cf1037e1 100644
--- a/source/blender/editors/space_outliner/outliner_edit.c
+++ b/source/blender/editors/space_outliner/outliner_edit.c
@@ -2218,7 +2218,7 @@ static int outliner_orphans_purge_invoke(bContext *C, wmOperator *op, const wmEv
RNA_int_set(op->ptr, "num_deleted", num_tagged[INDEX_ID_NULL]);
if (num_tagged[INDEX_ID_NULL] == 0) {
- BKE_report(op->reports, RPT_INFO, "No orphanned data-blocks to purge");
+ BKE_report(op->reports, RPT_INFO, "No orphaned data-blocks to purge");
return OPERATOR_CANCELLED;
}
@@ -2265,7 +2265,7 @@ static int outliner_orphans_purge_exec(bContext *C, wmOperator *op)
FOREACH_MAIN_ID_END;
if (num_tagged[INDEX_ID_NULL] == 0) {
- BKE_report(op->reports, RPT_INFO, "No orphanned data-blocks to purge");
+ BKE_report(op->reports, RPT_INFO, "No orphaned data-blocks to purge");
return OPERATOR_CANCELLED;
}
}
diff --git a/source/blender/editors/space_view3d/view3d_edit.c b/source/blender/editors/space_view3d/view3d_edit.c
index 9a8e74385bb..34c2a5d6831 100644
--- a/source/blender/editors/space_view3d/view3d_edit.c
+++ b/source/blender/editors/space_view3d/view3d_edit.c
@@ -3632,7 +3632,7 @@ static int view3d_zoom_border_exec(bContext *C, wmOperator *op)
/* ignore dist_range min */
dist_range[0] = v3d->clip_start * 1.5f;
}
- else { /* othographic */
+ else { /* orthographic */
/* find the current window width and height */
vb[0] = ar->winx;
vb[1] = ar->winy;