Seem nextgenerator needs a small update.
"|from inkex.localization import _" should not be required anymore, it should work out-of the box when deriving from |||InkscapeExtension||
@Maren: Do you intend to localize nextgenerator? It would be a good opportunity to test the new "translationdomain" functionality in the field. I'd be happy to assist (the main job is not even specific to Inkscape extensions and involves extracting the translatable strings into a .po file and compiling them to .mo files with proper directory structure).
Cheers, Patrick
||||
Am 06.04.2020 um 18:11 schrieb Alvin Penner:
Hi, just for fun I tried the version from Moini\nextgenerator on Inkscape 1.1-dev. I got the Python error message:
Traceback (most recent call last): File "next_gen.py", line 37, in <module> from inkex.localization import _ ImportError: cannot import name '_' from 'inkex.localization' (C:\APP\Temp\inkscape_devel\share\inkscape\extensions\inkex\localization.py)
Alvin _______________________________________________ Inkscape Devel mailing list -- inkscape-devel@lists.inkscape.org To unsubscribe send an email to inkscape-devel-leave@lists.inkscape.org