Skip to content

Commit

Permalink
Drop the RFC822 from the user error messages per wiggy's suggestion.
Browse files Browse the repository at this point in the history
  • Loading branch information
janjaapdriessen committed Mar 31, 2011
1 parent 5a8c23d commit 36669a4
Show file tree
Hide file tree
Showing 11 changed files with 27 additions and 21 deletions.
4 changes: 4 additions & 0 deletions buildout.cfg
Expand Up @@ -26,6 +26,10 @@ recipe = lovely.recipe:i18n
eggs =
zope.i18n
z3c.schema
zope.configuration
zope.app.appsetup
zope.app.applicationcontrol
zope.tal
package = z3c.schema
domain = z3c.schema
location = src/z3c/schema
Expand Down
2 changes: 1 addition & 1 deletion src/z3c/schema/email/interfaces.py
Expand Up @@ -27,4 +27,4 @@ class IRFC822MailAddress(zope.schema.interfaces.ITextLine):


class NotValidRFC822MailAdress(zope.schema.ValidationError):
__doc__ = _("""Not a valid RFC822 email address""")
__doc__ = _("""Not a valid email address""")
Binary file modified src/z3c/schema/i18n/locales/de/LC_MESSAGES/z3c.schema.mo
Binary file not shown.
10 changes: 5 additions & 5 deletions src/z3c/schema/i18n/locales/de/LC_MESSAGES/z3c.schema.po
@@ -1,4 +1,4 @@
##############################################################################
# #############################################################################
#
# Copyright (c) 2003-2004 Zope Corporation and Contributors.
# All Rights Reserved.
Expand All @@ -10,11 +10,11 @@
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
# #############################################################################
msgid ""
msgstr ""
"Project-Id-Version: Development/Unknown\n"
"POT-Creation-Date: Thu Oct 23 12:38:11 2008\n"
"POT-Creation-Date: Thu Mar 31 09:41:10 2011\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Zope 3 Developers <zope3-dev@zope.org>\n"
Expand All @@ -28,7 +28,8 @@ msgid "The specified base URL is not valid."
msgstr "Die angegebene URL ist nicht gültig."

#: src/z3c/schema/email/interfaces.py:30
msgid "Not a valid RFC822 email address"
#, fuzzy
msgid "Not a valid email address"
msgstr "Keine gültige E-Mail-Addresse."

#: src/z3c/schema/hostname/interfaces.py:31
Expand All @@ -54,4 +55,3 @@ msgstr "Die Kreditkartennummer ist nicht gültig."
#: src/z3c/schema/regex/interfaces.py:29
msgid "The specified regular expression is not valid."
msgstr "Die angegebene RegEx ist nicht gültig."

Binary file modified src/z3c/schema/i18n/locales/fr/LC_MESSAGES/z3c.schema.mo
Binary file not shown.
13 changes: 7 additions & 6 deletions src/z3c/schema/i18n/locales/fr/LC_MESSAGES/z3c.schema.po
@@ -1,4 +1,4 @@
##############################################################################
# #############################################################################
#
# Copyright (c) 2003-2004 Zope Corporation and Contributors.
# All Rights Reserved.
Expand All @@ -10,11 +10,11 @@
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
# #############################################################################
msgid ""
msgstr ""
"Project-Id-Version: Development/Unknown\n"
"POT-Creation-Date: Thu Oct 23 12:38:11 2008\n"
"POT-Creation-Date: Thu Mar 31 09:41:10 2011\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Zope 3 Developers <zope3-dev@zope.org>\n"
Expand All @@ -28,8 +28,10 @@ msgid "The specified base URL is not valid."
msgstr "La valeur spécifiée comme url de base n'est pas valide"

#: src/z3c/schema/email/interfaces.py:30
msgid "Not a valid RFC822 email address"
msgstr "Ce champ doit contenir une adresse email au format: \"usager@domaine.com\""
#, fuzzy
msgid "Not a valid email address"
msgstr ""
"Ce champ doit contenir une adresse email au format: \"usager@domaine.com\""

