Updated translation domain
authortflorac@dagon.home
Wed, 16 Jan 2019 23:40:30 +0100
changeset 107 99eb0e812717
parent 106 21d0b2d4d27b
child 108 d5c4a83c43ed
Updated translation domain
src/pyams_zmi/zmi/intids.py
src/pyams_zmi/zmi/timezone.py
src/pyams_zmi/zmi/zeo.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)
--- 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,
--- 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)