Version 0.1.4 0.1.4
authorThierry Florac <thierry.florac@onf.fr>
Wed, 12 Jul 2017 17:46:40 +0200
changeset 33 9f478f30ad3e
parent 32 c23e06a40995
child 34 350607d4de7e
Version 0.1.4
.installed.cfg
buildout.cfg
docs/HISTORY.txt
setup.py
src/pyams_workflow.egg-info/PKG-INFO
src/pyams_workflow.egg-info/SOURCES.txt
src/pyams_workflow/locales/fr/LC_MESSAGES/pyams_workflow.mo
src/pyams_workflow/locales/fr/LC_MESSAGES/pyams_workflow.po
src/pyams_workflow/locales/pyams_workflow.pot
--- a/.installed.cfg	Wed Jul 12 13:59:18 2017 +0200
+++ b/.installed.cfg	Wed Jul 12 17:46:40 2017 +0200
@@ -1,5 +1,6 @@
 [buildout]
 installed_develop_eggs = /home/tflorac/Dropbox/src/PyAMS/pyams_workflow/develop-eggs/pyams-file.egg-link
+	/home/tflorac/Dropbox/src/PyAMS/pyams_workflow/develop-eggs/lingua.egg-link
 	/home/tflorac/Dropbox/src/PyAMS/pyams_workflow/develop-eggs/pyams-template.egg-link
 	/home/tflorac/Dropbox/src/PyAMS/pyams_workflow/develop-eggs/pyams-security.egg-link
 	/home/tflorac/Dropbox/src/PyAMS/pyams_workflow/develop-eggs/pyams-workflow.egg-link
@@ -8,23 +9,57 @@
 	/home/tflorac/Dropbox/src/PyAMS/pyams_workflow/develop-eggs/pyams-viewlet.egg-link
 	/home/tflorac/Dropbox/src/PyAMS/pyams_workflow/develop-eggs/pyams-i18n.egg-link
 	/home/tflorac/Dropbox/src/PyAMS/pyams_workflow/develop-eggs/pyams-mail.egg-link
+	/home/tflorac/Dropbox/src/PyAMS/pyams_workflow/develop-eggs/tmpubem_wokbuild
 	/home/tflorac/Dropbox/src/PyAMS/pyams_workflow/develop-eggs/pyams-zmi.egg-link
 	/home/tflorac/Dropbox/src/PyAMS/pyams_workflow/develop-eggs/pyams-zmq.egg-link
 	/home/tflorac/Dropbox/src/PyAMS/pyams_workflow/develop-eggs/pyams-catalog.egg-link
 	/home/tflorac/Dropbox/src/PyAMS/pyams_workflow/develop-eggs/pyams-form.egg-link
 	/home/tflorac/Dropbox/src/PyAMS/pyams_workflow/develop-eggs/pyams-utils.egg-link
-parts = package i18n pyflakes test
+parts = pyflakes test package i18n
+
+[pyflakes]
+__buildout_installed__ = /home/tflorac/Dropbox/src/PyAMS/pyams_workflow/bin/pyflakes
+	/home/tflorac/Dropbox/src/PyAMS/pyams_workflow/bin/pyflakes
+__buildout_signature__ = zc.recipe.egg-2.0.3-py3.5.egg setuptools-33.1.1-py3.5.egg zc.buildout-2.9.3-py3.5.egg
+_b = /home/tflorac/Dropbox/src/PyAMS/pyams_workflow/bin
+_d = /home/tflorac/Dropbox/src/PyAMS/pyams_workflow/develop-eggs
+_e = /var/local/env/pyams/eggs
+bin-directory = /home/tflorac/Dropbox/src/PyAMS/pyams_workflow/bin
+develop-eggs-directory = /home/tflorac/Dropbox/src/PyAMS/pyams_workflow/develop-eggs
+eggs = pyflakes
+eggs-directory = /var/local/env/pyams/eggs
+entry-points = pyflakes=pyflakes.scripts.pyflakes:main
+find-links = http://download.ztfy.org/eggs
+initialization = if not sys.argv[1:]: sys.argv[1:] = ["src"]
+recipe = zc.recipe.egg
+scripts = pyflakes
+
+[test]
+__buildout_installed__ = /home/tflorac/Dropbox/src/PyAMS/pyams_workflow/parts/test
+	/home/tflorac/Dropbox/src/PyAMS/pyams_workflow/bin/test
+__buildout_signature__ = zc.recipe.testrunner-2.0.0-py3.5.egg zc.recipe.egg-2.0.3-py3.5.egg setuptools-33.1.1-py3.5.egg zope.testrunner-4.7.0-py3.5.egg zc.buildout-2.9.3-py3.5.egg zope.interface-4.4.1-py3.5-linux-x86_64.egg zope.exceptions-4.1.0-py3.5.egg six-e7e58fc36ac96295dcff9979007c0533
+_b = /home/tflorac/Dropbox/src/PyAMS/pyams_workflow/bin
+_d = /home/tflorac/Dropbox/src/PyAMS/pyams_workflow/develop-eggs
+_e = /var/local/env/pyams/eggs
+bin-directory = /home/tflorac/Dropbox/src/PyAMS/pyams_workflow/bin
+develop-eggs-directory = /home/tflorac/Dropbox/src/PyAMS/pyams_workflow/develop-eggs
+eggs = pyams_workflow [test]
+eggs-directory = /var/local/env/pyams/eggs
+find-links = http://download.ztfy.org/eggs
+location = /home/tflorac/Dropbox/src/PyAMS/pyams_workflow/parts/test
+recipe = zc.recipe.testrunner
+script = /home/tflorac/Dropbox/src/PyAMS/pyams_workflow/bin/test
 
 [package]
 __buildout_installed__ = /home/tflorac/Dropbox/src/PyAMS/pyams_workflow/bin/pyams_upgrade
