# HG changeset patch # User Thierry Florac # Date 1592840064 -7200 # Node ID 7383e6ce54115b8753bfddd0166d8dfb152d5da9 # Parent cdf63a1c7dc97114cd4fc670bb620836eaeb394b Added options to "Header" and "Title" portlets to display publication date diff -r cdf63a1c7dc9 -r 7383e6ce5411 src/pyams_content/locales/fr/LC_MESSAGES/pyams_content.mo Binary file src/pyams_content/locales/fr/LC_MESSAGES/pyams_content.mo has changed diff -r cdf63a1c7dc9 -r 7383e6ce5411 src/pyams_content/locales/fr/LC_MESSAGES/pyams_content.po --- a/src/pyams_content/locales/fr/LC_MESSAGES/pyams_content.po Tue Nov 19 16:39:10 2019 +0100 +++ b/src/pyams_content/locales/fr/LC_MESSAGES/pyams_content.po Mon Jun 22 17:34:24 2020 +0200 @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE 1.0\n" -"POT-Creation-Date: 2019-10-18 15:13+0200\n" +"POT-Creation-Date: 2020-06-19 18:01+0200\n" "PO-Revision-Date: 2015-09-10 10:42+0200\n" "Last-Translator: Thierry Florac \n" "Language-Team: French\n" @@ -239,7 +239,7 @@ #: src/pyams_content/features/alert/interfaces.py:54 #: src/pyams_content/features/menu/interfaces.py:62 #: src/pyams_content/shared/form/interfaces.py:148 -#: src/pyams_content/shared/site/interfaces.py:179 +#: src/pyams_content/shared/site/interfaces.py:186 msgid "Visible?" msgstr "Visible ?" @@ -410,7 +410,7 @@ #: src/pyams_content/component/paragraph/interfaces/audio.py:46 #: src/pyams_content/component/extfile/interfaces.py:40 #: src/pyams_content/component/illustration/interfaces.py:54 -#: src/pyams_content/shared/resource/interfaces.py:65 +#: src/pyams_content/shared/resource/interfaces.py:67 msgid "Author" msgstr "Auteur" @@ -957,13 +957,13 @@ #: src/pyams_content/component/links/interfaces.py:98 #: src/pyams_content/features/redirect/interfaces.py:68 -#: src/pyams_content/shared/site/interfaces.py:192 +#: src/pyams_content/shared/site/interfaces.py:199 #: src/pyams_content/shared/logo/interfaces.py:50 msgid "Target URL" msgstr "URL cible" #: src/pyams_content/component/links/interfaces.py:99 -#: src/pyams_content/shared/site/interfaces.py:193 +#: src/pyams_content/shared/site/interfaces.py:200 #: src/pyams_content/shared/logo/interfaces.py:51 msgid "URL used to access external resource" msgstr "" @@ -1078,7 +1078,7 @@ #: src/pyams_content/component/paragraph/interfaces/header.py:33 #: src/pyams_content/component/paragraph/interfaces/header.py:40 #: src/pyams_content/shared/common/interfaces/__init__.py:160 -#: src/pyams_content/shared/site/interfaces.py:81 +#: src/pyams_content/shared/site/interfaces.py:83 msgid "Header" msgstr "Chapô" @@ -1377,8 +1377,8 @@ msgstr "Liste des types de blocs de contenu autorisés pour ce gabarit." #: src/pyams_content/component/paragraph/interfaces/__init__.py:101 -#: src/pyams_content/shared/common/zmi/types/manager.py:148 -#: src/pyams_content/shared/common/zmi/types/__init__.py:241 +#: src/pyams_content/shared/common/zmi/types/manager.py:139 +#: src/pyams_content/shared/common/zmi/types/__init__.py:242 msgid "Default paragraphs" msgstr "Types de blocs par défaut" @@ -3266,25 +3266,25 @@ "la plus en arrière dans le temps des deux)" #: src/pyams_content/features/search/interfaces.py:81 -#: src/pyams_content/shared/site/interfaces.py:95 +#: src/pyams_content/shared/site/interfaces.py:97 msgid "Visible in folders list" msgstr "Visible dans la liste des rubriques ?" #: src/pyams_content/features/search/interfaces.py:82 -#: src/pyams_content/shared/site/interfaces.py:96 +#: src/pyams_content/shared/site/interfaces.py:98 msgid "If 'no', folder will not be displayed into folders list" msgstr "" "Si 'non', cette rubrique ne sera pas affichée dans la liste des rubriques " "affichée par un composant de navigation" #: src/pyams_content/features/search/interfaces.py:86 -#: src/pyams_content/shared/site/interfaces.py:100 -#: src/pyams_content/shared/site/interfaces.py:164 +#: src/pyams_content/shared/site/interfaces.py:102 +#: src/pyams_content/shared/site/interfaces.py:171 msgid "Navigation title" msgstr "Titre de navigation" #: src/pyams_content/features/search/interfaces.py:87 -#: src/pyams_content/shared/site/interfaces.py:101 +#: src/pyams_content/shared/site/interfaces.py:103 msgid "" "Folder's title displayed in navigation pages; original title will be used if " "none is specified" @@ -3461,19 +3461,19 @@ msgid "Don't inherit parent header" msgstr "Ne pas hériter de l'en-tête de pages du parent" -#: src/pyams_content/zmi/viewlet/toplinks/__init__.py:43 +#: src/pyams_content/zmi/viewlet/toplinks/__init__.py:45 msgid "Shared sites" msgstr "Sites et blogs" -#: src/pyams_content/zmi/viewlet/toplinks/__init__.py:64 +#: src/pyams_content/zmi/viewlet/toplinks/__init__.py:69 msgid "Shared contents" msgstr "Gabarits" -#: src/pyams_content/zmi/viewlet/toplinks/__init__.py:87 +#: src/pyams_content/zmi/viewlet/toplinks/__init__.py:95 msgid "Shared tools" msgstr "Outils" -#: src/pyams_content/zmi/viewlet/toplinks/__init__.py:110 +#: src/pyams_content/zmi/viewlet/toplinks/__init__.py:121 msgid "My roles" msgstr "Mes rôles" @@ -3529,8 +3529,8 @@ "groupe" #: src/pyams_content/root/zmi/sites.py:63 -#: src/pyams_content/shared/site/zmi/container.py:224 -#: src/pyams_content/shared/site/zmi/container.py:234 +#: src/pyams_content/shared/site/zmi/container.py:225 +#: src/pyams_content/shared/site/zmi/container.py:235 msgid "Site tree" msgstr "Arborescence" @@ -3775,7 +3775,7 @@ msgstr "Derniers contenus modifiés" #: src/pyams_content/root/zmi/__init__.py:825 -#: src/pyams_content/shared/site/zmi/container.py:455 +#: src/pyams_content/shared/site/zmi/container.py:461 msgid "Content" msgstr "Contenu" @@ -3914,120 +3914,120 @@ msgid "Maximum age" msgstr "Âge maximum" -#: src/pyams_content/shared/resource/interfaces.py:30 +#: src/pyams_content/shared/resource/interfaces.py:32 msgid "Resource" msgstr "Ressource" -#: src/pyams_content/shared/resource/interfaces.py:59 +#: src/pyams_content/shared/resource/interfaces.py:61 msgid "Original country" msgstr "Pays d'origine" -#: src/pyams_content/shared/resource/interfaces.py:62 +#: src/pyams_content/shared/resource/interfaces.py:64 msgid "Original title" msgstr "Titre original" -#: src/pyams_content/shared/resource/interfaces.py:68 +#: src/pyams_content/shared/resource/interfaces.py:70 msgid "Translator" msgstr "Traducteur" -#: src/pyams_content/shared/resource/interfaces.py:71 +#: src/pyams_content/shared/resource/interfaces.py:73 msgid "Illustrator" msgstr "Illustrateur" -#: src/pyams_content/shared/resource/interfaces.py:74 +#: src/pyams_content/shared/resource/interfaces.py:76 msgid "Drawer" msgstr "Dessinateur" -#: src/pyams_content/shared/resource/interfaces.py:77 +#: src/pyams_content/shared/resource/interfaces.py:79 msgid "Colourist" msgstr "Coloriste" -#: src/pyams_content/shared/resource/interfaces.py:80 +#: src/pyams_content/shared/resource/interfaces.py:82 msgid "Lettering" msgstr "Lettrage" -#: src/pyams_content/shared/resource/interfaces.py:83 +#: src/pyams_content/shared/resource/interfaces.py:85 msgid "Producer" msgstr "Producteur" -#: src/pyams_content/shared/resource/interfaces.py:86 +#: src/pyams_content/shared/resource/interfaces.py:88 msgid "Director" msgstr "Réalisateur" -#: src/pyams_content/shared/resource/interfaces.py:89 +#: src/pyams_content/shared/resource/interfaces.py:91 msgid "Actors" msgstr "Acteurs" -#: src/pyams_content/shared/resource/interfaces.py:92 +#: src/pyams_content/shared/resource/interfaces.py:94 msgid "Editor" msgstr "Éditeur" -#: src/pyams_content/shared/resource/interfaces.py:95 +#: src/pyams_content/shared/resource/interfaces.py:97 msgid "Collection" msgstr "Collection" -#: src/pyams_content/shared/resource/interfaces.py:98 +#: src/pyams_content/shared/resource/interfaces.py:100 msgid "Series" msgstr "Série" -#: src/pyams_content/shared/resource/interfaces.py:101 +#: src/pyams_content/shared/resource/interfaces.py:103 msgid "Volume" msgstr "Volume" -#: src/pyams_content/shared/resource/interfaces.py:104 +#: src/pyams_content/shared/resource/interfaces.py:106 msgid "Format" msgstr "Format" -#: src/pyams_content/shared/resource/interfaces.py:107 +#: src/pyams_content/shared/resource/interfaces.py:109 msgid "Nb pages" msgstr "Nombre de pages" -#: src/pyams_content/shared/resource/interfaces.py:111 +#: src/pyams_content/shared/resource/interfaces.py:113 msgid "Duration" msgstr "Durée" -#: src/pyams_content/shared/resource/interfaces.py:114 +#: src/pyams_content/shared/resource/interfaces.py:116 msgid "Age range" msgstr "Tranche d'âge" -#: src/pyams_content/shared/resource/interfaces.py:117 +#: src/pyams_content/shared/resource/interfaces.py:119 msgid "Release year" msgstr "Année de parution" -#: src/pyams_content/shared/resource/interfaces.py:121 +#: src/pyams_content/shared/resource/interfaces.py:123 msgid "Awards" msgstr "Récompenses" -#: src/pyams_content/shared/resource/interfaces.py:124 +#: src/pyams_content/shared/resource/interfaces.py:126 msgid "Editor reference" msgstr "Référence chez l'éditeur" -#: src/pyams_content/shared/resource/interfaces.py:127 +#: src/pyams_content/shared/resource/interfaces.py:129 msgid "ISBN number" msgstr "Numéro ISBN" -#: src/pyams_content/shared/resource/interfaces.py:130 +#: src/pyams_content/shared/resource/interfaces.py:132 msgid "Price" msgstr "Prix" -#: src/pyams_content/shared/resource/interfaces.py:134 +#: src/pyams_content/shared/resource/interfaces.py:136 msgid "Source URI" msgstr "URI source" -#: src/pyams_content/shared/resource/interfaces.py:135 +#: src/pyams_content/shared/resource/interfaces.py:137 msgid "External URL used to get more information about resource" msgstr "" "URI externe utilisée pour accéder à plus d'informations sur la ressource" -#: src/pyams_content/shared/resource/interfaces.py:138 +#: src/pyams_content/shared/resource/interfaces.py:140 msgid "Summary" msgstr "Sommaire" -#: src/pyams_content/shared/resource/interfaces.py:141 +#: src/pyams_content/shared/resource/interfaces.py:143 msgid "Synopsis" msgstr "Synopsis" -#: src/pyams_content/shared/resource/interfaces.py:144 +#: src/pyams_content/shared/resource/interfaces.py:146 msgid "Publisher's words" msgstr "Le mot du site" @@ -5017,8 +5017,8 @@ #: src/pyams_content/shared/blog/interfaces.py:67 #: src/pyams_content/shared/common/interfaces/__init__.py:167 -#: src/pyams_content/shared/site/interfaces.py:85 -#: src/pyams_content/shared/site/interfaces.py:130 +#: src/pyams_content/shared/site/interfaces.py:87 +#: src/pyams_content/shared/site/interfaces.py:132 msgid "Meta-description" msgstr "Méta-description" @@ -5035,16 +5035,16 @@ #: src/pyams_content/shared/blog/interfaces.py:73 #: src/pyams_content/shared/common/interfaces/__init__.py:182 -#: src/pyams_content/shared/site/interfaces.py:91 -#: src/pyams_content/shared/site/interfaces.py:136 +#: src/pyams_content/shared/site/interfaces.py:93 +#: src/pyams_content/shared/site/interfaces.py:138 #: src/pyams_content/shared/site/zmi/folder.py:74 msgid "Notepad" msgstr "Bloc-notes" #: src/pyams_content/shared/blog/interfaces.py:74 #: src/pyams_content/shared/common/interfaces/__init__.py:183 -#: src/pyams_content/shared/site/interfaces.py:92 -#: src/pyams_content/shared/site/interfaces.py:137 +#: src/pyams_content/shared/site/interfaces.py:94 +#: src/pyams_content/shared/site/interfaces.py:139 #: src/pyams_content/shared/site/zmi/folder.py:75 msgid "Internal information to be known about this content" msgstr "" @@ -5070,13 +5070,13 @@ #: src/pyams_content/shared/blog/zmi/manager.py:163 #: src/pyams_content/shared/blog/zmi/manager.py:175 -#: src/pyams_content/shared/site/zmi/container.py:152 -#: src/pyams_content/shared/site/zmi/container.py:164 +#: src/pyams_content/shared/site/zmi/container.py:153 +#: src/pyams_content/shared/site/zmi/container.py:165 msgid "Publication dates..." msgstr "Dates de publication" #: src/pyams_content/shared/blog/zmi/manager.py:189 -#: src/pyams_content/shared/site/zmi/container.py:178 +#: src/pyams_content/shared/site/zmi/container.py:179 msgid "Update publication dates" msgstr "Dates de publication" @@ -5184,12 +5184,14 @@ #: src/pyams_content/shared/common/interfaces/types.py:120 #: src/pyams_content/shared/common/zmi/search.py:178 -#: src/pyams_content/shared/topic/interfaces.py:41 +#: src/pyams_content/shared/site/interfaces.py:154 +#: src/pyams_content/shared/topic/interfaces.py:42 msgid "Data type" msgstr "Type du contenu" #: src/pyams_content/shared/common/interfaces/types.py:121 -#: src/pyams_content/shared/topic/interfaces.py:42 +#: src/pyams_content/shared/site/interfaces.py:155 +#: src/pyams_content/shared/topic/interfaces.py:43 msgid "Type of content data" msgstr "Type du contenu associé à ce gabarit" @@ -5412,39 +5414,64 @@ msgid "Presentation template used for content specificities" msgstr "Modèle de présentation utilisé pour afficher les spécificités" -#: src/pyams_content/shared/common/portlet/title.py:36 +#: src/pyams_content/shared/common/portlet/title.py:43 msgid "Content title" msgstr "Titre du gabarit" -#: src/pyams_content/shared/common/portlet/head.py:44 +#: src/pyams_content/shared/common/portlet/head.py:50 msgid "Content header" msgstr "En-tête de gabarit" -#: src/pyams_content/shared/common/portlet/specificities.py:39 +#: src/pyams_content/shared/common/portlet/specificities.py:40 msgid "Content specificities portlet" msgstr "Spécificités du gabarit" -#: src/pyams_content/shared/common/portlet/interfaces.py:24 +#: src/pyams_content/shared/common/portlet/interfaces.py:25 msgid "Display breadcrumbs?" msgstr "Afficher le fil d'Ariane ?" -#: src/pyams_content/shared/common/portlet/interfaces.py:28 +#: src/pyams_content/shared/common/portlet/interfaces.py:29 msgid "Display title?" msgstr "Afficher le titre ?" -#: src/pyams_content/shared/common/portlet/interfaces.py:32 +#: src/pyams_content/shared/common/portlet/interfaces.py:33 msgid "Display tags?" msgstr "Afficher les tags ?" -#: src/pyams_content/shared/common/portlet/interfaces.py:36 +#: src/pyams_content/shared/common/portlet/interfaces.py:37 msgid "Display header?" msgstr "Afficher le chapô ?" -#: src/pyams_content/shared/common/portlet/interfaces.py:40 +#: src/pyams_content/shared/common/portlet/interfaces.py:41 +#: src/pyams_content/shared/common/portlet/interfaces.py:64 +msgid "Display publication date?" +msgstr "Afficher la date de publication?" + +#: src/pyams_content/shared/common/portlet/interfaces.py:42 +#: src/pyams_content/shared/common/portlet/interfaces.py:65 +msgid "" +"If 'yes', content publication date will be displayed; the selected " +"publication date is those which is selected while publishing the content" +msgstr "" +"Si 'oui', la date de publication du contenu sera affichée; la date " +"affichée est celle qui a été sélectionnée au moment de la publication" + +#: src/pyams_content/shared/common/portlet/interfaces.py:49 +#: src/pyams_content/shared/common/portlet/interfaces.py:72 +msgid "Publication date prefix" +msgstr "Préfixe de la date de publication" + +#: src/pyams_content/shared/common/portlet/interfaces.py:50 +#: src/pyams_content/shared/common/portlet/interfaces.py:73 +msgid "This text will be displayed before publication date" +msgstr "" +"Ce texte sera affiché avant la date de publication" + +#: src/pyams_content/shared/common/portlet/interfaces.py:54 msgid "Display specificities?" msgstr "Afficher les spécificités ?" -#: src/pyams_content/shared/common/portlet/interfaces.py:41 +#: src/pyams_content/shared/common/portlet/interfaces.py:55 msgid "If 'no', specific content's informations won't be displayed..." msgstr "" "Si 'non', les informations spécifiques que le gabarit est susceptible " @@ -5467,6 +5494,11 @@ msgstr "Afficher le chapô" #: src/pyams_content/shared/common/portlet/zmi/templates/head-preview.pt:20 +#: src/pyams_content/shared/common/portlet/zmi/templates/title-preview.pt:4 +msgid "Display publication date" +msgstr "Afficher la date de publication" + +#: src/pyams_content/shared/common/portlet/zmi/templates/head-preview.pt:24 msgid "Display specificities" msgstr "Afficher les spécificités" @@ -5611,7 +5643,7 @@ msgstr "En date du" #: src/pyams_content/shared/common/zmi/dashboard.py:211 -#: src/pyams_content/shared/common/zmi/summary.py:167 +#: src/pyams_content/shared/common/zmi/summary.py:165 msgid "Version" msgstr "Version" @@ -5943,32 +5975,32 @@ msgid "Identity card" msgstr "Carte d'identité" -#: src/pyams_content/shared/common/zmi/summary.py:89 +#: src/pyams_content/shared/common/zmi/summary.py:87 msgid "Requested action" msgstr "Évolution demandée" -#: src/pyams_content/shared/common/zmi/summary.py:130 +#: src/pyams_content/shared/common/zmi/summary.py:128 msgid "Publication and retire dates" msgstr "Dates de publication et de retrait planifiées" -#: src/pyams_content/shared/common/zmi/summary.py:149 +#: src/pyams_content/shared/common/zmi/summary.py:147 msgid "Current version" msgstr "À propos de cette version" -#: src/pyams_content/shared/common/zmi/summary.py:185 +#: src/pyams_content/shared/common/zmi/summary.py:183 msgid "Content history" msgstr "Pour mémoire" -#: src/pyams_content/shared/common/zmi/summary.py:120 +#: src/pyams_content/shared/common/zmi/summary.py:118 msgid "Associated comment" msgstr "Commentaire associé" -#: src/pyams_content/shared/common/zmi/summary.py:110 +#: src/pyams_content/shared/common/zmi/summary.py:108 #, python-format msgid "{state} {date} by {principal}" msgstr "{state} {date} par {principal}" -#: src/pyams_content/shared/common/zmi/summary.py:173 +#: src/pyams_content/shared/common/zmi/summary.py:171 #, python-format msgid "{state} since {date}, by {principal}" msgstr "{state} depuis {date} par {principal}" @@ -6062,20 +6094,20 @@ msgid "Data types" msgstr "Types de contenus" -#: src/pyams_content/shared/common/zmi/types/manager.py:124 +#: src/pyams_content/shared/common/zmi/types/manager.py:115 msgid "Data type label" msgstr "Libellé du type" -#: src/pyams_content/shared/common/zmi/types/manager.py:164 -#: src/pyams_content/shared/common/zmi/types/__init__.py:257 +#: src/pyams_content/shared/common/zmi/types/manager.py:155 +#: src/pyams_content/shared/common/zmi/types/__init__.py:258 msgid "Default associations" msgstr "Liens et pièces jointes par défaut" -#: src/pyams_content/shared/common/zmi/types/manager.py:180 +#: src/pyams_content/shared/common/zmi/types/manager.py:171 msgid "Default themes" msgstr "Thèmes par défaut" -#: src/pyams_content/shared/common/zmi/types/manager.py:208 +#: src/pyams_content/shared/common/zmi/types/manager.py:199 msgid "Content data types" msgstr "Types de contenus" @@ -6083,55 +6115,55 @@ msgid "No currently defined data type." msgstr "Aucun type de contenu n'est actuellement défini." -#: src/pyams_content/shared/common/zmi/types/manager.py:136 +#: src/pyams_content/shared/common/zmi/types/manager.py:127 msgid "Click to see subtypes" msgstr "Montrer ou caher les sous-types" -#: src/pyams_content/shared/common/zmi/types/__init__.py:79 +#: src/pyams_content/shared/common/zmi/types/__init__.py:80 msgid "Add data type" msgstr "Ajouter un type" -#: src/pyams_content/shared/common/zmi/types/__init__.py:92 +#: src/pyams_content/shared/common/zmi/types/__init__.py:93 msgid "Add new data type" msgstr "Ajout d'un type de contenu" -#: src/pyams_content/shared/common/zmi/types/__init__.py:136 +#: src/pyams_content/shared/common/zmi/types/__init__.py:137 msgid "Data type properties" msgstr "Propriétés du type de contenu" -#: src/pyams_content/shared/common/zmi/types/__init__.py:219 +#: src/pyams_content/shared/common/zmi/types/__init__.py:220 msgid "Subtype label" msgstr "Libellé du sous-type" -#: src/pyams_content/shared/common/zmi/types/__init__.py:302 +#: src/pyams_content/shared/common/zmi/types/__init__.py:303 msgid "Add subtype" msgstr "Ajouter un sous-type" -#: src/pyams_content/shared/common/zmi/types/__init__.py:314 +#: src/pyams_content/shared/common/zmi/types/__init__.py:315 msgid "Add new subtype" msgstr "Ajout d'un sous-type de contenu" -#: src/pyams_content/shared/common/zmi/types/__init__.py:362 +#: src/pyams_content/shared/common/zmi/types/__init__.py:363 msgid "Data subtype properties" msgstr "Propriétés du fichier standard" -#: src/pyams_content/shared/common/zmi/types/__init__.py:404 +#: src/pyams_content/shared/common/zmi/types/__init__.py:407 msgid "Select content type..." msgstr "Sélectionnez un type de contenu..." -#: src/pyams_content/shared/common/zmi/types/__init__.py:125 +#: src/pyams_content/shared/common/zmi/types/__init__.py:126 msgid "Specified type name is already used!" msgstr "Le nom indiqué pour ce type de contenu est déjà utilisé !" -#: src/pyams_content/shared/common/zmi/types/__init__.py:337 +#: src/pyams_content/shared/common/zmi/types/__init__.py:338 msgid "Subtype was correctly added." msgstr "Le sous-type a été ajouté." -#: src/pyams_content/shared/common/zmi/types/__init__.py:351 +#: src/pyams_content/shared/common/zmi/types/__init__.py:352 msgid "Specified subtype name is already used!" msgstr "Le nom indiqué pour ce sous-type de contenu est déjà utilisé !" -#: src/pyams_content/shared/common/zmi/types/__init__.py:433 +#: src/pyams_content/shared/common/zmi/types/__init__.py:436 #, python-format msgid "Custom properties for type « {0} »" msgstr "Propriétés spécifiques au type « {0} »" @@ -6383,7 +6415,7 @@ msgid "News topic « {title} »" msgstr "Actualité « {title} »" -#: src/pyams_content/shared/site/manager.py:65 +#: src/pyams_content/shared/site/manager.py:68 #: src/pyams_content/shared/site/zmi/manager.py:121 msgid "Site manager" msgstr "Site" @@ -6400,25 +6432,25 @@ msgid "External content link" msgstr "Lien externe" -#: src/pyams_content/shared/site/interfaces.py:146 +#: src/pyams_content/shared/site/interfaces.py:148 msgid "Site topic" msgstr "Article (dans un site)" -#: src/pyams_content/shared/site/interfaces.py:38 +#: src/pyams_content/shared/site/interfaces.py:40 msgid "Redirect to first visible sub-folder or content" msgstr "Re-diriger vers le premier contenu publié" -#: src/pyams_content/shared/site/interfaces.py:39 +#: src/pyams_content/shared/site/interfaces.py:41 msgid "Use presentation template" msgstr "Afficher le modèle de présentation de la rubrique" -#: src/pyams_content/shared/site/interfaces.py:82 +#: src/pyams_content/shared/site/interfaces.py:84 msgid "Heading displayed according to presentation template" msgstr "" "Ce chapô pourra être affiché ou non en fonction du modèle de présentation " "retenu" -#: src/pyams_content/shared/site/interfaces.py:86 +#: src/pyams_content/shared/site/interfaces.py:88 msgid "" "The folder's description is 'hidden' into HTML's page headers; but it can be " "seen, for example, in some search engines results as content's description; " @@ -6429,15 +6461,15 @@ "des moteurs de recherche ; si la description n'est pas renseignée, le chapô " "(s'il existe pour ce contenu) sera utilisé." -#: src/pyams_content/shared/site/interfaces.py:105 +#: src/pyams_content/shared/site/interfaces.py:107 msgid "Navigation mode" msgstr "Mode de navigation" -#: src/pyams_content/shared/site/interfaces.py:106 +#: src/pyams_content/shared/site/interfaces.py:108 msgid "Folder behaviour when navigating to folder URL" msgstr "Comportement à adopter lorsqu'un internaute accède à cette rubrique" -#: src/pyams_content/shared/site/interfaces.py:131 +#: src/pyams_content/shared/site/interfaces.py:133 msgid "" "The site's description is 'hidden' into HTML's page headers; but it can be " "seen, for example, in some search engines results as content's description; " @@ -6448,7 +6480,7 @@ "moteurs de recherche ; si la description n'est pas renseignée, le chapô " "(s'il existe pour ce contenu) sera utilisé." -#: src/pyams_content/shared/site/interfaces.py:165 +#: src/pyams_content/shared/site/interfaces.py:172 msgid "" "Alternate content's title displayed in navigation pages; original title will " "be used if none is specified" @@ -6457,19 +6489,19 @@ "(notamment dans les pages carrefour) ; si rien n'est indiqué, le titre " "original du contenu référencé sera utilisé" -#: src/pyams_content/shared/site/interfaces.py:169 +#: src/pyams_content/shared/site/interfaces.py:176 msgid "Show header?" msgstr "Afficher le chapô ?" -#: src/pyams_content/shared/site/interfaces.py:170 +#: src/pyams_content/shared/site/interfaces.py:177 msgid "If 'no', no header will be displayed" msgstr "Si 'non', aucun chapô de navigation ne sera pas affiché" -#: src/pyams_content/shared/site/interfaces.py:174 +#: src/pyams_content/shared/site/interfaces.py:181 msgid "Navigation header" msgstr "Chapô de navigation" -#: src/pyams_content/shared/site/interfaces.py:175 +#: src/pyams_content/shared/site/interfaces.py:182 msgid "" "Alternate content's header displayed in navigation pages; original header " "will be used if none is specified" @@ -6478,7 +6510,7 @@ "navigation (notamment dans les pages carrefour) ; si rien n'est indiqué, le " "chapô original du contenu référencé sera utilisé" -#: src/pyams_content/shared/site/interfaces.py:180 +#: src/pyams_content/shared/site/interfaces.py:187 msgid "If 'no', link is not visible" msgstr "" "Si 'non', le lien ne sera pas visible même si le contenu référencé est publié" @@ -6508,74 +6540,74 @@ msgid "Navigation button title:" msgstr "Titre des boutons de navigation :" -#: src/pyams_content/shared/site/zmi/container.py:356 -#: src/pyams_content/shared/site/zmi/container.py:202 +#: src/pyams_content/shared/site/zmi/container.py:357 +#: src/pyams_content/shared/site/zmi/container.py:203 msgid "Visible element?" msgstr "Élément visible ?" -#: src/pyams_content/shared/site/zmi/container.py:357 +#: src/pyams_content/shared/site/zmi/container.py:358 msgid "Switch element visibility" msgstr "Cliquez pour rendre l'élément visible ou non" -#: src/pyams_content/shared/site/zmi/container.py:419 +#: src/pyams_content/shared/site/zmi/container.py:425 msgid "Folders and topics" msgstr "Rubriquage" -#: src/pyams_content/shared/site/zmi/container.py:551 +#: src/pyams_content/shared/site/zmi/container.py:557 msgid "Delete site item" msgstr "Supprimer ce contenu" -#: src/pyams_content/shared/site/zmi/container.py:101 -#: src/pyams_content/shared/site/zmi/container.py:108 -#: src/pyams_content/shared/site/zmi/container.py:98 +#: src/pyams_content/shared/site/zmi/container.py:102 +#: src/pyams_content/shared/site/zmi/container.py:109 +#: src/pyams_content/shared/site/zmi/container.py:99 #: src/pyams_content/workflow/__init__.py:82 #: src/pyams_content/workflow/basic.py:60 msgid "Published" msgstr "Publié" -#: src/pyams_content/shared/site/zmi/container.py:102 -#: src/pyams_content/shared/site/zmi/container.py:96 +#: src/pyams_content/shared/site/zmi/container.py:103 +#: src/pyams_content/shared/site/zmi/container.py:97 #, python-format msgid "{state} since {from_date}" msgstr "{state} depuis {from_date}" -#: src/pyams_content/shared/site/zmi/container.py:105 +#: src/pyams_content/shared/site/zmi/container.py:106 msgid "To be published" msgstr "Publication" -#: src/pyams_content/shared/site/zmi/container.py:106 +#: src/pyams_content/shared/site/zmi/container.py:107 #, python-format msgid "{state} from {from_date} to {to_date}" msgstr "{state} {from_date}, retrait automatique {to_date}" -#: src/pyams_content/shared/site/zmi/container.py:109 +#: src/pyams_content/shared/site/zmi/container.py:110 #, python-format msgid "{state} after {to_date}" msgstr "{state} après {to_date}" -#: src/pyams_content/shared/site/zmi/container.py:116 +#: src/pyams_content/shared/site/zmi/container.py:117 msgid "Not published" msgstr "Non publié actuellement" -#: src/pyams_content/shared/site/zmi/container.py:428 +#: src/pyams_content/shared/site/zmi/container.py:434 msgid "Click to open/close all folders" msgstr "Afficher/masquer toutes les rubriques" -#: src/pyams_content/shared/site/zmi/container.py:444 +#: src/pyams_content/shared/site/zmi/container.py:450 msgid "Click to show/hide inner folders" msgstr "Cliquer pour afficher ou cache les sous-niveaux" -#: src/pyams_content/shared/site/zmi/container.py:95 +#: src/pyams_content/shared/site/zmi/container.py:96 #: src/pyams_content/workflow/__init__.py:84 msgid "Retired" msgstr "Retiré" -#: src/pyams_content/shared/site/zmi/container.py:99 +#: src/pyams_content/shared/site/zmi/container.py:100 #, python-format msgid "{state} since {from_date} until {to_date}" msgstr "{state} depuis {from_date}, retrait automatique {to_date}" -#: src/pyams_content/shared/site/zmi/container.py:313 +#: src/pyams_content/shared/site/zmi/container.py:314 msgid "Can't reparent object to one of it's children. Reloading..." msgstr "" "Impossible de déplacer une rubrique dans l'une de ses sous-rubriques ou " @@ -6618,7 +6650,7 @@ #: src/pyams_content/shared/site/zmi/folder.py:70 #: src/pyams_content/shared/site/zmi/link.py:75 #: src/pyams_content/shared/site/zmi/link.py:227 -#: src/pyams_content/shared/site/zmi/__init__.py:60 +#: src/pyams_content/shared/site/zmi/__init__.py:62 msgid "Parent" msgstr "Niveau parent" @@ -6663,21 +6695,21 @@ msgid "Show navigation header" msgstr "Afficher le chapô" -#: src/pyams_content/shared/site/zmi/__init__.py:51 +#: src/pyams_content/shared/site/zmi/__init__.py:53 msgid "Add topic..." msgstr "Article" -#: src/pyams_content/shared/site/zmi/__init__.py:74 +#: src/pyams_content/shared/site/zmi/__init__.py:76 #: src/pyams_content/shared/topic/zmi/__init__.py:60 #: src/pyams_content/shared/topic/zmi/__init__.py:73 msgid "Add topic" msgstr "Ajout d'un article" -#: src/pyams_content/shared/site/zmi/__init__.py:61 +#: src/pyams_content/shared/site/zmi/__init__.py:63 msgid "Topic's parent" msgstr "Niveau parent" -#: src/pyams_content/shared/topic/interfaces.py:27 +#: src/pyams_content/shared/topic/interfaces.py:28 msgid "Topic" msgstr "Article" diff -r cdf63a1c7dc9 -r 7383e6ce5411 src/pyams_content/locales/pyams_content.pot --- a/src/pyams_content/locales/pyams_content.pot Tue Nov 19 16:39:10 2019 +0100 +++ b/src/pyams_content/locales/pyams_content.pot Mon Jun 22 17:34:24 2020 +0200 @@ -1,12 +1,12 @@ # # SOME DESCRIPTIVE TITLE # This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR , 2019. +# FIRST AUTHOR , 2020. #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE 1.0\n" -"POT-Creation-Date: 2019-10-18 15:13+0200\n" +"POT-Creation-Date: 2020-06-19 18:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" @@ -236,7 +236,7 @@ #: ./src/pyams_content/features/alert/interfaces.py:54 #: ./src/pyams_content/features/menu/interfaces.py:62 #: ./src/pyams_content/shared/form/interfaces.py:148 -#: ./src/pyams_content/shared/site/interfaces.py:179 +#: ./src/pyams_content/shared/site/interfaces.py:186 msgid "Visible?" msgstr "" @@ -397,7 +397,7 @@ #: ./src/pyams_content/component/paragraph/interfaces/audio.py:46 #: ./src/pyams_content/component/extfile/interfaces.py:40 #: ./src/pyams_content/component/illustration/interfaces.py:54 -#: ./src/pyams_content/shared/resource/interfaces.py:65 +#: ./src/pyams_content/shared/resource/interfaces.py:67 msgid "Author" msgstr "" @@ -904,13 +904,13 @@ #: ./src/pyams_content/component/links/interfaces.py:98 #: ./src/pyams_content/features/redirect/interfaces.py:68 -#: ./src/pyams_content/shared/site/interfaces.py:192 +#: ./src/pyams_content/shared/site/interfaces.py:199 #: ./src/pyams_content/shared/logo/interfaces.py:50 msgid "Target URL" msgstr "" #: ./src/pyams_content/component/links/interfaces.py:99 -#: ./src/pyams_content/shared/site/interfaces.py:193 +#: ./src/pyams_content/shared/site/interfaces.py:200 #: ./src/pyams_content/shared/logo/interfaces.py:51 msgid "URL used to access external resource" msgstr "" @@ -1019,7 +1019,7 @@ #: ./src/pyams_content/component/paragraph/interfaces/header.py:33 #: ./src/pyams_content/component/paragraph/interfaces/header.py:40 #: ./src/pyams_content/shared/common/interfaces/__init__.py:160 -#: ./src/pyams_content/shared/site/interfaces.py:81 +#: ./src/pyams_content/shared/site/interfaces.py:83 msgid "Header" msgstr "" @@ -1306,8 +1306,8 @@ msgstr "" #: ./src/pyams_content/component/paragraph/interfaces/__init__.py:101 -#: ./src/pyams_content/shared/common/zmi/types/manager.py:148 -#: ./src/pyams_content/shared/common/zmi/types/__init__.py:241 +#: ./src/pyams_content/shared/common/zmi/types/manager.py:139 +#: ./src/pyams_content/shared/common/zmi/types/__init__.py:242 msgid "Default paragraphs" msgstr "" @@ -3004,23 +3004,23 @@ msgstr "" #: ./src/pyams_content/features/search/interfaces.py:81 -#: ./src/pyams_content/shared/site/interfaces.py:95 +#: ./src/pyams_content/shared/site/interfaces.py:97 msgid "Visible in folders list" msgstr "" #: ./src/pyams_content/features/search/interfaces.py:82 -#: ./src/pyams_content/shared/site/interfaces.py:96 +#: ./src/pyams_content/shared/site/interfaces.py:98 msgid "If 'no', folder will not be displayed into folders list" msgstr "" #: ./src/pyams_content/features/search/interfaces.py:86 -#: ./src/pyams_content/shared/site/interfaces.py:100 -#: ./src/pyams_content/shared/site/interfaces.py:164 +#: ./src/pyams_content/shared/site/interfaces.py:102 +#: ./src/pyams_content/shared/site/interfaces.py:171 msgid "Navigation title" msgstr "" #: ./src/pyams_content/features/search/interfaces.py:87 -#: ./src/pyams_content/shared/site/interfaces.py:101 +#: ./src/pyams_content/shared/site/interfaces.py:103 msgid "" "Folder's title displayed in navigation pages; original title will be used if " "none is specified" @@ -3187,19 +3187,19 @@ msgid "Don't inherit parent header" msgstr "" -#: ./src/pyams_content/zmi/viewlet/toplinks/__init__.py:43 +#: ./src/pyams_content/zmi/viewlet/toplinks/__init__.py:45 msgid "Shared sites" msgstr "" -#: ./src/pyams_content/zmi/viewlet/toplinks/__init__.py:64 +#: ./src/pyams_content/zmi/viewlet/toplinks/__init__.py:69 msgid "Shared contents" msgstr "" -#: ./src/pyams_content/zmi/viewlet/toplinks/__init__.py:87 +#: ./src/pyams_content/zmi/viewlet/toplinks/__init__.py:95 msgid "Shared tools" msgstr "" -#: ./src/pyams_content/zmi/viewlet/toplinks/__init__.py:110 +#: ./src/pyams_content/zmi/viewlet/toplinks/__init__.py:121 msgid "My roles" msgstr "" @@ -3253,8 +3253,8 @@ msgstr "" #: ./src/pyams_content/root/zmi/sites.py:63 -#: ./src/pyams_content/shared/site/zmi/container.py:224 -#: ./src/pyams_content/shared/site/zmi/container.py:234 +#: ./src/pyams_content/shared/site/zmi/container.py:225 +#: ./src/pyams_content/shared/site/zmi/container.py:235 msgid "Site tree" msgstr "" @@ -3499,7 +3499,7 @@ msgstr "" #: ./src/pyams_content/root/zmi/__init__.py:825 -#: ./src/pyams_content/shared/site/zmi/container.py:455 +#: ./src/pyams_content/shared/site/zmi/container.py:461 msgid "Content" msgstr "" @@ -3638,119 +3638,119 @@ msgid "Maximum age" msgstr "" -#: ./src/pyams_content/shared/resource/interfaces.py:30 +#: ./src/pyams_content/shared/resource/interfaces.py:32 msgid "Resource" msgstr "" -#: ./src/pyams_content/shared/resource/interfaces.py:59 +#: ./src/pyams_content/shared/resource/interfaces.py:61 msgid "Original country" msgstr "" -#: ./src/pyams_content/shared/resource/interfaces.py:62 +#: ./src/pyams_content/shared/resource/interfaces.py:64 msgid "Original title" msgstr "" -#: ./src/pyams_content/shared/resource/interfaces.py:68 +#: ./src/pyams_content/shared/resource/interfaces.py:70 msgid "Translator" msgstr "" -#: ./src/pyams_content/shared/resource/interfaces.py:71 +#: ./src/pyams_content/shared/resource/interfaces.py:73 msgid "Illustrator" msgstr "" -#: ./src/pyams_content/shared/resource/interfaces.py:74 +#: ./src/pyams_content/shared/resource/interfaces.py:76 msgid "Drawer" msgstr "" -#: ./src/pyams_content/shared/resource/interfaces.py:77 +#: ./src/pyams_content/shared/resource/interfaces.py:79 msgid "Colourist" msgstr "" -#: ./src/pyams_content/shared/resource/interfaces.py:80 +#: ./src/pyams_content/shared/resource/interfaces.py:82 msgid "Lettering" msgstr "" -#: ./src/pyams_content/shared/resource/interfaces.py:83 +#: ./src/pyams_content/shared/resource/interfaces.py:85 msgid "Producer" msgstr "" -#: ./src/pyams_content/shared/resource/interfaces.py:86 +#: ./src/pyams_content/shared/resource/interfaces.py:88 msgid "Director" msgstr "" -#: ./src/pyams_content/shared/resource/interfaces.py:89 +#: ./src/pyams_content/shared/resource/interfaces.py:91 msgid "Actors" msgstr "" -#: ./src/pyams_content/shared/resource/interfaces.py:92 +#: ./src/pyams_content/shared/resource/interfaces.py:94 msgid "Editor" msgstr "" -#: ./src/pyams_content/shared/resource/interfaces.py:95 +#: ./src/pyams_content/shared/resource/interfaces.py:97 msgid "Collection" msgstr "" -#: ./src/pyams_content/shared/resource/interfaces.py:98 +#: ./src/pyams_content/shared/resource/interfaces.py:100 msgid "Series" msgstr "" -#: ./src/pyams_content/shared/resource/interfaces.py:101 +#: ./src/pyams_content/shared/resource/interfaces.py:103 msgid "Volume" msgstr "" -#: ./src/pyams_content/shared/resource/interfaces.py:104 +#: ./src/pyams_content/shared/resource/interfaces.py:106 msgid "Format" msgstr "" -#: ./src/pyams_content/shared/resource/interfaces.py:107 +#: ./src/pyams_content/shared/resource/interfaces.py:109 msgid "Nb pages" msgstr "" -#: ./src/pyams_content/shared/resource/interfaces.py:111 +#: ./src/pyams_content/shared/resource/interfaces.py:113 msgid "Duration" msgstr "" -#: ./src/pyams_content/shared/resource/interfaces.py:114 +#: ./src/pyams_content/shared/resource/interfaces.py:116 msgid "Age range" msgstr "" -#: ./src/pyams_content/shared/resource/interfaces.py:117 +#: ./src/pyams_content/shared/resource/interfaces.py:119 msgid "Release year" msgstr "" -#: ./src/pyams_content/shared/resource/interfaces.py:121 +#: ./src/pyams_content/shared/resource/interfaces.py:123 msgid "Awards" msgstr "" -#: ./src/pyams_content/shared/resource/interfaces.py:124 +#: ./src/pyams_content/shared/resource/interfaces.py:126 msgid "Editor reference" msgstr "" -#: ./src/pyams_content/shared/resource/interfaces.py:127 +#: ./src/pyams_content/shared/resource/interfaces.py:129 msgid "ISBN number" msgstr "" -#: ./src/pyams_content/shared/resource/interfaces.py:130 +#: ./src/pyams_content/shared/resource/interfaces.py:132 msgid "Price" msgstr "" -#: ./src/pyams_content/shared/resource/interfaces.py:134 +#: ./src/pyams_content/shared/resource/interfaces.py:136 msgid "Source URI" msgstr "" -#: ./src/pyams_content/shared/resource/interfaces.py:135 +#: ./src/pyams_content/shared/resource/interfaces.py:137 msgid "External URL used to get more information about resource" msgstr "" -#: ./src/pyams_content/shared/resource/interfaces.py:138 +#: ./src/pyams_content/shared/resource/interfaces.py:140 msgid "Summary" msgstr "" -#: ./src/pyams_content/shared/resource/interfaces.py:141 +#: ./src/pyams_content/shared/resource/interfaces.py:143 msgid "Synopsis" msgstr "" -#: ./src/pyams_content/shared/resource/interfaces.py:144 +#: ./src/pyams_content/shared/resource/interfaces.py:146 msgid "Publisher's words" msgstr "" @@ -4611,8 +4611,8 @@ #: ./src/pyams_content/shared/blog/interfaces.py:67 #: ./src/pyams_content/shared/common/interfaces/__init__.py:167 -#: ./src/pyams_content/shared/site/interfaces.py:85 -#: ./src/pyams_content/shared/site/interfaces.py:130 +#: ./src/pyams_content/shared/site/interfaces.py:87 +#: ./src/pyams_content/shared/site/interfaces.py:132 msgid "Meta-description" msgstr "" @@ -4625,16 +4625,16 @@ #: ./src/pyams_content/shared/blog/interfaces.py:73 #: ./src/pyams_content/shared/common/interfaces/__init__.py:182 -#: ./src/pyams_content/shared/site/interfaces.py:91 -#: ./src/pyams_content/shared/site/interfaces.py:136 +#: ./src/pyams_content/shared/site/interfaces.py:93 +#: ./src/pyams_content/shared/site/interfaces.py:138 #: ./src/pyams_content/shared/site/zmi/folder.py:74 msgid "Notepad" msgstr "" #: ./src/pyams_content/shared/blog/interfaces.py:74 #: ./src/pyams_content/shared/common/interfaces/__init__.py:183 -#: ./src/pyams_content/shared/site/interfaces.py:92 -#: ./src/pyams_content/shared/site/interfaces.py:137 +#: ./src/pyams_content/shared/site/interfaces.py:94 +#: ./src/pyams_content/shared/site/interfaces.py:139 #: ./src/pyams_content/shared/site/zmi/folder.py:75 msgid "Internal information to be known about this content" msgstr "" @@ -4658,13 +4658,13 @@ #: ./src/pyams_content/shared/blog/zmi/manager.py:163 #: ./src/pyams_content/shared/blog/zmi/manager.py:175 -#: ./src/pyams_content/shared/site/zmi/container.py:152 -#: ./src/pyams_content/shared/site/zmi/container.py:164 +#: ./src/pyams_content/shared/site/zmi/container.py:153 +#: ./src/pyams_content/shared/site/zmi/container.py:165 msgid "Publication dates..." msgstr "" #: ./src/pyams_content/shared/blog/zmi/manager.py:189 -#: ./src/pyams_content/shared/site/zmi/container.py:178 +#: ./src/pyams_content/shared/site/zmi/container.py:179 msgid "Update publication dates" msgstr "" @@ -4764,12 +4764,14 @@ #: ./src/pyams_content/shared/common/interfaces/types.py:120 #: ./src/pyams_content/shared/common/zmi/search.py:178 -#: ./src/pyams_content/shared/topic/interfaces.py:41 +#: ./src/pyams_content/shared/site/interfaces.py:154 +#: ./src/pyams_content/shared/topic/interfaces.py:42 msgid "Data type" msgstr "" #: ./src/pyams_content/shared/common/interfaces/types.py:121 -#: ./src/pyams_content/shared/topic/interfaces.py:42 +#: ./src/pyams_content/shared/site/interfaces.py:155 +#: ./src/pyams_content/shared/topic/interfaces.py:43 msgid "Type of content data" msgstr "" @@ -4957,39 +4959,61 @@ msgid "Presentation template used for content specificities" msgstr "" -#: ./src/pyams_content/shared/common/portlet/title.py:36 +#: ./src/pyams_content/shared/common/portlet/title.py:43 msgid "Content title" msgstr "" -#: ./src/pyams_content/shared/common/portlet/head.py:44 +#: ./src/pyams_content/shared/common/portlet/head.py:50 msgid "Content header" msgstr "" -#: ./src/pyams_content/shared/common/portlet/specificities.py:39 +#: ./src/pyams_content/shared/common/portlet/specificities.py:40 msgid "Content specificities portlet" msgstr "" -#: ./src/pyams_content/shared/common/portlet/interfaces.py:24 +#: ./src/pyams_content/shared/common/portlet/interfaces.py:25 msgid "Display breadcrumbs?" msgstr "" -#: ./src/pyams_content/shared/common/portlet/interfaces.py:28 +#: ./src/pyams_content/shared/common/portlet/interfaces.py:29 msgid "Display title?" msgstr "" -#: ./src/pyams_content/shared/common/portlet/interfaces.py:32 +#: ./src/pyams_content/shared/common/portlet/interfaces.py:33 msgid "Display tags?" msgstr "" -#: ./src/pyams_content/shared/common/portlet/interfaces.py:36 +#: ./src/pyams_content/shared/common/portlet/interfaces.py:37 msgid "Display header?" msgstr "" -#: ./src/pyams_content/shared/common/portlet/interfaces.py:40 -msgid "Display specificities?" -msgstr "" - #: ./src/pyams_content/shared/common/portlet/interfaces.py:41 +#: ./src/pyams_content/shared/common/portlet/interfaces.py:64 +msgid "Display publication date?" +msgstr "" + +#: ./src/pyams_content/shared/common/portlet/interfaces.py:42 +#: ./src/pyams_content/shared/common/portlet/interfaces.py:65 +msgid "" +"If 'yes', content publication date will be displayed; the selected " +"publication date is those which is selected while publishing the content" +msgstr "" + +#: ./src/pyams_content/shared/common/portlet/interfaces.py:49 +#: ./src/pyams_content/shared/common/portlet/interfaces.py:72 +msgid "Publication date prefix" +msgstr "" + +#: ./src/pyams_content/shared/common/portlet/interfaces.py:50 +#: ./src/pyams_content/shared/common/portlet/interfaces.py:73 +msgid "This text will be displayed before publication date" +msgstr "" + +#: ./src/pyams_content/shared/common/portlet/interfaces.py:54 +msgid "Display specificities?" +msgstr "" + +#: ./src/pyams_content/shared/common/portlet/interfaces.py:55 msgid "If 'no', specific content's informations won't be displayed..." msgstr "" @@ -5010,6 +5034,11 @@ msgstr "" #: ./src/pyams_content/shared/common/portlet/zmi/templates/head-preview.pt:20 +#: ./src/pyams_content/shared/common/portlet/zmi/templates/title-preview.pt:4 +msgid "Display publication date" +msgstr "" + +#: ./src/pyams_content/shared/common/portlet/zmi/templates/head-preview.pt:24 msgid "Display specificities" msgstr "" @@ -5133,7 +5162,7 @@ msgstr "" #: ./src/pyams_content/shared/common/zmi/dashboard.py:211 -#: ./src/pyams_content/shared/common/zmi/summary.py:167 +#: ./src/pyams_content/shared/common/zmi/summary.py:165 msgid "Version" msgstr "" @@ -5454,32 +5483,32 @@ msgid "Identity card" msgstr "" -#: ./src/pyams_content/shared/common/zmi/summary.py:89 +#: ./src/pyams_content/shared/common/zmi/summary.py:87 msgid "Requested action" msgstr "" -#: ./src/pyams_content/shared/common/zmi/summary.py:130 +#: ./src/pyams_content/shared/common/zmi/summary.py:128 msgid "Publication and retire dates" msgstr "" -#: ./src/pyams_content/shared/common/zmi/summary.py:149 +#: ./src/pyams_content/shared/common/zmi/summary.py:147 msgid "Current version" msgstr "" -#: ./src/pyams_content/shared/common/zmi/summary.py:185 +#: ./src/pyams_content/shared/common/zmi/summary.py:183 msgid "Content history" msgstr "" -#: ./src/pyams_content/shared/common/zmi/summary.py:120 +#: ./src/pyams_content/shared/common/zmi/summary.py:118 msgid "Associated comment" msgstr "" -#: ./src/pyams_content/shared/common/zmi/summary.py:110 +#: ./src/pyams_content/shared/common/zmi/summary.py:108 #, python-format msgid "{state} {date} by {principal}" msgstr "" -#: ./src/pyams_content/shared/common/zmi/summary.py:173 +#: ./src/pyams_content/shared/common/zmi/summary.py:171 #, python-format msgid "{state} since {date}, by {principal}" msgstr "" @@ -5563,20 +5592,20 @@ msgid "Data types" msgstr "" -#: ./src/pyams_content/shared/common/zmi/types/manager.py:124 +#: ./src/pyams_content/shared/common/zmi/types/manager.py:115 msgid "Data type label" msgstr "" -#: ./src/pyams_content/shared/common/zmi/types/manager.py:164 -#: ./src/pyams_content/shared/common/zmi/types/__init__.py:257 +#: ./src/pyams_content/shared/common/zmi/types/manager.py:155 +#: ./src/pyams_content/shared/common/zmi/types/__init__.py:258 msgid "Default associations" msgstr "" -#: ./src/pyams_content/shared/common/zmi/types/manager.py:180 +#: ./src/pyams_content/shared/common/zmi/types/manager.py:171 msgid "Default themes" msgstr "" -#: ./src/pyams_content/shared/common/zmi/types/manager.py:208 +#: ./src/pyams_content/shared/common/zmi/types/manager.py:199 msgid "Content data types" msgstr "" @@ -5584,55 +5613,55 @@ msgid "No currently defined data type." msgstr "" -#: ./src/pyams_content/shared/common/zmi/types/manager.py:136 +#: ./src/pyams_content/shared/common/zmi/types/manager.py:127 msgid "Click to see subtypes" msgstr "" -#: ./src/pyams_content/shared/common/zmi/types/__init__.py:79 +#: ./src/pyams_content/shared/common/zmi/types/__init__.py:80 msgid "Add data type" msgstr "" -#: ./src/pyams_content/shared/common/zmi/types/__init__.py:92 +#: ./src/pyams_content/shared/common/zmi/types/__init__.py:93 msgid "Add new data type" msgstr "" -#: ./src/pyams_content/shared/common/zmi/types/__init__.py:136 +#: ./src/pyams_content/shared/common/zmi/types/__init__.py:137 msgid "Data type properties" msgstr "" -#: ./src/pyams_content/shared/common/zmi/types/__init__.py:219 +#: ./src/pyams_content/shared/common/zmi/types/__init__.py:220 msgid "Subtype label" msgstr "" -#: ./src/pyams_content/shared/common/zmi/types/__init__.py:302 +#: ./src/pyams_content/shared/common/zmi/types/__init__.py:303 msgid "Add subtype" msgstr "" -#: ./src/pyams_content/shared/common/zmi/types/__init__.py:314 +#: ./src/pyams_content/shared/common/zmi/types/__init__.py:315 msgid "Add new subtype" msgstr "" -#: ./src/pyams_content/shared/common/zmi/types/__init__.py:362 +#: ./src/pyams_content/shared/common/zmi/types/__init__.py:363 msgid "Data subtype properties" msgstr "" -#: ./src/pyams_content/shared/common/zmi/types/__init__.py:404 +#: ./src/pyams_content/shared/common/zmi/types/__init__.py:407 msgid "Select content type..." msgstr "" -#: ./src/pyams_content/shared/common/zmi/types/__init__.py:125 +#: ./src/pyams_content/shared/common/zmi/types/__init__.py:126 msgid "Specified type name is already used!" msgstr "" -#: ./src/pyams_content/shared/common/zmi/types/__init__.py:337 +#: ./src/pyams_content/shared/common/zmi/types/__init__.py:338 msgid "Subtype was correctly added." msgstr "" -#: ./src/pyams_content/shared/common/zmi/types/__init__.py:351 +#: ./src/pyams_content/shared/common/zmi/types/__init__.py:352 msgid "Specified subtype name is already used!" msgstr "" -#: ./src/pyams_content/shared/common/zmi/types/__init__.py:433 +#: ./src/pyams_content/shared/common/zmi/types/__init__.py:436 #, python-format msgid "Custom properties for type « {0} »" msgstr "" @@ -5839,7 +5868,7 @@ msgid "News topic « {title} »" msgstr "" -#: ./src/pyams_content/shared/site/manager.py:65 +#: ./src/pyams_content/shared/site/manager.py:68 #: ./src/pyams_content/shared/site/zmi/manager.py:121 msgid "Site manager" msgstr "" @@ -5856,69 +5885,69 @@ msgid "External content link" msgstr "" -#: ./src/pyams_content/shared/site/interfaces.py:146 +#: ./src/pyams_content/shared/site/interfaces.py:148 msgid "Site topic" msgstr "" -#: ./src/pyams_content/shared/site/interfaces.py:38 +#: ./src/pyams_content/shared/site/interfaces.py:40 msgid "Redirect to first visible sub-folder or content" msgstr "" -#: ./src/pyams_content/shared/site/interfaces.py:39 +#: ./src/pyams_content/shared/site/interfaces.py:41 msgid "Use presentation template" msgstr "" -#: ./src/pyams_content/shared/site/interfaces.py:82 +#: ./src/pyams_content/shared/site/interfaces.py:84 msgid "Heading displayed according to presentation template" msgstr "" -#: ./src/pyams_content/shared/site/interfaces.py:86 +#: ./src/pyams_content/shared/site/interfaces.py:88 msgid "" "The folder's description is 'hidden' into HTML's page headers; but it can be " "seen, for example, in some search engines results as content's description; " "if description is empty, content's header will be used." msgstr "" -#: ./src/pyams_content/shared/site/interfaces.py:105 +#: ./src/pyams_content/shared/site/interfaces.py:107 msgid "Navigation mode" msgstr "" -#: ./src/pyams_content/shared/site/interfaces.py:106 +#: ./src/pyams_content/shared/site/interfaces.py:108 msgid "Folder behaviour when navigating to folder URL" msgstr "" -#: ./src/pyams_content/shared/site/interfaces.py:131 +#: ./src/pyams_content/shared/site/interfaces.py:133 msgid "" "The site's description is 'hidden' into HTML's page headers; but it can be " "seen, for example, in some search engines results as content's description; " "if description is empty, content's header will be used." msgstr "" -#: ./src/pyams_content/shared/site/interfaces.py:165 +#: ./src/pyams_content/shared/site/interfaces.py:172 msgid "" "Alternate content's title displayed in navigation pages; original title will " "be used if none is specified" msgstr "" -#: ./src/pyams_content/shared/site/interfaces.py:169 +#: ./src/pyams_content/shared/site/interfaces.py:176 msgid "Show header?" msgstr "" -#: ./src/pyams_content/shared/site/interfaces.py:170 +#: ./src/pyams_content/shared/site/interfaces.py:177 msgid "If 'no', no header will be displayed" msgstr "" -#: ./src/pyams_content/shared/site/interfaces.py:174 +#: ./src/pyams_content/shared/site/interfaces.py:181 msgid "Navigation header" msgstr "" -#: ./src/pyams_content/shared/site/interfaces.py:175 +#: ./src/pyams_content/shared/site/interfaces.py:182 msgid "" "Alternate content's header displayed in navigation pages; original header " "will be used if none is specified" msgstr "" -#: ./src/pyams_content/shared/site/interfaces.py:180 +#: ./src/pyams_content/shared/site/interfaces.py:187 msgid "If 'no', link is not visible" msgstr "" @@ -5944,74 +5973,74 @@ msgid "Navigation button title:" msgstr "" -#: ./src/pyams_content/shared/site/zmi/container.py:356 -#: ./src/pyams_content/shared/site/zmi/container.py:202 +#: ./src/pyams_content/shared/site/zmi/container.py:357 +#: ./src/pyams_content/shared/site/zmi/container.py:203 msgid "Visible element?" msgstr "" -#: ./src/pyams_content/shared/site/zmi/container.py:357 +#: ./src/pyams_content/shared/site/zmi/container.py:358 msgid "Switch element visibility" msgstr "" -#: ./src/pyams_content/shared/site/zmi/container.py:419 +#: ./src/pyams_content/shared/site/zmi/container.py:425 msgid "Folders and topics" msgstr "" -#: ./src/pyams_content/shared/site/zmi/container.py:551 +#: ./src/pyams_content/shared/site/zmi/container.py:557 msgid "Delete site item" msgstr "" -#: ./src/pyams_content/shared/site/zmi/container.py:101 -#: ./src/pyams_content/shared/site/zmi/container.py:108 -#: ./src/pyams_content/shared/site/zmi/container.py:98 -#: ./src/pyams_content/workflow/__init__.py:82 -#: ./src/pyams_content/workflow/basic.py:60 -msgid "Published" -msgstr "" - #: ./src/pyams_content/shared/site/zmi/container.py:102 -#: ./src/pyams_content/shared/site/zmi/container.py:96 +#: ./src/pyams_content/shared/site/zmi/container.py:109 +#: ./src/pyams_content/shared/site/zmi/container.py:99 +#: ./src/pyams_content/workflow/__init__.py:82 +#: ./src/pyams_content/workflow/basic.py:60 +msgid "Published" +msgstr "" + +#: ./src/pyams_content/shared/site/zmi/container.py:103 +#: ./src/pyams_content/shared/site/zmi/container.py:97 #, python-format msgid "{state} since {from_date}" msgstr "" -#: ./src/pyams_content/shared/site/zmi/container.py:105 -msgid "To be published" -msgstr "" - #: ./src/pyams_content/shared/site/zmi/container.py:106 +msgid "To be published" +msgstr "" + +#: ./src/pyams_content/shared/site/zmi/container.py:107 #, python-format msgid "{state} from {from_date} to {to_date}" msgstr "" -#: ./src/pyams_content/shared/site/zmi/container.py:109 +#: ./src/pyams_content/shared/site/zmi/container.py:110 #, python-format msgid "{state} after {to_date}" msgstr "" -#: ./src/pyams_content/shared/site/zmi/container.py:116 +#: ./src/pyams_content/shared/site/zmi/container.py:117 msgid "Not published" msgstr "" -#: ./src/pyams_content/shared/site/zmi/container.py:428 +#: ./src/pyams_content/shared/site/zmi/container.py:434 msgid "Click to open/close all folders" msgstr "" -#: ./src/pyams_content/shared/site/zmi/container.py:444 +#: ./src/pyams_content/shared/site/zmi/container.py:450 msgid "Click to show/hide inner folders" msgstr "" -#: ./src/pyams_content/shared/site/zmi/container.py:95 +#: ./src/pyams_content/shared/site/zmi/container.py:96 #: ./src/pyams_content/workflow/__init__.py:84 msgid "Retired" msgstr "" -#: ./src/pyams_content/shared/site/zmi/container.py:99 +#: ./src/pyams_content/shared/site/zmi/container.py:100 #, python-format msgid "{state} since {from_date} until {to_date}" msgstr "" -#: ./src/pyams_content/shared/site/zmi/container.py:313 +#: ./src/pyams_content/shared/site/zmi/container.py:314 msgid "Can't reparent object to one of it's children. Reloading..." msgstr "" @@ -6052,7 +6081,7 @@ #: ./src/pyams_content/shared/site/zmi/folder.py:70 #: ./src/pyams_content/shared/site/zmi/link.py:75 #: ./src/pyams_content/shared/site/zmi/link.py:227 -#: ./src/pyams_content/shared/site/zmi/__init__.py:60 +#: ./src/pyams_content/shared/site/zmi/__init__.py:62 msgid "Parent" msgstr "" @@ -6095,21 +6124,21 @@ msgid "Show navigation header" msgstr "" -#: ./src/pyams_content/shared/site/zmi/__init__.py:51 +#: ./src/pyams_content/shared/site/zmi/__init__.py:53 msgid "Add topic..." msgstr "" -#: ./src/pyams_content/shared/site/zmi/__init__.py:74 +#: ./src/pyams_content/shared/site/zmi/__init__.py:76 #: ./src/pyams_content/shared/topic/zmi/__init__.py:60 #: ./src/pyams_content/shared/topic/zmi/__init__.py:73 msgid "Add topic" msgstr "" -#: ./src/pyams_content/shared/site/zmi/__init__.py:61 +#: ./src/pyams_content/shared/site/zmi/__init__.py:63 msgid "Topic's parent" msgstr "" -#: ./src/pyams_content/shared/topic/interfaces.py:27 +#: ./src/pyams_content/shared/topic/interfaces.py:28 msgid "Topic" msgstr "" diff -r cdf63a1c7dc9 -r 7383e6ce5411 src/pyams_content/shared/common/portlet/head.py --- a/src/pyams_content/shared/common/portlet/head.py Tue Nov 19 16:39:10 2019 +0100 +++ b/src/pyams_content/shared/common/portlet/head.py Mon Jun 22 17:34:24 2020 +0200 @@ -29,11 +29,17 @@ class SharedContentHeaderPortletSettings(PortletSettings): """Shared content header portlet settings""" - display_breadcrumbs = FieldProperty(ISharedContentHeaderPortletSettings['display_breadcrumbs']) + display_breadcrumbs = FieldProperty( + ISharedContentHeaderPortletSettings['display_breadcrumbs']) display_title = FieldProperty(ISharedContentHeaderPortletSettings['display_title']) display_tags = FieldProperty(ISharedContentHeaderPortletSettings['display_tags']) display_header = FieldProperty(ISharedContentHeaderPortletSettings['display_header']) - display_specificities = FieldProperty(ISharedContentHeaderPortletSettings['display_specificities']) + display_publication_date = FieldProperty( + ISharedContentHeaderPortletSettings['display_publication_date']) + publication_date_prefix = FieldProperty( + ISharedContentHeaderPortletSettings['publication_date_prefix']) + display_specificities = FieldProperty( + ISharedContentHeaderPortletSettings['display_specificities']) @portlet_config(permission=VIEW_PERMISSION) diff -r cdf63a1c7dc9 -r 7383e6ce5411 src/pyams_content/shared/common/portlet/interfaces.py --- a/src/pyams_content/shared/common/portlet/interfaces.py Tue Nov 19 16:39:10 2019 +0100 +++ b/src/pyams_content/shared/common/portlet/interfaces.py Mon Jun 22 17:34:24 2020 +0200 @@ -15,6 +15,7 @@ from zope.schema import Bool from pyams_content import _ +from pyams_i18n.schema import I18nTextLineField from pyams_portal.interfaces import IPortletSettings @@ -37,8 +38,22 @@ required=True, default=True) + display_publication_date = Bool(title=_("Display publication date?"), + description=_("If 'yes', content publication date will be " + "displayed; the selected publication date is " + "those which is selected while publishing the " + "content"), + required=True, + default=False) + + publication_date_prefix = I18nTextLineField(title=_("Publication date prefix"), + description=_("This text will be displayed " + "before publication date"), + required=False) + display_specificities = Bool(title=_("Display specificities?"), - description=_("If 'no', specific content's informations won't be displayed..."), + description=_("If 'no', specific content's informations won't " + "be displayed..."), required=True, default=True) @@ -46,6 +61,19 @@ class ISharedContentTitlePortletSettings(IPortletSettings): """Shared content title portlet settings""" + display_publication_date = Bool(title=_("Display publication date?"), + description=_("If 'yes', content publication date will be " + "displayed; the selected publication date is " + "those which is selected while publishing the " + "content"), + required=True, + default=False) + + publication_date_prefix = I18nTextLineField(title=_("Publication date prefix"), + description=_("This text will be displayed " + "before publication date"), + required=False) + class ISharedContentSpecificitiesPortletSettings(IPortletSettings): """Shared content specificities portlet settings""" diff -r cdf63a1c7dc9 -r 7383e6ce5411 src/pyams_content/shared/common/portlet/specificities.py --- a/src/pyams_content/shared/common/portlet/specificities.py Tue Nov 19 16:39:10 2019 +0100 +++ b/src/pyams_content/shared/common/portlet/specificities.py Mon Jun 22 17:34:24 2020 +0200 @@ -13,7 +13,8 @@ __docformat__ = 'restructuredtext' from pyams_content import _ -from pyams_content.shared.common.portlet.interfaces import ISharedContentSpecificitiesPortletSettings +from pyams_content.shared.common.portlet.interfaces import \ + ISharedContentSpecificitiesPortletSettings from pyams_portal.portlet import Portlet, PortletSettings, portlet_config from pyams_utils.factory import factory_config from pyams_utils.interfaces import VIEW_PERMISSION diff -r cdf63a1c7dc9 -r 7383e6ce5411 src/pyams_content/shared/common/portlet/title.py --- a/src/pyams_content/shared/common/portlet/title.py Tue Nov 19 16:39:10 2019 +0100 +++ b/src/pyams_content/shared/common/portlet/title.py Mon Jun 22 17:34:24 2020 +0200 @@ -12,6 +12,8 @@ __docformat__ = 'restructuredtext' +from zope.schema.fieldproperty import FieldProperty + from pyams_content.shared.common.portlet.interfaces import ISharedContentTitlePortletSettings from pyams_portal.portlet import Portlet, PortletSettings, portlet_config from pyams_utils.factory import factory_config @@ -27,6 +29,11 @@ class SharedContentTitlePortletSettings(PortletSettings): """Shared content title portlet settings""" + display_publication_date = FieldProperty( + ISharedContentTitlePortletSettings['display_publication_date']) + publication_date_prefix = FieldProperty( + ISharedContentTitlePortletSettings['publication_date_prefix']) + @portlet_config(permission=VIEW_PERMISSION) class SharedContentTitlePortlet(Portlet): diff -r cdf63a1c7dc9 -r 7383e6ce5411 src/pyams_content/shared/common/portlet/zmi/templates/head-preview.pt --- a/src/pyams_content/shared/common/portlet/zmi/templates/head-preview.pt Tue Nov 19 16:39:10 2019 +0100 +++ b/src/pyams_content/shared/common/portlet/zmi/templates/head-preview.pt Mon Jun 22 17:34:24 2020 +0200 @@ -16,6 +16,10 @@ Display header
+ + Display publication date +
+
Display specificities
diff -r cdf63a1c7dc9 -r 7383e6ce5411 src/pyams_content/shared/common/portlet/zmi/templates/title-preview.pt --- a/src/pyams_content/shared/common/portlet/zmi/templates/title-preview.pt Tue Nov 19 16:39:10 2019 +0100 +++ b/src/pyams_content/shared/common/portlet/zmi/templates/title-preview.pt Mon Jun 22 17:34:24 2020 +0200 @@ -0,0 +1,6 @@ + +
+ + Display publication date +
+
\ No newline at end of file