# HG changeset patch # User Thierry Florac # Date 1528725645 -7200 # Node ID 0c7bead9f062af03bea959e1e0dc363a829c527f # Parent 7add759206bcee470029920b83073283bfcfcf94 Version 0.1.15 diff -r 7add759206bc -r 0c7bead9f062 .installed.cfg --- a/.installed.cfg Fri Jun 08 14:58:57 2018 +0200 +++ b/.installed.cfg Mon Jun 11 16:00:45 2018 +0200 @@ -12,15 +12,15 @@ parts = package i18n pyflakes test [package] -__buildout_installed__ = /home/tflorac/Dropbox/src/PyAMS/pyams_file/bin/pviews +__buildout_installed__ = /home/tflorac/Dropbox/src/PyAMS/pyams_file/bin/pdistreport + /home/tflorac/Dropbox/src/PyAMS/pyams_file/bin/pviews + /home/tflorac/Dropbox/src/PyAMS/pyams_file/bin/pcreate + /home/tflorac/Dropbox/src/PyAMS/pyams_file/bin/prequest /home/tflorac/Dropbox/src/PyAMS/pyams_file/bin/proutes - /home/tflorac/Dropbox/src/PyAMS/pyams_file/bin/prequest - /home/tflorac/Dropbox/src/PyAMS/pyams_file/bin/pserve /home/tflorac/Dropbox/src/PyAMS/pyams_file/bin/pshell /home/tflorac/Dropbox/src/PyAMS/pyams_file/bin/ptweens - /home/tflorac/Dropbox/src/PyAMS/pyams_file/bin/pdistreport - /home/tflorac/Dropbox/src/PyAMS/pyams_file/bin/pcreate -__buildout_signature__ = zc.recipe.egg-ed6891d89ed5dd1fe727e5a7c98200a1 zc.buildout-2.10.0-py3.5.egg setuptools-ed6891d89ed5dd1fe727e5a7c98200a1 + /home/tflorac/Dropbox/src/PyAMS/pyams_file/bin/pserve +__buildout_signature__ = zc.recipe.egg-d45dd885254d7f32ab7887f3b58424fb zc.buildout-2.10.0-py3.5.egg setuptools-d45dd885254d7f32ab7887f3b58424fb _b = /home/tflorac/Dropbox/src/PyAMS/pyams_file/bin _d = /home/tflorac/Dropbox/src/PyAMS/pyams_file/develop-eggs _e = /var/local/env/pyams/eggs @@ -38,9 +38,9 @@ [i18n] __buildout_installed__ = /home/tflorac/Dropbox/src/PyAMS/pyams_file/bin/pybabel + /home/tflorac/Dropbox/src/PyAMS/pyams_file/bin/polint /home/tflorac/Dropbox/src/PyAMS/pyams_file/bin/pot-create - /home/tflorac/Dropbox/src/PyAMS/pyams_file/bin/polint -__buildout_signature__ = zc.recipe.egg-ed6891d89ed5dd1fe727e5a7c98200a1 zc.buildout-2.10.0-py3.5.egg setuptools-ed6891d89ed5dd1fe727e5a7c98200a1 +__buildout_signature__ = zc.recipe.egg-d45dd885254d7f32ab7887f3b58424fb zc.buildout-2.10.0-py3.5.egg setuptools-d45dd885254d7f32ab7887f3b58424fb _b = /home/tflorac/Dropbox/src/PyAMS/pyams_file/bin _d = /home/tflorac/Dropbox/src/PyAMS/pyams_file/develop-eggs _e = /var/local/env/pyams/eggs @@ -55,7 +55,7 @@ [pyflakes] __buildout_installed__ = /home/tflorac/Dropbox/src/PyAMS/pyams_file/bin/pyflakes /home/tflorac/Dropbox/src/PyAMS/pyams_file/bin/pyflakes -__buildout_signature__ = zc.recipe.egg-ed6891d89ed5dd1fe727e5a7c98200a1 zc.buildout-2.10.0-py3.5.egg setuptools-ed6891d89ed5dd1fe727e5a7c98200a1 +__buildout_signature__ = zc.recipe.egg-d45dd885254d7f32ab7887f3b58424fb zc.buildout-2.10.0-py3.5.egg setuptools-d45dd885254d7f32ab7887f3b58424fb _b = /home/tflorac/Dropbox/src/PyAMS/pyams_file/bin _d = /home/tflorac/Dropbox/src/PyAMS/pyams_file/develop-eggs _e = /var/local/env/pyams/eggs @@ -72,7 +72,7 @@ [test] __buildout_installed__ = /home/tflorac/Dropbox/src/PyAMS/pyams_file/parts/test /home/tflorac/Dropbox/src/PyAMS/pyams_file/bin/test -__buildout_signature__ = six-ed6891d89ed5dd1fe727e5a7c98200a1 zc.recipe.testrunner-ed6891d89ed5dd1fe727e5a7c98200a1 zc.recipe.egg-ed6891d89ed5dd1fe727e5a7c98200a1 zc.buildout-2.10.0-py3.5.egg zope.exceptions-ed6891d89ed5dd1fe727e5a7c98200a1 zope.interface-ed6891d89ed5dd1fe727e5a7c98200a1 zope.testrunner-ed6891d89ed5dd1fe727e5a7c98200a1 setuptools-ed6891d89ed5dd1fe727e5a7c98200a1 +__buildout_signature__ = six-d45dd885254d7f32ab7887f3b58424fb zc.recipe.testrunner-d45dd885254d7f32ab7887f3b58424fb zc.recipe.egg-d45dd885254d7f32ab7887f3b58424fb zc.buildout-2.10.0-py3.5.egg zope.exceptions-d45dd885254d7f32ab7887f3b58424fb zope.interface-d45dd885254d7f32ab7887f3b58424fb zope.testrunner-d45dd885254d7f32ab7887f3b58424fb setuptools-d45dd885254d7f32ab7887f3b58424fb _b = /home/tflorac/Dropbox/src/PyAMS/pyams_file/bin _d = /home/tflorac/Dropbox/src/PyAMS/pyams_file/develop-eggs _e = /var/local/env/pyams/eggs diff -r 7add759206bc -r 0c7bead9f062 docs/HISTORY.txt --- a/docs/HISTORY.txt Fri Jun 08 14:58:57 2018 +0200 +++ b/docs/HISTORY.txt Mon Jun 11 16:00:45 2018 +0200 @@ -1,6 +1,11 @@ History ======= +0.1.15 +------ + - updated annotations adapter + - added "portrait" thumbnail in default ones + 0.1.14 ------ - renamed factories to use snake_case on functions diff -r 7add759206bc -r 0c7bead9f062 src/pyams_file.egg-info/PKG-INFO --- a/src/pyams_file.egg-info/PKG-INFO Fri Jun 08 14:58:57 2018 +0200 +++ b/src/pyams_file.egg-info/PKG-INFO Mon Jun 11 16:00:45 2018 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: pyams-file -Version: 0.1.14 +Version: 0.1.15 Summary: PyAMS file interfaces and classes Home-page: http://hg.ztfy.org/pyams/pyams_file Author: Thierry Florac @@ -12,6 +12,11 @@ History ======= + 0.1.15 + ------ + - updated annotations adapter + - added "portrait" thumbnail in default ones + 0.1.14 ------ - renamed factories to use snake_case on functions diff -r 7add759206bc -r 0c7bead9f062 src/pyams_file.egg-info/SOURCES.txt --- a/src/pyams_file.egg-info/SOURCES.txt Fri Jun 08 14:58:57 2018 +0200 +++ b/src/pyams_file.egg-info/SOURCES.txt Mon Jun 11 16:00:45 2018 +0200 @@ -44,7 +44,5 @@ src/pyams_file/zmi/file.py src/pyams_file/zmi/image.py src/pyams_file/zmi/templates/image-crop.pt -src/pyams_file/zmi/templates/image-pano-thumbnail.pt src/pyams_file/zmi/templates/image-selection.pt -src/pyams_file/zmi/templates/image-square-thumbnail.pt src/pyams_file/zmi/templates/image-thumbnails.pt \ No newline at end of file diff -r 7add759206bc -r 0c7bead9f062 src/pyams_file.egg-info/requires.txt --- a/src/pyams_file.egg-info/requires.txt Fri Jun 08 14:58:57 2018 +0200 +++ b/src/pyams_file.egg-info/requires.txt Mon Jun 11 16:00:45 2018 +0200 @@ -4,7 +4,7 @@ pyams_pagelet pyams_skin pyams_template -pyams_utils +pyams_utils>=0.1.15 pyams_viewlet pyramid python-magic diff -r 7add759206bc -r 0c7bead9f062 src/pyams_file/locales/fr/LC_MESSAGES/pyams_file.mo Binary file src/pyams_file/locales/fr/LC_MESSAGES/pyams_file.mo has changed diff -r 7add759206bc -r 0c7bead9f062 src/pyams_file/locales/fr/LC_MESSAGES/pyams_file.po~ --- a/src/pyams_file/locales/fr/LC_MESSAGES/pyams_file.po~ Fri Jun 08 14:58:57 2018 +0200 +++ b/src/pyams_file/locales/fr/LC_MESSAGES/pyams_file.po~ Mon Jun 11 16:00:45 2018 +0200 @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE 1.0\n" -"POT-Creation-Date: 2017-09-07 15:12+0200\n" +"POT-Creation-Date: 2017-09-07 15:18+0200\n" "PO-Revision-Date: 2015-02-06 21:39+0100\n" "Last-Translator: Thierry Florac \n" "Language-Team: French\n" @@ -54,9 +54,8 @@ #: src/pyams_file/widget/templates/image-display.pt:12 #: src/pyams_file/widget/templates/image-input.pt:29 -#, fuzzy msgid "Zoom image" -msgstr "Recadrer l'image" +msgstr "Agrandir l'image" #: src/pyams_file/widget/templates/image-display.pt:18 #: src/pyams_file/widget/templates/image-input.pt:35 @@ -77,7 +76,7 @@ #: src/pyams_file/widget/templates/file-input.pt:41 #: src/pyams_file/widget/templates/file-display.pt:17 msgid "Download" -msgstr "Télécharger" +msgstr "Enregistrer sous..." #: src/pyams_file/widget/templates/image-input.pt:7 #: src/pyams_file/widget/templates/file-input.pt:7 @@ -156,14 +155,14 @@ "**WARNING**: cropping or resizing an image will reset all selected " "thumbnails and adaptive images!!" msgstr "" -"L'utilisation d'une vignette carrée n'est pas systématique, elle dépend du modèle " -"de présentation qui peut ou non y faire appel. Par défaut, la vignette carrée est " -"positionnée au centre de l'image, la sélection de son emprise ne modifie pas l'image " -"d'origine.\n" +"L'utilisation d'une vignette carrée n'est pas systématique, elle dépend du " +"modèle de présentation qui peut ou non y faire appel. Par défaut, la " +"vignette carrée est positionnée au centre de l'image, la sélection de son " +"emprise ne modifie pas l'image d'origine.\n" "\n" -"**ATTENTION** : lorsqu'une image est recadrée, redimentionnée ou rechargée, la " -"sélection est réinitialisée sur sa position par défaut (centrée) ; s'il y a lieu, " -"vous devez procéder à une nouvelle sélection personnalisée." +"**ATTENTION** : lorsqu'une image est recadrée, redimentionnée ou rechargée, " +"la sélection est réinitialisée sur sa position par défaut (centrée) ; s'il y " +"a lieu, vous devez procéder à une nouvelle sélection personnalisée." #: src/pyams_file/zmi/image.py:242 msgid "Select panoramic thumbnail..." @@ -173,47 +172,63 @@ msgid "Select panoramic thumbnail" msgstr "Emprise de la vignette panoramique" -#: src/pyams_file/zmi/image.py:370 +#: src/pyams_file/zmi/image.py:310 +msgid "" +"You can use this form to select a panoramic thumbnail of this image.\n" +"\n" +"**WARNING**: cropping or resizing an image will reset all selected " +"thumbnails and adaptive images!!" +msgstr "" +"L'utilisation d'une vignette panoramique n'est pas systématique, elle dépend du " +"modèle de présentation qui peut ou non y faire appel. Par défaut, la " +"vignette panoramique est positionnée au centre de l'image, la sélection de son " +"emprise ne modifie pas l'image d'origine.\n" +"\n" +"**ATTENTION** : lorsqu'une image est recadrée, redimentionnée ou rechargée, " +"la sélection est réinitialisée sur sa position par défaut (centrée) ; s'il y " +"a lieu, vous devez procéder à une nouvelle sélection personnalisée." + +#: src/pyams_file/zmi/image.py:380 msgid "Select responsive XS image..." msgstr "Image adaptative pour smartphones" -#: src/pyams_file/zmi/image.py:389 +#: src/pyams_file/zmi/image.py:399 msgid "Select image for extra-small (XS) devices" msgstr "Portion de l'image affichée sur les smartphones (taille XS)" -#: src/pyams_file/zmi/image.py:411 +#: src/pyams_file/zmi/image.py:421 msgid "Select responsive SM image..." msgstr "Image adaptative pour tablettes" -#: src/pyams_file/zmi/image.py:430 +#: src/pyams_file/zmi/image.py:440 msgid "Select image for small (SM) devices" msgstr "Portion de l'image affichée sur les tablettes (taille SM)" -#: src/pyams_file/zmi/image.py:452 +#: src/pyams_file/zmi/image.py:462 msgid "Select responsive MD image..." msgstr "Image adaptative pour terminaux moyens" -#: src/pyams_file/zmi/image.py:471 +#: src/pyams_file/zmi/image.py:481 msgid "Select image for medium (MD) devices" msgstr "Portion de l'image affichée sur les terminaux moyens (taille MD)" -#: src/pyams_file/zmi/image.py:493 +#: src/pyams_file/zmi/image.py:503 msgid "Select responsive LG image..." msgstr "Image adaptative pour grands terminaux" -#: src/pyams_file/zmi/image.py:512 +#: src/pyams_file/zmi/image.py:522 msgid "Select image for large (LG) devices" msgstr "Portion de l'image affichée sur les grands terminaux (taille LG)" -#: src/pyams_file/zmi/image.py:534 +#: src/pyams_file/zmi/image.py:544 msgid "Resize image..." msgstr "Redimensionner l'image" -#: src/pyams_file/zmi/image.py:585 src/pyams_file/zmi/image.py:545 +#: src/pyams_file/zmi/image.py:595 src/pyams_file/zmi/image.py:555 msgid "Resize image" msgstr "Redimensionner l'image" -#: src/pyams_file/zmi/image.py:621 +#: src/pyams_file/zmi/image.py:631 msgid "" "You can use this form to change image dimensions.\n" "\n" @@ -225,16 +240,16 @@ "Une nouvelle image ne sera générée que si les dimensions indiquées sont " "inférieures à la taille du fichier actuel." -#: src/pyams_file/zmi/image.py:636 +#: src/pyams_file/zmi/image.py:646 msgid "Display all thumbnails" msgstr "Voir toutes les vignettes" -#: src/pyams_file/zmi/image.py:653 +#: src/pyams_file/zmi/image.py:663 msgid "Display all image thumbnails" msgstr "Récapitulatif des vignettes associées" #: src/pyams_file/zmi/image.py:71 src/pyams_file/zmi/image.py:150 -#: src/pyams_file/zmi/image.py:313 src/pyams_file/zmi/image.py:544 +#: src/pyams_file/zmi/image.py:323 src/pyams_file/zmi/image.py:554 msgid "Close" msgstr "Fermer" @@ -242,23 +257,23 @@ msgid "Crop" msgstr "Recadrer l'image" -#: src/pyams_file/zmi/image.py:151 src/pyams_file/zmi/image.py:314 +#: src/pyams_file/zmi/image.py:151 src/pyams_file/zmi/image.py:324 msgid "Select thumbnail" msgstr "Sélectionner cette portion d'image" -#: src/pyams_file/zmi/image.py:551 +#: src/pyams_file/zmi/image.py:561 msgid "New image width" msgstr "Largeur de l'image" -#: src/pyams_file/zmi/image.py:553 +#: src/pyams_file/zmi/image.py:563 msgid "New image height" msgstr "Hauteur de l'image" -#: src/pyams_file/zmi/image.py:555 +#: src/pyams_file/zmi/image.py:565 msgid "Keep aspect ratio" msgstr "Ne pas déformer l'image" -#: src/pyams_file/zmi/image.py:556 +#: src/pyams_file/zmi/image.py:566 msgid "" "Check to keep original aspect ratio; image will be resized as large as " "possible within given limits"