# HG changeset patch # User tflorac@dagon.home # Date 1547678430 -3600 # Node ID 99eb0e812717e6d2ac20f6132ffd7411e1d681b3 # Parent 21d0b2d4d27b25f9092db4a777961ef7c3a175a9 Updated translation domain diff -r 21d0b2d4d27b -r 99eb0e812717 src/pyams_zmi/zmi/intids.py --- a/src/pyams_zmi/zmi/intids.py Wed Jan 16 12:06:25 2019 +0100 +++ b/src/pyams_zmi/zmi/intids.py Wed Jan 16 23:40:30 2019 +0100 @@ -27,7 +27,7 @@ from pyams_zmi.form import AdminDialogDisplayForm from z3c.form import field -from pyams_utils import _ +from pyams_zmi import _ @adapter_config(context=IIntIds, provides=IIndexLength) diff -r 21d0b2d4d27b -r 99eb0e812717 src/pyams_zmi/zmi/timezone.py --- a/src/pyams_zmi/zmi/timezone.py Wed Jan 16 12:06:25 2019 +0100 +++ b/src/pyams_zmi/zmi/timezone.py Wed Jan 16 23:40:30 2019 +0100 @@ -12,22 +12,17 @@ __docformat__ = 'restructuredtext' - -# import standard library - -# import interfaces -from pyams_utils.interfaces import VIEW_SYSTEM_PERMISSION, MANAGE_SYSTEM_PERMISSION -from pyams_utils.interfaces.timezone import IServerTimezone -from pyams_skin.layer import IPyAMSLayer - -# import packages -from pyams_form.form import AJAXEditForm -from pyams_pagelet.pagelet import pagelet_config -from pyams_zmi.form import AdminDialogEditForm from pyramid.view import view_config from z3c.form import field -from pyams_utils import _ +from pyams_form.form import AJAXEditForm +from pyams_pagelet.pagelet import pagelet_config +from pyams_skin.layer import IPyAMSLayer +from pyams_utils.interfaces import VIEW_SYSTEM_PERMISSION, MANAGE_SYSTEM_PERMISSION +from pyams_utils.interfaces.timezone import IServerTimezone +from pyams_zmi.form import AdminDialogEditForm + +from pyams_zmi import _ @pagelet_config(name='properties.html', context=IServerTimezone, layer=IPyAMSLayer, diff -r 21d0b2d4d27b -r 99eb0e812717 src/pyams_zmi/zmi/zeo.py --- a/src/pyams_zmi/zmi/zeo.py Wed Jan 16 12:06:25 2019 +0100 +++ b/src/pyams_zmi/zmi/zeo.py Wed Jan 16 23:40:30 2019 +0100 @@ -47,7 +47,7 @@ from z3c.form import field, button from zope.interface import Interface, Invalid -from pyams_utils import _ +from pyams_zmi import _ @adapter_config(context=(IZEOConnection, IAdminLayer), provides=ITableElementName)