From: John R. <jr...@ce...> - 2013-04-21 14:43:58
|
On Apr 21, 2013, at 4:47 AM, Enno Borgsteede <enn...@gm...> wrote: > Hi John, >> I've changed the way get_addon_translations() does errors so that the warning message about a plugin not having a translation for the user's language can be a bit prettier. This causes an unhandled exception when actually loading the addon. I've fixed trunk, but ran out of time today before finishing gramps40. I'll get those committed tomorrow. > I tried it on trunk, and saw a nice message indeed, which promised that > US English would be used, but ... > > WARNING: Plugin differences has no translation for any of your > configured languages, using US English instead > Traceback (most recent call last): > File "/home/test/trunk/gramps/gen/plug/_manager.py", line 221, in > load_plugin > _module = self.import_plugin(pdata) > File "/home/test/trunk/gramps/gen/plug/_manager.py", line 253, in > import_plugin > module = __import__(pdata.mod_name) > File > "/home/test/.gramps/gramps41/plugins/Differences/differences.py", line > 38, in <module> > _ = glocale.get_translation().gettext > AttributeError: 'GrampsLocale' object has no attribute 'get_translation' > > ... because of the exception the plugin doesn't load at all, so it is > unusable now. > > No English, no nothing. :-( > Did you download the updated plugins? Regards, John Ralls |