index 07074c8a4693fd47527246267ad35b6531a896fe..38f9298465d66191fd3eb9718dd08fb5f8a0c21c 100644 (file)
'''
import inkex, base64, os
+import gettext
+_ = gettext.gettext
class MyEffect(inkex.Effect):
def __init__(self):
open(path,'wb').write(data)
node.set(inkex.addNS('href','xlink'),os.path.realpath(path)) #absolute for making in-mem cycles work
else:
- inkex.debug('Difficulty finding the image data.')
+ inkex.errormsg(_('Difficulty finding the image data.'))
break
if __name__ == '__main__':