From 564f3b9170c68edc94f187320797a3b61c747cfd Mon Sep 17 00:00:00 2001 From: jonaswinkler Date: Fri, 1 Jan 2021 20:23:32 +0100 Subject: [PATCH] fix some messages --- src/locale/en-us/LC_MESSAGES/django.po | 12 ++++++++---- src/paperless_mail/models.py | 8 ++++---- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/src/locale/en-us/LC_MESSAGES/django.po b/src/locale/en-us/LC_MESSAGES/django.po index 0af8b7217..7b9435883 100644 --- a/src/locale/en-us/LC_MESSAGES/django.po +++ b/src/locale/en-us/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-12-31 14:39+0000\n" +"POT-Creation-Date: 2021-01-01 19:09+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -366,11 +366,11 @@ msgid "Use STARTTLS" msgstr "" #: paperless_mail/models.py:25 -msgid "imap server" +msgid "IMAP server" msgstr "" #: paperless_mail/models.py:29 -msgid "imap port" +msgid "IMAP port" msgstr "" #: paperless_mail/models.py:32 @@ -380,7 +380,7 @@ msgid "" msgstr "" #: paperless_mail/models.py:36 -msgid "imap security" +msgid "IMAP security" msgstr "" #: paperless_mail/models.py:42 @@ -419,6 +419,10 @@ msgstr "" msgid "Do not assign a correspondent" msgstr "" +#: paperless_mail/models.py:84 +msgid "Use mail address" +msgstr "" + #: paperless_mail/models.py:86 msgid "Use name (or mail address if not available)" msgstr "" diff --git a/src/paperless_mail/models.py b/src/paperless_mail/models.py index d585d7c1c..44682cfbf 100644 --- a/src/paperless_mail/models.py +++ b/src/paperless_mail/models.py @@ -22,18 +22,18 @@ class MailAccount(models.Model): max_length=256, unique=True) imap_server = models.CharField( - _("imap server"), + _("IMAP server"), max_length=256) imap_port = models.IntegerField( - _("imap port"), + _("IMAP port"), blank=True, null=True, help_text=_("This is usually 143 for unencrypted and STARTTLS " "connections, and 993 for SSL connections.")) imap_security = models.PositiveIntegerField( - _("imap security"), + _("IMAP security"), choices=IMAP_SECURITY_OPTIONS, default=IMAP_SECURITY_SSL ) @@ -81,7 +81,7 @@ class MailRule(models.Model): (CORRESPONDENT_FROM_NOTHING, _("Do not assign a correspondent")), (CORRESPONDENT_FROM_EMAIL, - "Use mail address"), + _("Use mail address")), (CORRESPONDENT_FROM_NAME, _("Use name (or mail address if not available)")), (CORRESPONDENT_FROM_CUSTOM,