Added context attributes
authorThierry Florac <thierry.florac@onf.fr>
Mon, 19 Nov 2018 15:14:23 +0100
changeset 228 44ac5e31ce87
parent 227 152833cd28f3
child 229 be5bc85fd442
Added context attributes
src/pyams_default_theme/component/paragraph/pictogram.py
--- a/src/pyams_default_theme/component/paragraph/pictogram.py	Mon Nov 19 10:48:01 2018 +0100
+++ b/src/pyams_default_theme/component/paragraph/pictogram.py	Mon Nov 19 15:14:23 2018 +0100
@@ -34,6 +34,8 @@
     label = _("Default pictograms renderer")
     weight = 1
 
+    i18n_context_attrs = ('title',)
+
     @property
     def pictograms(self):
         yield from IPictogramContainer(self.context).get_visible_items()