-	/home/tflorac/Dropbox/src/PyAMS/pyams_workflow/bin/pshell
 	/home/tflorac/Dropbox/src/PyAMS/pyams_workflow/bin/pviews
 	/home/tflorac/Dropbox/src/PyAMS/pyams_workflow/bin/pserve
+	/home/tflorac/Dropbox/src/PyAMS/pyams_workflow/bin/proutes
+	/home/tflorac/Dropbox/src/PyAMS/pyams_workflow/bin/pcreate
 	/home/tflorac/Dropbox/src/PyAMS/pyams_workflow/bin/ptweens
 	/home/tflorac/Dropbox/src/PyAMS/pyams_workflow/bin/pdistreport
-	/home/tflorac/Dropbox/src/PyAMS/pyams_workflow/bin/pcreate
+	/home/tflorac/Dropbox/src/PyAMS/pyams_workflow/bin/pshell
 	/home/tflorac/Dropbox/src/PyAMS/pyams_workflow/bin/prequest
-	/home/tflorac/Dropbox/src/PyAMS/pyams_workflow/bin/proutes
 __buildout_signature__ = zc.recipe.egg-2.0.3-py3.5.egg setuptools-33.1.1-py3.5.egg zc.buildout-2.9.3-py3.5.egg
 _b = /home/tflorac/Dropbox/src/PyAMS/pyams_workflow/bin
 _d = /home/tflorac/Dropbox/src/PyAMS/pyams_workflow/develop-eggs
@@ -62,35 +97,8 @@
 find-links = http://download.ztfy.org/eggs
 recipe = zc.recipe.egg
 
-[pyflakes]
-__buildout_installed__ = /home/tflorac/Dropbox/src/PyAMS/pyams_workflow/bin/pyflakes
-	/home/tflorac/Dropbox/src/PyAMS/pyams_workflow/bin/pyflakes
-__buildout_signature__ = zc.recipe.egg-2.0.3-py3.5.egg setuptools-33.1.1-py3.5.egg zc.buildout-2.9.3-py3.5.egg
-_b = /home/tflorac/Dropbox/src/PyAMS/pyams_workflow/bin
-_d = /home/tflorac/Dropbox/src/PyAMS/pyams_workflow/develop-eggs
-_e = /var/local/env/pyams/eggs
-bin-directory = /home/tflorac/Dropbox/src/PyAMS/pyams_workflow/bin
-develop-eggs-directory = /home/tflorac/Dropbox/src/PyAMS/pyams_workflow/develop-eggs
-eggs = pyflakes
-eggs-directory = /var/local/env/pyams/eggs
-entry-points = pyflakes=pyflakes.scripts.pyflakes:main
-find-links = http://download.ztfy.org/eggs
-initialization = if not sys.argv[1:]: sys.argv[1:] = ["src"]
-recipe = zc.recipe.egg
-scripts = pyflakes
+[buildout]
+parts = test package i18n pyflakes
 
