Fix/cleanup another bunch of UI messages issues.
authorBastien Montagne <montagne29@wanadoo.fr>
Mon, 24 Dec 2018 11:31:39 +0000 (12:31 +0100)
committerBastien Montagne <montagne29@wanadoo.fr>
Mon, 24 Dec 2018 11:32:43 +0000 (12:32 +0100)
Also (mostly in comments): behaviour -> behavior (we use American English).

37 files changed:
release/scripts/modules/bl_i18n_utils/settings.py
release/scripts/modules/bl_i18n_utils/utils_spell_check.py
release/scripts/startup/bl_ui/properties_grease_pencil_common.py
release/scripts/startup/bl_ui/space_view3d.py
source/blender/alembic/intern/abc_customdata.cc
source/blender/blenfont/intern/blf_font.c
source/blender/blenkernel/intern/gpencil.c
source/blender/blenkernel/intern/object.c
source/blender/blenlib/intern/list_sort_impl.h
source/blender/blenlib/intern/path_util.c
source/blender/blenloader/intern/versioning_270.c
source/blender/compositor/intern/COM_NodeOperation.h
source/blender/draw/engines/eevee/eevee_private.h
source/blender/draw/intern/draw_manager_exec.c
source/blender/editors/animation/anim_channels_edit.c
source/blender/editors/animation/anim_filter.c
source/blender/editors/animation/keyframing.c
source/blender/editors/gpencil/gpencil_brush.c
source/blender/editors/gpencil/gpencil_select.c
source/blender/editors/io/io_collada.c
source/blender/editors/space_action/action_data.c
source/blender/editors/space_nla/nla_channels.c
source/blender/editors/transform/transform_conversions.c
source/blender/editors/undo/ed_undo.c
source/blender/gpu/intern/gpu_codegen.c
source/blender/makesdna/DNA_gpencil_modifier_types.h
source/blender/makesrna/intern/rna_curve.c
source/blender/makesrna/intern/rna_modifier.c
source/blender/makesrna/intern/rna_nodetree.c
source/blender/makesrna/intern/rna_object_force.c
source/blender/makesrna/intern/rna_scene.c
source/blender/makesrna/intern/rna_sculpt_paint.c
source/blender/makesrna/intern/rna_space.c
source/blender/makesrna/intern/rna_ui.c
source/blender/makesrna/intern/rna_wm_api.c
source/blender/windowmanager/intern/wm_files.c
tests/gtests/blenlib/BLI_string_utf8_test.cc