#: src/z3c/schema/hostname/interfaces.py:31
msgid "The specified host name is not valid."
Expand All @@ -54,4 +56,3 @@ msgstr "Le numéro de carte de crédit n'est pas correcte"
#: src/z3c/schema/regex/interfaces.py:29
msgid "The specified regular expression is not valid."
msgstr "L'expression régulière n'est pas valide"

Binary file modified src/z3c/schema/i18n/locales/nl/LC_MESSAGES/z3c.schema.mo
Binary file not shown.
5 changes: 3 additions & 2 deletions src/z3c/schema/i18n/locales/nl/LC_MESSAGES/z3c.schema.po
Expand Up @@ -14,7 +14,7 @@
msgid ""
msgstr ""
"Project-Id-Version: Development/Unknown\n"
"POT-Creation-Date: Thu Oct 23 12:38:11 2008\n"
"POT-Creation-Date: Thu Mar 31 09:41:10 2011\n"
"PO-Revision-Date: 2011-03-30 09:39+0200\n"
"Last-Translator: jdriessen <janjaapdriessen@gmail.com>\n"
"Language-Team: Dutch\n"
Expand All @@ -29,7 +29,8 @@ msgid "The specified base URL is not valid."
msgstr "De opgegeven base URL is niet geldig."

#: src/z3c/schema/email/interfaces.py:30
msgid "Not a valid RFC822 email address"
#, fuzzy
msgid "Not a valid email address"
msgstr "Geen geldig e-mailadres."

#: src/z3c/schema/hostname/interfaces.py:31
Expand Down
Binary file modified src/z3c/schema/i18n/locales/ru/LC_MESSAGES/z3c.schema.mo
Binary file not shown.
6 changes: 3 additions & 3 deletions src/z3c/schema/i18n/locales/ru/LC_MESSAGES/z3c.schema.po
Expand Up @@ -14,7 +14,7 @@
msgid ""
msgstr ""
"Project-Id-Version: Development/Unknown\n"
"POT-Creation-Date: Thu Oct 23 12:38:11 2008\n"
"POT-Creation-Date: Thu Mar 31 09:41:10 2011\n"
"PO-Revision-Date: 2008-10-23 12:38+0300\n"
"Last-Translator: Dan Korostelev <nadako@gmail.com>\n"
"Language-Team: Zope 3 Developers <zope3-dev@zope.org>\n"
Expand All @@ -28,7 +28,8 @@ msgid "The specified base URL is not valid."
msgstr "Указан неверный базовый URL."

#: src/z3c/schema/email/interfaces.py:30
msgid "Not a valid RFC822 email address"
#, fuzzy
msgid "Not a valid email address"
msgstr "Неправильный формат e-mail адреса"

#: src/z3c/schema/hostname/interfaces.py:31
Expand All @@ -54,4 +55,3 @@ msgstr "Неправильный номер кредитной карты."
#: src/z3c/schema/regex/interfaces.py:29
msgid "The specified regular expression is not valid."
msgstr "Указано неверное регулярное выражение."

8 changes: 4 additions & 4 deletions src/z3c/schema/i18n/locales/z3c.schema.pot
Expand Up @@ -13,11 +13,11 @@
##############################################################################
msgid ""
msgstr ""
"Project-Id-Version: Development/Unknown\n"
"POT-Creation-Date: Thu Oct 23 12:38:11 2008\n"
"Project-Id-Version: Meaningless\n"
"POT-Creation-Date: Thu Mar 31 09:41:10 2011\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Zope 3 Developers <zope3-dev@zope.org>\n"
"Language-Team: Zope 3 Developers <zope-dev@zope.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand All @@ -28,7 +28,7 @@ msgid "The specified base URL is not valid."
msgstr ""

#: src/z3c/schema/email/interfaces.py:30
msgid "Not a valid RFC822 email address"
msgid "Not a valid email address"
msgstr ""

#: src/z3c/schema/hostname/interfaces.py:31
Expand Down

0 comments on commit 36669a4

Please sign in to comment.