UI messages: unification of select/deselect stuff.
authorBastien Montagne <montagne29@wanadoo.fr>
Sat, 17 Mar 2012 19:14:08 +0000 (19:14 +0000)
committerBastien Montagne <montagne29@wanadoo.fr>
Sat, 17 Mar 2012 19:14:08 +0000 (19:14 +0000)
Previously we had three versions, Select/Deselect, Select or Deselect, and (De)select, choosen the third (shortest) one for now.

17 files changed:
release/scripts/startup/bl_ui/space_clip.py
release/scripts/startup/bl_ui/space_view3d.py
source/blender/editors/animation/keyingsets.c
source/blender/editors/armature/editarmature.c
source/blender/editors/curve/editcurve.c
source/blender/editors/mesh/bmesh_tools.c
source/blender/editors/metaball/mball_edit.c
source/blender/editors/object/object_lattice.c
source/blender/editors/object/object_select.c
source/blender/editors/space_clip/clip_graph_ops.c
source/blender/editors/space_clip/tracking_ops.c
source/blender/editors/space_file/file_ops.c
source/blender/editors/space_info/info_report.c
source/blender/editors/space_nla/nla_select.c
source/blender/editors/space_node/node_select.c
source/blender/editors/space_sequencer/sequencer_select.c
source/blender/editors/uvedit/uvedit_ops.c

index 72fee8d4c2ecfd9161abd02e86c8ec223d00e3b7..4cd5cddba1107435043e3edbc5207e7a5147cd4d 100644 (file)
@@ -985,7 +985,7 @@ class CLIP_MT_select(Menu):
 
         layout.separator()
 
-        props = layout.operator("clip.select_all", text="Select/Deselect all")
+        props = layout.operator("clip.select_all")
         props.action = 'TOGGLE'
         layout.operator("clip.select_all", text="Inverse").action = 'INVERT'
 
index cf94fff0f2c1679c3c645d60990cf65c13f38b96..60cfabe2eb10472f9f7e9719adff42c638cb2fac 100644 (file)
@@ -427,7 +427,7 @@ class VIEW3D_MT_select_object(Menu):
 
         layout.separator()
 
-        layout.operator("object.select_all", text="Select/Deselect All").action = 'TOGGLE'
+        layout.operator("object.select_all").action = 'TOGGLE'
         layout.operator("object.select_all", text="Inverse").action = 'INVERT'
         layout.operator("object.select_random", text="Random")
         layout.operator("object.select_mirror", text="Mirror")
@@ -452,7 +452,7 @@ class VIEW3D_MT_select_pose(Menu):
 
         layout.separator()
 
-        layout.operator("pose.select_all", text="Select/Deselect All").action = 'TOGGLE'
+        layout.operator("pose.select_all").action = 'TOGGLE'
         layout.operator("pose.select_all", text="Inverse").action = 'INVERT'
         layout.operator("pose.select_flip_active", text="Flip Active")
         layout.operator("pose.select_constraint_target", text="Constraint Target")
@@ -489,7 +489,7 @@ class VIEW3D_MT_select_particle(Menu):
 
         layout.separator()
 
-        layout.operator("particle.select_all", text="Select/Deselect All").action = 'TOGGLE'
+        layout.operator("particle.select_all").action = 'TOGGLE'
         layout.operator("particle.select_linked")
         layout.operator("particle.select_all").action = 'INVERT'
 
@@ -515,7 +515,7 @@ class VIEW3D_MT_select_edit_mesh(Menu):
 
         layout.separator()
 
-        layout.operator("mesh.select_all", text="Select/Deselect All").action = 'TOGGLE'
+        layout.operator("mesh.select_all").action = 'TOGGLE'
         layout.operator("mesh.select_all", text="Inverse").action = 'INVERT'
 
         layout.separator()
@@ -566,7 +566,7 @@ class VIEW3D_MT_select_edit_curve(Menu):
 
         layout.separator()
 
