Saturday, March 21, 2015¶
class Site(Site): def setup_plugins(self): super(Site, self).setup_plugins() self.plugins.checkdata.configure(responsible_user='annabell')
Added a new checker
lino.modlib.countries.models.PlaceChecker, the first checker
in standard Lino.
Integrate repairable problems into plausibility¶
Cool. Sometimes growing means to reduce the number of code
lines. Today is an example. I integrated the lino.mixins.repairable
Instead of writing a get_repairable_problems method, we write
activate them. And
method must yield (fixable, message) tuples instead of simple
strings. And the
Problem model has a new field
Added new icon bell.png for the CheckPlausibility action
Messages are translated to the language of the responsible user.