And more UI messages spell check.
authorBastien Montagne <montagne29@wanadoo.fr>
Sat, 13 Oct 2012 13:40:05 +0000 (13:40 +0000)
committerBastien Montagne <montagne29@wanadoo.fr>
Sat, 13 Oct 2012 13:40:05 +0000 (13:40 +0000)
18 files changed:
release/scripts/modules/bl_i18n_utils/spell_check_utils.py
source/blender/blenkernel/intern/packedFile.c
source/blender/editors/armature/editarmature.c
source/blender/editors/mesh/editmesh_tools.c
source/blender/editors/mesh/mesh_data.c
source/blender/editors/object/object_bake.c
source/blender/editors/object/object_constraint.c
source/blender/editors/object/object_transform.c
source/blender/editors/render/render_opengl.c
source/blender/editors/sculpt_paint/paint_image.c
source/blender/editors/space_info/info_ops.c
source/blender/editors/space_nla/nla_edit.c
source/blender/editors/space_view3d/view3d_view.c
source/blender/makesrna/intern/rna_main_api.c
source/blender/makesrna/intern/rna_nodetree.c
source/blender/makesrna/intern/rna_smoke.c
source/blender/makesrna/intern/rna_ui.c
source/blender/render/intern/source/pipeline.c

index 6911b0317e768ee140dd39601767a0a73bf40380..ae463917f880b0f8447ac538c66bf55ba61761e3 100644 (file)
@@ -92,6 +92,7 @@ dict_uimsgs = {
     "gridline",
     "hemi",
     "inscatter", "inscattering",
+    "libdata",
     "lightless",
     "lookup", "lookups",
     "mathutils",
@@ -103,6 +104,7 @@ dict_uimsgs = {
     "multires", "multiresolution",
     "multisampling",
     "multitexture",
+    "multiuser",
     "namespace",
     "keyconfig",
     "playhead",
@@ -327,6 +329,7 @@ dict_uimsgs = {
     "ztransp",
 
     # Blender terms
+    "audaspace",
     "bbone",
     "breakdowner",
     "bspline",
@@ -456,6 +459,7 @@ dict_uimsgs = {
     "dop",  # BLI K-Dop BVH
     "ik",
     "nla",
+    "py",
     "qbvh",
     "rna",
     "rvo",
index 03342d0f6d19a1cc5497a53eaf79cbaccbdef24b..f2069229ac265824c593793de6470524621714be 100644 (file)
@@ -323,7 +323,7 @@ int writePackedFile(ReportList *reports, const char *filename, PackedFile *pf, i
        if (remove_tmp) {
                if (ret_value == RET_ERROR) {
                        if (BLI_rename(tempname, name) != 0) {
-                               BKE_reportf(reports, RPT_ERROR, "Error restoring tempfile. Check files: '%s' '%s'", tempname, name);
+                               BKE_reportf(reports, RPT_ERROR, "Error restoring temp file. Check files: '%s' '%s'", tempname, name);
                        }
                }
                else {
index ffdced3262f6acee8d4910ded331fb0c5b23d218..584bbf7a0aa1b00bb0d029bad6c64c84eb484ce9 100644 (file)
@@ -5152,7 +5152,7 @@ static int pose_clear_transform_generic_exec(bContext *C, wmOperator *op,
        
        /* sanity checks */
        if (ELEM(NULL, clear_func, default_ksName)) {
-               BKE_report(op->reports, RPT_ERROR, "Programming error: missing clear transform func or Keying Set Name");
+               BKE_report(op->reports, RPT_ERROR, "Programming error: missing clear transform function or Keying Set Name");
                return OPERATOR_CANCELLED;
        }
        
index 2d46de024dd606db325077e04c328c0a56eb94b0..69cfe79728e659c14f963c1ce3f27089395d168b 100644 (file)
@@ -3079,7 +3079,7 @@ static int edbm_separate_exec(bContext *C, wmOperator *op)
        }
        else {
                if (type == 0) {
-                       BKE_report(op->reports, RPT_ERROR, "Selecton not supported in object mode");
+                       BKE_report(op->reports, RPT_ERROR, "Selection not supported in object mode");
                        return OPERATOR_CANCELLED;
                }
 
index 735492cb5533016410c5e0bdf9bbdc2dd86dc09c..c0ab7826fcf9c12427794b152e5a467d3c71a5dc 100644 (file)
@@ -1227,7 +1227,7 @@ void ED_mesh_loops_add(Mesh *mesh, ReportList *reports, int count)
 void ED_mesh_polys_add(Mesh *mesh, ReportList *reports, int count)
 {
        if (mesh->edit_btmesh) {
-               BKE_report(reports, RPT_ERROR, "Can't add polys in edit mode.");
+               BKE_report(reports, RPT_ERROR, "Can't add polygons in edit mode.");
                return;
        }
 
index 6d124377821cf97fa90e2c709e0fb43b8ebb2184..a35ba8813e83f455cf1a7670104861ba5d0fe471 100644 (file)
@@ -985,7 +985,7 @@ static int multiresbake_check(bContext *C, wmOperator *op)
                                        ImBuf *ibuf = BKE_image_get_ibuf(ima, NULL);
 
                                        if (!ibuf) {
-                                               BKE_report(op->reports, RPT_ERROR, "Baking should happend to image with image buffer");
+                                               BKE_report(op->reports, RPT_ERROR, "Baking should happen to image with image buffer");
 
                                                ok = 0;
                                        }
index 56f2426b1b024a0d582a09bf1d9eb1900c31dff1..80993d6cca778a5a42a4231da376c8baf33a6624 100644 (file)
@@ -853,7 +853,7 @@ static int childof_clear_inverse_exec(bContext *C, wmOperator *op)
        bChildOfConstraint *data = (con) ? (bChildOfConstraint *)con->data : NULL;
        
        if (data == NULL) {
-               BKE_report(op->reports, RPT_ERROR, "Childof constraint not found");
+               BKE_report(op->reports, RPT_ERROR, "Child Of constraint not found");
                return OPERATOR_CANCELLED;
        }
        
@@ -1073,7 +1073,7 @@ static int objectsolver_clear_inverse_exec(bContext *C, wmOperator *op)
        bObjectSolverConstraint *data = (con) ? (bObjectSolverConstraint *)con->data : NULL;
 
        if (data == NULL) {
-               BKE_report(op->reports, RPT_ERROR, "Childof constraint not found");
+               BKE_report(op->reports, RPT_ERROR, "Child Of constraint not found");
                return OPERATOR_CANCELLED;
        }
 
index e2a32a743bb8ff55f38398d24648c895a9eec2b6..3b508f1d3c67616b3fa97ea2de80f1a58d20bfff 100644 (file)
@@ -217,7 +217,7 @@ static int object_clear_transform_generic_exec(bContext *C, wmOperator *op,
        
        /* sanity checks */
        if (ELEM(NULL, clear_func, default_ksName)) {
-               BKE_report(op->reports, RPT_ERROR, "Programming error: missing clear transform func or Keying Set Name");
+               BKE_report(op->reports, RPT_ERROR, "Programming error: missing clear transform function or Keying Set Name");
                return OPERATOR_CANCELLED;
        }
        
index 85ae923f881c730f606c0b2b4e75b610d4cbb30e..1d0e5bb6d44a50d649d55d7696c10a4aa946da94 100644 (file)
@@ -342,7 +342,7 @@ static int screen_opengl_render_init(bContext *C, wmOperator *op)
        ofs = GPU_offscreen_create(sizex, sizey, err_out);
 
        if (!ofs) {
-               BKE_reportf(op->reports, RPT_ERROR, "Failed to create OpenGL offscreen buffer, %s", err_out);
+               BKE_reportf(op->reports, RPT_ERROR, "Failed to create OpenGL off-screen buffer, %s", err_out);
                return 0;
        }
 
index 480d4ee6ac1ea8d98441bedd1f2e6da33cb31380..34ff5efacc9ba7859ce2367d1f46660d01921258 100644 (file)
@@ -5890,7 +5890,7 @@ static int texture_paint_image_from_view_exec(bContext *C, wmOperator *op)
        if (!ibuf) {
                /* Mostly happens when OpenGL offscreen buffer was failed to create, */
                /* but could be other reasons. Should be handled in the future. nazgul */
-               BKE_reportf(op->reports, RPT_ERROR, "Failed to create OpenGL offscreen buffer: %s", err_out);
+               BKE_reportf(op->reports, RPT_ERROR, "Failed to create OpenGL off-screen buffer: %s", err_out);
                return OPERATOR_CANCELLED;
        }
 
index 805ff1794c9bd360f1842b1ddde82bb763ccc108..fe36bc98144cf8a0f4267d37190f17f47537442c 100644 (file)
@@ -124,7 +124,7 @@ static const EnumPropertyItem unpack_all_method_items[] = {
        {PF_WRITE_LOCAL, "WRITE_LOCAL", 0, "Write files to current directory (overwrite existing files)", ""},
        {PF_USE_ORIGINAL, "USE_ORIGINAL", 0, "Use files in original location (create when necessary)", ""},
        {PF_WRITE_ORIGINAL, "WRITE_ORIGINAL", 0, "Write files to original location (overwrite existing files)", ""},
-       {PF_KEEP, "KEEP", 0, "Disable AutoPack, keep all packed files", ""},
+       {PF_KEEP, "KEEP", 0, "Disable Auto-pack, keep all packed files", ""},
        /* {PF_ASK, "ASK", 0, "Ask for each file", ""}, */
        {0, NULL, 0, NULL, NULL}};
 
@@ -150,7 +150,7 @@ static int unpack_all_invoke(bContext *C, wmOperator *op, wmEvent *UNUSED(event)
        count = countPackedFiles(bmain);
        
        if (!count) {
-               BKE_report(op->reports, RPT_WARNING, "No packed files. Autopack disabled");
+               BKE_report(op->reports, RPT_WARNING, "No packed files. Auto-pack disabled");
                G.fileflags &= ~G_AUTOPACK;
                return OPERATOR_CANCELLED;
        }
index 950060dde5f82ebc28e5f5058a19ef794a6f014c..ebc4383d143410d8b0bb353a4f13afd9d0354c89 100644 (file)
@@ -121,7 +121,7 @@ static int nlaedit_enable_tweakmode_exec(bContext *C, wmOperator *op)
        
        /* if no blocks, popup error? */
        if (anim_data.first == NULL) {
-               BKE_report(op->reports, RPT_ERROR, "No AnimData blocks to enter tweakmode for");
+               BKE_report(op->reports, RPT_ERROR, "No AnimData blocks to enter tweak mode for");
                return OPERATOR_CANCELLED;
        }       
        
@@ -147,7 +147,7 @@ static int nlaedit_enable_tweakmode_exec(bContext *C, wmOperator *op)
                WM_event_add_notifier(C, NC_ANIMATION | ND_NLA_ACTCHANGE, NULL);
        }
        else {
-               BKE_report(op->reports, RPT_ERROR, "No active strip(s) to enter tweakmode on");
+               BKE_report(op->reports, RPT_ERROR, "No active strip(s) to enter tweak mode on");
                return OPERATOR_CANCELLED;
        }
        
@@ -190,7 +190,7 @@ static int nlaedit_disable_tweakmode_exec(bContext *C, wmOperator *op)
        
        /* if no blocks, popup error? */
        if (anim_data.first == NULL) {
-               BKE_report(op->reports, RPT_ERROR, "No AnimData blocks to enter tweakmode for");
+               BKE_report(op->reports, RPT_ERROR, "No AnimData blocks to enter tweak mode for");
                return OPERATOR_CANCELLED;
        }       
        
index f70c375eb290e05ddfd930843c17b685b2d20700..6bdb6930fda75d6f90a4a9e1cda1cca8cd1bd861 100644 (file)
@@ -1462,7 +1462,7 @@ static int view3d_localview_init(Main *bmain, Scene *scene, ScrArea *sa, ReportL
        locallay = free_localbit(bmain);
 
        if (locallay == 0) {
-               BKE_reportf(reports, RPT_ERROR, "No more than 8 localviews");
+               BKE_reportf(reports, RPT_ERROR, "No more than 8 local views");
                ok = FALSE;
        }
        else {
index 8e21ab3f7e93228d0bc7427457d9a591218b5d06..be8f84fd2a4e84bd34ae399cd70246142a5512e8 100644 (file)
@@ -128,7 +128,7 @@ static void rna_Main_scenes_remove(Main *bmain, bContext *C, ReportList *reports
        else if (scene->id.next)
                newscene = scene->id.next;
        else {
-               BKE_reportf(reports, RPT_ERROR, "Scene \"%s\" is the last, cant ve removed", scene->id.name + 2);
+               BKE_reportf(reports, RPT_ERROR, "Scene \"%s\" is the last, can't be removed", scene->id.name + 2);
                return;
        }
 
index d650c8dbf6941e203623be3208d5bfaca3414614..dff08990decf3e2d16580e647e341d2a66f2147d 100644 (file)
@@ -756,7 +756,7 @@ static bNode *rna_NodeTree_node_texture_new(bNodeTree *ntree, bContext *C, Repor
 static void rna_NodeTree_node_remove(bNodeTree *ntree, ReportList *reports, bNode *node)
 {
        if (BLI_findindex(&ntree->nodes, node) == -1) {
-               BKE_reportf(reports, RPT_ERROR, "Unable to locate node '%s' in nodetree", node->name);
+               BKE_reportf(reports, RPT_ERROR, "Unable to locate node '%s' in node tree", node->name);
        }
        else {
                if (node->id)
@@ -827,7 +827,7 @@ static bNodeLink *rna_NodeTree_link_new(bNodeTree *ntree, ReportList *reports,
 static void rna_NodeTree_link_remove(bNodeTree *ntree, ReportList *reports, bNodeLink *link)
 {
        if (BLI_findindex(&ntree->links, link) == -1) {
-               BKE_reportf(reports, RPT_ERROR, "Unable to locate link in nodetree");
+               BKE_reportf(reports, RPT_ERROR, "Unable to locate link in node tree");
        }
        else {
                nodeRemLink(ntree, link);
@@ -882,7 +882,7 @@ static bNodeSocket *rna_NodeTree_input_expose(bNodeTree *ntree, ReportList *repo
        int index, in_out;
        
        if (!nodeFindNode(ntree, sock, &node, &index, &in_out))
-               BKE_reportf(reports, RPT_ERROR, "Unable to locate socket in nodetree");
+               BKE_reportf(reports, RPT_ERROR, "Unable to locate socket in node tree");
        else if (in_out != SOCK_IN)
                BKE_reportf(reports, RPT_ERROR, "Socket is not an input");
        else {
@@ -906,7 +906,7 @@ static bNodeSocket *rna_NodeTree_output_expose(bNodeTree *ntree, ReportList *rep
        int index, in_out;
        
        if (!nodeFindNode(ntree, sock, &node, &index, &in_out))
-               BKE_reportf(reports, RPT_ERROR, "Unable to locate socket in nodetree");
+               BKE_reportf(reports, RPT_ERROR, "Unable to locate socket in node tree");
        else if (in_out != SOCK_OUT)
                BKE_reportf(reports, RPT_ERROR, "Socket is not an output");
        else {
index 417530acc1429f5d123b674d8ae49fb25695c63c..faad2407516714b2a8b2db10e174e8ba0a6cf0a9 100644 (file)
@@ -555,7 +555,7 @@ static void rna_def_smoke_flow_settings(BlenderRNA *brna)
 
        prop = RNA_def_property(srna, "use_texture", PROP_BOOLEAN, PROP_NONE);
        RNA_def_property_boolean_sdna(prop, NULL, "flags", MOD_SMOKE_FLOW_TEXTUREEMIT);
-       RNA_def_property_ui_text(prop, "Use Texture", "Use a texture to controll emission strength");
+       RNA_def_property_ui_text(prop, "Use Texture", "Use a texture to control emission strength");
        RNA_def_property_update(prop, NC_OBJECT | ND_MODIFIER, "rna_Smoke_reset");
 
        prop = RNA_def_property(srna, "texture_map_type", PROP_ENUM, PROP_NONE);
index 70d94bfc7ed88ad1e567fe2eddfdd977f9c0f286..7bfa7ccc3c2fd902b957a6b61e4a439718f3e9f7 100644 (file)
@@ -85,7 +85,7 @@ static ARegionType *region_type_find(ReportList *reports, int space_type, int re
        
        /* region type not found? abort */
        if (art == NULL) {
-               BKE_report(reports, RPT_ERROR, "Region not found in spacetype");
+               BKE_report(reports, RPT_ERROR, "Region not found in space type");
                return NULL;
        }
 
index 84d57aa7d099fc222e7738a0715b07642aec34ff..869a9d59444b97f6d8a591e4e52fa9f07da714ac 100644 (file)
@@ -1900,7 +1900,7 @@ int RE_is_rendering_allowed(Scene *scene, Object *camera_override, ReportList *r
        if (scene->r.scemode & R_DOCOMP) {
                if (scene->use_nodes) {
                        if (!scene->nodetree) {
-                               BKE_report(reports, RPT_ERROR, "No Nodetree in Scene");
+                               BKE_report(reports, RPT_ERROR, "No node tree in Scene");
                                return 0;
                        }