index 8a0170b86d496a370d3650caf42856dafd93d66f..9dc0a1ae89e4fc1650d8ae1086f0e5bd5688f7d3 100644 (file)
@@ -331,20 +331,27 @@ WARN_MSGID_NOT_CAPITALIZED_ALLOWED = {
     "brown fox",
     "can't save image while rendering",
     "constructive modifier",
+    "cursor",
+    "custom matrix",
+    "custom orientation",
     "edge data",
     "expected a timeline/animation area to be active",
     "expected a view3d region",
     "expected a view3d region & editcurve",
     "expected a view3d region & editmesh",
     "face data",
+    "gimbal",
+    "global",
     "image file not found",
     "image format is read-only",
     "image path can't be written to",
     "in memory to enable editing!",
     "jumps over",
     "left",
+    "local",
     "multi-res modifier",
     "non-triangle face",
+    "normal",
     "right",
     "the lazy dog",
     "unable to load movie clip",
@@ -359,7 +366,9 @@ WARN_MSGID_NOT_CAPITALIZED_ALLOWED = {
     "unsupported movie clip format",
     "vertex data",
     "verts only",
+    "view",
     "virtual parents",
+    "wmOwnerID '%s' not in workspace '%s'",
 }
 WARN_MSGID_NOT_CAPITALIZED_ALLOWED |= set(lng[2] for lng in LANGUAGES)
 
index f8a23a7deba7e872ff341c033fba0b97ee617d8e..87f4ad7f59e680ddcf38811114042268cc35ef2b 100644 (file)
@@ -32,6 +32,7 @@ class SpellChecker:
     # These must be all lower case for comparisons
     uimsgs = {
         # OK words
+        "adaptively",
         "aren",  # aren't
         "betweens",  # yuck! in-betweens!
         "boolean", "booleans",
@@ -45,6 +46,7 @@ class SpellChecker:
         "hasn",  # hasn't
         "hetero",
         "hoc",  # ad-hoc
+        "incompressible",
         "indices",
         "instantiation",
         "iridas",
@@ -56,6 +58,7 @@ class SpellChecker:
         "mplayer",
         "ons",  # add-ons
         "pong",  # ping pong
+        "smoothen",
         "teleport", "teleporting",
         "vertices",
 
@@ -78,6 +81,7 @@ class SpellChecker:
         "backscattered",
         "bandnoise",
         "bindcode",
+        "bitdepth",
         "bitflag", "bitflags",
         "bitrate",
         "blackbody",
@@ -112,9 +116,11 @@ class SpellChecker:
         "gridline",
         "hardlight",
         "hemi",
+        "hostname",
         "inbetween",
         "inscatter", "inscattering",
         "libdata",
+        "lightprobe", "lightprobes",
         "lightless",
         "lineset",
         "linestyle", "linestyles",
@@ -158,6 +164,7 @@ class SpellChecker:
         "raytree",
         "readonly",
         "realtime",
+        "reinject", "reinjected",
         "rekey",
         "remesh",
         "reprojection", "reproject",
@@ -205,11 +212,13 @@ class SpellChecker:
         "unhide",
         "unindent",
         "unkeyed",
+        "unlink", "unlinked",
         "unmute",
         "unpremultiply",
         "unprojected",
         "unprotect",
         "unreacted",
+        "unreferenced",
         "unregister",
         "unselected", "unselectable",
         "unsubdivided", "unsubdivide",
@@ -233,8 +242,10 @@ class SpellChecker:
         "determinator",
         "editability",
         "effectors",
+        "instancer",
         "keyer",
         "lacunarity",
+        "linkable",
         "numerics",
         "occluder", "occluders",
         "passepartout",
@@ -244,14 +255,14 @@ class SpellChecker:
         "polycount",
         "polygonization", "polygonalization",  # yuck!
         "scalings",
-        "selectability",
+        "selectable", "selectability",
         "spherize", "spherized",
         "stitchable",
         "symmetrize",
         "trackability",
         "transmissivity",
         "rasterized", "rasterization", "rasterizer",
-        "renderer", "renderable", "renderability",
+        "renderer", "renderers", "renderable", "renderability",
 
         # Really bad!!!
         "convertor",
@@ -327,8 +338,10 @@ class SpellChecker:
         "affine",
         "albedo",
         "anamorphic",
+        "anisotropic",
         "bitangent",
         "boid", "boids",
+        "ceil",
         "curvilinear",
         "equiangular",
         "equisolid",
@@ -337,6 +350,7 @@ class SpellChecker:
         "gettext",
         "hashable",
         "hotspot",
+        "interocular",
         "intrinsics",
         "irradiance",
         "isosurface",
@@ -358,9 +372,11 @@ class SpellChecker:
         "photoreceptor",
         "poly",
         "polyline", "polylines",
+        "probabilistically",
         "pulldown", "pulldowns",
         "quantized",
         "quartic",
+        "quaternion", "quaternions",
         "quintic",
         "samplerate",
         "sawtooth",
@@ -369,6 +385,7 @@ class SpellChecker:
         "scroller",
         "searchable",
         "spacebar",
+        "subtractive",
         "tooltip", "tooltips",
         "trackpad",
         "tuple",
@@ -398,7 +415,7 @@ class SpellChecker:
         "collada",
         "compositing",
         "crossfade",
-        "cubemap",
+        "cubemap", "cubemaps",
         "cuda",
         "deinterlace",
         "dropoff",
@@ -463,6 +480,7 @@ class SpellChecker:
         "colorband",
         "datablock", "datablocks",
         "despeckle",
+        "depsgraph",
         "dopesheet",
         "dupliface", "duplifaces",
         "dupliframe", "dupliframes",
@@ -483,6 +501,7 @@ class SpellChecker:
         "gpencil",
         "idcol",
         "keyframe", "keyframes", "keyframing", "keyframed",
+        "lookdev",
         "luminocity",
         "mathvis",
         "metaball", "metaballs", "mball",
@@ -494,6 +513,7 @@ class SpellChecker:
         "nabla",
         "navmesh",
         "outliner",
+        "overscan",
         "paintmap", "paintmaps",
         "polygroup", "polygroups",
         "poselib",
@@ -532,11 +552,14 @@ class SpellChecker:
         # Algorithm/library names
         "ashikhmin",  # Ashikhmin-Shirley
         "beckmann",
+        "blackman",  # Blackman-Harris
         "blosc",
+        "burley",  # Christensen-Burley
         "catmull",
         "catrom",
         "chebychev",
         "courant",
+        "cryptomatte", "crypto",
         "hosek",
         "kutta",
         "lennard",
@@ -595,6 +618,7 @@ class SpellChecker:
         "hh", "mm", "ss", "ff",  # hh:mm:ss:ff timecode
         "hsv", "hsva", "hsl",
         "id",
+        "ies",
         "ior",
         "itu",
         "lhs",
@@ -608,6 +632,7 @@ class SpellChecker:
         "precisa",
         "px",
         "qmc",
+        "rdp",
         "rgb", "rgba",
         "rhs",
         "rv",
index 11aeb74135295f77335feb7440965a27029e2361..65d194e54d2e0ea4d20a549fb171dc82f7613f8f 100644 (file)
@@ -212,7 +212,7 @@ class GreasePencilStrokeEditPanel:
         col.operator("gpencil.stroke_subdivide", text="Subdivide")
         row = col.row(align=True)
         row.operator("gpencil.stroke_simplify_fixed", text="Simplify")
-        row.operator("gpencil.stroke_simplify", text="Adaptative")
+        row.operator("gpencil.stroke_simplify", text="Adaptive")
 
         col.separator()
 
index b4bf8dcbed07239c74b76d9203276c9c8a255e34..93f772785a55cb673bf671c20185b296dc5c5890 100644 (file)
@@ -3852,7 +3852,7 @@ class VIEW3D_MT_gpencil_simplify(Menu):
     def draw(self, context):
         layout = self.layout
         layout.operator("gpencil.stroke_simplify_fixed", text="Fixed")
-        layout.operator("gpencil.stroke_simplify", text="Adaptative")
+        layout.operator("gpencil.stroke_simplify", text="Adaptive")
 
 
 class VIEW3D_MT_paint_gpencil(Menu):
@@ -5542,7 +5542,7 @@ class VIEW3D_MT_gpencil_edit_specials(Menu):
         layout.operator("gpencil.stroke_smooth", text="Smooth")
         layout.operator("gpencil.stroke_subdivide", text="Subdivide")
         layout.operator("gpencil.stroke_simplify_fixed", text="Simplify")
-        layout.operator("gpencil.stroke_simplify", text="Simplify Adaptative")
+        layout.operator("gpencil.stroke_simplify", text="Simplify Adaptive")
 
         layout.separator()
         layout.menu("GPENCIL_MT_separate", text="Separate")
@@ -5588,7 +5588,7 @@ class VIEW3D_MT_gpencil_sculpt_specials(Menu):
 
         layout.operator("gpencil.stroke_subdivide", text="Subdivide")
         layout.operator("gpencil.stroke_simplify_fixed", text="Simplify")
-        layout.operator("gpencil.stroke_simplify", text="Simplify Adaptative")
+        layout.operator("gpencil.stroke_simplify", text="Simplify Adaptive")
 
         if context.mode == 'WEIGHT_GPENCIL':
             layout.separator()
index 96685b6ac3a51e7000046fec7819946d75663b57..da69938f34ffe72ddf0f8c76c68a933f2b8b31fe 100644 (file)
@@ -142,7 +142,7 @@ const char *get_uv_sample(UVSample &sample, const CDStreamConfig &config, Custom
 /* Convention to write UVs:
  * - V2fGeomParam on the arbGeomParam
  * - set scope as face varying
- * - (optional due to its behaviour) tag as UV using Alembic::AbcGeom::SetIsUV
+ * - (optional due to its behavior) tag as UV using Alembic::AbcGeom::SetIsUV
  */
 static void write_uv(const OCompoundProperty &prop, const CDStreamConfig &config, void *data, const char *name)
 {
index eaf45d910344af4440d0574a0422c9f1fa058c69..c5d39a05c5d32cb2763ca422a70c75140230e647 100644 (file)
@@ -86,7 +86,7 @@ static SpinLock ft_lib_mutex;
 /**
  * Drawcalls are precious! make them count!
  * Since most of the Text elems are not covered by other UI elements, we can
- * group some strings together and render them in one drawcall. This behaviour
+ * group some strings together and render them in one drawcall. This behavior
  * is on demand only, between BLF_batch_start() and BLF_batch_end().
  **/
 static void blf_batch_draw_init(void)
index 9eb95f91c61ae7070d54e60ff8f9b44731f67904..5f44454189018f698cced4909608c4f46afb25e0 100644 (file)
@@ -364,7 +364,7 @@ bGPDlayer *BKE_gpencil_layer_addnew(bGPdata *gpd, const char *name, bool setacti
                BLI_insertlinkafter(&gpd->layers, gpl_active, gpl);
        }
 
-       /* annotation vs GP Object behaviour is slightly different */
+       /* annotation vs GP Object behavior is slightly different */
        if (gpd->flag & GP_DATA_ANNOTATIONS) {
                /* set default color of new strokes for this layer */
                copy_v4_v4(gpl->color, U.gpencil_new_layer_col);
index fd047c50d2cce17c9eb762bd0895a31c4962cce5..0bff2362661f4c0ad31c26faa63249731bf74d38 100644 (file)
@@ -1997,7 +1997,7 @@ static void ob_parbone(Object *ob, Object *par, float mat[4][4])
 
        /* get bone transform */
        if (pchan->bone->flag & BONE_RELATIVE_PARENTING) {
-               /* the new option uses the root - expected behaviour, but differs from old... */
+               /* the new option uses the root - expected behavior, but differs from old... */
                /* XXX check on version patching? */
                copy_m4_m4(mat, pchan->chan_mat);
        }
index 249ed470d6edeb68142f373b2186785cad94ab6a..062b4e396477a2d3554259bc3064b0974afb2134 100644 (file)
@@ -226,7 +226,7 @@ BLI_INLINE list_node *sweep_up(struct SortInfo *si, list_node *list, unsigned in
  * When inserting higher-ranked lists, we choose to clear out the lower ranks
  * in the interests of keeping the sort stable, but this makes analysis harder.
  * Note that clearing the lower-ranked lists is `O(length(list))--` thus it
- * shouldn't affect the `O(n log n)` behaviour.
+ * shouldn't affect the `O(n log n)` behavior.
  * In other words, inserting one `rank-i` list is equivalent to inserting
  * `2**i` `rank-0` lists, thus even if we do `i` additional merges
  * in the clearing-out (taking at most `2**i` time) we are still fine.
index 2461a6ed50b7e5e756ea9f87ecbf3b9ad897d8f5..5c9a56e33d2cd0733c6a528efbe7347af31c5c39 100644 (file)
@@ -243,7 +243,7 @@ void BLI_cleanup_path(const char *relabase, char *path)
 
                        /* Note: previous version of following call used an offset of 3 instead of 4,
                         * which meant that the "/../home/me" example actually became "home/me".
-                        * Using offset of 3 gives behaviour consistent with the abovementioned
+                        * Using offset of 3 gives behavior consistent with the abovementioned
                         * Python routine. */
                        memmove(path, path + 3, strlen(path + 3) + 1);
                }
index 8613ffc97fb4e20df723d7fc8033163bf75b045b..7e201aaf1d1d44604d41f64334ad2bf932c9a3f5 100644 (file)
@@ -1515,7 +1515,7 @@ void blo_do_versions_270(FileData *fd, Library *UNUSED(lib), Main *bmain)
                }
                if (!DNA_struct_elem_find(fd->filesdna, "FFMpegCodecData", "int", "constant_rate_factor")) {
                        for (Scene *scene = bmain->scene.first; scene; scene = scene->id.next) {
-                               /* fall back to behaviour from before we introduced CRF for old files */
+                               /* fall back to behavior from before we introduced CRF for old files */
                                scene->r.ffcodecdata.constant_rate_factor = FFM_CRF_NONE;
                        }
                }
index 1016134344457c13a130da427615760c4ce59005..ad9842caa74c1d72b1ddcc100593da91491463c2 100644 (file)
@@ -151,7 +151,7 @@ public:
        /**
         * \brief isOutputOperation determines whether this operation is an output of the ExecutionSystem during rendering or editing.
         *
-        * Default behaviour if not overridden, this operation will not be evaluated as being an output of the ExecutionSystem.
+        * Default behavior if not overridden, this operation will not be evaluated as being an output of the ExecutionSystem.
         *
         * \see ExecutionSystem
         * \group check
index 451b1013103bac3b44fb48146aa6d3c10a000ac3..a321e68b8152b60f79767cd37ddabae21227634d 100644 (file)
@@ -742,7 +742,7 @@ typedef struct EEVEE_LampEngineData {
        DrawData dd;
 
        bool need_update;
-       /* This needs to be out of the union to avoid undefined behaviour. */
+       /* This needs to be out of the union to avoid undefined behavior. */
        short prev_cube_shadow_id;
        union {
                struct EEVEE_LightData ld;
index 88db0f0726733827c18c8ad7fa4729919e8f9435..73859423eb9a88c77e2317324b2dad78559b562f 100644 (file)
@@ -927,7 +927,7 @@ static void bind_ubo(GPUUniformBuffer *ubo, char bind_type)
                                return;
                        }
                }
-               /* printf so user can report bad behaviour */
+               /* printf so user can report bad behavior */
                printf("Not enough ubo slots! This should not happen!\n");
                /* This is not depending on user input.
                 * It is our responsibility to make sure there is enough slots. */
index 2ace4874dae84c9f811e14f1e71778365da5678c..26de5c3afc8d1c1246288e4e7e00a3dd5f78edc1 100644 (file)
@@ -3058,7 +3058,7 @@ static void ANIM_OT_channels_click(wmOperatorType *ot)
        ot->flag = OPTYPE_UNDO;
 
        /* properties */
-       /* NOTE: don't save settings, otherwise, can end up with some weird behaviour (sticky extend) */
+       /* NOTE: don't save settings, otherwise, can end up with some weird behavior (sticky extend) */
        prop = RNA_def_boolean(ot->srna, "extend", false, "Extend Select", ""); // SHIFTKEY
        RNA_def_property_flag(prop, PROP_SKIP_SAVE);
 
index 2d528a0f0b91bd6c2a7f55719a36d1f70e7adcc6..1567c72c2b2612b55ee71e2c471b17665ed47b24 100644 (file)
@@ -2991,7 +2991,7 @@ static size_t animdata_filter_dopesheet(bAnimContext *ac, ListBase *anim_data, b
         * to make it easier to predict where items are in the hierarchy
         * - This order only really matters if we need to show all channels in the list (e.g. for drawing)
         *   (XXX: What about lingering "active" flags? The order may now become unpredictable)
-        * - Don't do this if this behaviour has been turned off (i.e. due to it being too slow)
+        * - Don't do this if this behavior has been turned off (i.e. due to it being too slow)
         * - Don't do this if there's just a single object
         */
        if ((filter_mode & ANIMFILTER_LIST_CHANNELS) && !(ads->flag & ADS_FLAG_NO_DB_SORT) &&
index b93c2ae5c7b8f9a5c4e9b02e7cec7532393fc69f..02d5e2cb28afc01272306678f2a7c0162adf4933 100644 (file)
@@ -479,7 +479,7 @@ int insert_vert_fcurve(FCurve *fcu, float x, float y, eBezTriple_KeyframeType ke
 
        /* set default handle types and interpolation mode */
        if (flag & INSERTKEY_NO_USERPREF) {
-               /* for Py-API, we want scripts to have predictable behaviour,
+               /* for Py-API, we want scripts to have predictable behavior,
                 * hence the option to not depend on the userpref defaults
                 */
                beztr.h1 = beztr.h2 = HD_AUTO_ANIM;
@@ -1007,7 +1007,7 @@ bool insert_keyframe_direct(Depsgraph *depsgraph, ReportList *reports, PointerRN
                }
        }
 
-       /* update F-Curve flags to ensure proper behaviour for property type */
+       /* update F-Curve flags to ensure proper behavior for property type */
        update_autoflags_fcurve_direct(fcu, prop);
 
        /* adjust frame on which to add keyframe */
@@ -1949,9 +1949,9 @@ static int insert_key_button_exec(bContext *C, wmOperator *op)
 
                                /* Special exception for keyframing transforms:
                                 * Set "group" for this manually, instead of having them appearing at the bottom (ungrouped)
-                                * part of the channels list. Leaving these ungrouped is not a nice user behaviour in this case.
+                                * part of the channels list. Leaving these ungrouped is not a nice user behavior in this case.
                                 *
-                                * TODO: Perhaps we can extend this behaviour in future for other properties...
+                                * TODO: Perhaps we can extend this behavior in future for other properties...
                                 */
                                if (ptr.type == &RNA_PoseBone) {
                                        bPoseChannel *pchan = (bPoseChannel *)ptr.data;
index 5ec55d1e98eb113f2b6326f8f7102b6c633d6c64..2c2a45102951e0b8ae6d011d124926fbc39ad912 100644 (file)
@@ -224,13 +224,13 @@ static GP_Sculpt_Data *gpsculpt_get_brush(Scene *scene, bool is_weight_mode)
 
 /* Brush Operations ------------------------------- */
 
-/* Invert behaviour of brush? */
+/* Invert behavior of brush? */
 static bool gp_brush_invert_check(tGP_BrushEditData *gso)
 {
        /* The basic setting is the brush's setting (from the panel) */
        bool invert = ((gso->gp_brush->flag & GP_SCULPT_FLAG_INVERT) != 0);
 
-       /* During runtime, the user can hold down the Ctrl key to invert the basic behaviour */
+       /* During runtime, the user can hold down the Ctrl key to invert the basic behavior */
        if (gso->flag & GP_SCULPT_FLAG_INVERT) {
                invert ^= true;
        }
index 8b1f652f7c595ccd77479785f2e8d86bc57d7a9b..fff753cf3a95ef808b6ba1625afdd082202daa6f 100644 (file)
@@ -1419,7 +1419,7 @@ static int gpencil_select_exec(bContext *C, wmOperator *op)
                return OPERATOR_CANCELLED;
        }
 
-       /* adjust selection behaviour - for toggle option */
+       /* adjust selection behavior - for toggle option */
        if (toggle) {
                deselect = (hit_point->flag & GP_SPOINT_SELECT) != 0;
        }
index 943f6743ec06778e9397c4857c73a01d07235651..01cbeee7d2807b1849ad7c23146e5cde96233527 100644 (file)
@@ -456,7 +456,7 @@ void WM_OT_collada_export(wmOperatorType *ot)
                WM_FILESEL_FILEPATH, FILE_DEFAULTDISPLAY, FILE_SORT_ALPHA);
 
        RNA_def_enum(func, "prop_bc_export_ui_section", prop_bc_export_ui_section, 0,
-               "Export Section", "Only for User Interface Organisation");
+                    "Export Section", "Only for User Interface organization");
 
        RNA_def_boolean(func,
                        "apply_modifiers", 0, "Apply Modifiers",
@@ -501,7 +501,7 @@ void WM_OT_collada_export(wmOperatorType *ot)
                "Keep Smooth curves", "Export also the curve handles (if available).\nThis does only work when the inverse parent matrix is the Unity matrix\nOtherwise you may end up with odd results\n");
 
        RNA_def_boolean(func, "keep_keyframes", 0,
-               "Keep Keyframes", "Use existing keyframes as additional sample points.\nThis helps when you want to keep manual tweeks");
+               "Keep Keyframes", "Use existing keyframes as additional sample points (this helps when you want to keep manual tweaks)");
 
        RNA_def_boolean(func, "active_uv_only", 0, "Only Selected UV Map",
                        "Export only the selected UV Map");
index a3773110d0fbdae72817c32396734bb75936f3cd..fa5a13a81b69ea65f09961396413ea4fcf18641c 100644 (file)
@@ -647,7 +647,7 @@ static int action_unlink_exec(bContext *C, wmOperator *op)
 
 static int action_unlink_invoke(bContext *C, wmOperator *op, const wmEvent *evt)
 {
-       /* NOTE: this is hardcoded to match the behaviour for the unlink button (in interface_templates.c) */
+       /* NOTE: this is hardcoded to match the behavior for the unlink button (in interface_templates.c) */
        RNA_boolean_set(op->ptr, "force_delete", evt->shift != 0);
        return action_unlink_exec(C, op);
 }
index 0dae0e20319c5f686e6f06e65813d768ea355d23..2bd5bafe2d4906a66417fc0534b3cc17f0406436 100644 (file)
@@ -557,7 +557,7 @@ static int nla_action_unlink_exec(bContext *C, wmOperator *op)
 
 static int nla_action_unlink_invoke(bContext *C, wmOperator *op, const wmEvent *evt)
 {
-       /* NOTE: this is hardcoded to match the behaviour for the unlink button (in interface_templates.c) */
+       /* NOTE: this is hardcoded to match the behavior for the unlink button (in interface_templates.c) */
        RNA_boolean_set(op->ptr, "force_delete", evt->shift != 0);
        return nla_action_unlink_exec(C, op);
 }
index b04a9b0808770416df5292dea20b539ccbe8f364..8c3187d92a022ad631d9db74524268474e2f9c73 100644 (file)
@@ -5059,7 +5059,7 @@ void flushTransGraphData(TransInfo *t)
                                        break;
 
                                case SACTSNAP_TSTEP: /* second step */
-                                       /* XXX: the handle behaviour in this case is still not quite right... */
+                                       /* XXX: the handle behavior in this case is still not quite right... */
                                        td2d->loc[0] = floor(((double)td2d->loc[0] / secf) + 0.5) * secf;
                                        td->loc[0]   = floor(((double)td->loc[0] / secf) + 0.5) * secf;
                                        break;
index dd45974902991d53b6c4df0854221f468600e048..9c29b370b9235d60f6c3a4895a4bbb55fd8d62c3 100644 (file)
@@ -206,7 +206,7 @@ static int ed_undo_step(bContext *C, int step, const char *undoname, ReportList
        if (G.debug & G_DEBUG_IO) {
                Main *bmain = CTX_data_main(C);
                if (bmain->lock != NULL) {
-                       BKE_report(reports, RPT_INFO, "Checking sanity of current .blend file *AFTER* undo step.");
+                       BKE_report(reports, RPT_INFO, "Checking sanity of current .blend file *AFTER* undo step");
                        BLO_main_validate_libraries(bmain, reports);
                }
        }
index 952886bafedafd4f68fb2e000e6219356b1a2af2..4360941e332698fa6f7ce52d0ead56bac3856354 100644 (file)
@@ -1972,7 +1972,7 @@ void GPU_pass_compile(GPUPass *pass, const char *shname)
                        shname);
 
                /* NOTE: Some drivers / gpu allows more active samplers than the opengl limit.
-                * We need to make sure to count active samplers to avoid undefined behaviour. */
+                * We need to make sure to count active samplers to avoid undefined behavior. */
                if (!gpu_pass_shader_validate(pass)) {
                        if (pass->shader != NULL) {
                                fprintf(stderr, "GPUShader: error: too many samplers in shader.\n");
index 476bec9a9f818157d4e980b81d2ac7030cf1b030..5a0707d385f5c4a9853bdc7b7ba30de14df1cb6f 100644 (file)
@@ -280,7 +280,7 @@ typedef struct BuildGpencilModifierData {
        float start_delay;    /* For each pair of gp keys, number of frames before strokes start appearing */
        float length;         /* For each pair of gp keys, number of frames that build effect must be completed within */
 
-       short flag;           /* (eGpencilBuild_Flag) Options for controlling modifier behaviour */
+       short flag;           /* (eGpencilBuild_Flag) Options for controlling modifier behavior */
 
        short mode;           /* (eGpencilBuild_Mode) How are strokes ordered */
        short transition;     /* (eGpencilBuild_Transition) In what order do stroke points appear/disappear */
index 17159d15ddee2b9df5fd4bcc1abb6f31c0f7ecd4..b6bdb91720e6ecbd721201cc478232dfad1c415f 100644 (file)
@@ -999,7 +999,7 @@ static void rna_def_font(BlenderRNA *UNUSED(brna), StructRNA *srna)
        RNA_def_property_enum_items(prop, prop_overflow_items);
        RNA_def_property_enum_default(prop, CU_OVERFLOW_NONE);
        RNA_def_property_ui_text(prop, "Textbox Overflow",
-                                "Handle the text behaviour when it doesn't fit in the text boxes");
+                                "Handle the text behavior when it doesn't fit in the text boxes");
        RNA_def_property_update(prop, 0, "rna_Curve_update_data");
 
        /* number values */
index b9777be07684fbbd03cc1ce6d2d089400928f9ae..541e5c772f8d7d8ce1d3f85ba4fd16c7d8ac43e7 100644 (file)
@@ -1554,7 +1554,7 @@ static void rna_def_modifier_mirror(BlenderRNA *brna)
        prop = RNA_def_property(srna, "use_bisect_axis", PROP_BOOLEAN, PROP_NONE);
        RNA_def_property_boolean_sdna(prop, NULL, "flag", MOD_MIR_BISECT_AXIS_X);
        RNA_def_property_array(prop, 3);
-       RNA_def_property_ui_text(prop, "Bisect Axis", "Cuts the mesh across the mirrorplane");
+       RNA_def_property_ui_text(prop, "Bisect Axis", "Cuts the mesh across the mirror plane");
        RNA_def_property_update(prop, 0, "rna_Modifier_update");
 
        prop = RNA_def_property(srna, "use_bisect_flip_axis", PROP_BOOLEAN, PROP_NONE);
index ca532b16bc33b8e622c10ed4b44feadb1d36d266..05f75712455475c87e9c0e488c2b0dcf38a70f47 100644 (file)
@@ -3333,9 +3333,13 @@ static const EnumPropertyItem node_hair_items[] = {
 };
 
 static const EnumPropertyItem node_principled_hair_items[] = {
-       {SHD_PRINCIPLED_HAIR_DIRECT_ABSORPTION,     "ABSORPTION", 0, "Absorption coefficient",   "Directly set the absorption coefficient sigma_a. This is not the most intuitive way to color hair."},
-       {SHD_PRINCIPLED_HAIR_PIGMENT_CONCENTRATION, "MELANIN",    0, "Melanin concentration",    "Define the melanin concentrations below to get the most realistic-looking hair. You can get the concentrations for different types of hair online."},
-       {SHD_PRINCIPLED_HAIR_REFLECTANCE,           "COLOR",      0, "Direct coloring",          "Choose the color of your preference, and the shader will approximate the absorption coefficient to render lookalike hair."},
+       {SHD_PRINCIPLED_HAIR_DIRECT_ABSORPTION,     "ABSORPTION", 0, "Absorption coefficient",
+        "Directly set the absorption coefficient sigma_a (this is not the most intuitive way to color hair)"},
+       {SHD_PRINCIPLED_HAIR_PIGMENT_CONCENTRATION, "MELANIN",    0, "Melanin concentration",
+        "Define the melanin concentrations below to get the most realistic-looking hair"
+        "(you can get the concentrations for different types of hair online)"},
+       {SHD_PRINCIPLED_HAIR_REFLECTANCE,           "COLOR",      0, "Direct coloring",
+        "Choose the color of your preference, and the shader will approximate the absorption coefficient to render lookalike hair"},
        {0, NULL, 0, NULL, NULL}
 };
 
index ee58fff2e7884819fa42cd35f8a49ba002f8d960..6513fb44cf35a9f80879b6fcee3e6d90e3ac2b64 100644 (file)
@@ -843,7 +843,7 @@ static void rna_def_ptcache_point_caches(BlenderRNA *brna, PropertyRNA *cprop)
        /* And define another RNA type for those collection items. */
        srna = RNA_def_struct(brna, "PointCacheItem", NULL);
        RNA_def_struct_sdna(srna, "PointCache");
-       RNA_def_struct_ui_text(srna, "Point Cache", "point cache for physics simulations");
+       RNA_def_struct_ui_text(srna, "Point Cache", "Point cache for physics simulations");
        RNA_def_struct_ui_icon(srna, ICON_PHYSICS);
 
        rna_def_pointcache_common(srna);
@@ -1603,7 +1603,7 @@ static void rna_def_softbody(BlenderRNA *brna)
        prop = RNA_def_property(srna, "spring_length", PROP_INT, PROP_NONE);
        RNA_def_property_int_sdna(prop, NULL, "springpreload");
        RNA_def_property_range(prop, 0.0f, 200.0f);
-       RNA_def_property_ui_text(prop, "view_layer", "Alter spring length to shrink/blow up (unit %) 0 to disable");
+       RNA_def_property_ui_text(prop, "View Layer", "Alter spring length to shrink/blow up (unit %) 0 to disable");
        RNA_def_property_update(prop, 0, "rna_softbody_update");
 
        prop = RNA_def_property(srna, "aero", PROP_INT, PROP_NONE);
index d6f6c54d055c01b929ffef0bb8962be0cf4b5567..a9a23ad4cea66a3de0918735d9898ea055626bec 100644 (file)
@@ -118,7 +118,7 @@ const EnumPropertyItem rna_enum_uv_sculpt_tool_items[] = {
 
 const EnumPropertyItem rna_enum_snap_target_items[] = {
        {SCE_SNAP_TARGET_CLOSEST, "CLOSEST", 0, "Closest", "Snap closest point onto target"},
-       {SCE_SNAP_TARGET_CENTER, "CENTER", 0, "Center", "Snap transormation center onto target"},
+       {SCE_SNAP_TARGET_CENTER, "CENTER", 0, "Center", "Snap transformation center onto target"},
        {SCE_SNAP_TARGET_MEDIAN, "MEDIAN", 0, "Median", "Snap median onto target"},
        {SCE_SNAP_TARGET_ACTIVE, "ACTIVE", 0, "Active", "Snap active onto target"},
        {0, NULL, 0, NULL, NULL}
index 609c602c27eaa5d32850e7041f201faebf98eeea..0a2ba07f6ff5feaf2d7cd578f60da6f43f952971 100644 (file)
@@ -1360,7 +1360,7 @@ static void rna_def_gpencil_sculpt(BlenderRNA *brna)
        RNA_def_property_array(prop, 3);
        RNA_def_property_range(prop, 0.0f, 1.0f);
        RNA_def_property_float_array_default(prop, default_2);
-       RNA_def_property_ui_text(prop, "Cursor Sub", "Color for the cursor for substration");
+       RNA_def_property_ui_text(prop, "Cursor Sub", "Color for the cursor for substraction");
        RNA_def_parameter_clear_flags(prop, PROP_ANIMATABLE, 0);
 
        prop = RNA_def_property(srna, "use_cursor", PROP_BOOLEAN, PROP_NONE);
index c5ac3cdc4d1b434fddf9ce305368b71e8c45e853..6dc1b0c32e72318953ea2cdec048d04f06dc9269 100644 (file)
@@ -3328,7 +3328,7 @@ static void rna_def_space_view3d(BlenderRNA *brna)
                prop = RNA_def_property(srna, "icon_from_show_object_viewport", PROP_INT, PROP_NONE);
                RNA_def_property_int_funcs(prop, "rna_SpaceView3D_icon_from_show_object_viewport_get", NULL, NULL);
                RNA_def_property_clear_flag(prop, PROP_EDITABLE);
-               RNA_def_property_ui_text(prop, "Visibility Iconm", "");
+               RNA_def_property_ui_text(prop, "Visibility Icon", "");
        }
 
        /* Nested Structs */
index 7c792f04f02379c336888c1772a8d0263e4a6e32..f51aad43f69f6f57051fbf12d6e8fcb944ca9b5e 100644 (file)
@@ -1234,7 +1234,7 @@ static void rna_def_panel(BlenderRNA *brna)
        prop = RNA_def_property(srna, "bl_parent_id", PROP_STRING, PROP_NONE);
        RNA_def_property_string_sdna(prop, NULL, "type->parent_id");
        RNA_def_property_flag(prop, PROP_REGISTER_OPTIONAL);
-       RNA_def_property_ui_text(prop, "Parent ID Name", "If this is set, the panel becomes a subpanel");
+       RNA_def_property_ui_text(prop, "Parent ID Name", "If this is set, the panel becomes a sub-panel");
 
        prop = RNA_def_property(srna, "bl_ui_units_x", PROP_INT, PROP_UNSIGNED);
        RNA_def_property_int_sdna(prop, NULL, "type->ui_units_x");
index f698f71ad2485db878e0da6b97dabc518c66366c..51291f70cfaa1cf61da2e8061d7ad21888ae548b 100644 (file)
@@ -253,7 +253,7 @@ static wmKeyMapItem *rna_KeyMap_item_new_from_item(
 /*     wmWindowManager *wm = CTX_wm_manager(C); */
 
        if ((km->flag & KEYMAP_MODAL) == (kmi_src->idname[0] != '\0')) {
-               BKE_report(reports, RPT_ERROR, "Can not mix mondal/non-modal items");
+               BKE_report(reports, RPT_ERROR, "Can not mix modal/non-modal items");
                return NULL;
        }
 
index ccd71ff15bf7373a21592b7fe03160f3dce24474..715ab5166b6416367fb1c61aaa176e30a747631e 100644 (file)
@@ -2419,7 +2419,7 @@ static uiBlock *block_create_autorun_warning(struct bContext *C, struct ARegion
        uiLayout *sub = uiLayoutRow(col, true);
        uiLayoutSetRedAlert(sub, true);
        uiItemL(sub, G.autoexec_fail, ICON_BLANK1);
-       uiItemL(col, IFACE_("This may lead to unexpected behavior."), ICON_BLANK1);
+       uiItemL(col, IFACE_("This may lead to unexpected behavior"), ICON_BLANK1);
 
        uiItemS(layout);
 
index 30dbccc97fea0dce4ec8135ebe76d5f90f9c7b91..755f3e48c559b39219672c42571f5d2faa4f4660 100644 (file)
@@ -271,7 +271,7 @@ const char *utf8_invalid_tests[][3] = {
 //            (to convert between UTF-16LE and UTF-16BE).
 //        With such internal use of noncharacters, it may be desirable and safer to block those code points in
 //        UTF-8 decoders, as they should never occur legitimately in incoming UTF-8 data, and could trigger
-//        unsafe behaviour in subsequent processing.
+//        unsafe behavior in subsequent processing.
 //
 //        Particularly problematic noncharacters in 16-bit applications:
     {"5.3.1  U+FFFE = ef bf be = \"\xef\xbf\xbe\"                                              |",