-[test]
-__buildout_installed__ = /home/tflorac/Dropbox/src/PyAMS/pyams_workflow/parts/test
-	/home/tflorac/Dropbox/src/PyAMS/pyams_workflow/bin/test
-__buildout_signature__ = zc.recipe.testrunner-2.0.0-py3.5.egg zc.recipe.egg-2.0.3-py3.5.egg setuptools-33.1.1-py3.5.egg zope.testrunner-4.7.0-py3.5.egg zc.buildout-2.9.3-py3.5.egg zope.interface-4.4.1-py3.5-linux-x86_64.egg zope.exceptions-4.1.0-py3.5.egg six-e7e58fc36ac96295dcff9979007c0533
-_b = /home/tflorac/Dropbox/src/PyAMS/pyams_workflow/bin
-_d = /home/tflorac/Dropbox/src/PyAMS/pyams_workflow/develop-eggs
-_e = /var/local/env/pyams/eggs
-bin-directory = /home/tflorac/Dropbox/src/PyAMS/pyams_workflow/bin
-develop-eggs-directory = /home/tflorac/Dropbox/src/PyAMS/pyams_workflow/develop-eggs
-eggs = pyams_workflow [test]
-eggs-directory = /var/local/env/pyams/eggs
-find-links = http://download.ztfy.org/eggs
-location = /home/tflorac/Dropbox/src/PyAMS/pyams_workflow/parts/test
-recipe = zc.recipe.testrunner
-script = /home/tflorac/Dropbox/src/PyAMS/pyams_workflow/bin/test
+[buildout]
+parts = package i18n pyflakes test
--- a/buildout.cfg	Wed Jul 12 13:59:18 2017 +0200
+++ b/buildout.cfg	Wed Jul 12 17:46:40 2017 +0200
@@ -20,6 +20,7 @@
 src = src
 develop =
     .
+    ../ext/lingua
     ../pyams_catalog
     ../pyams_file
     ../pyams_form
@@ -78,4 +79,4 @@
 eggs = pyams_workflow [test]
 
 [versions]
-pyams_workflow = 0.1.3
+pyams_workflow = 0.1.4
--- a/docs/HISTORY.txt	Wed Jul 12 13:59:18 2017 +0200
+++ b/docs/HISTORY.txt	Wed Jul 12 17:46:40 2017 +0200
@@ -1,6 +1,10 @@
 History
 =======
 
+0.1.4
+-----
+ - updated workflow publication interface
+
 0.1.3
 -----
  - changed admin view name to "admin" instead of "admin.html"
--- a/setup.py	Wed Jul 12 13:59:18 2017 +0200
+++ b/setup.py	Wed Jul 12 17:46:40 2017 +0200
@@ -22,7 +22,7 @@
 README = os.path.join(DOCS, 'README.txt')
 HISTORY = os.path.join(DOCS, 'HISTORY.txt')
 
-version = '0.1.3'
+version = '0.1.4'
 long_description = open(README).read() + '\n\n' + open(HISTORY).read()
 
 tests_require = []
--- a/src/pyams_workflow.egg-info/PKG-INFO	Wed Jul 12 13:59:18 2017 +0200
+++ b/src/pyams_workflow.egg-info/PKG-INFO	Wed Jul 12 17:46:40 2017 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: pyams-workflow
-Version: 0.1.3
+Version: 0.1.4
 Summary: PyAMS workflow manager
 Home-page: http://hg.ztfy.org/pyams/pyams_workflow
 Author: Thierry Florac
@@ -11,6 +11,10 @@
         History
         =======
         
+        0.1.4
+        -----
+         - updated workflow publication interface
+        
         0.1.3
         -----
          - changed admin view name to "admin" instead of "admin.html"
--- a/src/pyams_workflow.egg-info/SOURCES.txt	Wed Jul 12 13:59:18 2017 +0200
+++ b/src/pyams_workflow.egg-info/SOURCES.txt	Wed Jul 12 17:46:40 2017 +0200
@@ -17,7 +17,6 @@
 src/pyams_workflow.egg-info/top_level.txt
 src/pyams_workflow/doctests/README.txt
 src/pyams_workflow/interfaces/__init__.py
-src/pyams_workflow/locales/pyams_workflow.mo
 src/pyams_workflow/locales/pyams_workflow.pot
 src/pyams_workflow/locales/fr/LC_MESSAGES/pyams_workflow.mo
 src/pyams_workflow/locales/fr/LC_MESSAGES/pyams_workflow.po
Binary file src/pyams_workflow/locales/fr/LC_MESSAGES/pyams_workflow.mo has changed
--- a/src/pyams_workflow/locales/fr/LC_MESSAGES/pyams_workflow.po	Wed Jul 12 13:59:18 2017 +0200
+++ b/src/pyams_workflow/locales/fr/LC_MESSAGES/pyams_workflow.po	Wed Jul 12 17:46:40 2017 +0200
@@ -5,7 +5,7 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE 1.0\n"
-"POT-Creation-Date: 2016-01-18 16:25+0100\n"
+"POT-Creation-Date: 2017-07-06 14:17+0200\n"
 "PO-Revision-Date: 2015-05-12 11:59+0200\n"
 "Last-Translator: Thierry Florac <tflorac@ulthar.net>\n"
 "Language-Team: French <traduc@traduc.org>\n"
