index 11fa77d0fe007bfc1a6244bf122c215f08bc7d28..7408b08d657b8c48f118a32ceaf7a1fcce353de4 100644 (file)
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
'''
import random, inkex, simplestyle, copy
+import gettext
+_ = gettext.gettext
class MyEffect(inkex.Effect):
def __init__(self):
try:
style = simplestyle.parseStyle(node.get('style'))
except:
- inkex.debug("No style attribute found for id: %s" % id)
+ inkex.errormsg(_("No style attribute found for id: %s") % id)
continue
stroke = style.get('stroke', '#000000')
else:
mnode = old_mnode
except:
- inkex.debug("unable to locate marker: %s" % marker_id)
+ inkex.errormsg(_("unable to locate marker: %s") % marker_id)
continue
new_id = self.uniqueId(marker_id, not self.options.modify)