-        layout.operator("curve.select_all", text="Select/Deselect All").action = 'TOGGLE'
+        layout.operator("curve.select_all").action = 'TOGGLE'
         layout.operator("curve.select_all", text="Inverse").action = 'INVERT'
         layout.operator("curve.select_random")
         layout.operator("curve.select_nth", text="Every Nth Number of Points")
@@ -595,7 +595,7 @@ class VIEW3D_MT_select_edit_surface(Menu):
 
         layout.separator()
 
-        layout.operator("curve.select_all", text="Select/Deselect All").action = 'TOGGLE'
+        layout.operator("curve.select_all").action = 'TOGGLE'
         layout.operator("curve.select_all", text="Inverse").action = 'INVERT'
         layout.operator("curve.select_random")
         layout.operator("curve.select_nth", text="Every Nth Number of Points")
@@ -638,7 +638,7 @@ class VIEW3D_MT_select_edit_lattice(Menu):
 
         layout.separator()
 
-        layout.operator("lattice.select_all", text="Select/Deselect All")
+        layout.operator("lattice.select_all")
         layout.operator("lattice.select_all", text="Inverse").action = 'INVERT'
 
 
@@ -652,7 +652,7 @@ class VIEW3D_MT_select_edit_armature(Menu):
 
         layout.separator()
 
-        layout.operator("armature.select_all", text="Select/Deselect All").action = 'TOGGLE'
+        layout.operator("armature.select_all").action = 'TOGGLE'
         layout.operator("armature.select_all", text="Inverse").action = 'INVERT'
 
         layout.separator()