@@ -20,12 +20,12 @@
 msgid "-- unknown --"
 msgstr "-- inconnu --"
 
-#: src/pyams_workflow/content.py:68
+#: src/pyams_workflow/content.py:106
 #, python-format
 msgid "{date} by {principal}"
 msgstr "{date} par {principal}"
 
-#: src/pyams_workflow/content.py:165
+#: src/pyams_workflow/content.py:213
 #, python-format
 msgid "Clone created from version {source}"
 msgstr "Duplication de la version {source}"
@@ -34,20 +34,25 @@
 msgid "Change status..."
 msgstr "Agir sur le statut..."
 
+#: src/pyams_workflow/zmi/workflow.py:105
+#: src/pyams_workflow/zmi/workflow.py:133
+#, python-format
+msgid "Version {version} ({state} - last update {date})"
+msgstr "Version {version} ({state} - dernière modification {date})"
+
 #: src/pyams_workflow/zmi/workflow.py:112
 msgid "Older versions"
 msgstr "Versions plus anciennes"
 
-#: src/pyams_workflow/zmi/workflow.py:133
-#: src/pyams_workflow/zmi/workflow.py:105
-#, python-format
-msgid "Version {version} ({state} - last update {date})"
-msgstr "Version {version} ({state} - dernière modification {date})"
-
 #: src/pyams_workflow/zmi/versions.py:50
 msgid "Version history"
 msgstr "Historique"
 
+#: src/pyams_workflow/zmi/versions.py:61
+#, python-format
+msgid "Version {version} history"
+msgstr "Historique de la version {version}"
+
 #: src/pyams_workflow/zmi/versions.py:90
 msgid "Date"
 msgstr "Date"
@@ -61,150 +66,190 @@
 msgstr "Intervenant"
 
 #: src/pyams_workflow/zmi/versions.py:128
-#: src/pyams_workflow/interfaces/__init__.py:442
+#: src/pyams_workflow/interfaces/__init__.py:478
 msgid "Comment"
 msgstr "Commentaire"
 
-#: src/pyams_workflow/zmi/versions.py:139
-msgid "Transition"
-msgstr "Fait suite à"
-
-#: src/pyams_workflow/zmi/versions.py:157
-msgid "Previous state"
-msgstr "Statut précédent"
-
-#: src/pyams_workflow/zmi/versions.py:61
-#, python-format
-msgid "Version {version} history"
-msgstr "Historique de la version {version}"
-
-#: src/pyams_workflow/zmi/versions.py:163
-#, python-format
-msgid "{status} (version {version})"
-msgstr "{status} (version {version})"
-
 #: src/pyams_workflow/zmi/viewlet/templates/versions.pt:5
-#: src/pyams_workflow/zmi/viewlet/templates/versions.pt:25
+#: src/pyams_workflow/zmi/viewlet/templates/versions.pt:19
 msgid "Version ${version} - ${state}"
 msgstr "Version ${version} - ${state}"
 
-#: src/pyams_workflow/interfaces/__init__.py:300
+#: src/pyams_workflow/interfaces/__init__.py:301
 msgid "Version ID"
 msgstr "N° de version"
 
-#: src/pyams_workflow/interfaces/__init__.py:302
+#: src/pyams_workflow/interfaces/__init__.py:303
 msgid "Version state"
 msgstr "Statut actuel"
 
-#: src/pyams_workflow/interfaces/__init__.py:304
+#: src/pyams_workflow/interfaces/__init__.py:305
 msgid "State date"
 msgstr "Date du statut"
 
-#: src/pyams_workflow/interfaces/__init__.py:305
+#: src/pyams_workflow/interfaces/__init__.py:306
 msgid "Date at which the current state was applied"
 msgstr "Date à laquelle le changement d'état a été effectué"
 
-#: src/pyams_workflow/interfaces/__init__.py:307
+#: src/pyams_workflow/interfaces/__init__.py:308
 msgid "State principal"
 msgstr "Statut défini par"
 
-#: src/pyams_workflow/interfaces/__init__.py:308
+#: src/pyams_workflow/interfaces/__init__.py:309
 msgid "ID of the principal which defined current state"
 msgstr "Utilisateur ayant défini ce statut"
 
-#: src/pyams_workflow/interfaces/__init__.py:310
-#: src/pyams_workflow/interfaces/__init__.py:433
+#: src/pyams_workflow/interfaces/__init__.py:311
+#: src/pyams_workflow/interfaces/__init__.py:469
 msgid "Urgent request?"
 msgstr "Demande urgente ?"
 
