From 2c8267bf3db608b99c04ae903c424b60cafaaf93 Mon Sep 17 00:00:00 2001
From: Adrien Lemaire
Date: Wed, 26 Sep 2012 14:14:51 +0200
Subject: Fixed #17899 -- Rewrote [Ee]-mail to [Ee]mail
---
docs/ref/contrib/syndication.txt | 4 ++--
docs/ref/forms/api.txt | 10 +++++-----
docs/ref/forms/fields.txt | 2 +-
docs/ref/forms/validation.txt | 4 ++--
4 files changed, 10 insertions(+), 10 deletions(-)
(limited to 'docs/ref')
diff --git a/docs/ref/contrib/syndication.txt b/docs/ref/contrib/syndication.txt
index 5653397748..27b8fc0875 100644
--- a/docs/ref/contrib/syndication.txt
+++ b/docs/ref/contrib/syndication.txt
@@ -455,7 +455,7 @@ This example illustrates all possible attributes and methods for a
author_name = 'Sally Smith' # Hard-coded author name.
- # AUTHOR E-MAIL --One of the following three is optional. The framework
+ # AUTHOR EMAIL --One of the following three is optional. The framework
# looks for them in this order.
def author_email(self, obj):
@@ -635,7 +635,7 @@ This example illustrates all possible attributes and methods for a
item_author_name = 'Sally Smith' # Hard-coded author name.
- # ITEM AUTHOR E-MAIL --One of the following three is optional. The
+ # ITEM AUTHOR EMAIL --One of the following three is optional. The
# framework looks for them in this order.
#
# If you specify this, you must specify item_author_name.
diff --git a/docs/ref/forms/api.txt b/docs/ref/forms/api.txt
index 2323425277..dffef314b7 100644
--- a/docs/ref/forms/api.txt
+++ b/docs/ref/forms/api.txt
@@ -105,7 +105,7 @@ Access the :attr:`~Form.errors` attribute to get a dictionary of error
messages::
>>> f.errors
- {'sender': [u'Enter a valid e-mail address.'], 'subject': [u'This field is required.']}
+ {'sender': [u'Enter a valid email address.'], 'subject': [u'This field is required.']}
In this dictionary, the keys are the field names, and the values are lists of
Unicode strings representing the error messages. The error messages are stored
@@ -538,18 +538,18 @@ method you're using::
>>> print(f.as_table())
Subject:
This field is required.
Message:
-
Sender:
Enter a valid e-mail address.
+
Sender:
Enter a valid email address.
Cc myself:
>>> print(f.as_ul())
This field is required.
Subject:
Message:
-
Enter a valid e-mail address.
Sender:
+
Enter a valid email address.
Sender:
Cc myself:
>>> print(f.as_p())
This field is required.
Subject:
Message:
-
Enter a valid e-mail address.
+
Enter a valid email address.
Sender:
Cc myself:
@@ -572,7 +572,7 @@ pass that in at construction time::
This field is required.
Subject:
Message:
-
Enter a valid e-mail address.
+
Enter a valid email address.
Sender:
Cc myself:
diff --git a/docs/ref/forms/fields.txt b/docs/ref/forms/fields.txt
index 9f3dc68b4d..82a3ea9ab3 100644
--- a/docs/ref/forms/fields.txt
+++ b/docs/ref/forms/fields.txt
@@ -28,7 +28,7 @@ exception or returns the clean value::
>>> f.clean('invalid email address')
Traceback (most recent call last):
...
- ValidationError: [u'Enter a valid e-mail address.']
+ ValidationError: [u'Enter a valid email address.']
Core field arguments
--------------------
diff --git a/docs/ref/forms/validation.txt b/docs/ref/forms/validation.txt
index 1af32da875..e89bce748f 100644
--- a/docs/ref/forms/validation.txt
+++ b/docs/ref/forms/validation.txt
@@ -185,7 +185,7 @@ a look at Django's ``EmailField``::
class EmailField(CharField):
default_error_messages = {
- 'invalid': _('Enter a valid e-mail address.'),
+ 'invalid': _('Enter a valid email address.'),
}
default_validators = [validators.validate_email]
@@ -198,7 +198,7 @@ on field definition so::
is equivalent to::
email = forms.CharField(validators=[validators.validate_email],
- error_messages={'invalid': _('Enter a valid e-mail address.')})
+ error_messages={'invalid': _('Enter a valid email address.')})
Form field default cleaning
--
cgit v1.3