From 15ef07d6849f2d92d006f1e52c69142729b200f8 Mon Sep 17 00:00:00 2001 From: Daniel Salazar Date: Thu, 11 Feb 2010 02:03:18 +0000 Subject: More tooltip editing --- release/plugins/sequence/color-correction-hsv.c | 2 +- release/plugins/sequence/color-correction-yuv.c | 2 +- release/scripts/ui/space_userpref.py | 40 ++++++++++++------------- 3 files changed, 22 insertions(+), 22 deletions(-) (limited to 'release') diff --git a/release/plugins/sequence/color-correction-hsv.c b/release/plugins/sequence/color-correction-hsv.c index ec8478706f1..120ca76bbe7 100644 --- a/release/plugins/sequence/color-correction-hsv.c +++ b/release/plugins/sequence/color-correction-hsv.c @@ -37,7 +37,7 @@ VarStruct varstr[]= { { NUMSLI|FLO, "Hi T:", 0.75, 0.0, 1.0, "Saturation Highlights Thres"}, { TOG|INT, "Debug", 0.0, 0.0, 1.0, - "Show curves as overlay."}, + "Show curves as overlay"}, }; typedef struct Cast { diff --git a/release/plugins/sequence/color-correction-yuv.c b/release/plugins/sequence/color-correction-yuv.c index 54290ba37a2..721cadb07ce 100644 --- a/release/plugins/sequence/color-correction-yuv.c +++ b/release/plugins/sequence/color-correction-yuv.c @@ -36,7 +36,7 @@ VarStruct varstr[]= { { NUMSLI|FLO, "Hi T:", 0.75, 0.0, 1.0, "Saturation Highlights Thres"}, { TOG|INT, "Debug", 0.0, 0.0, 1.0, - "Show curves as overlay."}, + "Show curves as overlay"}, }; typedef struct Cast { diff --git a/release/scripts/ui/space_userpref.py b/release/scripts/ui/space_userpref.py index 712ca469346..b2349125d51 100644 --- a/release/scripts/ui/space_userpref.py +++ b/release/scripts/ui/space_userpref.py @@ -1359,7 +1359,7 @@ from bpy.props import * class WM_OT_keyconfig_test(bpy.types.Operator): - "Test keyconfig for conflicts." + "Test keyconfig for conflicts" bl_idname = "wm.keyconfig_test" bl_label = "Test Key Configuration for Conflicts" @@ -1495,13 +1495,13 @@ def _string_value(value): class WM_OT_keyconfig_import(bpy.types.Operator): - "Import key configuration from a python script." + "Import key configuration from a python script" bl_idname = "wm.keyconfig_import" bl_label = "Import Key Configuration..." - path = bpy.props.StringProperty(name="File Path", description="File path to write file to.") - filename = bpy.props.StringProperty(name="File Name", description="Name of the file.") - directory = bpy.props.StringProperty(name="Directory", description="Directory of the file.") + path = bpy.props.StringProperty(name="File Path", description="File path to write file to") + filename = bpy.props.StringProperty(name="File Name", description="Name of the file") + directory = bpy.props.StringProperty(name="Directory", description="Directory of the file") filter_folder = bpy.props.BoolProperty(name="Filter folders", description="", default=True, options={'HIDDEN'}) filter_text = bpy.props.BoolProperty(name="Filter text", description="", default=True, options={'HIDDEN'}) filter_python = bpy.props.BoolProperty(name="Filter python", description="", default=True, options={'HIDDEN'}) @@ -1510,11 +1510,11 @@ class WM_OT_keyconfig_import(bpy.types.Operator): def execute(self, context): if not self.properties.path: - raise Exception("File path not set.") + raise Exception("File path not set") f = open(self.properties.path, "r") if not f: - raise Exception("Could not open file.") + raise Exception("Could not open file") name_pattern = re.compile("^kc = wm.add_keyconfig\('(.*)'\)$") @@ -1554,24 +1554,24 @@ class WM_OT_keyconfig_import(bpy.types.Operator): class WM_OT_keyconfig_export(bpy.types.Operator): - "Export key configuration to a python script." + "Export key configuration to a python script" bl_idname = "wm.keyconfig_export" bl_label = "Export Key Configuration..." - path = bpy.props.StringProperty(name="File Path", description="File path to write file to.") - filename = bpy.props.StringProperty(name="File Name", description="Name of the file.") - directory = bpy.props.StringProperty(name="Directory", description="Directory of the file.") + path = bpy.props.StringProperty(name="File Path", description="File path to write file to") + filename = bpy.props.StringProperty(name="File Name", description="Name of the file") + directory = bpy.props.StringProperty(name="Directory", description="Directory of the file") filter_folder = bpy.props.BoolProperty(name="Filter folders", description="", default=True, options={'HIDDEN'}) filter_text = bpy.props.BoolProperty(name="Filter text", description="", default=True, options={'HIDDEN'}) filter_python = bpy.props.BoolProperty(name="Filter python", description="", default=True, options={'HIDDEN'}) def execute(self, context): if not self.properties.path: - raise Exception("File path not set.") + raise Exception("File path not set") f = open(self.properties.path, "w") if not f: - raise Exception("Could not open file.") + raise Exception("Could not open file") wm = context.manager kc = wm.active_keyconfig @@ -1640,7 +1640,7 @@ class WM_OT_keyconfig_export(bpy.types.Operator): class WM_OT_keymap_edit(bpy.types.Operator): - "Edit key map." + "Edit key map" bl_idname = "wm.keymap_edit" bl_label = "Edit Key Map" @@ -1652,11 +1652,11 @@ class WM_OT_keymap_edit(bpy.types.Operator): class WM_OT_keymap_restore(bpy.types.Operator): - "Restore key map(s)." + "Restore key map(s)" bl_idname = "wm.keymap_restore" bl_label = "Restore Key Map(s)" - all = BoolProperty(attr="all", name="All Keymaps", description="Restore all keymaps to default.") + all = BoolProperty(attr="all", name="All Keymaps", description="Restore all keymaps to default") def execute(self, context): wm = context.manager @@ -1672,7 +1672,7 @@ class WM_OT_keymap_restore(bpy.types.Operator): class WM_OT_keyitem_restore(bpy.types.Operator): - "Restore key map item." + "Restore key map item" bl_idname = "wm.keyitem_restore" bl_label = "Restore Key Map Item" @@ -1689,7 +1689,7 @@ class WM_OT_keyitem_restore(bpy.types.Operator): class WM_OT_keyitem_add(bpy.types.Operator): - "Add key map item." + "Add key map item" bl_idname = "wm.keyitem_add" bl_label = "Add Key Map Item" @@ -1713,7 +1713,7 @@ class WM_OT_keyitem_add(bpy.types.Operator): class WM_OT_keyitem_remove(bpy.types.Operator): - "Remove key map item." + "Remove key map item" bl_idname = "wm.keyitem_remove" bl_label = "Remove Key Map Item" @@ -1728,7 +1728,7 @@ class WM_OT_keyitem_remove(bpy.types.Operator): class WM_OT_keyconfig_remove(bpy.types.Operator): - "Remove key config." + "Remove key config" bl_idname = "wm.keyconfig_remove" bl_label = "Remove Key Config" -- cgit v1.2.3