-#: src/pyams_workflow/interfaces/__init__.py:357
+#: src/pyams_workflow/interfaces/__init__.py:358
 msgid "Workflow name"
 msgstr "Nom du workflow"
 
-#: src/pyams_workflow/interfaces/__init__.py:358
+#: src/pyams_workflow/interfaces/__init__.py:359
 msgid "Name of workflow utility managing this content"
 msgstr "Nom de l'outil de workflow gérant ce contenu"
 
-#: src/pyams_workflow/interfaces/__init__.py:362
+#: src/pyams_workflow/interfaces/__init__.py:363
 msgid "View permission"
 msgstr "Permission de consultation"
 
-#: src/pyams_workflow/interfaces/__init__.py:363
+#: src/pyams_workflow/interfaces/__init__.py:364
 msgid "This permission will be required to display content"
 msgstr "Cette permission sera nécessaire pour afficher le contenu"
 
-#: src/pyams_workflow/interfaces/__init__.py:380
+#: src/pyams_workflow/interfaces/__init__.py:381
 msgid "Transition ID"
 msgstr "ID de la transition"
 
-#: src/pyams_workflow/interfaces/__init__.py:387
+#: src/pyams_workflow/interfaces/__init__.py:388
+msgid "Display first version date"
+msgstr "Date de publication de la première version"
+
+#: src/pyams_workflow/interfaces/__init__.py:389
+msgid "Display current version date"
+msgstr "Date de publication de cette version"
+
+#: src/pyams_workflow/interfaces/__init__.py:398
 msgid "Publication date"
 msgstr "Date de publication"
 
-#: src/pyams_workflow/interfaces/__init__.py:388
+#: src/pyams_workflow/interfaces/__init__.py:399
 msgid "Last date at which content was accepted for publication"
 msgstr "Dernière date à laquelle le contenu a été accepté pour publication"
 
-#: src/pyams_workflow/interfaces/__init__.py:391
+#: src/pyams_workflow/interfaces/__init__.py:402
 msgid "Publisher"
 msgstr "Publié par"
 
-#: src/pyams_workflow/interfaces/__init__.py:392
+#: src/pyams_workflow/interfaces/__init__.py:403
 msgid "Name of the manager who published the document"
 msgstr "Nom du responsable ayant publié ce contenu"
 
-#: src/pyams_workflow/interfaces/__init__.py:395
+#: src/pyams_workflow/interfaces/__init__.py:406
 msgid "Publication"
 msgstr "Mise en ligne"
 
-#: src/pyams_workflow/interfaces/__init__.py:396
+#: src/pyams_workflow/interfaces/__init__.py:407
 msgid "Last publication date and actor"
 msgstr "Date et nom du responsable ayant effectué la mise en ligne"
 
-#: src/pyams_workflow/interfaces/__init__.py:400
+#: src/pyams_workflow/interfaces/__init__.py:411
 msgid "First publication date"
 msgstr "Première date de publication"
 
-#: src/pyams_workflow/interfaces/__init__.py:401
+#: src/pyams_workflow/interfaces/__init__.py:412
 msgid "First date at which content was accepted for publication"
 msgstr "Première date à laquelle ce contenu a été accepté pour publication"
 
-#: src/pyams_workflow/interfaces/__init__.py:404
+#: src/pyams_workflow/interfaces/__init__.py:415
 msgid "Publication start date"
 msgstr "Début de publication"
 
-#: src/pyams_workflow/interfaces/__init__.py:405
+#: src/pyams_workflow/interfaces/__init__.py:416
 msgid "Date from which content will be visible"
 msgstr "Date et heure à partir desquelles ce contenu sera visible"
 
