From 251b12161c9d2804bfab0faccf56f3e6a018bae0 Mon Sep 17 00:00:00 2001 From: Adam Dobrawy Date: Tue, 16 Aug 2016 07:18:51 +0200 Subject: [PATCH] Fix grammar of Mailbox.last_polling.help_text --- django_mailbox/migrations/0006_mailbox_last_polling.py | 2 +- django_mailbox/models.py | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/django_mailbox/migrations/0006_mailbox_last_polling.py b/django_mailbox/migrations/0006_mailbox_last_polling.py index a46713b..7979428 100644 --- a/django_mailbox/migrations/0006_mailbox_last_polling.py +++ b/django_mailbox/migrations/0006_mailbox_last_polling.py @@ -15,6 +15,6 @@ class Migration(migrations.Migration): migrations.AddField( model_name='mailbox', name='last_polling', - field=models.DateTimeField(blank=True, null=True, help_text='The time of last successfull polling of message. It is blank for new mailbox or processing email via pipe only.', verbose_name='Last polling'), + field=models.DateTimeField(blank=True, help_text='The time of last successful polling for messages.It is blank for new mailboxes and is not set for mailboxes that only receive messages via a pipe.', null=True, verbose_name='Last polling'), ), ] diff --git a/django_mailbox/models.py b/django_mailbox/models.py index 97a1343..89eb0ad 100644 --- a/django_mailbox/models.py +++ b/django_mailbox/models.py @@ -100,8 +100,9 @@ class Mailbox(models.Model): last_polling = models.DateTimeField( _(u"Last polling"), - help_text=(_("The time of last successfull polling of message. " - "It is blank for new mailbox or processing email via pipe only.")), + help_text=(_("The time of last successful polling for messages." + "It is blank for new mailboxes and is not set for " + "mailboxes that only receive messages via a pipe.")), blank=True, null=True )