fix some messages

This commit is contained in:
jonaswinkler 2021-01-01 20:23:32 +01:00
parent 71d7aa3fb2
commit 564f3b9170
2 changed files with 12 additions and 8 deletions

View File

@ -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 <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\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 ""

View File

@ -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,