# HG changeset patch # User Thierry Florac # Date 1545990917 -3600 # Node ID 9f092b6dfd28b9645fe9c68d9a604efd4b6d161e # Parent bb46db6d5f8a1551e4308df1382c4c23bdc3a74f Version 0.1.23 diff -r bb46db6d5f8a -r 9f092b6dfd28 .installed.cfg --- a/.installed.cfg Fri Dec 21 20:09:04 2018 +0100 +++ b/.installed.cfg Fri Dec 28 10:55:17 2018 +0100 @@ -12,15 +12,15 @@ parts = package i18n pyflakes test [package] -__buildout_installed__ = /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin/ptweens +__buildout_installed__ = /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin/prequest + /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin/proutes + /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin/ptweens /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin/pviews - /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin/pcreate + /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin/pserve /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin/pshell /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin/pdistreport - /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin/proutes - /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin/prequest - /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin/pserve -__buildout_signature__ = zc.recipe.egg-f634d39fdc0b907ffce64cc8d2553c3f zc.buildout-f634d39fdc0b907ffce64cc8d2553c3f setuptools-f634d39fdc0b907ffce64cc8d2553c3f + /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin/pcreate +__buildout_signature__ = zc.recipe.egg-739dd41a64ab45a8ff4f654525d67856 zc.buildout-739dd41a64ab45a8ff4f654525d67856 setuptools-739dd41a64ab45a8ff4f654525d67856 _b = /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin _d = /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs _e = /var/local/env/pyams/eggs @@ -38,9 +38,9 @@ [i18n] __buildout_installed__ = /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin/pybabel + /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin/pot-create /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin/polint - /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin/pot-create -__buildout_signature__ = zc.recipe.egg-f634d39fdc0b907ffce64cc8d2553c3f zc.buildout-f634d39fdc0b907ffce64cc8d2553c3f setuptools-f634d39fdc0b907ffce64cc8d2553c3f +__buildout_signature__ = zc.recipe.egg-739dd41a64ab45a8ff4f654525d67856 zc.buildout-739dd41a64ab45a8ff4f654525d67856 setuptools-739dd41a64ab45a8ff4f654525d67856 _b = /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin _d = /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs _e = /var/local/env/pyams/eggs @@ -55,7 +55,7 @@ [pyflakes] __buildout_installed__ = /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin/pyflakes /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin/pyflakes -__buildout_signature__ = zc.recipe.egg-f634d39fdc0b907ffce64cc8d2553c3f zc.buildout-f634d39fdc0b907ffce64cc8d2553c3f setuptools-f634d39fdc0b907ffce64cc8d2553c3f +__buildout_signature__ = zc.recipe.egg-739dd41a64ab45a8ff4f654525d67856 zc.buildout-739dd41a64ab45a8ff4f654525d67856 setuptools-739dd41a64ab45a8ff4f654525d67856 _b = /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin _d = /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs _e = /var/local/env/pyams/eggs @@ -72,7 +72,7 @@ [test] __buildout_installed__ = /home/tflorac/Dropbox/src/PyAMS/pyams_form/parts/test /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin/test -__buildout_signature__ = six-f634d39fdc0b907ffce64cc8d2553c3f zc.recipe.testrunner-f634d39fdc0b907ffce64cc8d2553c3f zc.recipe.egg-f634d39fdc0b907ffce64cc8d2553c3f zc.buildout-f634d39fdc0b907ffce64cc8d2553c3f zope.exceptions-f634d39fdc0b907ffce64cc8d2553c3f zope.interface-f634d39fdc0b907ffce64cc8d2553c3f zope.testrunner-f634d39fdc0b907ffce64cc8d2553c3f setuptools-f634d39fdc0b907ffce64cc8d2553c3f +__buildout_signature__ = six-739dd41a64ab45a8ff4f654525d67856 zc.recipe.testrunner-739dd41a64ab45a8ff4f654525d67856 zc.recipe.egg-739dd41a64ab45a8ff4f654525d67856 zc.buildout-739dd41a64ab45a8ff4f654525d67856 zope.exceptions-739dd41a64ab45a8ff4f654525d67856 zope.interface-739dd41a64ab45a8ff4f654525d67856 zope.testrunner-739dd41a64ab45a8ff4f654525d67856 setuptools-739dd41a64ab45a8ff4f654525d67856 _b = /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin _d = /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs _e = /var/local/env/pyams/eggs diff -r bb46db6d5f8a -r 9f092b6dfd28 buildout.cfg --- a/buildout.cfg Fri Dec 21 20:09:04 2018 +0100 +++ b/buildout.cfg Fri Dec 28 10:55:17 2018 +0100 @@ -69,4 +69,4 @@ eggs = pyams_form [test] [versions] -pyams_form = 0.1.22.1 +pyams_form = 0.1.23 diff -r bb46db6d5f8a -r 9f092b6dfd28 docs/HISTORY.txt --- a/docs/HISTORY.txt Fri Dec 21 20:09:04 2018 +0100 +++ b/docs/HISTORY.txt Fri Dec 28 10:55:17 2018 +0100 @@ -1,6 +1,12 @@ History ======= +0.1.23 +------ + - added Bytes to Textarea widget data converter + - added missing object data attributes + - updated search results table template to add TSV export action button + 0.1.22.1 -------- - corrected integer and float input widgets validation rules diff -r bb46db6d5f8a -r 9f092b6dfd28 setup.py --- a/setup.py Fri Dec 21 20:09:04 2018 +0100 +++ b/setup.py Fri Dec 28 10:55:17 2018 +0100 @@ -24,7 +24,7 @@ README = os.path.join(DOCS, 'README.txt') HISTORY = os.path.join(DOCS, 'HISTORY.txt') -version = '0.1.22.1' +version = '0.1.23' long_description = open(README).read() + '\n\n' + open(HISTORY).read() tests_require = [] diff -r bb46db6d5f8a -r 9f092b6dfd28 src/pyams_form.egg-info/PKG-INFO --- a/src/pyams_form.egg-info/PKG-INFO Fri Dec 21 20:09:04 2018 +0100 +++ b/src/pyams_form.egg-info/PKG-INFO Fri Dec 28 10:55:17 2018 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: pyams-form -Version: 0.1.22.1 +Version: 0.1.23 Summary: PyAMS base form interfaces and classes Home-page: http://hg.ztfy.org/pyams/pyams_form Author: Thierry Florac @@ -11,6 +11,12 @@ History ======= + 0.1.23 + ------ + - added Bytes to Textarea widget data converter + - added missing object data attributes + - updated search results table template to add TSV export action button + 0.1.22.1 -------- - corrected integer and float input widgets validation rules diff -r bb46db6d5f8a -r 9f092b6dfd28 src/pyams_form/locales/fr/LC_MESSAGES/pyams_form.mo Binary file src/pyams_form/locales/fr/LC_MESSAGES/pyams_form.mo has changed diff -r bb46db6d5f8a -r 9f092b6dfd28 src/pyams_form/locales/fr/LC_MESSAGES/pyams_form.po --- a/src/pyams_form/locales/fr/LC_MESSAGES/pyams_form.po Fri Dec 21 20:09:04 2018 +0100 +++ b/src/pyams_form/locales/fr/LC_MESSAGES/pyams_form.po Fri Dec 28 10:55:17 2018 +0100 @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE 1.0\n" -"POT-Creation-Date: 2018-10-30 10:54+0100\n" +"POT-Creation-Date: 2018-12-20 14:23+0100\n" "PO-Revision-Date: 2015-01-29 17:17+0100\n" "Last-Translator: Thierry Florac \n" "Language-Team: French \n" @@ -57,15 +57,19 @@ msgid "No changes were applied." msgstr "Aucune modification effectuée." -#: src/pyams_form/widget/__init__.py:317 -msgid "Invalid integer value" -msgstr "" +#: src/pyams_form/widget/__init__.py:313 +msgid "Invalid UTF-8 encoded data" +msgstr "Encodage UTF-8 invalide" -#: src/pyams_form/widget/__init__.py:367 +#: src/pyams_form/widget/__init__.py:334 +msgid "Invalid integer value" +msgstr "Valeur entière incorrecte" + +#: src/pyams_form/widget/__init__.py:384 msgid "Invalid floating value" -msgstr "" +msgstr "Valeur numérique incorrecte" -#: src/pyams_form/widget/__init__.py:541 +#: src/pyams_form/widget/__init__.py:558 msgid "(no selected value)" msgstr "(pas de valeur sélectionnée)" @@ -87,10 +91,14 @@ msgid "Select all values" msgstr "Sélectionner toutes les valeurs" -#: src/pyams_form/templates/search.pt:6 +#: src/pyams_form/templates/search.pt:7 msgid "Search results" msgstr "Résultats de la recherche" +#: src/pyams_form/templates/search.pt:15 +msgid "Export to TSV" +msgstr "Exporter en TSV" + #: src/pyams_form/interfaces/form.py:468 src/pyams_form/interfaces/form.py:475 msgid "Add" msgstr "Ajouter" @@ -111,11 +119,11 @@ #: src/pyams_form/interfaces/form.py:553 msgid "Widget display precision" -msgstr "" +msgstr "Précision d'affichage" #: src/pyams_form/interfaces/form.py:554 msgid "Precision to use to display current value" -msgstr "" +msgstr "Nombre de décimales utilisé pour l'affichage de la valeur" #~ msgid "My legend" #~ msgstr "Ma légende" diff -r bb46db6d5f8a -r 9f092b6dfd28 src/pyams_form/locales/fr/LC_MESSAGES/pyams_form.po~ --- a/src/pyams_form/locales/fr/LC_MESSAGES/pyams_form.po~ Fri Dec 21 20:09:04 2018 +0100 +++ b/src/pyams_form/locales/fr/LC_MESSAGES/pyams_form.po~ Fri Dec 28 10:55:17 2018 +0100 @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE 1.0\n" -"POT-Creation-Date: 2018-07-13 12:21+0200\n" +"POT-Creation-Date: 2018-12-20 14:23+0100\n" "PO-Revision-Date: 2015-01-29 17:17+0100\n" "Last-Translator: Thierry Florac \n" "Language-Team: French \n" @@ -24,40 +24,52 @@ msgid "Search query" msgstr "Texte recherché" -#: src/pyams_form/search.py:49 src/pyams_form/interfaces/form.py:444 -#: src/pyams_form/interfaces/form.py:458 src/pyams_form/interfaces/form.py:465 +#: src/pyams_form/search.py:49 src/pyams_form/interfaces/form.py:467 +#: src/pyams_form/interfaces/form.py:481 src/pyams_form/interfaces/form.py:488 msgid "Reset" msgstr "Annuler" -#: src/pyams_form/terms.py:36 +#: src/pyams_form/terms.py:30 msgid "yes" msgstr "oui" -#: src/pyams_form/terms.py:37 +#: src/pyams_form/terms.py:31 msgid "no" msgstr "non" -#: src/pyams_form/form.py:353 +#: src/pyams_form/form.py:349 msgid "Add form" msgstr "Formulaire de création" -#: src/pyams_form/form.py:354 src/pyams_form/form.py:482 +#: src/pyams_form/form.py:350 src/pyams_form/form.py:492 msgid "There were some errors." msgstr "Des erreurs se sont produites." -#: src/pyams_form/form.py:481 +#: src/pyams_form/form.py:491 msgid "Edit form" msgstr "Formulaire de mise à jour" -#: src/pyams_form/form.py:483 +#: src/pyams_form/form.py:493 msgid "Data successfully updated." msgstr "Les modifications ont été enregistrées." -#: src/pyams_form/form.py:484 +#: src/pyams_form/form.py:494 msgid "No changes were applied." msgstr "Aucune modification effectuée." -#: src/pyams_form/widget/__init__.py:380 +#: src/pyams_form/widget/__init__.py:313 +msgid "Invalid UTF-8 encoded data" +msgstr "Encodage UTF-8 invalide" + +#: src/pyams_form/widget/__init__.py:334 +msgid "Invalid integer value" +msgstr "Valeur entière incorrecte" + +#: src/pyams_form/widget/__init__.py:384 +msgid "Invalid floating value" +msgstr "Valeur numérique incorrecte" + +#: src/pyams_form/widget/__init__.py:558 msgid "(no selected value)" msgstr "(pas de valeur sélectionnée)" @@ -66,6 +78,7 @@ msgstr "Libellé" #: src/pyams_form/widget/templates/orderedselect-input.pt:4 +#: src/pyams_form/widget/templates/hidden-select-input.pt:4 #: src/pyams_form/widget/templates/select-input.pt:9 msgid "Clear selected values" msgstr "Enlever les valeurs sélectionnées" @@ -78,27 +91,39 @@ msgid "Select all values" msgstr "Sélectionner toutes les valeurs" -#: src/pyams_form/templates/search.pt:6 +#: src/pyams_form/templates/search.pt:7 msgid "Search results" msgstr "Résultats de la recherche" -#: src/pyams_form/interfaces/form.py:445 src/pyams_form/interfaces/form.py:452 +#: src/pyams_form/templates/search.pt:15 +msgid "Export to TSV" +msgstr "Exporter en TSV" + +#: src/pyams_form/interfaces/form.py:468 src/pyams_form/interfaces/form.py:475 msgid "Add" msgstr "Ajouter" -#: src/pyams_form/interfaces/form.py:451 src/pyams_form/interfaces/form.py:472 -#: src/pyams_form/interfaces/form.py:479 +#: src/pyams_form/interfaces/form.py:474 src/pyams_form/interfaces/form.py:495 +#: src/pyams_form/interfaces/form.py:502 msgid "Cancel" msgstr "Annuler" -#: src/pyams_form/interfaces/form.py:459 src/pyams_form/interfaces/form.py:466 -#: src/pyams_form/interfaces/form.py:473 src/pyams_form/interfaces/form.py:480 +#: src/pyams_form/interfaces/form.py:482 src/pyams_form/interfaces/form.py:489 +#: src/pyams_form/interfaces/form.py:496 src/pyams_form/interfaces/form.py:503 msgid "Submit" msgstr "Enregistrer" -#: src/pyams_form/interfaces/form.py:486 +#: src/pyams_form/interfaces/form.py:509 msgid "Close" msgstr "Fermer" +#: src/pyams_form/interfaces/form.py:553 +msgid "Widget display precision" +msgstr "Précision d'affichage" + +#: src/pyams_form/interfaces/form.py:554 +msgid "Precision to use to display current value" +msgstr "Nombre de décimales utilisé pour l'affichage de la valeur" + #~ msgid "My legend" #~ msgstr "Ma légende" diff -r bb46db6d5f8a -r 9f092b6dfd28 src/pyams_form/locales/pyams_form.pot --- a/src/pyams_form/locales/pyams_form.pot Fri Dec 21 20:09:04 2018 +0100 +++ b/src/pyams_form/locales/pyams_form.pot Fri Dec 28 10:55:17 2018 +0100 @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE 1.0\n" -"POT-Creation-Date: 2018-10-30 10:54+0100\n" +"POT-Creation-Date: 2018-12-20 14:23+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" @@ -58,15 +58,19 @@ msgid "No changes were applied." msgstr "" -#: ./src/pyams_form/widget/__init__.py:317 +#: ./src/pyams_form/widget/__init__.py:313 +msgid "Invalid UTF-8 encoded data" +msgstr "" + +#: ./src/pyams_form/widget/__init__.py:334 msgid "Invalid integer value" msgstr "" -#: ./src/pyams_form/widget/__init__.py:367 +#: ./src/pyams_form/widget/__init__.py:384 msgid "Invalid floating value" msgstr "" -#: ./src/pyams_form/widget/__init__.py:541 +#: ./src/pyams_form/widget/__init__.py:558 msgid "(no selected value)" msgstr "" @@ -88,10 +92,14 @@ msgid "Select all values" msgstr "" -#: ./src/pyams_form/templates/search.pt:6 +#: ./src/pyams_form/templates/search.pt:7 msgid "Search results" msgstr "" +#: ./src/pyams_form/templates/search.pt:15 +msgid "Export to TSV" +msgstr "" + #: ./src/pyams_form/interfaces/form.py:468 #: ./src/pyams_form/interfaces/form.py:475 msgid "Add"