--- a/src/pyams_content/features/menu/portlet/navigation/zmi/templates/simple-preview.pt Fri Jun 15 14:12:29 2018 +0200
+++ b/src/pyams_content/features/menu/portlet/navigation/zmi/templates/simple-preview.pt Fri Jun 15 15:41:33 2018 +0200
@@ -1,4 +1,4 @@
-<div tal:define="settings view.settings">
+<div tal:define="settings view.settings" i18n:domain="pyams_content">
<strong tal:content="i18n:settings.title">Title</strong>
<tal:var define="subtitle i18n:settings.subtitle" condition="subtitle" content="subtitle" />
<ul>
@@ -10,7 +10,7 @@
<i class="fa fa-fw fa-file-image-o text-danger hint opaque align-base"
tal:define="illustration view.get_link_illustration(link)"
tal:condition="not:illustration and illustration.has_data()"
- title="Link has no illustration"></i>
+ title="Link has no illustration" i18n:attributes="title"></i>
<tal:var define="info view.get_link_info(link)">
<span tal:content="info.user_title">User title</span>
–
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 Fri Jun 15 14:12:29 2018 +0200
+++ b/src/pyams_content/locales/fr/LC_MESSAGES/pyams_content.po Fri Jun 15 15:41:33 2018 +0200
@@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE 1.0\n"
-"POT-Creation-Date: 2018-06-15 11:05+0200\n"
+"POT-Creation-Date: 2018-06-15 15:28+0200\n"
"PO-Revision-Date: 2015-09-10 10:42+0200\n"
"Last-Translator: Thierry Florac <tflorac@ulthar.net>\n"
"Language-Team: French\n"
@@ -2826,7 +2826,7 @@
msgid "This content is already retired and not visible."
msgstr "Ce contenu est déjà retiré et n'est plus visible des internautes."
-#: src/pyams_content/shared/common/portlet/content/__init__.py:42
+#: src/pyams_content/shared/common/portlet/content/__init__.py:44
msgid "Context content"
msgstr "Contenu partagé"
@@ -3455,7 +3455,7 @@
msgid "View internal references settings"
msgstr "Références internes de la vue"
-#: src/pyams_content/shared/view/portlet/__init__.py:56
+#: src/pyams_content/shared/view/portlet/__init__.py:58
msgid "View items"
msgstr "Contenu d'une vue"
@@ -4714,11 +4714,11 @@
msgid "Click to see menu items"
msgstr "Montrer ou cacher les éléments du menu"
-#: src/pyams_content/features/menu/portlet/navigation/simple.py:66
+#: src/pyams_content/features/menu/portlet/navigation/simple.py:68
msgid "Simple navigation"
msgstr "Navigation à un niveau"
-#: src/pyams_content/features/menu/portlet/navigation/double.py:66
+#: src/pyams_content/features/menu/portlet/navigation/double.py:68
msgid "Double navigation"
msgstr "Navigation à deux niveaux"
@@ -4735,6 +4735,10 @@
msgid "Link target is not published!"
msgstr "Le contenu ciblé n'est pas publié"
+#: src/pyams_content/features/menu/portlet/navigation/zmi/templates/simple-preview.pt:13
+msgid "Link has no illustration"
+msgstr "Le lien n'a pas d'illustration"
+
#: src/pyams_content/features/menu/portlet/navigation/interfaces/simple.py:32
#: src/pyams_content/features/menu/portlet/navigation/interfaces/double.py:32
msgid "Portlet main title"
--- a/src/pyams_content/locales/pyams_content.pot Fri Jun 15 14:12:29 2018 +0200
+++ b/src/pyams_content/locales/pyams_content.pot Fri Jun 15 15:41:33 2018 +0200
@@ -6,7 +6,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE 1.0\n"
-"POT-Creation-Date: 2018-06-15 11:05+0200\n"
+"POT-Creation-Date: 2018-06-15 15:28+0200\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"
@@ -2669,7 +2669,7 @@
msgid "This content is already retired and not visible."
msgstr ""
-#: ./src/pyams_content/shared/common/portlet/content/__init__.py:42
+#: ./src/pyams_content/shared/common/portlet/content/__init__.py:44
msgid "Context content"
msgstr ""
@@ -3240,7 +3240,7 @@
msgid "View internal references settings"
msgstr ""
-#: ./src/pyams_content/shared/view/portlet/__init__.py:56
+#: ./src/pyams_content/shared/view/portlet/__init__.py:58
msgid "View items"
msgstr ""
@@ -4464,11 +4464,11 @@
msgid "Click to see menu items"
msgstr ""
-#: ./src/pyams_content/features/menu/portlet/navigation/simple.py:66
+#: ./src/pyams_content/features/menu/portlet/navigation/simple.py:68
msgid "Simple navigation"
msgstr ""
-#: ./src/pyams_content/features/menu/portlet/navigation/double.py:66
+#: ./src/pyams_content/features/menu/portlet/navigation/double.py:68
msgid "Double navigation"
msgstr ""
@@ -4485,6 +4485,10 @@
msgid "Link target is not published!"
msgstr ""
+#: ./src/pyams_content/features/menu/portlet/navigation/zmi/templates/simple-preview.pt:13
+msgid "Link has no illustration"
+msgstr ""
+
#: ./src/pyams_content/features/menu/portlet/navigation/interfaces/simple.py:32
#: ./src/pyams_content/features/menu/portlet/navigation/interfaces/double.py:32
msgid "Portlet main title"