[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [23993] trunk/blender/release/scripts/ui/ space_userpref.py: Renamed "Save Key Configuration" to " Export Key Configuration", so it
Brecht Van Lommel
brecht at blender.org
Tue Oct 20 10:47:28 CEST 2009
Revision: 23993
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=23993
Author: blendix
Date: 2009-10-20 10:47:28 +0200 (Tue, 20 Oct 2009)
Log Message:
-----------
Renamed "Save Key Configuration" to "Export Key Configuration", so it
is clear this is different from "Save As Default".
Modified Paths:
--------------
trunk/blender/release/scripts/ui/space_userpref.py
Modified: trunk/blender/release/scripts/ui/space_userpref.py
===================================================================
--- trunk/blender/release/scripts/ui/space_userpref.py 2009-10-20 08:13:12 UTC (rev 23992)
+++ trunk/blender/release/scripts/ui/space_userpref.py 2009-10-20 08:47:28 UTC (rev 23993)
@@ -15,7 +15,7 @@
if userpref.active_section == 'INPUT':
layout.operator_context = "INVOKE_DEFAULT"
- layout.itemO("wm.keyconfig_save", "Save Key Configuration...")
+ layout.itemO("wm.keyconfig_export", "Export Key Configuration...")
class USERPREF_MT_view(bpy.types.Menu):
__label__ = "View"
@@ -548,10 +548,10 @@
bpy.types.register(USERPREF_PT_file)
bpy.types.register(USERPREF_PT_input)
-class WM_OT_keyconfig_save(bpy.types.Operator):
- "Save key configuration to a python script."
- __idname__ = "wm.keyconfig_save"
- __label__ = "Save Key Configuration..."
+class WM_OT_keyconfig_export(bpy.types.Operator):
+ "Export key configuration to a python script."
+ __idname__ = "wm.keyconfig_export"
+ __label__ = "Export Key Configuration..."
__props__ = [
bpy.props.StringProperty(attr="path", name="File Path", description="File path to write file to.")]
@@ -578,7 +578,7 @@
result += ", "
result += "]"
else:
- print("Save key configuration: can't write ", value)
+ print("Export key configuration: can't write ", value)
return result
@@ -688,7 +688,7 @@
km.remove_item(kmi)
return ('FINISHED',)
-bpy.ops.add(WM_OT_keyconfig_save)
+bpy.ops.add(WM_OT_keyconfig_export)
bpy.ops.add(WM_OT_keymap_edit)
bpy.ops.add(WM_OT_keymap_restore)
bpy.ops.add(WM_OT_keyitem_add)
More information about the Bf-blender-cvs
mailing list