Binary file src/pyams_portal/locales/fr/LC_MESSAGES/pyams_portal.mo has changed
--- a/src/pyams_portal/locales/fr/LC_MESSAGES/pyams_portal.po Mon Jun 25 09:42:24 2018 +0200
+++ b/src/pyams_portal/locales/fr/LC_MESSAGES/pyams_portal.po Tue Jun 26 08:47:39 2018 +0200
@@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE 1.0\n"
-"POT-Creation-Date: 2018-06-23 14:07+0200\n"
+"POT-Creation-Date: 2018-06-26 08:42+0200\n"
"PO-Revision-Date: 2015-05-12 12:10+0200\n"
"Last-Translator: Thierry Florac <tflorac@ulthar.net>\n"
"Language-Team: French <traduc@traduc.org>\n"
@@ -16,6 +16,10 @@
"Generated-By: Lingua 3.10.dev0\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+#: src/pyams_portal/template.py:86
+msgid "Portal template"
+msgstr "Modèle de présentation"
+
#: src/pyams_portal/__init__.py:43
msgid "Manage portal templates"
msgstr "Gérer les modèles de présentation"
@@ -24,257 +28,6 @@
msgid "Portal templates manager"
msgstr "Gestionnaire des modèles"
-#: src/pyams_portal/template.py:86
-msgid "Portal template"
-msgstr "Modèle de présentation"
-
-#: src/pyams_portal/interfaces/__init__.py:65
-msgid "Portlet"
-msgstr "Composant"
-
-#: src/pyams_portal/interfaces/__init__.py:68
-#: src/pyams_portal/interfaces/__init__.py:194
-msgid "Slot name"
-msgstr "Nom du panneau"
-
-#: src/pyams_portal/interfaces/__init__.py:69
-msgid "Slot name to which this configuration applies"
-msgstr "Nom du panneau correspondant à la configuration"
-
-#: src/pyams_portal/interfaces/__init__.py:82
-msgid "Portlet renderer"
-msgstr "Mode de rendu"
-
-#: src/pyams_portal/interfaces/__init__.py:83
-msgid "Name of renderer used to render this portlet"
-msgstr "Mode de rendu utilisé pour restituer ce composant"
-
-#: src/pyams_portal/interfaces/__init__.py:113
-msgid "Inherit parent configuration?"
-msgstr "Hériter de la configuration du parent ?"
-
-#: src/pyams_portal/interfaces/__init__.py:114
-msgid ""
-"This option is only available if context's parent is using the same "
-"template..."
-msgstr ""
-"Cette option n'est disponible que si le parent utilise le même modèle de "
-"présentation..."
-
-#: src/pyams_portal/interfaces/__init__.py:195
-msgid "This name must be unique in a given template"
-msgstr "Ce nom doit être unique au sein d'un modèle de présentation"
-
-#: src/pyams_portal/interfaces/__init__.py:198
-msgid "Row ID"
-msgstr "ID de la ligne"
-
-#: src/pyams_portal/interfaces/__init__.py:212
-msgid "Visible slot?"
-msgstr "Panneau visible ?"
-
-#: src/pyams_portal/interfaces/__init__.py:213
-msgid "Select 'no' to hide this slot..."
-msgstr "Choisir 'non' pour masquer ce panneau..."
-
-#: src/pyams_portal/interfaces/__init__.py:217
-msgid "Extra small device width"
-msgstr "Largeur sur très petits périphériques"
-
-#: src/pyams_portal/interfaces/__init__.py:218
-msgid ""
-"Slot width, in columns count, on extra small devices (phones...); set to 0 "
-"to hide the portlet"
-msgstr ""
-"Largeur du panneau, en nombre de colonnes, sur les très petits périphériques "
-"(téléphones...) ; indiquez une valeur de 0 pour masquer ce composant"
-
-#: src/pyams_portal/interfaces/__init__.py:224
-msgid "Small device width"
-msgstr "Largeur sur petits périphériques"
-
-#: src/pyams_portal/interfaces/__init__.py:225
-msgid ""
-"Slot width, in columns count, on small devices (tablets...); set to 0 to "
-"hide the portlet"
-msgstr ""
-"Largeur du panneau, en nombre de colonnes, sur les petits périphériques "
-"(tablettes...) ; indiquez une valeur de 0 pour masquer ce composant"
-
-#: src/pyams_portal/interfaces/__init__.py:231
-msgid "Medium devices width"
-msgstr "Largeur sur périphériques moyens"
-
-#: src/pyams_portal/interfaces/__init__.py:232
-msgid ""
-"Slot width, in columns count, on medium desktop devices (>= 992 pixels); set "
-"to 0 to hide the portlet"
-msgstr ""
-"Largeur du panneau, en nombre de colonnes, sur les périphériques moyens (>= "
-"992 pixels) ; indiquez une valeur de 0 pour masquer ce composant"
-
-#: src/pyams_portal/interfaces/__init__.py:238
-msgid "Large devices width"
-msgstr "Largeur sur grands périphériques"
-
-#: src/pyams_portal/interfaces/__init__.py:239
-msgid ""
-"Slot width, in columns count, on large desktop devices (>= 1200 pixels); set "
-"to 0 to hide the portlet"
-msgstr ""
-"Largeur du panneau, en nombre de colonnes, sur les grands périphériques (>= "
-"1200 pixels) ; indiquez une valeur de 0 pour masquer ce composant"
-
-#: src/pyams_portal/interfaces/__init__.py:245
-msgid "CSS class"
-msgstr "Class CSS"
-
-#: src/pyams_portal/interfaces/__init__.py:246
-msgid "CSS class applied to this slot"
-msgstr "Classe CSS spécifique appliquée à ce panneau"
-
-#: src/pyams_portal/interfaces/__init__.py:359
-msgid "Template name"
-msgstr "Nom du modèle"
-
-#: src/pyams_portal/interfaces/__init__.py:360
-msgid "Two registered templates can't share the same name..."
-msgstr "Deux modèles partagés ne peuvent pas utiliser le même nom..."
-
-#: src/pyams_portal/interfaces/__init__.py:381
-msgid "Toolbar portlets"
-msgstr "Composants de la barre d'outils"
-
-#: src/pyams_portal/interfaces/__init__.py:382
-msgid ""
-"These portlets will be directly available in templates configuration page "
-"toolbar"
-msgstr ""
-"Ces composants seront directement accessibles dans la page de configuration "
-"des modèles de présentation sous la forme d'une barre d'icônes"
-
-#: src/pyams_portal/interfaces/__init__.py:411
-msgid "Inherit parent template?"
-msgstr "Hériter du modèle du parent ?"
-
-#: src/pyams_portal/interfaces/__init__.py:412
-msgid "Should we reuse parent template?"
-msgstr "Doit-on ré-utiliser le modèle du parent ?"
-
-#: src/pyams_portal/interfaces/__init__.py:416
-msgid "Override parent template?"
-msgstr "Ne pas hériter du modèle du parent ?"
-
-#: src/pyams_portal/interfaces/__init__.py:417
-msgid "Should we override parent template?"
-msgstr "Doit-on remplacer le modèle de présentation du parent ?"
-
-#: src/pyams_portal/interfaces/__init__.py:421
-msgid "Use local template?"
-msgstr "Utiliser un modèle local ?"
-
-#: src/pyams_portal/interfaces/__init__.py:422
-msgid ""
-"If 'yes', you can define a custom local template instead of a shared template"
-msgstr ""
-"Si 'oui', vous pouvez définir un modèle de présentation local au lieu d'un "
-"modèle partagé"
-
-#: src/pyams_portal/interfaces/__init__.py:427
-msgid "Local template"
-msgstr "Modèle local"
-
-#: src/pyams_portal/interfaces/__init__.py:432
-msgid "Use shared template?"
-msgstr "Utiliser un modèle partagé"
-
-#: src/pyams_portal/interfaces/__init__.py:433
-msgid "If 'yes', you can select a shared template"
-msgstr ""
-"Si 'oui', vous pouvez sélectionner un modèle de présentation partagé au lieu "
-"d'un modèle local"
-
-#: src/pyams_portal/interfaces/__init__.py:437
-msgid "Page template"
-msgstr "Modèle de page"
-
-#: src/pyams_portal/interfaces/__init__.py:438
-msgid "Template used for this page"
-msgstr "Modèle de présentation utilisé pour cette page"
-
-#: src/pyams_portal/skin/__init__.py:36
-msgid "Hidden portlet"
-msgstr "Composant non affiché"
-
-#: src/pyams_portal/portlets/image/interfaces.py:30
-msgid "Selected image"
-msgstr "Image sélectionnée"
-
-#: src/pyams_portal/portlets/image/__init__.py:58
-msgid "Image"
-msgstr "Image"
-
-#: src/pyams_portal/portlets/image/skin/__init__.py:37
-msgid "Responsive image renderer"
-msgstr "Image responsive (par défaut)"
-
-#: src/pyams_portal/portlets/html/interfaces.py:31
-msgid "Raw HTML code"
-msgstr "Code HTML"
-
-#: src/pyams_portal/portlets/html/interfaces.py:32
-msgid ""
-"This HTML code will be used 'as is', without any transformation. Use with "
-"care!!"
-msgstr ""
-"Ce code HTML sera utilisé 'en l'état', sans aucune vérification ni "
-"transformation. À utiliser donc avec précaution !!"
-
-#: src/pyams_portal/portlets/html/interfaces.py:40
-msgid "Body"
-msgstr "Contenu HTML"
-
-#: src/pyams_portal/portlets/html/__init__.py:51
-msgid "Raw HTML"
-msgstr "Code HTML"
-
-#: src/pyams_portal/portlets/html/__init__.py:78
-msgid "Rich text"
-msgstr "Texte enrichi"
-
-#: src/pyams_portal/portlets/html/skin/__init__.py:37
-msgid "Default code renderer"
-msgstr "Rendu de code HTML (par défaut)"
-
-#: src/pyams_portal/portlets/html/skin/__init__.py:45
-msgid "Default text renderer"
-msgstr "Rendu de code HTML (par défaut)"
-
-#: src/pyams_portal/zmi/container.py:64 src/pyams_portal/zmi/container.py:93
-#: src/pyams_portal/zmi/template.py:135
-msgid "Portal templates"
-msgstr "Modèles de présentation"
-
-#: src/pyams_portal/zmi/container.py:102
-msgid "Shared portal templates"
-msgstr "Modèles de présentation partagés"
-
-#: src/pyams_portal/zmi/container.py:139
-msgid "Delete template"
-msgstr "Supprimer le modèle"
-
-#: src/pyams_portal/zmi/container.py:189
-msgid "Selected portlets..."
-msgstr "Composants sélectionnés"
-
-#: src/pyams_portal/zmi/container.py:208
-msgid "Portal templates container"
-msgstr "Gestionnaire des modèles"
-
-#: src/pyams_portal/zmi/container.py:209
-msgid "Edit selected portlets"
-msgstr "Sélection des composants"
-
#: src/pyams_portal/zmi/portlet.py:59
msgid "Edit portlet settings"
msgstr "Propriétés du composant"
@@ -309,66 +62,6 @@
msgid "Override parent settings"
msgstr "Remplacer le paramétrage du parent"
-#: src/pyams_portal/zmi/layout.py:79
-msgid "Properties"
-msgstr "Propriétés"
-
-#: src/pyams_portal/zmi/layout.py:170
-msgid "Add row..."
-msgstr "Ajouter une ligne"
-
-#: src/pyams_portal/zmi/layout.py:212
-msgid "Add slot..."
-msgstr "Ajouter un panneau"
-
-#: src/pyams_portal/zmi/layout.py:230
-msgid "Add slot"
-msgstr "Ajouter un panneau"
-
-#: src/pyams_portal/zmi/layout.py:377
-msgid "Add portlet..."
-msgstr "Ajouter un composant"
-
-#: src/pyams_portal/zmi/layout.py:395
-msgid "Add portlet"
-msgstr "Ajouter un composant"
-
-#: src/pyams_portal/zmi/layout.py:69
-msgid "Template management"
-msgstr "Ce modèle"
-
-#: src/pyams_portal/zmi/layout.py:103
-msgid "Template configuration"
-msgstr "Configuration d'un modèle"
-
-#: src/pyams_portal/zmi/layout.py:98
-msgid "Local template configuration"
-msgstr "Configuration d'un modèle local"
-
-#: src/pyams_portal/zmi/layout.py:139
-msgid "{{ missing portlet }}"
-msgstr "{{ composant indisponible }}"
-
-#: src/pyams_portal/zmi/layout.py:264 src/pyams_portal/zmi/template.py:160
-msgid "Specified name is already used!"
-msgstr "Le nom indiqué est déjà utilisé !"
-
-#: src/pyams_portal/zmi/layout.py:228 src/pyams_portal/zmi/layout.py:309
-#: src/pyams_portal/zmi/layout.py:393 src/pyams_portal/zmi/template.py:102
-#, python-format
-msgid "« {0} » portal template"
-msgstr "Modèle de présentation « {0} »"
-
-#: src/pyams_portal/zmi/layout.py:314
-#, python-format
-msgid "Edit « {0} » slot properties"
-msgstr "Propriétés du panneau « {0} »"
-
-#: src/pyams_portal/zmi/layout.py:101
-#, python-format
-msgid "Shared template configuration ({0})"
-msgstr "Configuration d'un modèle partagé ({0})"
-
#: src/pyams_portal/zmi/page.py:66
msgid "Presentation"
msgstr "Présentation"
@@ -413,11 +106,16 @@
"Vous devez choisir un modèle de présentation partagé lorsque vous "
"n'appliquez pas de modèle local !"
-#: src/pyams_portal/zmi/template.py:123
+#: src/pyams_portal/zmi/template.py:132
msgid "Add template"
msgstr "Ajouter un modèle"
-#: src/pyams_portal/zmi/template.py:136
+#: src/pyams_portal/zmi/template.py:144 src/pyams_portal/zmi/container.py:64
+#: src/pyams_portal/zmi/container.py:93
+msgid "Portal templates"
+msgstr "Modèles de présentation"
+
+#: src/pyams_portal/zmi/template.py:145
msgid "Add shared template"
msgstr "Ajout d'un modèle de présentation"
@@ -425,11 +123,100 @@
msgid "Presentation template"
msgstr "Présentation"
-#: src/pyams_portal/zmi/template.py:78
+#: src/pyams_portal/zmi/template.py:169 src/pyams_portal/zmi/layout.py:271
+msgid "Specified name is already used!"
+msgstr "Le nom indiqué est déjà utilisé !"
+
+#: src/pyams_portal/zmi/template.py:111 src/pyams_portal/zmi/layout.py:235
+#: src/pyams_portal/zmi/layout.py:316 src/pyams_portal/zmi/layout.py:400
+#, python-format
+msgid "« {0} » portal template"
+msgstr "Modèle de présentation « {0} »"
+
+#: src/pyams_portal/zmi/template.py:87
#, python-format
msgid "{0} (local template)"
msgstr "{0} (modèle local)"
+#: src/pyams_portal/zmi/layout.py:79
+msgid "Properties"
+msgstr "Propriétés"
+
+#: src/pyams_portal/zmi/layout.py:177
+msgid "Add row..."
+msgstr "Ajouter une ligne"
+
+#: src/pyams_portal/zmi/layout.py:219
+msgid "Add slot..."
+msgstr "Ajouter un panneau"
+
+#: src/pyams_portal/zmi/layout.py:237
+msgid "Add slot"
+msgstr "Ajouter un panneau"
+
+#: src/pyams_portal/zmi/layout.py:384
+msgid "Add portlet..."
+msgstr "Ajouter un composant"
+
+#: src/pyams_portal/zmi/layout.py:402
+msgid "Add portlet"
+msgstr "Ajouter un composant"
+
+#: src/pyams_portal/zmi/layout.py:69
+msgid "Template management"
+msgstr "Ce modèle"
+
+#: src/pyams_portal/zmi/layout.py:103
+msgid "Template configuration"
+msgstr "Configuration d'un modèle"
+
+#: src/pyams_portal/zmi/layout.py:98
+msgid "Local template configuration"
+msgstr "Configuration d'un modèle local"
+
+#: src/pyams_portal/zmi/layout.py:146
+msgid "{{ missing portlet }}"
+msgstr "{{ composant indisponible }}"
+
+#: src/pyams_portal/zmi/layout.py:137
+#, python-format
+msgid ""
+"Add component: {0}<br />Drag and drop button to page template to position "
+"new row"
+msgstr ""
+"Ajouter un composant : <strong>{0}</strong><br />Faire un glisser/déposer du bouton dans le modèle de "
+"présentation pour positionner le nouveau composant."
+
+#: src/pyams_portal/zmi/layout.py:321
+#, python-format
+msgid "Edit « {0} » slot properties"
+msgstr "Propriétés du panneau « {0} »"
+
+#: src/pyams_portal/zmi/layout.py:101
+#, python-format
+msgid "Shared template configuration ({0})"
+msgstr "Configuration d'un modèle partagé ({0})"
+
+#: src/pyams_portal/zmi/container.py:102
+msgid "Shared portal templates"
+msgstr "Modèles de présentation partagés"
+
+#: src/pyams_portal/zmi/container.py:139
+msgid "Delete template"
+msgstr "Supprimer le modèle"
+
+#: src/pyams_portal/zmi/container.py:189
+msgid "Selected portlets..."
+msgstr "Composants sélectionnés"
+
+#: src/pyams_portal/zmi/container.py:208
+msgid "Portal templates container"
+msgstr "Gestionnaire des modèles"
+
+#: src/pyams_portal/zmi/container.py:209
+msgid "Edit selected portlets"
+msgstr "Sélection des composants"
+
#: src/pyams_portal/zmi/templates/portlet.pt:137
msgid "Title"
msgstr "Titre"
@@ -445,7 +232,7 @@
#: src/pyams_portal/zmi/templates/layout.pt:24
msgid "Add row<br />Drag and drop button to page template to position new row"
msgstr ""
-"Ajouter une ligne<br />Faire un lisser/déposer du bouton dans le modèle de "
+"Ajouter une ligne<br />Faire un glisser/déposer du bouton dans le modèle de "
"présentation pour positionner la nouvelle ligne."
#: src/pyams_portal/zmi/templates/layout.pt:29
@@ -455,58 +242,280 @@
"Ajouter un panneau<br />Faire un glisser/déposer du bouton dans le modèle de "
"présentation pour positionner le nouveau panneau."
-#: src/pyams_portal/zmi/templates/layout.pt:49
+#: src/pyams_portal/zmi/templates/layout.pt:48
msgid "Add another portlet..."
msgstr "Ajouter un composant"
-#: src/pyams_portal/zmi/templates/layout.pt:56
+#: src/pyams_portal/zmi/templates/layout.pt:55
msgid "Selected display:"
msgstr "Type de périphérique sélectionné :"
-#: src/pyams_portal/zmi/templates/layout.pt:61
+#: src/pyams_portal/zmi/templates/layout.pt:60
msgid "Current device"
msgstr "Périphérique actuel"
-#: src/pyams_portal/zmi/templates/layout.pt:62
+#: src/pyams_portal/zmi/templates/layout.pt:61
msgid "Extra small device (phone)"
msgstr "Très petits périphériques (téléphone)"
-#: src/pyams_portal/zmi/templates/layout.pt:63
+#: src/pyams_portal/zmi/templates/layout.pt:62
msgid "Small device (tablet)"
msgstr "Petits périphériques (tablette)"
-#: src/pyams_portal/zmi/templates/layout.pt:64
+#: src/pyams_portal/zmi/templates/layout.pt:63
msgid "Medium desktop device (> 970px)"
msgstr "Écrans de taille moyenne (> 970 px)"
-#: src/pyams_portal/zmi/templates/layout.pt:65
+#: src/pyams_portal/zmi/templates/layout.pt:64
msgid "Large desktop device (> 1170px)"
msgstr "Écrans de grande taille (> 1170 px)"
-#: src/pyams_portal/zmi/templates/layout.pt:115
+#: src/pyams_portal/zmi/templates/layout.pt:114
msgid "Override parent or template settings"
msgstr "Remplacer le paramétrage du parent ou du modèle"
-#: src/pyams_portal/zmi/templates/layout.pt:134
+#: src/pyams_portal/zmi/templates/layout.pt:133
msgid "Delete row..."
msgstr "Supprimer la ligne"
-#: src/pyams_portal/zmi/templates/layout.pt:143
+#: src/pyams_portal/zmi/templates/layout.pt:142
msgid "Edit slot properties..."
msgstr "Propriétés"
-#: src/pyams_portal/zmi/templates/layout.pt:150
+#: src/pyams_portal/zmi/templates/layout.pt:149
msgid "Delete slot..."
msgstr "Supprimer le panneau"
-#: src/pyams_portal/zmi/templates/layout.pt:158
+#: src/pyams_portal/zmi/templates/layout.pt:157
msgid "Edit portlet properties..."
msgstr "Propriétés"
-#: src/pyams_portal/zmi/templates/layout.pt:166
+#: src/pyams_portal/zmi/templates/layout.pt:165
msgid "Delete portlet..."
msgstr "Supprimer le composant"
+#: src/pyams_portal/portlets/image/__init__.py:58
+msgid "Image"
+msgstr "Image"
+
+#: src/pyams_portal/portlets/image/interfaces.py:30
+msgid "Selected image"
+msgstr "Image sélectionnée"
+
+#: src/pyams_portal/portlets/image/skin/__init__.py:37
+msgid "Responsive image renderer"
+msgstr "Image responsive (par défaut)"
+
+#: src/pyams_portal/portlets/html/__init__.py:51
+msgid "Raw HTML"
+msgstr "Code HTML"
+
+#: src/pyams_portal/portlets/html/__init__.py:78
+msgid "Rich text"
+msgstr "Texte enrichi"
+
+#: src/pyams_portal/portlets/html/interfaces.py:31
+msgid "Raw HTML code"
+msgstr "Code HTML"
+
+#: src/pyams_portal/portlets/html/interfaces.py:32
+msgid ""
+"This HTML code will be used 'as is', without any transformation. Use with "
+"care!!"
+msgstr ""
+"Ce code HTML sera utilisé 'en l'état', sans aucune vérification ni "
+"transformation. À utiliser donc avec précaution !!"
+
+#: src/pyams_portal/portlets/html/interfaces.py:40
+msgid "Body"
+msgstr "Contenu HTML"
+
+#: src/pyams_portal/portlets/html/skin/__init__.py:37
+msgid "Default code renderer"
+msgstr "Rendu de code HTML (par défaut)"
+
+#: src/pyams_portal/portlets/html/skin/__init__.py:45
+msgid "Default text renderer"
+msgstr "Rendu de code HTML (par défaut)"
+
+#: src/pyams_portal/skin/__init__.py:36
+msgid "Hidden portlet"
+msgstr "Composant non affiché"
+
+#: src/pyams_portal/interfaces/__init__.py:65
+msgid "Portlet"
+msgstr "Composant"
+
+#: src/pyams_portal/interfaces/__init__.py:68
+#: src/pyams_portal/interfaces/__init__.py:195
+msgid "Slot name"
+msgstr "Nom du panneau"
+
+#: src/pyams_portal/interfaces/__init__.py:69
+msgid "Slot name to which this configuration applies"
+msgstr "Nom du panneau correspondant à la configuration"
+
+#: src/pyams_portal/interfaces/__init__.py:82
+msgid "Portlet renderer"
+msgstr "Mode de rendu"
+
+#: src/pyams_portal/interfaces/__init__.py:83
+msgid "Name of renderer used to render this portlet"
+msgstr "Mode de rendu utilisé pour restituer ce composant"
+
+#: src/pyams_portal/interfaces/__init__.py:113
+msgid "Inherit parent configuration?"
+msgstr "Hériter de la configuration du parent ?"
+
+#: src/pyams_portal/interfaces/__init__.py:114
+msgid ""
+"This option is only available if context's parent is using the same "
+"template..."
+msgstr ""
+"Cette option n'est disponible que si le parent utilise le même modèle de "
+"présentation..."
+
+#: src/pyams_portal/interfaces/__init__.py:196
+msgid "This name must be unique in a given template"
+msgstr "Ce nom doit être unique au sein d'un modèle de présentation"
+
+#: src/pyams_portal/interfaces/__init__.py:199
+msgid "Row ID"
+msgstr "ID de la ligne"
+
+#: src/pyams_portal/interfaces/__init__.py:213
+msgid "Visible slot?"
+msgstr "Panneau visible ?"
+
+#: src/pyams_portal/interfaces/__init__.py:214
+msgid "Select 'no' to hide this slot..."
+msgstr "Choisir 'non' pour masquer ce panneau..."
+
+#: src/pyams_portal/interfaces/__init__.py:218
+msgid "Extra small device width"
+msgstr "Largeur sur très petits périphériques"
+
+#: src/pyams_portal/interfaces/__init__.py:219
+msgid ""
+"Slot width, in columns count, on extra small devices (phones...); set to 0 "
+"to hide the portlet"
+msgstr ""
+"Largeur du panneau, en nombre de colonnes, sur les très petits périphériques "
+"(téléphones...) ; indiquez une valeur de 0 pour masquer ce composant"
+
+#: src/pyams_portal/interfaces/__init__.py:225
+msgid "Small device width"
+msgstr "Largeur sur petits périphériques"
+
+#: src/pyams_portal/interfaces/__init__.py:226
+msgid ""
+"Slot width, in columns count, on small devices (tablets...); set to 0 to "
+"hide the portlet"
+msgstr ""
+"Largeur du panneau, en nombre de colonnes, sur les petits périphériques "
+"(tablettes...) ; indiquez une valeur de 0 pour masquer ce composant"
+
+#: src/pyams_portal/interfaces/__init__.py:232
+msgid "Medium devices width"
+msgstr "Largeur sur périphériques moyens"
+
+#: src/pyams_portal/interfaces/__init__.py:233
+msgid ""
+"Slot width, in columns count, on medium desktop devices (>= 992 pixels); set "
+"to 0 to hide the portlet"
+msgstr ""
+"Largeur du panneau, en nombre de colonnes, sur les périphériques moyens (>= "
+"992 pixels) ; indiquez une valeur de 0 pour masquer ce composant"
+
+#: src/pyams_portal/interfaces/__init__.py:239
+msgid "Large devices width"
+msgstr "Largeur sur grands périphériques"
+
+#: src/pyams_portal/interfaces/__init__.py:240
+msgid ""
+"Slot width, in columns count, on large desktop devices (>= 1200 pixels); set "
+"to 0 to hide the portlet"
+msgstr ""
+"Largeur du panneau, en nombre de colonnes, sur les grands périphériques (>= "
+"1200 pixels) ; indiquez une valeur de 0 pour masquer ce composant"
+
+#: src/pyams_portal/interfaces/__init__.py:246
+msgid "CSS class"
+msgstr "Class CSS"
+
+#: src/pyams_portal/interfaces/__init__.py:247
+msgid "CSS class applied to this slot"
+msgstr "Classe CSS spécifique appliquée à ce panneau"
+
+#: src/pyams_portal/interfaces/__init__.py:360
+msgid "Template name"
+msgstr "Nom du modèle"
+
+#: src/pyams_portal/interfaces/__init__.py:361
+msgid "Two registered templates can't share the same name..."
+msgstr "Deux modèles partagés ne peuvent pas utiliser le même nom..."
+
+#: src/pyams_portal/interfaces/__init__.py:382
+msgid "Toolbar portlets"
+msgstr "Composants de la barre d'outils"
+
+#: src/pyams_portal/interfaces/__init__.py:383
+msgid ""
+"These portlets will be directly available in templates configuration page "
+"toolbar"
+msgstr ""
+"Ces composants seront directement accessibles dans la page de configuration "
+"des modèles de présentation sous la forme d'une barre d'icônes"
+
+#: src/pyams_portal/interfaces/__init__.py:412
+msgid "Inherit parent template?"
+msgstr "Hériter du modèle du parent ?"
+
+#: src/pyams_portal/interfaces/__init__.py:413
+msgid "Should we reuse parent template?"
+msgstr "Doit-on ré-utiliser le modèle du parent ?"
+
+#: src/pyams_portal/interfaces/__init__.py:417
+msgid "Override parent template?"
+msgstr "Ne pas hériter du modèle du parent ?"
+
+#: src/pyams_portal/interfaces/__init__.py:418
+msgid "Should we override parent template?"
+msgstr "Doit-on remplacer le modèle de présentation du parent ?"
+
+#: src/pyams_portal/interfaces/__init__.py:422
+msgid "Use local template?"
+msgstr "Utiliser un modèle local ?"
+
+#: src/pyams_portal/interfaces/__init__.py:423
+msgid ""
+"If 'yes', you can define a custom local template instead of a shared template"
+msgstr ""
+"Si 'oui', vous pouvez définir un modèle de présentation local au lieu d'un "
+"modèle partagé"
+
+#: src/pyams_portal/interfaces/__init__.py:428
+msgid "Local template"
+msgstr "Modèle local"
+
+#: src/pyams_portal/interfaces/__init__.py:433
+msgid "Use shared template?"
+msgstr "Utiliser un modèle partagé"
+
+#: src/pyams_portal/interfaces/__init__.py:434
+msgid "If 'yes', you can select a shared template"
+msgstr ""
+"Si 'oui', vous pouvez sélectionner un modèle de présentation partagé au lieu "
+"d'un modèle local"
+
+#: src/pyams_portal/interfaces/__init__.py:438
+msgid "Page template"
+msgstr "Modèle de page"
+
+#: src/pyams_portal/interfaces/__init__.py:439
+msgid "Template used for this page"
+msgstr "Modèle de présentation utilisé pour cette page"
+
#~ msgid "« {0} » portal template - {1} slot"
#~ msgstr "Modèle de présentation « {0} » - Panneau {1}"
--- a/src/pyams_portal/locales/pyams_portal.pot Mon Jun 25 09:42:24 2018 +0200
+++ b/src/pyams_portal/locales/pyams_portal.pot Tue Jun 26 08:47:39 2018 +0200
@@ -6,7 +6,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE 1.0\n"
-"POT-Creation-Date: 2018-06-23 14:07+0200\n"
+"POT-Creation-Date: 2018-06-26 08:42+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"
@@ -16,6 +16,10 @@
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Lingua 3.10.dev0\n"
+#: ./src/pyams_portal/template.py:86
+msgid "Portal template"
+msgstr ""
+
#: ./src/pyams_portal/__init__.py:43
msgid "Manage portal templates"
msgstr ""
@@ -24,240 +28,6 @@
msgid "Portal templates manager"
msgstr ""
-#: ./src/pyams_portal/template.py:86
-msgid "Portal template"
-msgstr ""
-
-#: ./src/pyams_portal/interfaces/__init__.py:65
-msgid "Portlet"
-msgstr ""
-
-#: ./src/pyams_portal/interfaces/__init__.py:68
-#: ./src/pyams_portal/interfaces/__init__.py:194
-msgid "Slot name"
-msgstr ""
-
-#: ./src/pyams_portal/interfaces/__init__.py:69
-msgid "Slot name to which this configuration applies"
-msgstr ""
-
-#: ./src/pyams_portal/interfaces/__init__.py:82
-msgid "Portlet renderer"
-msgstr ""
-
-#: ./src/pyams_portal/interfaces/__init__.py:83
-msgid "Name of renderer used to render this portlet"
-msgstr ""
-
-#: ./src/pyams_portal/interfaces/__init__.py:113
-msgid "Inherit parent configuration?"
-msgstr ""
-
-#: ./src/pyams_portal/interfaces/__init__.py:114
-msgid ""
-"This option is only available if context's parent is using the same "
-"template..."
-msgstr ""
-
-#: ./src/pyams_portal/interfaces/__init__.py:195
-msgid "This name must be unique in a given template"
-msgstr ""
-
-#: ./src/pyams_portal/interfaces/__init__.py:198
-msgid "Row ID"
-msgstr ""
-
-#: ./src/pyams_portal/interfaces/__init__.py:212
-msgid "Visible slot?"
-msgstr ""
-
-#: ./src/pyams_portal/interfaces/__init__.py:213
-msgid "Select 'no' to hide this slot..."
-msgstr ""
-
-#: ./src/pyams_portal/interfaces/__init__.py:217
-msgid "Extra small device width"
-msgstr ""
-
-#: ./src/pyams_portal/interfaces/__init__.py:218
-msgid ""
-"Slot width, in columns count, on extra small devices (phones...); set to 0 to"
-" hide the portlet"
-msgstr ""
-
-#: ./src/pyams_portal/interfaces/__init__.py:224
-msgid "Small device width"
-msgstr ""
-
-#: ./src/pyams_portal/interfaces/__init__.py:225
-msgid ""
-"Slot width, in columns count, on small devices (tablets...); set to 0 to hide"
-" the portlet"
-msgstr ""
-
-#: ./src/pyams_portal/interfaces/__init__.py:231
-msgid "Medium devices width"
-msgstr ""
-
-#: ./src/pyams_portal/interfaces/__init__.py:232
-msgid ""
-"Slot width, in columns count, on medium desktop devices (>= 992 pixels); set "
-"to 0 to hide the portlet"
-msgstr ""
-
-#: ./src/pyams_portal/interfaces/__init__.py:238
-msgid "Large devices width"
-msgstr ""
-
-#: ./src/pyams_portal/interfaces/__init__.py:239
-msgid ""
-"Slot width, in columns count, on large desktop devices (>= 1200 pixels); set "
-"to 0 to hide the portlet"
-msgstr ""
-
-#: ./src/pyams_portal/interfaces/__init__.py:245
-msgid "CSS class"
-msgstr ""
-
-#: ./src/pyams_portal/interfaces/__init__.py:246
-msgid "CSS class applied to this slot"
-msgstr ""
-
-#: ./src/pyams_portal/interfaces/__init__.py:359
-msgid "Template name"
-msgstr ""
-
-#: ./src/pyams_portal/interfaces/__init__.py:360
-msgid "Two registered templates can't share the same name..."
-msgstr ""
-
-#: ./src/pyams_portal/interfaces/__init__.py:381
-msgid "Toolbar portlets"
-msgstr ""
-
-#: ./src/pyams_portal/interfaces/__init__.py:382
-msgid ""
-"These portlets will be directly available in templates configuration page "
-"toolbar"
-msgstr ""
-
-#: ./src/pyams_portal/interfaces/__init__.py:411
-msgid "Inherit parent template?"
-msgstr ""
-
-#: ./src/pyams_portal/interfaces/__init__.py:412
-msgid "Should we reuse parent template?"
-msgstr ""
-
-#: ./src/pyams_portal/interfaces/__init__.py:416
-msgid "Override parent template?"
-msgstr ""
-
-#: ./src/pyams_portal/interfaces/__init__.py:417
-msgid "Should we override parent template?"
-msgstr ""
-
-#: ./src/pyams_portal/interfaces/__init__.py:421
-msgid "Use local template?"
-msgstr ""
-
-#: ./src/pyams_portal/interfaces/__init__.py:422
-msgid ""
-"If 'yes', you can define a custom local template instead of a shared template"
-msgstr ""
-
-#: ./src/pyams_portal/interfaces/__init__.py:427
-msgid "Local template"
-msgstr ""
-
-#: ./src/pyams_portal/interfaces/__init__.py:432
-msgid "Use shared template?"
-msgstr ""
-
-#: ./src/pyams_portal/interfaces/__init__.py:433
-msgid "If 'yes', you can select a shared template"
-msgstr ""
-
-#: ./src/pyams_portal/interfaces/__init__.py:437
-msgid "Page template"
-msgstr ""
-
-#: ./src/pyams_portal/interfaces/__init__.py:438
-msgid "Template used for this page"
-msgstr ""
-
-#: ./src/pyams_portal/skin/__init__.py:36
-msgid "Hidden portlet"
-msgstr ""
-
-#: ./src/pyams_portal/portlets/image/interfaces.py:30
-msgid "Selected image"
-msgstr ""
-
-#: ./src/pyams_portal/portlets/image/__init__.py:58
-msgid "Image"
-msgstr ""
-
-#: ./src/pyams_portal/portlets/image/skin/__init__.py:37
-msgid "Responsive image renderer"
-msgstr ""
-
-#: ./src/pyams_portal/portlets/html/interfaces.py:31
-msgid "Raw HTML code"
-msgstr ""
-
-#: ./src/pyams_portal/portlets/html/interfaces.py:32
-msgid ""
-"This HTML code will be used 'as is', without any transformation. Use with "
-"care!!"
-msgstr ""
-
-#: ./src/pyams_portal/portlets/html/interfaces.py:40
-msgid "Body"
-msgstr ""
-
-#: ./src/pyams_portal/portlets/html/__init__.py:51
-msgid "Raw HTML"
-msgstr ""
-
-#: ./src/pyams_portal/portlets/html/__init__.py:78
-msgid "Rich text"
-msgstr ""
-
-#: ./src/pyams_portal/portlets/html/skin/__init__.py:37
-msgid "Default code renderer"
-msgstr ""
-
-#: ./src/pyams_portal/portlets/html/skin/__init__.py:45
-msgid "Default text renderer"
-msgstr ""
-
-#: ./src/pyams_portal/zmi/container.py:64
-#: ./src/pyams_portal/zmi/container.py:93
-#: ./src/pyams_portal/zmi/template.py:135
-msgid "Portal templates"
-msgstr ""
-
-#: ./src/pyams_portal/zmi/container.py:102
-msgid "Shared portal templates"
-msgstr ""
-
-#: ./src/pyams_portal/zmi/container.py:139
-msgid "Delete template"
-msgstr ""
-
-#: ./src/pyams_portal/zmi/container.py:189
-msgid "Selected portlets..."
-msgstr ""
-
-#: ./src/pyams_portal/zmi/container.py:208
-msgid "Portal templates container"
-msgstr ""
-
-#: ./src/pyams_portal/zmi/container.py:209
-msgid "Edit selected portlets"
-msgstr ""
-
#: ./src/pyams_portal/zmi/portlet.py:59
msgid "Edit portlet settings"
msgstr ""
@@ -290,66 +60,6 @@
msgid "Override parent settings"
msgstr ""
-#: ./src/pyams_portal/zmi/layout.py:79
-msgid "Properties"
-msgstr ""
-
-#: ./src/pyams_portal/zmi/layout.py:170
-msgid "Add row..."
-msgstr ""
-
-#: ./src/pyams_portal/zmi/layout.py:212
-msgid "Add slot..."
-msgstr ""
-
-#: ./src/pyams_portal/zmi/layout.py:230
-msgid "Add slot"
-msgstr ""
-
-#: ./src/pyams_portal/zmi/layout.py:377
-msgid "Add portlet..."
-msgstr ""
-
-#: ./src/pyams_portal/zmi/layout.py:395
-msgid "Add portlet"
-msgstr ""
-
-#: ./src/pyams_portal/zmi/layout.py:69
-msgid "Template management"
-msgstr ""
-
-#: ./src/pyams_portal/zmi/layout.py:103
-msgid "Template configuration"
-msgstr ""
-
-#: ./src/pyams_portal/zmi/layout.py:98
-msgid "Local template configuration"
-msgstr ""
-
-#: ./src/pyams_portal/zmi/layout.py:139
-msgid "{{ missing portlet }}"
-msgstr ""
-
-#: ./src/pyams_portal/zmi/layout.py:264 ./src/pyams_portal/zmi/template.py:160
-msgid "Specified name is already used!"
-msgstr ""
-
-#: ./src/pyams_portal/zmi/layout.py:228 ./src/pyams_portal/zmi/layout.py:309
-#: ./src/pyams_portal/zmi/layout.py:393 ./src/pyams_portal/zmi/template.py:102
-#, python-format
-msgid "« {0} » portal template"
-msgstr ""
-
-#: ./src/pyams_portal/zmi/layout.py:314
-#, python-format
-msgid "Edit « {0} » slot properties"
-msgstr ""
-
-#: ./src/pyams_portal/zmi/layout.py:101
-#, python-format
-msgid "Shared template configuration ({0})"
-msgstr ""
-
#: ./src/pyams_portal/zmi/page.py:66
msgid "Presentation"
msgstr ""
@@ -380,11 +90,17 @@
msgid "You must choose to use a local template or select a shared one!"
msgstr ""
-#: ./src/pyams_portal/zmi/template.py:123
+#: ./src/pyams_portal/zmi/template.py:132
msgid "Add template"
msgstr ""
-#: ./src/pyams_portal/zmi/template.py:136
+#: ./src/pyams_portal/zmi/template.py:144
+#: ./src/pyams_portal/zmi/container.py:64
+#: ./src/pyams_portal/zmi/container.py:93
+msgid "Portal templates"
+msgstr ""
+
+#: ./src/pyams_portal/zmi/template.py:145
msgid "Add shared template"
msgstr ""
@@ -392,11 +108,98 @@
msgid "Presentation template"
msgstr ""
-#: ./src/pyams_portal/zmi/template.py:78
+#: ./src/pyams_portal/zmi/template.py:169 ./src/pyams_portal/zmi/layout.py:271
+msgid "Specified name is already used!"
+msgstr ""
+
+#: ./src/pyams_portal/zmi/template.py:111 ./src/pyams_portal/zmi/layout.py:235
+#: ./src/pyams_portal/zmi/layout.py:316 ./src/pyams_portal/zmi/layout.py:400
+#, python-format
+msgid "« {0} » portal template"
+msgstr ""
+
+#: ./src/pyams_portal/zmi/template.py:87
#, python-format
msgid "{0} (local template)"
msgstr ""
+#: ./src/pyams_portal/zmi/layout.py:79
+msgid "Properties"
+msgstr ""
+
+#: ./src/pyams_portal/zmi/layout.py:177
+msgid "Add row..."
+msgstr ""
+
+#: ./src/pyams_portal/zmi/layout.py:219
+msgid "Add slot..."
+msgstr ""
+
+#: ./src/pyams_portal/zmi/layout.py:237
+msgid "Add slot"
+msgstr ""
+
+#: ./src/pyams_portal/zmi/layout.py:384
+msgid "Add portlet..."
+msgstr ""
+
+#: ./src/pyams_portal/zmi/layout.py:402
+msgid "Add portlet"
+msgstr ""
+
+#: ./src/pyams_portal/zmi/layout.py:69
+msgid "Template management"
+msgstr ""
+
+#: ./src/pyams_portal/zmi/layout.py:103
+msgid "Template configuration"
+msgstr ""
+
+#: ./src/pyams_portal/zmi/layout.py:98
+msgid "Local template configuration"
+msgstr ""
+
+#: ./src/pyams_portal/zmi/layout.py:146
+msgid "{{ missing portlet }}"
+msgstr ""
+
+#: ./src/pyams_portal/zmi/layout.py:137
+#, python-format
+msgid ""
+"Add component: {0}<br />Drag and drop button to page template to position new"
+" row"
+msgstr ""
+
+#: ./src/pyams_portal/zmi/layout.py:321
+#, python-format
+msgid "Edit « {0} » slot properties"
+msgstr ""
+
+#: ./src/pyams_portal/zmi/layout.py:101
+#, python-format
+msgid "Shared template configuration ({0})"
+msgstr ""
+
+#: ./src/pyams_portal/zmi/container.py:102
+msgid "Shared portal templates"
+msgstr ""
+
+#: ./src/pyams_portal/zmi/container.py:139
+msgid "Delete template"
+msgstr ""
+
+#: ./src/pyams_portal/zmi/container.py:189
+msgid "Selected portlets..."
+msgstr ""
+
+#: ./src/pyams_portal/zmi/container.py:208
+msgid "Portal templates container"
+msgstr ""
+
+#: ./src/pyams_portal/zmi/container.py:209
+msgid "Edit selected portlets"
+msgstr ""
+
#: ./src/pyams_portal/zmi/templates/portlet.pt:137
msgid "Title"
msgstr ""
@@ -418,54 +221,258 @@
"Add slot<br />Drag and drop button to page template to position new slot"
msgstr ""
-#: ./src/pyams_portal/zmi/templates/layout.pt:49
+#: ./src/pyams_portal/zmi/templates/layout.pt:48
msgid "Add another portlet..."
msgstr ""
-#: ./src/pyams_portal/zmi/templates/layout.pt:56
+#: ./src/pyams_portal/zmi/templates/layout.pt:55
msgid "Selected display:"
msgstr ""
+#: ./src/pyams_portal/zmi/templates/layout.pt:60
+msgid "Current device"
+msgstr ""
+
#: ./src/pyams_portal/zmi/templates/layout.pt:61
-msgid "Current device"
+msgid "Extra small device (phone)"
msgstr ""
#: ./src/pyams_portal/zmi/templates/layout.pt:62
-msgid "Extra small device (phone)"
+msgid "Small device (tablet)"
msgstr ""
#: ./src/pyams_portal/zmi/templates/layout.pt:63
-msgid "Small device (tablet)"
-msgstr ""
-
-#: ./src/pyams_portal/zmi/templates/layout.pt:64
msgid "Medium desktop device (> 970px)"
msgstr ""
-#: ./src/pyams_portal/zmi/templates/layout.pt:65
+#: ./src/pyams_portal/zmi/templates/layout.pt:64
msgid "Large desktop device (> 1170px)"
msgstr ""
-#: ./src/pyams_portal/zmi/templates/layout.pt:115
+#: ./src/pyams_portal/zmi/templates/layout.pt:114
msgid "Override parent or template settings"
msgstr ""
-#: ./src/pyams_portal/zmi/templates/layout.pt:134
+#: ./src/pyams_portal/zmi/templates/layout.pt:133
msgid "Delete row..."
msgstr ""
-#: ./src/pyams_portal/zmi/templates/layout.pt:143
+#: ./src/pyams_portal/zmi/templates/layout.pt:142
msgid "Edit slot properties..."
msgstr ""
-#: ./src/pyams_portal/zmi/templates/layout.pt:150
+#: ./src/pyams_portal/zmi/templates/layout.pt:149
msgid "Delete slot..."
msgstr ""
-#: ./src/pyams_portal/zmi/templates/layout.pt:158
+#: ./src/pyams_portal/zmi/templates/layout.pt:157
msgid "Edit portlet properties..."
msgstr ""
-#: ./src/pyams_portal/zmi/templates/layout.pt:166
+#: ./src/pyams_portal/zmi/templates/layout.pt:165
msgid "Delete portlet..."
msgstr ""
+
+#: ./src/pyams_portal/portlets/image/__init__.py:58
+msgid "Image"
+msgstr ""
+
+#: ./src/pyams_portal/portlets/image/interfaces.py:30
+msgid "Selected image"
+msgstr ""
+
+#: ./src/pyams_portal/portlets/image/skin/__init__.py:37
+msgid "Responsive image renderer"
+msgstr ""
+
+#: ./src/pyams_portal/portlets/html/__init__.py:51
+msgid "Raw HTML"
+msgstr ""
+
+#: ./src/pyams_portal/portlets/html/__init__.py:78
+msgid "Rich text"
+msgstr ""
+
+#: ./src/pyams_portal/portlets/html/interfaces.py:31
+msgid "Raw HTML code"
+msgstr ""
+
+#: ./src/pyams_portal/portlets/html/interfaces.py:32
+msgid ""
+"This HTML code will be used 'as is', without any transformation. Use with "
+"care!!"
+msgstr ""
+
+#: ./src/pyams_portal/portlets/html/interfaces.py:40
+msgid "Body"
+msgstr ""
+
+#: ./src/pyams_portal/portlets/html/skin/__init__.py:37
+msgid "Default code renderer"
+msgstr ""
+
+#: ./src/pyams_portal/portlets/html/skin/__init__.py:45
+msgid "Default text renderer"
+msgstr ""
+
+#: ./src/pyams_portal/skin/__init__.py:36
+msgid "Hidden portlet"
+msgstr ""
+
+#: ./src/pyams_portal/interfaces/__init__.py:65
+msgid "Portlet"
+msgstr ""
+
+#: ./src/pyams_portal/interfaces/__init__.py:68
+#: ./src/pyams_portal/interfaces/__init__.py:195
+msgid "Slot name"
+msgstr ""
+
+#: ./src/pyams_portal/interfaces/__init__.py:69
+msgid "Slot name to which this configuration applies"
+msgstr ""
+
+#: ./src/pyams_portal/interfaces/__init__.py:82
+msgid "Portlet renderer"
+msgstr ""
+
+#: ./src/pyams_portal/interfaces/__init__.py:83
+msgid "Name of renderer used to render this portlet"
+msgstr ""
+
+#: ./src/pyams_portal/interfaces/__init__.py:113
+msgid "Inherit parent configuration?"
+msgstr ""
+
+#: ./src/pyams_portal/interfaces/__init__.py:114
+msgid ""
+"This option is only available if context's parent is using the same "
+"template..."
+msgstr ""
+
+#: ./src/pyams_portal/interfaces/__init__.py:196
+msgid "This name must be unique in a given template"
+msgstr ""
+
+#: ./src/pyams_portal/interfaces/__init__.py:199
+msgid "Row ID"
+msgstr ""
+
+#: ./src/pyams_portal/interfaces/__init__.py:213
+msgid "Visible slot?"
+msgstr ""
+
+#: ./src/pyams_portal/interfaces/__init__.py:214
+msgid "Select 'no' to hide this slot..."
+msgstr ""
+
+#: ./src/pyams_portal/interfaces/__init__.py:218
+msgid "Extra small device width"
+msgstr ""
+
+#: ./src/pyams_portal/interfaces/__init__.py:219
+msgid ""
+"Slot width, in columns count, on extra small devices (phones...); set to 0 to"
+" hide the portlet"
+msgstr ""
+
+#: ./src/pyams_portal/interfaces/__init__.py:225
+msgid "Small device width"
+msgstr ""
+
+#: ./src/pyams_portal/interfaces/__init__.py:226
+msgid ""
+"Slot width, in columns count, on small devices (tablets...); set to 0 to hide"
+" the portlet"
+msgstr ""
+
+#: ./src/pyams_portal/interfaces/__init__.py:232
+msgid "Medium devices width"
+msgstr ""
+
+#: ./src/pyams_portal/interfaces/__init__.py:233
+msgid ""
+"Slot width, in columns count, on medium desktop devices (>= 992 pixels); set "
+"to 0 to hide the portlet"
+msgstr ""
+
+#: ./src/pyams_portal/interfaces/__init__.py:239
+msgid "Large devices width"
+msgstr ""
+
+#: ./src/pyams_portal/interfaces/__init__.py:240
+msgid ""
+"Slot width, in columns count, on large desktop devices (>= 1200 pixels); set "
+"to 0 to hide the portlet"
+msgstr ""
+
+#: ./src/pyams_portal/interfaces/__init__.py:246
+msgid "CSS class"
+msgstr ""
+
+#: ./src/pyams_portal/interfaces/__init__.py:247
+msgid "CSS class applied to this slot"
+msgstr ""
+
+#: ./src/pyams_portal/interfaces/__init__.py:360
+msgid "Template name"
+msgstr ""
+
+#: ./src/pyams_portal/interfaces/__init__.py:361
+msgid "Two registered templates can't share the same name..."
+msgstr ""
+
+#: ./src/pyams_portal/interfaces/__init__.py:382
+msgid "Toolbar portlets"
+msgstr ""
+
+#: ./src/pyams_portal/interfaces/__init__.py:383
+msgid ""
+"These portlets will be directly available in templates configuration page "
+"toolbar"
+msgstr ""
+
+#: ./src/pyams_portal/interfaces/__init__.py:412
+msgid "Inherit parent template?"
+msgstr ""
+
+#: ./src/pyams_portal/interfaces/__init__.py:413
+msgid "Should we reuse parent template?"
+msgstr ""
+
+#: ./src/pyams_portal/interfaces/__init__.py:417
+msgid "Override parent template?"
+msgstr ""
+
+#: ./src/pyams_portal/interfaces/__init__.py:418
+msgid "Should we override parent template?"
+msgstr ""
+
+#: ./src/pyams_portal/interfaces/__init__.py:422
+msgid "Use local template?"
+msgstr ""
+
+#: ./src/pyams_portal/interfaces/__init__.py:423
+msgid ""
+"If 'yes', you can define a custom local template instead of a shared template"
+msgstr ""
+
+#: ./src/pyams_portal/interfaces/__init__.py:428
+msgid "Local template"
+msgstr ""
+
+#: ./src/pyams_portal/interfaces/__init__.py:433
+msgid "Use shared template?"
+msgstr ""
+
+#: ./src/pyams_portal/interfaces/__init__.py:434
+msgid "If 'yes', you can select a shared template"
+msgstr ""
+
+#: ./src/pyams_portal/interfaces/__init__.py:438
+msgid "Page template"
+msgstr ""
+
+#: ./src/pyams_portal/interfaces/__init__.py:439
+msgid "Template used for this page"
+msgstr ""
--- a/src/pyams_portal/zmi/layout.py Mon Jun 25 09:42:24 2018 +0200
+++ b/src/pyams_portal/zmi/layout.py Tue Jun 26 08:47:39 2018 +0200
@@ -124,13 +124,20 @@
def selected_portlets(self):
container = query_utility(IPortalTemplateContainer)
configuration = IPortalTemplateContainerConfiguration(container)
+ utility = self.request.registry.queryUtility
return filter(lambda x: x is not None,
- [query_utility(IPortlet, name=portlet_name)
+ [utility(IPortlet, name=portlet_name)
for portlet_name in configuration.toolbar_portlets or ()])
def get_portlet(self, name):
return self.request.registry.queryUtility(IPortlet, name=name)
+ def get_portlet_add_label(self, portlet):
+ translate = self.request.localizer.translate
+ return translate(_("Add component: {0}<br />"
+ "Drag and drop button to page template to position new row")).format(
+ translate(portlet.label).lower())
+
def get_portlet_label(self, name):
portlet = self.get_portlet(name)
if portlet is not None:
--- a/src/pyams_portal/zmi/templates/layout.pt Mon Jun 25 09:42:24 2018 +0200
+++ b/src/pyams_portal/zmi/templates/layout.pt Tue Jun 26 08:47:39 2018 +0200
@@ -33,10 +33,9 @@
</div>
<div class="btn-group" role="group">
<div tal:repeat="portlet view.selected_portlets"
- class="btn btn-default btn-portlet hint"
- data-ams-hint-gravity="n"
+ class="btn btn-default btn-portlet hint" data-ams-hint-gravity="n" data-ams-hint-html="true"
tal:attributes="data-ams-portlet-name portlet.name;
- title portlet.label;">
+ title view.get_portlet_add_label(portlet);">
<img tal:condition="portlet.toolbar_image"
tal:attributes="src portlet.toolbar_image" />
<i tal:condition="portlet.toolbar_css_class"