index 006d16d6b5813b29acb457565904691abd29f90d..fca66b1137612766df3e1a83bfe8878b5df17e76 100644 (file)
import inkex
import simplestyle, sys, simplepath, re
from math import *
+import gettext
+_ = gettext.gettext
try:
from numpy import *
except:
- inkex.debug("Failed to import the numpy module. This module is required by this extension. Please install them and try again. On a Debian-like system this can be done with the command, sudo apt-get install python-numpy.")
+ inkex.errormsg(_("Failed to import the numpy module. This module is required by this extension. Please install them and try again. On a Debian-like system this can be done with the command, sudo apt-get install python-numpy."))
sys.exit()
def objfile(name):