# HG changeset patch # User Thierry Florac # Date 1507881645 -7200 # Node ID 0fc08a1bc6e77f77c3536231d7b7b851edd2e982 # Parent 859dfc9be3fff02d86272535dc84822538467276 Version 0.1.8 diff -r 859dfc9be3ff -r 0fc08a1bc6e7 buildout.cfg --- a/buildout.cfg Fri Oct 13 09:55:57 2017 +0200 +++ b/buildout.cfg Fri Oct 13 10:00:45 2017 +0200 @@ -107,4 +107,4 @@ eggs = pyams_utils [test] [versions] -pyams_utils = 0.1.7 +pyams_utils = 0.1.8 diff -r 859dfc9be3ff -r 0fc08a1bc6e7 docs/HISTORY.txt --- a/docs/HISTORY.txt Fri Oct 13 09:55:57 2017 +0200 +++ b/docs/HISTORY.txt Fri Oct 13 10:00:45 2017 +0200 @@ -1,6 +1,11 @@ Changelog ========= +0.1.8 +----- + - updated TALES extensions interfaces + - added validation method and exception for email schema field + 0.1.7 ----- - added mail address schema field diff -r 859dfc9be3ff -r 0fc08a1bc6e7 setup.py --- a/setup.py Fri Oct 13 09:55:57 2017 +0200 +++ b/setup.py Fri Oct 13 10:00:45 2017 +0200 @@ -25,7 +25,7 @@ README = os.path.join(DOCS, 'README.txt') HISTORY = os.path.join(DOCS, 'HISTORY.txt') -version = '0.1.7' +version = '0.1.8' long_description = open(README).read() + '\n\n' + open(HISTORY).read() tests_require = [ diff -r 859dfc9be3ff -r 0fc08a1bc6e7 src/pyams_utils.egg-info/PKG-INFO --- a/src/pyams_utils.egg-info/PKG-INFO Fri Oct 13 09:55:57 2017 +0200 +++ b/src/pyams_utils.egg-info/PKG-INFO Fri Oct 13 10:00:45 2017 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: pyams-utils -Version: 0.1.7 +Version: 0.1.8 Summary: Utility functions and classes for PyAMS Home-page: http://www.ztfy.org Author: Thierry Florac @@ -47,6 +47,11 @@ Changelog ========= + 0.1.8 + ----- + - updated TALES extensions interfaces + - added validation method and exception for email schema field + 0.1.7 ----- - added mail address schema field diff -r 859dfc9be3ff -r 0fc08a1bc6e7 src/pyams_utils/locales/fr/LC_MESSAGES/pyams_utils.mo Binary file src/pyams_utils/locales/fr/LC_MESSAGES/pyams_utils.mo has changed diff -r 859dfc9be3ff -r 0fc08a1bc6e7 src/pyams_utils/locales/fr/LC_MESSAGES/pyams_utils.po --- a/src/pyams_utils/locales/fr/LC_MESSAGES/pyams_utils.po Fri Oct 13 09:55:57 2017 +0200 +++ b/src/pyams_utils/locales/fr/LC_MESSAGES/pyams_utils.po Fri Oct 13 10:00:45 2017 +0200 @@ -4,7 +4,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE 1.0\n" -"POT-Creation-Date: 2017-09-08 12:26+0200\n" +"POT-Creation-Date: 2017-10-10 15:56+0200\n" "PO-Revision-Date: 2015-01-18 01:01+0100\n" "Last-Translator: Thierry Florac \n" "Language-Team: French\n" @@ -493,11 +493,18 @@ msgid "all languages (utf_8_sig)" msgstr "toutes les langues (utf-8-sig)" -#: src/pyams_utils/schema.py:114 +#: src/pyams_utils/schema.py:181 +msgid "" +"Email address must be entered as « name@domain.name », without '<' and '>' " +"characters" +msgstr "" +"L'adresse est incorrecte, la saisie ne respecte pas la forme « xxx@yyy.com »." + +#: src/pyams_utils/schema.py:115 msgid "Color length must be 3 or 6 characters" msgstr "La longueur d'une couleur doit être de 3 ou 6 caractères" -#: src/pyams_utils/schema.py:117 +#: src/pyams_utils/schema.py:118 msgid "" "Color value must contain only valid hexadecimal color codes (numbers or " "letters between 'A' end 'F')" @@ -679,7 +686,9 @@ #: src/pyams_utils/interfaces/__init__.py:37 msgid "The specified URI is not valid." -msgstr "L'URI indiquée est invalide" +msgstr "" +"L'URI indiquée est invalide ; elle doit comprendre le protocole d'accès au " +"site, comme « http:// » ou « https:// »" #: src/pyams_utils/interfaces/__init__.py:38 msgid "The specified id is not valid." diff -r 859dfc9be3ff -r 0fc08a1bc6e7 src/pyams_utils/locales/pyams_utils.pot --- a/src/pyams_utils/locales/pyams_utils.pot Fri Oct 13 09:55:57 2017 +0200 +++ b/src/pyams_utils/locales/pyams_utils.pot Fri Oct 13 10:00:45 2017 +0200 @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE 1.0\n" -"POT-Creation-Date: 2017-09-08 12:26+0200\n" +"POT-Creation-Date: 2017-10-10 15:56+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" @@ -493,11 +493,17 @@ msgid "all languages (utf_8_sig)" msgstr "" -#: ./src/pyams_utils/schema.py:114 +#: ./src/pyams_utils/schema.py:181 +msgid "" +"Email address must be entered as « name@domain.name », without '<' and '>' " +"characters" +msgstr "" + +#: ./src/pyams_utils/schema.py:115 msgid "Color length must be 3 or 6 characters" msgstr "" -#: ./src/pyams_utils/schema.py:117 +#: ./src/pyams_utils/schema.py:118 msgid "" "Color value must contain only valid hexadecimal color codes (numbers or " "letters between 'A' end 'F')"