-#: src/pyams_workflow/interfaces/__init__.py:408
+#: src/pyams_workflow/interfaces/__init__.py:419
+msgid "Push end date"
+msgstr "Pousser jusqu'au"
+
+#: src/pyams_workflow/interfaces/__init__.py:420
+msgid ""
+"Some contents can be pushed by components to front-office pages; if you set "
+"a date here, this content will not be pushed anymore passed this date, but "
+"will still be available via search engine or direct links"
+msgstr ""
+"Certains composants peuvent 'pousser' des informations vers les pages du "
+"front-office ; si vous indiquez une date ici, ce contenu ne sera plus poussé "
+"au-delà de cette date, mais restera accessible via le moteur de recherche ou "
+"via des liens directs (à la différence des contenus retirés ou archivés)"
+
+#: src/pyams_workflow/interfaces/__init__.py:429
+msgid "Can't define push end date without publication start date!"
+msgstr ""
+"Impossible de définir une date jusqu'à laquelle pousser un contenu sans date "
+"de début de publication !"
+
+#: src/pyams_workflow/interfaces/__init__.py:431
+msgid "Push end date must be defined after publication start date!"
+msgstr ""
+"La date jusqu'à laquelle pousser un contenu doit être postérieure à la date "
+"de début de publication !"
+
+#: src/pyams_workflow/interfaces/__init__.py:434
+msgid "Push end date must be null or defined before publication end date!"
+msgstr ""
+"La date jusqu'à laquelle pousser un contenu doit être nulle ou antérieure à "
+"la date de fin de publication !"
+
+#: src/pyams_workflow/interfaces/__init__.py:436
 msgid "Publication end date"
 msgstr "Fin de publication"
 
-#: src/pyams_workflow/interfaces/__init__.py:409
+#: src/pyams_workflow/interfaces/__init__.py:437
 msgid "Date past which content will not be visible"
 msgstr ""
 "S'il y a lieu, date et heure à partir desquelles ce contenu ne devra plus "
 "être consultable"
 
-#: src/pyams_workflow/interfaces/__init__.py:434
-msgid "Please use this option only when really needed..."
-msgstr "Veillez à réserver l'urgence aux situations qui le méritent..."
-
-#: src/pyams_workflow/interfaces/__init__.py:443
-msgid "Comment associated with this operation"
-msgstr "Commentaire associé à cette opération"
-
-#: src/pyams_workflow/interfaces/__init__.py:416
+#: src/pyams_workflow/interfaces/__init__.py:444
 msgid "Can't define publication end date without publication start date!"
 msgstr ""
 "Impossible de définir une date de fin de publication sans date de début !"
 
-#: src/pyams_workflow/interfaces/__init__.py:418
+#: src/pyams_workflow/interfaces/__init__.py:446
 msgid "Publication end date must be defined after publication start date!"
 msgstr ""
 "La date de fin de publication doit être postérieure à la date de début !"
 
+#: src/pyams_workflow/interfaces/__init__.py:448
+msgid "Displayed publication date"
+msgstr "Date de publication affichée"
+
+#: src/pyams_workflow/interfaces/__init__.py:449
+msgid "The matching date will be displayed in front-office"
+msgstr "La date correspondante sera affichée en front-office"
+
+#: src/pyams_workflow/interfaces/__init__.py:470
+msgid "Please use this option only when really needed..."
+msgstr "Veillez à réserver l'urgence aux situations qui le méritent..."
+
+#: src/pyams_workflow/interfaces/__init__.py:479
+msgid "Comment associated with this operation"
+msgstr "Pour conserver des informations en lien avec cette action"
+
+#~ msgid "Transition"
+#~ msgstr "Fait suite à"
+
+#~ msgid "Previous state"
+#~ msgstr "Statut précédent"
+
+#~ msgid "{status} (version {version})"
+#~ msgstr "{status} (version {version})"
+
 #~ msgid "Principal"
 #~ msgstr "Utilisateur"
 
--- a/src/pyams_workflow/locales/pyams_workflow.pot	Wed Jul 12 13:59:18 2017 +0200
+++ b/src/pyams_workflow/locales/pyams_workflow.pot	Wed Jul 12 17:46:40 2017 +0200
@@ -1,12 +1,12 @@
-# 
+#
 # SOME DESCRIPTIVE TITLE
 # This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, 2016.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2017.
 #, fuzzy
 msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE 1.0\n"
-"POT-Creation-Date: 2016-01-18 16:25+0100\n"
+"POT-Creation-Date: 2017-07-06 14:17+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"
@@ -14,18 +14,18 @@
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"Generated-By: Lingua 3.8\n"
+"Generated-By: Lingua 4.13\n"
 
 #: ./src/pyams_workflow/workflow.py:117
 msgid "-- unknown --"
 msgstr ""
 
-#: ./src/pyams_workflow/content.py:68
+#: ./src/pyams_workflow/content.py:106
 #, python-format
 msgid "{date} by {principal}"
 msgstr ""
 
-#: ./src/pyams_workflow/content.py:165
+#: ./src/pyams_workflow/content.py:213
 #, python-format
 msgid "Clone created from version {source}"
 msgstr ""
@@ -34,18 +34,23 @@
 msgid "Change status..."
 msgstr ""
 
+#: ./src/pyams_workflow/zmi/workflow.py:105
+#: ./src/pyams_workflow/zmi/workflow.py:133
+#, python-format
+msgid "Version {version} ({state} - last update {date})"
+msgstr ""
+
 #: ./src/pyams_workflow/zmi/workflow.py:112
 msgid "Older versions"
 msgstr ""
 
