Imports cleanup
authorThierry Florac <thierry.florac@onf.fr>
Mon, 18 Mar 2019 17:46:06 +0100
changeset 1293 7c4a06b4ddc7
parent 1292 b663d71c8d13
child 1294 4eebb9dfb488
Imports cleanup
src/pyams_content/locales/fr/LC_MESSAGES/pyams_content.mo
src/pyams_content/locales/fr/LC_MESSAGES/pyams_content.po
src/pyams_content/locales/pyams_content.pot
src/pyams_content/shared/site/zmi/link.py
Binary file src/pyams_content/locales/fr/LC_MESSAGES/pyams_content.mo has changed
--- a/src/pyams_content/locales/fr/LC_MESSAGES/pyams_content.po	Mon Mar 18 17:44:39 2019 +0100
+++ b/src/pyams_content/locales/fr/LC_MESSAGES/pyams_content.po	Mon Mar 18 17:46:06 2019 +0100
@@ -5,7 +5,7 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE 1.0\n"
-"POT-Creation-Date: 2019-03-18 11:39+0100\n"
+"POT-Creation-Date: 2019-03-18 17:45+0100\n"
 "PO-Revision-Date: 2015-09-10 10:42+0200\n"
 "Last-Translator: Thierry Florac <tflorac@ulthar.net>\n"
 "Language-Team: French\n"
@@ -4932,13 +4932,13 @@
 #: src/pyams_content/shared/site/zmi/folder.py:70
 #: src/pyams_content/shared/site/zmi/__init__.py:60
 #: src/pyams_content/shared/site/zmi/link.py:75
-#: src/pyams_content/shared/site/zmi/link.py:225
+#: src/pyams_content/shared/site/zmi/link.py:227
 msgid "Parent"
 msgstr "Niveau parent"
 
 #: src/pyams_content/shared/site/zmi/folder.py:71
 #: src/pyams_content/shared/site/zmi/link.py:76
-#: src/pyams_content/shared/site/zmi/link.py:226
+#: src/pyams_content/shared/site/zmi/link.py:228
 msgid "Folder's parent"
 msgstr "Niveau de rattachement de cette rubrique"
 
@@ -4964,24 +4964,24 @@
 msgid "Rent existing content"
 msgstr "Ajouter un lien interne"
 
-#: src/pyams_content/shared/site/zmi/link.py:166
+#: src/pyams_content/shared/site/zmi/link.py:167
 msgid "Edit content link properties"
 msgstr "Propriétés du lien interne"
 
-#: src/pyams_content/shared/site/zmi/link.py:216
+#: src/pyams_content/shared/site/zmi/link.py:218
 msgid "External content link..."
 msgstr "Lien externe"
 
-#: src/pyams_content/shared/site/zmi/link.py:236
+#: src/pyams_content/shared/site/zmi/link.py:238
 msgid "Link external content"
 msgstr "Ajouter un lien externe"
 
-#: src/pyams_content/shared/site/zmi/link.py:300
+#: src/pyams_content/shared/site/zmi/link.py:302
 msgid "Edit external content link properties"
 msgstr "Propriétés du lien externe"
 
-#: src/pyams_content/shared/site/zmi/link.py:109
-#: src/pyams_content/shared/site/zmi/link.py:182
+#: src/pyams_content/shared/site/zmi/link.py:110
+#: src/pyams_content/shared/site/zmi/link.py:184
 msgid "Show navigation header"
 msgstr "Afficher le chapô"
 
--- a/src/pyams_content/locales/pyams_content.pot	Mon Mar 18 17:44:39 2019 +0100
+++ b/src/pyams_content/locales/pyams_content.pot	Mon Mar 18 17:46:06 2019 +0100
@@ -6,7 +6,7 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE 1.0\n"
-"POT-Creation-Date: 2019-03-18 11:39+0100\n"
+"POT-Creation-Date: 2019-03-18 17:45+0100\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -4559,13 +4559,13 @@
 #: ./src/pyams_content/shared/site/zmi/folder.py:70
 #: ./src/pyams_content/shared/site/zmi/__init__.py:60
 #: ./src/pyams_content/shared/site/zmi/link.py:75
-#: ./src/pyams_content/shared/site/zmi/link.py:225
+#: ./src/pyams_content/shared/site/zmi/link.py:227
 msgid "Parent"
 msgstr ""
 
 #: ./src/pyams_content/shared/site/zmi/folder.py:71
 #: ./src/pyams_content/shared/site/zmi/link.py:76
-#: ./src/pyams_content/shared/site/zmi/link.py:226
+#: ./src/pyams_content/shared/site/zmi/link.py:228
 msgid "Folder's parent"
 msgstr ""
 
@@ -4589,24 +4589,24 @@
 msgid "Rent existing content"
 msgstr ""
 
-#: ./src/pyams_content/shared/site/zmi/link.py:166
+#: ./src/pyams_content/shared/site/zmi/link.py:167
 msgid "Edit content link properties"
 msgstr ""
 
-#: ./src/pyams_content/shared/site/zmi/link.py:216
+#: ./src/pyams_content/shared/site/zmi/link.py:218
 msgid "External content link..."
 msgstr ""
 
-#: ./src/pyams_content/shared/site/zmi/link.py:236
+#: ./src/pyams_content/shared/site/zmi/link.py:238
 msgid "Link external content"
 msgstr ""
 
-#: ./src/pyams_content/shared/site/zmi/link.py:300
+#: ./src/pyams_content/shared/site/zmi/link.py:302
 msgid "Edit external content link properties"
 msgstr ""
 
-#: ./src/pyams_content/shared/site/zmi/link.py:109
-#: ./src/pyams_content/shared/site/zmi/link.py:182
+#: ./src/pyams_content/shared/site/zmi/link.py:110
+#: ./src/pyams_content/shared/site/zmi/link.py:184
 msgid "Show navigation header"
 msgstr ""
 
--- a/src/pyams_content/shared/site/zmi/link.py	Mon Mar 18 17:44:39 2019 +0100
+++ b/src/pyams_content/shared/site/zmi/link.py	Mon Mar 18 17:46:06 2019 +0100
@@ -9,16 +9,13 @@
 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
 # FOR A PARTICULAR PURPOSE.
 #
-from z3c.form.browser.checkbox import SingleCheckBoxFieldWidget
-
-from pyams_form.group import NamedWidgetsGroup
-
 
 __docformat__ = 'restructuredtext'
 
 from uuid import uuid4
 
 from z3c.form import field
+from z3c.form.browser.checkbox import SingleCheckBoxFieldWidget
 from zope.interface import Interface, implementer
 from zope.intid.interfaces import IIntIds
 from zope.schema import Int
@@ -30,6 +27,7 @@
 from pyams_content.shared.site.zmi.widget import SiteManagerFoldersSelectorFieldWidget
 from pyams_content.zmi.interfaces import ISiteTreeTable
 from pyams_form.form import AJAXAddForm, ajax_config
+from pyams_form.group import NamedWidgetsGroup
 from pyams_i18n.interfaces import II18n
 from pyams_pagelet.pagelet import pagelet_config
 from pyams_skin.interfaces.container import ITableElementName