From 1ac311cedc1a4694a3dd410776296747f8625e1d Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Mon, 24 Dec 2018 12:31:39 +0100 Subject: Fix/cleanup another bunch of UI messages issues. Also (mostly in comments): behaviour -> behavior (we use American English). --- release/scripts/modules/bl_i18n_utils/settings.py | 9 +++++++ .../modules/bl_i18n_utils/utils_spell_check.py | 31 +++++++++++++++++++--- 2 files changed, 37 insertions(+), 3 deletions(-) (limited to 'release/scripts/modules') diff --git a/release/scripts/modules/bl_i18n_utils/settings.py b/release/scripts/modules/bl_i18n_utils/settings.py index 8a0170b86d4..9dc0a1ae89e 100644 --- a/release/scripts/modules/bl_i18n_utils/settings.py +++ b/release/scripts/modules/bl_i18n_utils/settings.py @@ -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) 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 f8a23a7deba..87f4ad7f59e 100644 --- a/release/scripts/modules/bl_i18n_utils/utils_spell_check.py +++ b/release/scripts/modules/bl_i18n_utils/utils_spell_check.py @@ -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", -- cgit v1.2.3