-#: ./src/pyams_workflow/zmi/workflow.py:133
-#: ./src/pyams_workflow/zmi/workflow.py:105
-#, python-format
-msgid "Version {version} ({state} - last update {date})"
+#: ./src/pyams_workflow/zmi/versions.py:50
+msgid "Version history"
 msgstr ""
 
-#: ./src/pyams_workflow/zmi/versions.py:50
-msgid "Version history"
+#: ./src/pyams_workflow/zmi/versions.py:61
+#, python-format
+msgid "Version {version} history"
 msgstr ""
 
 #: ./src/pyams_workflow/zmi/versions.py:90
@@ -61,142 +66,163 @@
 msgstr ""
 
 #: ./src/pyams_workflow/zmi/versions.py:128
-#: ./src/pyams_workflow/interfaces/__init__.py:442
+#: ./src/pyams_workflow/interfaces/__init__.py:478
 msgid "Comment"
 msgstr ""
 
-#: ./src/pyams_workflow/zmi/versions.py:139
-msgid "Transition"
-msgstr ""
-
-#: ./src/pyams_workflow/zmi/versions.py:157
-msgid "Previous state"
-msgstr ""
-
-#: ./src/pyams_workflow/zmi/versions.py:61
-#, python-format
-msgid "Version {version} history"
-msgstr ""
-
-#: ./src/pyams_workflow/zmi/versions.py:163
-#, python-format
-msgid "{status} (version {version})"
-msgstr ""
-
 #: ./src/pyams_workflow/zmi/viewlet/templates/versions.pt:5
-#: ./src/pyams_workflow/zmi/viewlet/templates/versions.pt:25
+#: ./src/pyams_workflow/zmi/viewlet/templates/versions.pt:19
 msgid "Version ${version} - ${state}"
 msgstr ""
 
-#: ./src/pyams_workflow/interfaces/__init__.py:300
+#: ./src/pyams_workflow/interfaces/__init__.py:301
 msgid "Version ID"
 msgstr ""
 
-#: ./src/pyams_workflow/interfaces/__init__.py:302
+#: ./src/pyams_workflow/interfaces/__init__.py:303
 msgid "Version state"
 msgstr ""
 
-#: ./src/pyams_workflow/interfaces/__init__.py:304
+#: ./src/pyams_workflow/interfaces/__init__.py:305
 msgid "State date"
 msgstr ""
 
-#: ./src/pyams_workflow/interfaces/__init__.py:305
+#: ./src/pyams_workflow/interfaces/__init__.py:306
 msgid "Date at which the current state was applied"
 msgstr ""
 
-#: ./src/pyams_workflow/interfaces/__init__.py:307
-msgid "State principal"
-msgstr ""
-
 #: ./src/pyams_workflow/interfaces/__init__.py:308
+msgid "State principal"
+msgstr ""
+
+#: ./src/pyams_workflow/interfaces/__init__.py:309
 msgid "ID of the principal which defined current state"
 msgstr ""
 
-#: ./src/pyams_workflow/interfaces/__init__.py:310
-#: ./src/pyams_workflow/interfaces/__init__.py:433
+#: ./src/pyams_workflow/interfaces/__init__.py:311
+#: ./src/pyams_workflow/interfaces/__init__.py:469
 msgid "Urgent request?"
 msgstr ""
 
-#: ./src/pyams_workflow/interfaces/__init__.py:357
+#: ./src/pyams_workflow/interfaces/__init__.py:358
 msgid "Workflow name"
 msgstr ""
 
-#: ./src/pyams_workflow/interfaces/__init__.py:358
+#: ./src/pyams_workflow/interfaces/__init__.py:359
 msgid "Name of workflow utility managing this content"
 msgstr ""
 
-#: ./src/pyams_workflow/interfaces/__init__.py:362
-msgid "View permission"
-msgstr ""
-
 #: ./src/pyams_workflow/interfaces/__init__.py:363
+msgid "View permission"
+msgstr ""
+
+#: ./src/pyams_workflow/interfaces/__init__.py:364
 msgid "This permission will be required to display content"
 msgstr ""
 
-#: ./src/pyams_workflow/interfaces/__init__.py:380
+#: ./src/pyams_workflow/interfaces/__init__.py:381
 msgid "Transition ID"
 msgstr ""
 