index bc066b074ea26ea2122cd26e1111d8bd3a4633ff..82d0bff79b86c5d40e44bcd133d4b4d76c44c568 100644 (file)
@@ -187,7 +187,7 @@ static int remove_active_keyingset_exec (bContext *C, wmOperator *op)
 void ANIM_OT_keying_set_remove (wmOperatorType *ot)
 {
        /* identifiers */
-       ot->name= "Removed Active Keying Set";
+       ot->name= "Remove Active Keying Set";
        ot->idname= "ANIM_OT_keying_set_remove";
        ot->description= "Remove the active Keying Set";
        
index 2a9436fdb41fab8e3b6e4ccdaaad04d1b1a6a756..ec02f406fcf4f8a49bf9d9e1f019957633a62fa3 100644 (file)
@@ -4013,7 +4013,7 @@ static int armature_de_select_all_exec(bContext *C, wmOperator *op)
 void ARMATURE_OT_select_all(wmOperatorType *ot)
 {
        /* identifiers */
-       ot->name= "Select or Deselect All";
+       ot->name= "(De)select All";
        ot->idname= "ARMATURE_OT_select_all";
        ot->description= "Toggle selection status of all bones";
        
@@ -5077,7 +5077,7 @@ static int pose_de_select_all_exec(bContext *C, wmOperator *op)
 void POSE_OT_select_all(wmOperatorType *ot)
 {
        /* identifiers */
-       ot->name= "Select or Deselect All";
+       ot->name= "(De)select All";
        ot->idname= "POSE_OT_select_all";
        ot->description= "Toggle selection status of all bones";
        
index aa8dad08ac224ab540abf7f7d359e93eee931ce2..8caa6cc6e26a57a6ad8a269aca5e3d2f741e20f7 100644 (file)
@@ -2502,7 +2502,7 @@ static int de_select_first_exec(bContext *C, wmOperator *UNUSED(op))
 void CURVE_OT_de_select_first(wmOperatorType *ot)
 {
        /* identifiers */
-       ot->name= "Select or Deselect First";
+       ot->name= "(De)select First";
        ot->idname= "CURVE_OT_de_select_first";
        
        /* api cfirstbacks */
@@ -2526,7 +2526,7 @@ static int de_select_last_exec(bContext *C, wmOperator *UNUSED(op))
 void CURVE_OT_de_select_last(wmOperatorType *ot)
 {
        /* identifiers */
-       ot->name= "Select or Deselect Last";
+       ot->name= "(De)select Last";
        ot->idname= "CURVE_OT_de_select_last";
        
        /* api clastbacks */
@@ -2604,7 +2604,7 @@ static int de_select_all_exec(bContext *C, wmOperator *op)
 void CURVE_OT_select_all(wmOperatorType *ot)
 {
        /* identifiers */
-       ot->name= "Select or Deselect All";
+       ot->name= "(De)select All";
        ot->idname= "CURVE_OT_select_all";
        
        /* api callbacks */
index 3a62bcb3b79bc5c04cdf562fdd5b435feb1fb70e..aa6f6b6944a0c14afbba770288c30f163af5cf17 100644 (file)
@@ -671,7 +671,7 @@ static int mesh_select_all_exec(bContext *C, wmOperator *op)
 void MESH_OT_select_all(wmOperatorType *ot)
 {
        /* identifiers */
-       ot->name = "Select/Deselect All";
+       ot->name = "(De)select All";
        ot->idname = "MESH_OT_select_all";
        ot->description = "(De)select all vertices, edges or faces";
        
index 1287d9030207a474a0953f92a067d8f664799a25..2d349f6a7bfcfd6e96a02fe211bd74047f39bc0b 100644 (file)
@@ -167,7 +167,7 @@ static int mball_select_all_exec(bContext *C, wmOperator *op)
 void MBALL_OT_select_all(wmOperatorType *ot)
 {
        /* identifiers */
-       ot->name= "Select or Deselect All";
+       ot->name= "(De)select All";
        ot->description= "Change selection of all meta elements";
        ot->idname= "MBALL_OT_select_all";
 
index 9f3bc9bbf3744d6a4ed0c9ff08e41292f9e8a728..67fdb1777b02386e99f0b449ee0f9ca17ca2cea1 100644 (file)
@@ -240,7 +240,7 @@ static int lattice_select_all_exec(bContext *C, wmOperator *op)
 void LATTICE_OT_select_all(wmOperatorType *ot)
 {
        /* identifiers */
-       ot->name= "Select or Deselect All";
+       ot->name= "(De)select All";
        ot->description= "Change selection of all UVW control points";
        ot->idname= "LATTICE_OT_select_all";
        
index 9e11146db70eb6468661e265ae30067c5b9e43f7..66fe2b989689029d2385bc3a064382a721c67f10 100644 (file)
@@ -787,7 +787,7 @@ void OBJECT_OT_select_all(wmOperatorType *ot)
 {
        
        /* identifiers */
-       ot->name= "Select or Deselect All";
+       ot->name= "(De)select All";
        ot->description = "Change selection of all visible objects in scene";
        ot->idname= "OBJECT_OT_select_all";
        
index aecce3b1ba1937a5f2a6c97241a6f463db1eed0d..d75c14df05453a36c7239bcb06b6ab117b68767e 100644 (file)
@@ -444,7 +444,7 @@ static int graph_select_all_markers_exec(bContext *C, wmOperator *op)
 void CLIP_OT_graph_select_all_markers(wmOperatorType *ot)
 {
        /* identifiers */
-       ot->name = "Select or Deselect All Markers";
+       ot->name = "(De)select All Markers";
        ot->description = "Change selection of all markers of active track";
        ot->idname = "CLIP_OT_graph_select_all_markers";
 
index 2c03db5032de80ba49af42802a28621a24b284a3..15bbcd910b6bea72492fbe22eb1db518130479b1 100644 (file)
@@ -1080,7 +1080,7 @@ static int select_all_exec(bContext *C, wmOperator *op)
 void CLIP_OT_select_all(wmOperatorType *ot)
 {
        /* identifiers */
-       ot->name= "Select or Deselect All";
+       ot->name= "(De)select All";
        ot->description= "Change selection of all tracking markers";
        ot->idname= "CLIP_OT_select_all";
 
index f663307507a06077a4b5157ec1c1c9e420c4333c..055d978b9c9eeb3d346a7ecc7a48b80b70ea972f 100644 (file)
@@ -398,8 +398,8 @@ static int file_select_all_exec(bContext *C, wmOperator *UNUSED(op))
 void FILE_OT_select_all_toggle(wmOperatorType *ot)
 {
        /* identifiers */
-       ot->name= "Select/Deselect All Files";
-       ot->description= "Select/deselect all files";
+       ot->name= "(De)select All Files";
+       ot->description= "Select or deselect all files";
        ot->idname= "FILE_OT_select_all_toggle";
        
        /* api callbacks */
index a1ea044912800f43b8781ce90204d0b250939cc0..89abb7ad1f0a857bd2302506dd3eafdd56168cb4 100644 (file)
@@ -199,8 +199,8 @@ static int report_select_all_toggle_exec(bContext *C, wmOperator *UNUSED(op))
 void INFO_OT_select_all_toggle(wmOperatorType *ot)
 {
        /* identifiers */
-       ot->name= "(De)Select All";
-       ot->description= "(de)select all reports";
+       ot->name= "(De)select All";
+       ot->description= "Select or deselect all reports";
        ot->idname= "INFO_OT_select_all_toggle";
 
        /* api callbacks */
index 6ad83f6591a2a5040252063568bbf8efd2bd33c3..683dfc4f7a39f8cde64784756a46fa6063c03c5a 100644 (file)
@@ -186,9 +186,9 @@ static int nlaedit_deselectall_exec(bContext *C, wmOperator *op)
 void NLA_OT_select_all_toggle (wmOperatorType *ot)
 {
        /* identifiers */
-       ot->name= "Select or Deselect All";
+       ot->name= "(De)select All";
        ot->idname= "NLA_OT_select_all_toggle";
-       ot->description= "(De)Select all NLA-Strips";
+       ot->description= "Select or deselect all NLA-Strips";
        
        /* api callbacks */
        ot->exec= nlaedit_deselectall_exec;
index f354fd7472d0cddf83fcef6a1f2179db1fb9dec0..fba961b9d1629a1cffa9b9d808642c160cc25b20 100644 (file)
@@ -654,7 +654,7 @@ static int node_select_all_exec(bContext *C, wmOperator *UNUSED(op))
 void NODE_OT_select_all(wmOperatorType *ot)
 {
        /* identifiers */
-       ot->name = "Select or Deselect All";
+       ot->name = "(De)select All";
        ot->description = "(De)select all nodes";
        ot->idname = "NODE_OT_select_all";
        
index 32c7be99e94758d3ea6da73935686ac642a82349..32ccccd84d0072f44001732416ad921f4c9a5f5a 100644 (file)
@@ -259,7 +259,7 @@ static int sequencer_de_select_all_exec(bContext *C, wmOperator *op)
 void SEQUENCER_OT_select_all(struct wmOperatorType *ot)
 {
        /* identifiers */
-       ot->name= "Select or Deselect All";
+       ot->name= "(De)select All";
        ot->idname= "SEQUENCER_OT_select_all";
        ot->description="Select or deselect all strips";
        
index 28981d5579319f0fe2a89d2a60861b75cedb3077..20eee42bce04eacd27472c595afbd30cfd68091f 100644 (file)
@@ -1688,7 +1688,7 @@ static int select_all_exec(bContext *C, wmOperator *op)
 static void UV_OT_select_all(wmOperatorType *ot)
 {
        /* identifiers */
-       ot->name= "Select or Deselect All";
+       ot->name= "(De)select All";
        ot->description= "Change selection of all UV vertices";
        ot->idname= "UV_OT_select_all";
        ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO;