Skip to content

Commit

Permalink
more typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Ehlke authored and Mathijs de Bruin committed Nov 12, 2010
1 parent bacf50a commit eb8961a
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions README.rst
Expand Up @@ -65,6 +65,10 @@ Installation
cd $PROJECT_DIR
./manage.py syncdb
./manage.py loaddata default_templates

#) Change the default contact email listed in
``templates/newsletter/subscription_subscribe.html`` and
``templates/newsletter/subscription_update.html``.

#) Run the tests to see if it all works::
Expand Down Expand Up @@ -98,6 +102,7 @@ TODO
* Write tests for: template syntax checking, ordering of articles in a
message.
* Extend subscription models to allow for mail deliverability feedback.
* Refactor default contact email out of the templates.

License
=======
Expand Down
Expand Up @@ -8,7 +8,7 @@ <h1>{% trans "Newsletter subscribe" %} {{ newsletter.title }}</h1>
<p>{% trans "If the error persists, please don't hesitate to contact us at the following email address:" %} <a href="mailto:info@{{ current_site.domain }}">info@{{ current_site.domain }}</a></p>
{% else %}
{% if form.is_valid %}
<p>{% trans "Your subscription was successfully received and an activation email has been sent to you. In that email you will find a link which you need to follow in order to activate your subscription." %}</p>
<p>{% trans "Your subscription was successfully recieved and an activation email has been sent to you. In that email you will find a link which you need to follow in order to activate your subscription." %}</p>
{% else %}
<form enctype="multipart/form-data" method="post" action=".">
{{ form.as_p }}
Expand Down
Expand Up @@ -4,7 +4,7 @@
{% block body %}
<h1>{% trans "Newsletter unsubscribe" %} {{ newsletter.title }}</h1>
{% if form.is_valid %}
<p>{% trans "Your unsubscription request has successfully been received. An email has been sent to you with a link you need to follow in order to confirm your unsubscription." %}</p>
<p>{% trans "Your unsubscription request has successfully been recieved. An email has been sent to you with a link you need to follow in order to confirm your unsubscription." %}</p>
{% else %}
<form enctype="multipart/form-data" method="post" action=".">
{{ form.as_p }}
Expand Down
2 changes: 1 addition & 1 deletion newsletter/templates/newsletter/subscription_update.html
Expand Up @@ -8,7 +8,7 @@ <h1>{% trans "Newsletter update" %} {{ newsletter.title }}</h1>
<p>{% trans "If the error persists, please don't hesitate to contact us at the following email address:" %} <a href="mailto:info@{{ current_site.domain }}">info@{{ current_site.domain }}</a></p>
{% else %}
{% if form.is_valid %}
<p>{% trans "Your update request was successfully received and an activation email has been sent to you. In that email you will find a link which you need to follow in order to update your subscription." %}</p>
<p>{% trans "Your update request was successfully recieved and an activation email has been sent to you. In that email you will find a link which you need to follow in order to update your subscription." %}</p>
{% else %}
<form enctype="multipart/form-data" method="post" action=".">
{{ form.as_p }}
Expand Down
2 changes: 1 addition & 1 deletion newsletter/views.py
Expand Up @@ -40,7 +40,7 @@ def newsletter_list(request):
instances = formset.save()
request.user.message_set.create(message=_("Your changes have been saved."))
else:
assert False, 'An invalid user update request was received.'
assert False, 'An invalid user update request was recieved.'
else:
formset = SubscriptionFormSet(queryset=qs)

Expand Down

0 comments on commit eb8961a

Please sign in to comment.