From 82ccbd853171b82d7d7a89e437249ef6b7b46661 Mon Sep 17 00:00:00 2001 From: Matt Ebb Date: Thu, 29 Jul 2004 03:05:39 +0000 Subject: A few small language/labelling edits to these bundled scripts --- release/scripts/batch_name_edit.py | 10 +++++----- release/scripts/fixfromarmature.py | 2 +- release/scripts/renameobjectbyblock.py | 8 ++++---- release/scripts/unweld044.py | 8 ++++---- 4 files changed, 14 insertions(+), 14 deletions(-) (limited to 'release') diff --git a/release/scripts/batch_name_edit.py b/release/scripts/batch_name_edit.py index 8702634580e..b28cb5464ae 100644 --- a/release/scripts/batch_name_edit.py +++ b/release/scripts/batch_name_edit.py @@ -34,10 +34,10 @@ Tooltip: 'Apply the chosen rule to rename all selected objects at once.' from Blender import * def replace(): - replace = Draw.PupStrInput('replace: ', '', 32) + replace = Draw.PupStrInput('Replace: ', '', 32) if replace == None: return - with = Draw.PupStrInput('with: ', '', 32) + with = Draw.PupStrInput('With: ', '', 32) if with == None: return for ob in Object.GetSelected(): @@ -58,20 +58,20 @@ def prefix(): def suffix(): - suffix = Draw.PupStrInput('suffix: ', '', 32) + suffix = Draw.PupStrInput('Suffix: ', '', 32) if suffix == None: return for ob in Object.GetSelected(): ob.name = ob.name + suffix def truncate_start(): - truncate = Draw.PupIntInput('truncate start: ', 0, 0, 31) + truncate = Draw.PupIntInput('Truncate Start: ', 0, 0, 31) if truncate != None: for ob in Object.GetSelected(): ob.name = ob.name[truncate: ] def truncate_end(): - truncate = Draw.PupIntInput('truncate end: ', 0, 0, 31) + truncate = Draw.PupIntInput('Truncate End: ', 0, 0, 31) if truncate == None: return for ob in Object.GetSelected(): diff --git a/release/scripts/fixfromarmature.py b/release/scripts/fixfromarmature.py index 5aad231b456..4766b0b08f2 100644 --- a/release/scripts/fixfromarmature.py +++ b/release/scripts/fixfromarmature.py @@ -1,7 +1,7 @@ #!BPY """ Registration info for Blender menus: <- these words are ignored -Name: 'Fix from Armature' +Name: 'Fix From Armature' Blender: 232 Group: 'Mesh' Tip: 'Fix armature deformation.' diff --git a/release/scripts/renameobjectbyblock.py b/release/scripts/renameobjectbyblock.py index f2ce46e57fa..daa3e1c960a 100644 --- a/release/scripts/renameobjectbyblock.py +++ b/release/scripts/renameobjectbyblock.py @@ -1,10 +1,10 @@ #!BPY """ Registration info for Blender menus: <- these words are ignored -Name: 'Name OBJECT changer' +Name: 'Object Name Editor' Blender: 232 Group: 'Object' -Tip: 'GUI to select then rename objects.' +Tip: 'GUI to select and rename objects.' """ # ---------------------------------------------------------- @@ -136,10 +136,10 @@ def DRAW(): Button ("Exit",1,20,1,80,ligne) Button ("Rename",2,102,1,80,ligne) - Button ("renew",3,184,1,80,ligne) + Button ("Renew",3,184,1,80,ligne) glRasterPos2f(20, ligne*2-10) - Text(" Poly-RENAME tool") + Text("Object Name Editor") NEWNAME=String('Add string : ', 4, 150, ligne*2-16, 150, 18, NEWNAME.val,120 ) key=alignment.keys() diff --git a/release/scripts/unweld044.py b/release/scripts/unweld044.py index 06551a0de53..482f24dc858 100644 --- a/release/scripts/unweld044.py +++ b/release/scripts/unweld044.py @@ -1,6 +1,6 @@ #!BPY """ Registration info for Blender menus: <- these words are ignored -Name: 'UnWeld' +Name: 'Unweld' Blender: 234 Group: 'Mesh' Tip: 'Unweld all faces from a selected and common vertex. Made vertex bevelling.' @@ -189,9 +189,9 @@ def D(): size= size.list glColor3f(0.1, 0.1, 0.15) glRasterPos2f(10, size[3]-16) - Text("Quit = Qkey") + Text("Quit = Q Key") glRasterPos2f(10, size[3]-36) - Text("Mouse to the Rigth = Increase") + Text("Mouse to the Right = Increase") glRasterPos2f(10, size[3]-56) Text("Mouse to the Left = Decrease") @@ -343,7 +343,7 @@ OBJECT=Blender.Object.GetSelected() if len(OBJECT)!=0: if OBJECT[0].getType()=='Mesh': - name = "Un-Weld, OK ? %t| unbind points %x1| with noise ? %x2| middle face ? %x3| static bevel vertex ? %x4| moving bevel vertex ? %x5|" + name = "Unweld %t|Unbind Points %x1|With Noise %x2|Middle Face %x3|Static Bevel Vertex %x4|Moving Bevel Vertex %x5|" result = Blender.Draw.PupMenu(name) if result: me=OBJECT[0].getData() -- cgit v1.2.3