-#: ./src/pyams_workflow/interfaces/__init__.py:387
+#: ./src/pyams_workflow/interfaces/__init__.py:388
+msgid "Display first version date"
+msgstr ""
+
+#: ./src/pyams_workflow/interfaces/__init__.py:389
+msgid "Display current version date"
+msgstr ""
+
+#: ./src/pyams_workflow/interfaces/__init__.py:398
 msgid "Publication date"
 msgstr ""
 
-#: ./src/pyams_workflow/interfaces/__init__.py:388
+#: ./src/pyams_workflow/interfaces/__init__.py:399
 msgid "Last date at which content was accepted for publication"
 msgstr ""
 
-#: ./src/pyams_workflow/interfaces/__init__.py:391
+#: ./src/pyams_workflow/interfaces/__init__.py:402
 msgid "Publisher"
 msgstr ""
 
-#: ./src/pyams_workflow/interfaces/__init__.py:392
+#: ./src/pyams_workflow/interfaces/__init__.py:403
 msgid "Name of the manager who published the document"
 msgstr ""
 
-#: ./src/pyams_workflow/interfaces/__init__.py:395
+#: ./src/pyams_workflow/interfaces/__init__.py:406
 msgid "Publication"
 msgstr ""
 
-#: ./src/pyams_workflow/interfaces/__init__.py:396
+#: ./src/pyams_workflow/interfaces/__init__.py:407
 msgid "Last publication date and actor"
 msgstr ""
 
-#: ./src/pyams_workflow/interfaces/__init__.py:400
+#: ./src/pyams_workflow/interfaces/__init__.py:411
 msgid "First publication date"
 msgstr ""
 
-#: ./src/pyams_workflow/interfaces/__init__.py:401
+#: ./src/pyams_workflow/interfaces/__init__.py:412
 msgid "First date at which content was accepted for publication"
 msgstr ""
 
-#: ./src/pyams_workflow/interfaces/__init__.py:404
+#: ./src/pyams_workflow/interfaces/__init__.py:415
 msgid "Publication start date"
 msgstr ""
 
-#: ./src/pyams_workflow/interfaces/__init__.py:405
+#: ./src/pyams_workflow/interfaces/__init__.py:416
 msgid "Date from which content will be visible"
 msgstr ""
 
-#: ./src/pyams_workflow/interfaces/__init__.py:408
+#: ./src/pyams_workflow/interfaces/__init__.py:419
+msgid "Push end date"
+msgstr ""
+
+#: ./src/pyams_workflow/interfaces/__init__.py:420
+msgid ""
+"Some contents can be pushed by components to front-office pages; if you set a"
+" date here, this content will not be pushed anymore passed this date, but "
+"will still be available via search engine or direct links"
+msgstr ""
+
+#: ./src/pyams_workflow/interfaces/__init__.py:429
+msgid "Can't define push end date without publication start date!"
+msgstr ""
+
+#: ./src/pyams_workflow/interfaces/__init__.py:431
+msgid "Push end date must be defined after publication start date!"
+msgstr ""
+
+#: ./src/pyams_workflow/interfaces/__init__.py:434
+msgid "Push end date must be null or defined before publication end date!"
+msgstr ""
+
+#: ./src/pyams_workflow/interfaces/__init__.py:436
 msgid "Publication end date"
 msgstr ""
 
-#: ./src/pyams_workflow/interfaces/__init__.py:409
+#: ./src/pyams_workflow/interfaces/__init__.py:437
 msgid "Date past which content will not be visible"
 msgstr ""
 
-#: ./src/pyams_workflow/interfaces/__init__.py:434
+#: ./src/pyams_workflow/interfaces/__init__.py:444
+msgid "Can't define publication end date without publication start date!"
+msgstr ""
+
+#: ./src/pyams_workflow/interfaces/__init__.py:446
+msgid "Publication end date must be defined after publication start date!"
+msgstr ""
+
+#: ./src/pyams_workflow/interfaces/__init__.py:448
+msgid "Displayed publication date"
+msgstr ""
+
+#: ./src/pyams_workflow/interfaces/__init__.py:449
+msgid "The matching date will be displayed in front-office"
+msgstr ""
+
+#: ./src/pyams_workflow/interfaces/__init__.py:470
 msgid "Please use this option only when really needed..."
 msgstr ""
 
-#: ./src/pyams_workflow/interfaces/__init__.py:443
+#: ./src/pyams_workflow/interfaces/__init__.py:479
 msgid "Comment associated with this operation"
 msgstr ""
-
-#: ./src/pyams_workflow/interfaces/__init__.py:416
-msgid "Can't define publication end date without publication start date!"
-msgstr ""
-
-#: ./src/pyams_workflow/interfaces/__init__.py:418
-msgid "Publication end date must be defined after publication start date!"
-msgstr ""