diff options
| author | Alvin Penner <penner@vaxxine.com> | 2009-07-15 23:52:22 +0000 |
|---|---|---|
| committer | alvinpenner <alvinpenner@users.sourceforge.net> | 2009-07-15 23:52:22 +0000 |
| commit | fae49f9424956a10157c095381e4a43c0da68457 (patch) | |
| tree | 44fa99f8bd545761eb782ea26dd2d26d4dc545c6 | |
| parent | shapeeditor: save separate listerner's repr_keys for KnotHolder and NodePaths... (diff) | |
| download | inkscape-fae49f9424956a10157c095381e4a43c0da68457.tar.gz inkscape-fae49f9424956a10157c095381e4a43c0da68457.zip | |
patch by inductiveload for bug 278423
(bzr r8290)
| -rw-r--r-- | share/extensions/polyhedron_3d.py | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/share/extensions/polyhedron_3d.py b/share/extensions/polyhedron_3d.py index e659427b9..ae73d6b27 100644 --- a/share/extensions/polyhedron_3d.py +++ b/share/extensions/polyhedron_3d.py @@ -52,6 +52,8 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA import inkex import simplestyle, sys, re from math import * +import gettext +_ = gettext.gettext try: from numpy import * except: @@ -326,14 +328,16 @@ class Obj(object): #a 3d object defined by the vertices and the faces (eg a poly if self.fce != []: self.type = 'face' else: - inkex.errormsg(_('No face data found in specified file\n')) + inkex.errormsg(_('No face data found in specified file.')) + inkex.errormsg(_('Try selecting "Edge Specified" in the Model File tab.\n')) self.type = 'error' else: if self.edg != []: self.type = 'edge' else: - inkex.errormsg(_('No edge data found in specified file\n')) - obj.type = 'error' + inkex.errormsg(_('No edge data found in specified file.')) + inkex.errormsg(_('Try selecting "Face Specified" in the Model File tab.\n')) + self.type = 'error' class Poly_3D(inkex.Effect): def __init__(self): |
