Add a button to keep forwarded messages

master
kaiyou 7 years ago
parent 213ee1d8b6
commit 07c789fc8b

@ -77,6 +77,7 @@ class UserPasswordForm(flask_wtf.FlaskForm):
class UserForwardForm(flask_wtf.FlaskForm): class UserForwardForm(flask_wtf.FlaskForm):
forward_enabled = fields.BooleanField(_('Enable forwarding')) forward_enabled = fields.BooleanField(_('Enable forwarding'))
forward_keep = fields.BooleanField(_('Keep a copy of the emails'))
forward_destination = fields.StringField( forward_destination = fields.StringField(
_('Destination'), [validators.Optional(), validators.Email()] _('Destination'), [validators.Optional(), validators.Email()]
) )

@ -146,6 +146,7 @@ class User(Base, Email):
# Filters # Filters
forward_enabled = db.Column(db.Boolean(), nullable=False, default=False) forward_enabled = db.Column(db.Boolean(), nullable=False, default=False)
forward_destination = db.Column(db.String(255), nullable=True, default=None) forward_destination = db.Column(db.String(255), nullable=True, default=None)
forward_keep = db.Column(db.Boolean(), nullable=False, default=True)
reply_enabled = db.Column(db.Boolean(), nullable=False, default=False) reply_enabled = db.Column(db.Boolean(), nullable=False, default=False)
reply_subject = db.Column(db.String(255), nullable=True, default=None) reply_subject = db.Column(db.String(255), nullable=True, default=None)
reply_body = db.Column(db.Text(), nullable=True, default=None) reply_body = db.Column(db.Text(), nullable=True, default=None)

@ -12,8 +12,10 @@
<form class="form" method="post" role="form"> <form class="form" method="post" role="form">
{{ form.hidden_tag() }} {{ form.hidden_tag() }}
{{ macros.form_field(form.forward_enabled, {{ macros.form_field(form.forward_enabled,
onchange="if(this.checked){$('#forward_destination').removeAttr('disabled')} onchange="if(this.checked){$('#forward_destination,#forward_keep').removeAttr('disabled')}
else{$('#forward_destination').attr('disabled', '')}") }} else{$('#forward_destination,#forward_keep').attr('disabled', '')}") }}
{{ macros.form_field(form.forward_keep,
**{("enabled" if user.forward_enabled else "disabled"): ""}) }}
{{ macros.form_field(form.forward_destination, {{ macros.form_field(form.forward_destination,
**{("enabled" if user.forward_enabled else "disabled"): ""}) }} **{("enabled" if user.forward_enabled else "disabled"): ""}) }}
{{ macros.form_field(form.submit) }} {{ macros.form_field(form.submit) }}

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PROJECT VERSION\n" "Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: stefan.auditor@erdfisch.de\n" "Report-Msgid-Bugs-To: stefan.auditor@erdfisch.de\n"
"POT-Creation-Date: 2016-11-10 10:52+0100\n" "POT-Creation-Date: 2017-09-03 15:30+0200\n"
"PO-Revision-Date: 2016-11-09 21:43+0100\n" "PO-Revision-Date: 2016-11-09 21:43+0100\n"
"Last-Translator: Stefan Auditor <stefan.auditor@erdfisch.de>\n" "Last-Translator: Stefan Auditor <stefan.auditor@erdfisch.de>\n"
"Language: de\n" "Language: de\n"
@ -16,7 +16,7 @@ msgstr ""
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n" "Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.3.4\n" "Generated-By: Babel 2.5.0\n"
#: mailu/admin/forms.py:32 #: mailu/admin/forms.py:32
msgid "Invalid email address." msgid "Invalid email address."
@ -26,12 +26,12 @@ msgstr "Ungültige E-Mail-Adresse."
msgid "Confirm" msgid "Confirm"
msgstr "Bestätigen" msgstr "Bestätigen"
#: mailu/admin/forms.py:40 mailu/admin/forms.py:54 #: mailu/admin/forms.py:40 mailu/admin/forms.py:55
msgid "E-mail" msgid "E-mail"
msgstr "E-Mail" msgstr "E-Mail"
#: mailu/admin/forms.py:41 mailu/admin/forms.py:55 mailu/admin/forms.py:72 #: mailu/admin/forms.py:41 mailu/admin/forms.py:56 mailu/admin/forms.py:73
#: mailu/admin/forms.py:120 #: mailu/admin/forms.py:122
msgid "Password" msgid "Password"
msgstr "Passwort" msgstr "Passwort"
@ -53,131 +53,164 @@ msgstr "Maximale Anzahl Benutzer"
msgid "Maximum alias count" msgid "Maximum alias count"
msgstr "Maximale Anzahl Aliase" msgstr "Maximale Anzahl Aliase"
#: mailu/admin/forms.py:49 mailu/admin/forms.py:60 mailu/admin/forms.py:98 #: mailu/admin/forms.py:49
msgid "Maximum user quota"
msgstr ""
#: mailu/admin/forms.py:50 mailu/admin/forms.py:61 mailu/admin/forms.py:100
#: mailu/admin/templates/alias/list.html:22 #: mailu/admin/templates/alias/list.html:22
#: mailu/admin/templates/domain/list.html:22 #: mailu/admin/templates/domain/list.html:22
#: mailu/admin/templates/user/list.html:24 #: mailu/admin/templates/user/list.html:24
msgid "Comment" msgid "Comment"
msgstr "Kommentar" msgstr "Kommentar"
#: mailu/admin/forms.py:50 mailu/admin/forms.py:99 #: mailu/admin/forms.py:51 mailu/admin/forms.py:101
msgid "Create" msgid "Create"
msgstr "Erstellen" msgstr "Erstellen"
#: mailu/admin/forms.py:56 #: mailu/admin/forms.py:57
msgid "Confirm password" msgid "Confirm password"
msgstr "Passwort bestätigen" msgstr "Passwort bestätigen"
#: mailu/admin/forms.py:57 mailu/admin/templates/user/list.html:23 #: mailu/admin/forms.py:58 mailu/admin/templates/user/list.html:23
msgid "Quota" msgid "Quota"
msgstr "Quota" msgstr "Quota"
#: mailu/admin/forms.py:58 #: mailu/admin/forms.py:59
msgid "Allow IMAP access" msgid "Allow IMAP access"
msgstr "Zugriff via IMAP erlauben" msgstr "Zugriff via IMAP erlauben"
#: mailu/admin/forms.py:59 #: mailu/admin/forms.py:60
msgid "Allow POP3 access" msgid "Allow POP3 access"
msgstr "Zugriff via POP3 erlauben" msgstr "Zugriff via POP3 erlauben"
#: mailu/admin/forms.py:61 #: mailu/admin/forms.py:62
msgid "Save" msgid "Save"
msgstr "Speichern" msgstr "Speichern"
#: mailu/admin/forms.py:65 #: mailu/admin/forms.py:66
msgid "Displayed name" msgid "Displayed name"
msgstr "Angezeigter Name" msgstr "Angezeigter Name"
#: mailu/admin/forms.py:66 #: mailu/admin/forms.py:67
msgid "Enable spam filter" msgid "Enable spam filter"
msgstr "Spam-Filter aktivieren" msgstr "Spam-Filter aktivieren"
#: mailu/admin/forms.py:67 #: mailu/admin/forms.py:68
msgid "Spam filter threshold" msgid "Spam filter threshold"
msgstr "Spam-Filter Schwellenwert" msgstr "Spam-Filter Schwellenwert"
#: mailu/admin/forms.py:68 #: mailu/admin/forms.py:69
msgid "Save settings" msgid "Save settings"
msgstr "Einstellungen speichern" msgstr "Einstellungen speichern"
#: mailu/admin/forms.py:73 #: mailu/admin/forms.py:74
msgid "Password check" msgid "Password check"
msgstr "Passwort prüfen" msgstr "Passwort prüfen"
#: mailu/admin/forms.py:74 mailu/admin/templates/sidebar.html:13 #: mailu/admin/forms.py:75 mailu/admin/templates/sidebar.html:13
msgid "Update password" msgid "Update password"
msgstr "Passwort aktualisieren" msgstr "Passwort aktualisieren"
#: mailu/admin/forms.py:78 #: mailu/admin/forms.py:79
msgid "Enable forwarding" msgid "Enable forwarding"
msgstr "Weiterleitung aktivieren" msgstr "Weiterleitung aktivieren"
#: mailu/admin/forms.py:80 mailu/admin/forms.py:97 #: mailu/admin/forms.py:80
msgid "Keep a copy of the emails"
msgstr ""
#: mailu/admin/forms.py:82 mailu/admin/forms.py:99
#: mailu/admin/templates/alias/list.html:21 #: mailu/admin/templates/alias/list.html:21
msgid "Destination" msgid "Destination"
msgstr "Ziel" msgstr "Ziel"
#: mailu/admin/forms.py:82 mailu/admin/forms.py:90 #: mailu/admin/forms.py:84 mailu/admin/forms.py:92
msgid "Update" msgid "Update"
msgstr "Aktualisieren" msgstr "Aktualisieren"
#: mailu/admin/forms.py:86 #: mailu/admin/forms.py:88
msgid "Enable automatic reply" msgid "Enable automatic reply"
msgstr "Automatische Antwort aktivieren" msgstr "Automatische Antwort aktivieren"
#: mailu/admin/forms.py:87 #: mailu/admin/forms.py:89
msgid "Reply subject" msgid "Reply subject"
msgstr "Antwort Betreff" msgstr "Antwort Betreff"
#: mailu/admin/forms.py:88 #: mailu/admin/forms.py:90
msgid "Reply body" msgid "Reply body"
msgstr "Antwort Text" msgstr "Antwort Text"
#: mailu/admin/forms.py:94 #: mailu/admin/forms.py:96
msgid "Alias" msgid "Alias"
msgstr "Alias" msgstr "Alias"
#: mailu/admin/forms.py:96 #: mailu/admin/forms.py:98
msgid "Use SQL LIKE Syntax (e.g. for catch-all aliases)" msgid "Use SQL LIKE Syntax (e.g. for catch-all aliases)"
msgstr "SQL LIKE Syntax nutzen (z.B. für Catch-All Aliase)" msgstr "SQL LIKE Syntax nutzen (z.B. für Catch-All Aliase)"
#: mailu/admin/forms.py:103 #: mailu/admin/forms.py:105
msgid "Admin email" msgid "Admin email"
msgstr "Administrator E-Mail" msgstr "Administrator E-Mail"
#: mailu/admin/forms.py:104 mailu/admin/forms.py:109 mailu/admin/forms.py:121 #: mailu/admin/forms.py:106 mailu/admin/forms.py:111 mailu/admin/forms.py:124
msgid "Submit" msgid "Submit"
msgstr "Absenden" msgstr "Absenden"
#: mailu/admin/forms.py:108 #: mailu/admin/forms.py:110
msgid "Manager email" msgid "Manager email"
msgstr "Manager E-Mail" msgstr "Manager E-Mail"
#: mailu/admin/forms.py:113 #: mailu/admin/forms.py:115
msgid "Protocol" msgid "Protocol"
msgstr "Protokoll" msgstr "Protokoll"
#: mailu/admin/forms.py:116 #: mailu/admin/forms.py:118
msgid "Hostname or IP" msgid "Hostname or IP"
msgstr "Hostname oder IP" msgstr "Hostname oder IP"
#: mailu/admin/forms.py:117 #: mailu/admin/forms.py:119
msgid "TCP port" msgid "TCP port"
msgstr "Port" msgstr "Port"
#: mailu/admin/forms.py:118 #: mailu/admin/forms.py:120
msgid "Enable TLS" msgid "Enable TLS"
msgstr "Verschlüsselung aktivieren" msgstr "Verschlüsselung aktivieren"
#: mailu/admin/forms.py:119 mailu/admin/templates/fetch/list.html:21 #: mailu/admin/forms.py:121 mailu/admin/templates/fetch/list.html:21
msgid "Username" msgid "Username"
msgstr "Benutzername" msgstr "Benutzername"
#: mailu/admin/forms.py:123
msgid "Keep emails on the server"
msgstr ""
#: mailu/admin/forms.py:128
msgid "Announcement subject"
msgstr "Bekanntmachung Betreff"
#: mailu/admin/forms.py:130
msgid "Announcement body"
msgstr "Bekanntmachung Text"
#: mailu/admin/forms.py:132
msgid "Send"
msgstr "Absenden"
#: mailu/admin/templates/announcement.html:4
msgid "Public announcement"
msgstr "Öffentliche Bekanntmachung"
#: mailu/admin/templates/announcement.html:8
msgid "from"
msgstr "von"
#: mailu/admin/templates/confirm.html:4 #: mailu/admin/templates/confirm.html:4
msgid "Confirm action" msgid "Confirm action"
msgstr "Aktion bestätigen" msgstr "Aktion bestätigen"
#: mailu/admin/templates/confirm.html:12 #: mailu/admin/templates/confirm.html:12
#, python-format
msgid "You are about to %(action)s. Please confirm your action." msgid "You are about to %(action)s. Please confirm your action."
msgstr "Bitte bestätigen: %(action)s." msgstr "Bitte bestätigen: %(action)s."
@ -187,7 +220,9 @@ msgstr "Docker Fehler"
#: mailu/admin/templates/docker-error.html:12 #: mailu/admin/templates/docker-error.html:12
msgid "An error occurred while talking to the Docker server." msgid "An error occurred while talking to the Docker server."
msgstr "Während der Kommunikation mit dem Docker Server ist ein Fehler aufgetreten." msgstr ""
"Während der Kommunikation mit dem Docker Server ist ein Fehler "
"aufgetreten."
#: mailu/admin/templates/login.html:6 #: mailu/admin/templates/login.html:6
msgid "Your account" msgid "Your account"
@ -205,7 +240,7 @@ msgstr "Dienst-Status"
msgid "Service" msgid "Service"
msgstr "Dienst" msgstr "Dienst"
#: mailu/admin/templates/fetch/list.html:23 #: mailu/admin/templates/fetch/list.html:24
#: mailu/admin/templates/services.html:12 #: mailu/admin/templates/services.html:12
msgid "Status" msgid "Status"
msgstr "Status" msgstr "Status"
@ -258,6 +293,10 @@ msgstr "Abmelden"
msgid "Administration" msgid "Administration"
msgstr "Administration" msgstr "Administration"
#: mailu/admin/templates/sidebar.html:45
msgid "Announcement"
msgstr "Bekanntmachung"
#: mailu/admin/templates/sidebar.html:50 #: mailu/admin/templates/sidebar.html:50
msgid "Administrators" msgid "Administrators"
msgstr "Administratoren" msgstr "Administratoren"
@ -305,7 +344,7 @@ msgstr "E-Mail"
#: mailu/admin/templates/admin/list.html:23 #: mailu/admin/templates/admin/list.html:23
#: mailu/admin/templates/alias/list.html:30 #: mailu/admin/templates/alias/list.html:30
#: mailu/admin/templates/domain/list.html:32 #: mailu/admin/templates/domain/list.html:32
#: mailu/admin/templates/fetch/list.html:31 #: mailu/admin/templates/fetch/list.html:32
#: mailu/admin/templates/manager/list.html:25 #: mailu/admin/templates/manager/list.html:25
#: mailu/admin/templates/user/list.html:32 #: mailu/admin/templates/user/list.html:32
msgid "Delete" msgid "Delete"
@ -329,21 +368,21 @@ msgstr "Alias hinzufügen"
#: mailu/admin/templates/alias/list.html:23 #: mailu/admin/templates/alias/list.html:23
#: mailu/admin/templates/domain/list.html:23 #: mailu/admin/templates/domain/list.html:23
#: mailu/admin/templates/fetch/list.html:24 #: mailu/admin/templates/fetch/list.html:25
#: mailu/admin/templates/user/list.html:25 #: mailu/admin/templates/user/list.html:25
msgid "Created" msgid "Created"
msgstr "Erstellt" msgstr "Erstellt"
#: mailu/admin/templates/alias/list.html:24 #: mailu/admin/templates/alias/list.html:24
#: mailu/admin/templates/domain/list.html:24 #: mailu/admin/templates/domain/list.html:24
#: mailu/admin/templates/fetch/list.html:25 #: mailu/admin/templates/fetch/list.html:26
#: mailu/admin/templates/user/list.html:26 #: mailu/admin/templates/user/list.html:26
msgid "Last edit" msgid "Last edit"
msgstr "Zuletzt bearbeitet" msgstr "Zuletzt bearbeitet"
#: mailu/admin/templates/alias/list.html:29 #: mailu/admin/templates/alias/list.html:29
#: mailu/admin/templates/domain/list.html:31 #: mailu/admin/templates/domain/list.html:31
#: mailu/admin/templates/fetch/list.html:30 #: mailu/admin/templates/fetch/list.html:31
#: mailu/admin/templates/user/list.html:31 #: mailu/admin/templates/user/list.html:31
msgid "Edit" msgid "Edit"
msgstr "Bearbeiten" msgstr "Bearbeiten"
@ -434,9 +473,21 @@ msgid "Endpoint"
msgstr "Endpunkt" msgstr "Endpunkt"
#: mailu/admin/templates/fetch/list.html:22 #: mailu/admin/templates/fetch/list.html:22
msgid "Keep emails"
msgstr ""
#: mailu/admin/templates/fetch/list.html:23
msgid "Last check" msgid "Last check"
msgstr "Letzte Prüfung" msgstr "Letzte Prüfung"
#: mailu/admin/templates/fetch/list.html:36
msgid "yes"
msgstr ""
#: mailu/admin/templates/fetch/list.html:36
msgid "no"
msgstr ""
#: mailu/admin/templates/manager/create.html:4 #: mailu/admin/templates/manager/create.html:4
msgid "Add a manager" msgid "Add a manager"
msgstr "Einen Manager hinzufügen" msgstr "Einen Manager hinzufügen"
@ -449,30 +500,6 @@ msgstr "Manager Liste"
msgid "Add manager" msgid "Add manager"
msgstr "Manager hinzufügen" msgstr "Manager hinzufügen"
#: mailu/admin/forms.py:125
msgid "Announcement subject"
msgstr "Bekanntmachung Betreff"
#: mailu/admin/forms.py:127
msgid "Announcement body"
msgstr "Bekanntmachung Text"
#: mailu/admin/forms.py:129
msgid "Send"
msgstr "Absenden"
#: mailu/admin/templates/announcement.html:4
msgid "Public announcement"
msgstr "Öffentliche Bekanntmachung"
#: mailu/admin/templates/announcement.html:8
msgid "from"
msgstr "von"
#: mailu/admin/templates/sidebar.html:45
msgid "Announcement"
msgstr "Bekanntmachung"
#: mailu/admin/templates/user/create.html:4 #: mailu/admin/templates/user/create.html:4
msgid "New user" msgid "New user"
msgstr "Neuer Benutzer" msgstr "Neuer Benutzer"

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PROJECT VERSION\n" "Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2016-11-10 10:52+0100\n" "POT-Creation-Date: 2017-09-03 15:30+0200\n"
"PO-Revision-Date: 2016-10-02 15:02+0200\n" "PO-Revision-Date: 2016-10-02 15:02+0200\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: en\n" "Language: en\n"
@ -16,7 +16,7 @@ msgstr ""
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n" "Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.3.4\n" "Generated-By: Babel 2.5.0\n"
#: mailu/admin/forms.py:32 #: mailu/admin/forms.py:32
msgid "Invalid email address." msgid "Invalid email address."
@ -26,12 +26,12 @@ msgstr ""
msgid "Confirm" msgid "Confirm"
msgstr "" msgstr ""
#: mailu/admin/forms.py:40 mailu/admin/forms.py:54 #: mailu/admin/forms.py:40 mailu/admin/forms.py:55
msgid "E-mail" msgid "E-mail"
msgstr "" msgstr ""
#: mailu/admin/forms.py:41 mailu/admin/forms.py:55 mailu/admin/forms.py:72 #: mailu/admin/forms.py:41 mailu/admin/forms.py:56 mailu/admin/forms.py:73
#: mailu/admin/forms.py:120 #: mailu/admin/forms.py:122
msgid "Password" msgid "Password"
msgstr "" msgstr ""
@ -53,135 +53,147 @@ msgstr ""
msgid "Maximum alias count" msgid "Maximum alias count"
msgstr "" msgstr ""
#: mailu/admin/forms.py:49 mailu/admin/forms.py:60 mailu/admin/forms.py:98 #: mailu/admin/forms.py:49
msgid "Maximum user quota"
msgstr ""
#: mailu/admin/forms.py:50 mailu/admin/forms.py:61 mailu/admin/forms.py:100
#: mailu/admin/templates/alias/list.html:22 #: mailu/admin/templates/alias/list.html:22
#: mailu/admin/templates/domain/list.html:22 #: mailu/admin/templates/domain/list.html:22
#: mailu/admin/templates/user/list.html:24 #: mailu/admin/templates/user/list.html:24
msgid "Comment" msgid "Comment"
msgstr "" msgstr ""
#: mailu/admin/forms.py:50 mailu/admin/forms.py:99 #: mailu/admin/forms.py:51 mailu/admin/forms.py:101
msgid "Create" msgid "Create"
msgstr "" msgstr ""
#: mailu/admin/forms.py:56 #: mailu/admin/forms.py:57
msgid "Confirm password" msgid "Confirm password"
msgstr "" msgstr ""
#: mailu/admin/forms.py:57 mailu/admin/templates/user/list.html:23 #: mailu/admin/forms.py:58 mailu/admin/templates/user/list.html:23
msgid "Quota" msgid "Quota"
msgstr "" msgstr ""
#: mailu/admin/forms.py:58 #: mailu/admin/forms.py:59
msgid "Allow IMAP access" msgid "Allow IMAP access"
msgstr "" msgstr ""
#: mailu/admin/forms.py:59 #: mailu/admin/forms.py:60
msgid "Allow POP3 access" msgid "Allow POP3 access"
msgstr "" msgstr ""
#: mailu/admin/forms.py:61 #: mailu/admin/forms.py:62
msgid "Save" msgid "Save"
msgstr "" msgstr ""
#: mailu/admin/forms.py:65 #: mailu/admin/forms.py:66
msgid "Displayed name" msgid "Displayed name"
msgstr "" msgstr ""
#: mailu/admin/forms.py:66 #: mailu/admin/forms.py:67
msgid "Enable spam filter" msgid "Enable spam filter"
msgstr "" msgstr ""
#: mailu/admin/forms.py:67 #: mailu/admin/forms.py:68
msgid "Spam filter threshold" msgid "Spam filter threshold"
msgstr "" msgstr ""
#: mailu/admin/forms.py:68 #: mailu/admin/forms.py:69
msgid "Save settings" msgid "Save settings"
msgstr "" msgstr ""
#: mailu/admin/forms.py:73 #: mailu/admin/forms.py:74
msgid "Password check" msgid "Password check"
msgstr "" msgstr ""
#: mailu/admin/forms.py:74 mailu/admin/templates/sidebar.html:13 #: mailu/admin/forms.py:75 mailu/admin/templates/sidebar.html:13
msgid "Update password" msgid "Update password"
msgstr "" msgstr ""
#: mailu/admin/forms.py:78 #: mailu/admin/forms.py:79
msgid "Enable forwarding" msgid "Enable forwarding"
msgstr "" msgstr ""
#: mailu/admin/forms.py:80 mailu/admin/forms.py:97 #: mailu/admin/forms.py:80
msgid "Keep a copy of the emails"
msgstr ""
#: mailu/admin/forms.py:82 mailu/admin/forms.py:99
#: mailu/admin/templates/alias/list.html:21 #: mailu/admin/templates/alias/list.html:21
msgid "Destination" msgid "Destination"
msgstr "" msgstr ""
#: mailu/admin/forms.py:82 mailu/admin/forms.py:90 #: mailu/admin/forms.py:84 mailu/admin/forms.py:92
msgid "Update" msgid "Update"
msgstr "" msgstr ""
#: mailu/admin/forms.py:86 #: mailu/admin/forms.py:88
msgid "Enable automatic reply" msgid "Enable automatic reply"
msgstr "" msgstr ""
#: mailu/admin/forms.py:87 #: mailu/admin/forms.py:89
msgid "Reply subject" msgid "Reply subject"
msgstr "" msgstr ""
#: mailu/admin/forms.py:88 #: mailu/admin/forms.py:90
msgid "Reply body" msgid "Reply body"
msgstr "" msgstr ""
#: mailu/admin/forms.py:94 #: mailu/admin/forms.py:96
msgid "Alias" msgid "Alias"
msgstr "" msgstr ""
#: mailu/admin/forms.py:96 #: mailu/admin/forms.py:98
msgid "Use SQL LIKE Syntax (e.g. for catch-all aliases)" msgid "Use SQL LIKE Syntax (e.g. for catch-all aliases)"
msgstr "" msgstr ""
#: mailu/admin/forms.py:103 #: mailu/admin/forms.py:105
msgid "Admin email" msgid "Admin email"
msgstr "" msgstr ""
#: mailu/admin/forms.py:104 mailu/admin/forms.py:109 mailu/admin/forms.py:121 #: mailu/admin/forms.py:106 mailu/admin/forms.py:111 mailu/admin/forms.py:124
msgid "Submit" msgid "Submit"
msgstr "" msgstr ""
#: mailu/admin/forms.py:108 #: mailu/admin/forms.py:110
msgid "Manager email" msgid "Manager email"
msgstr "" msgstr ""
#: mailu/admin/forms.py:113 #: mailu/admin/forms.py:115
msgid "Protocol" msgid "Protocol"
msgstr "" msgstr ""
#: mailu/admin/forms.py:116 #: mailu/admin/forms.py:118
msgid "Hostname or IP" msgid "Hostname or IP"
msgstr "" msgstr ""
#: mailu/admin/forms.py:117 #: mailu/admin/forms.py:119
msgid "TCP port" msgid "TCP port"
msgstr "" msgstr ""
#: mailu/admin/forms.py:118 #: mailu/admin/forms.py:120
msgid "Enable TLS" msgid "Enable TLS"
msgstr "" msgstr ""
#: mailu/admin/forms.py:119 mailu/admin/templates/fetch/list.html:21 #: mailu/admin/forms.py:121 mailu/admin/templates/fetch/list.html:21
msgid "Username" msgid "Username"
msgstr "" msgstr ""
#: mailu/admin/forms.py:125 #: mailu/admin/forms.py:123
msgid "Keep emails on the server"
msgstr ""
#: mailu/admin/forms.py:128
msgid "Announcement subject" msgid "Announcement subject"
msgstr "" msgstr ""
#: mailu/admin/forms.py:127 #: mailu/admin/forms.py:130
msgid "Announcement body" msgid "Announcement body"
msgstr "" msgstr ""
#: mailu/admin/forms.py:129 #: mailu/admin/forms.py:132
msgid "Send" msgid "Send"
msgstr "" msgstr ""
@ -226,7 +238,7 @@ msgstr ""
msgid "Service" msgid "Service"
msgstr "" msgstr ""
#: mailu/admin/templates/fetch/list.html:23 #: mailu/admin/templates/fetch/list.html:24
#: mailu/admin/templates/services.html:12 #: mailu/admin/templates/services.html:12
msgid "Status" msgid "Status"
msgstr "" msgstr ""
@ -330,7 +342,7 @@ msgstr ""
#: mailu/admin/templates/admin/list.html:23 #: mailu/admin/templates/admin/list.html:23
#: mailu/admin/templates/alias/list.html:30 #: mailu/admin/templates/alias/list.html:30
#: mailu/admin/templates/domain/list.html:32 #: mailu/admin/templates/domain/list.html:32
#: mailu/admin/templates/fetch/list.html:31 #: mailu/admin/templates/fetch/list.html:32
#: mailu/admin/templates/manager/list.html:25 #: mailu/admin/templates/manager/list.html:25
#: mailu/admin/templates/user/list.html:32 #: mailu/admin/templates/user/list.html:32
msgid "Delete" msgid "Delete"
@ -354,21 +366,21 @@ msgstr ""
#: mailu/admin/templates/alias/list.html:23 #: mailu/admin/templates/alias/list.html:23
#: mailu/admin/templates/domain/list.html:23 #: mailu/admin/templates/domain/list.html:23
#: mailu/admin/templates/fetch/list.html:24 #: mailu/admin/templates/fetch/list.html:25
#: mailu/admin/templates/user/list.html:25 #: mailu/admin/templates/user/list.html:25
msgid "Created" msgid "Created"
msgstr "" msgstr ""
#: mailu/admin/templates/alias/list.html:24 #: mailu/admin/templates/alias/list.html:24
#: mailu/admin/templates/domain/list.html:24 #: mailu/admin/templates/domain/list.html:24
#: mailu/admin/templates/fetch/list.html:25 #: mailu/admin/templates/fetch/list.html:26
#: mailu/admin/templates/user/list.html:26 #: mailu/admin/templates/user/list.html:26
msgid "Last edit" msgid "Last edit"
msgstr "" msgstr ""
#: mailu/admin/templates/alias/list.html:29 #: mailu/admin/templates/alias/list.html:29
#: mailu/admin/templates/domain/list.html:31 #: mailu/admin/templates/domain/list.html:31
#: mailu/admin/templates/fetch/list.html:30 #: mailu/admin/templates/fetch/list.html:31
#: mailu/admin/templates/user/list.html:31 #: mailu/admin/templates/user/list.html:31
msgid "Edit" msgid "Edit"
msgstr "" msgstr ""
@ -459,9 +471,21 @@ msgid "Endpoint"
msgstr "" msgstr ""
#: mailu/admin/templates/fetch/list.html:22 #: mailu/admin/templates/fetch/list.html:22
msgid "Keep emails"
msgstr ""
#: mailu/admin/templates/fetch/list.html:23
msgid "Last check" msgid "Last check"
msgstr "" msgstr ""
#: mailu/admin/templates/fetch/list.html:36
msgid "yes"
msgstr ""
#: mailu/admin/templates/fetch/list.html:36
msgid "no"
msgstr ""
#: mailu/admin/templates/manager/create.html:4 #: mailu/admin/templates/manager/create.html:4
msgid "Add a manager" msgid "Add a manager"
msgstr "" msgstr ""

@ -1,11 +1,18 @@
msgid "" msgid ""
msgstr "" msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: POEditor.com\n"
"Project-Id-Version: Mailu\n" "Project-Id-Version: Mailu\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2017-09-03 15:30+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: fr\n" "Language: fr\n"
"Language-Team: fr <LL@li.org>\n"
"Plural-Forms: nplurals=2; plural=(n > 1)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.5.0\n"
#: mailu/admin/forms.py:32 #: mailu/admin/forms.py:32
msgid "Invalid email address." msgid "Invalid email address."
@ -15,12 +22,12 @@ msgstr "Adresse e-mail invalide"
msgid "Confirm" msgid "Confirm"
msgstr "Confirmer" msgstr "Confirmer"
#: mailu/admin/forms.py:40 mailu/admin/forms.py:54 #: mailu/admin/forms.py:40 mailu/admin/forms.py:55
msgid "E-mail" msgid "E-mail"
msgstr "E-mail" msgstr "E-mail"
#: mailu/admin/forms.py:41 mailu/admin/forms.py:55 mailu/admin/forms.py:72 #: mailu/admin/forms.py:41 mailu/admin/forms.py:56 mailu/admin/forms.py:73
#: mailu/admin/forms.py:120 #: mailu/admin/forms.py:122
msgid "Password" msgid "Password"
msgstr "Mot de passe" msgstr "Mot de passe"
@ -42,131 +49,164 @@ msgstr "Nombre maximum d'utilisateurs"
msgid "Maximum alias count" msgid "Maximum alias count"
msgstr "Nombre maximum d'alias" msgstr "Nombre maximum d'alias"
#: mailu/admin/forms.py:49 mailu/admin/forms.py:60 mailu/admin/forms.py:98 #: mailu/admin/forms.py:49
msgid "Maximum user quota"
msgstr ""
#: mailu/admin/forms.py:50 mailu/admin/forms.py:61 mailu/admin/forms.py:100
#: mailu/admin/templates/alias/list.html:22 #: mailu/admin/templates/alias/list.html:22
#: mailu/admin/templates/domain/list.html:22 #: mailu/admin/templates/domain/list.html:22
#: mailu/admin/templates/user/list.html:24 #: mailu/admin/templates/user/list.html:24
msgid "Comment" msgid "Comment"
msgstr "Commentaire" msgstr "Commentaire"
#: mailu/admin/forms.py:50 mailu/admin/forms.py:99 #: mailu/admin/forms.py:51 mailu/admin/forms.py:101
msgid "Create" msgid "Create"
msgstr "Créer" msgstr "Créer"
#: mailu/admin/forms.py:56 #: mailu/admin/forms.py:57
msgid "Confirm password" msgid "Confirm password"
msgstr "Confirmer le mot de passe" msgstr "Confirmer le mot de passe"
#: mailu/admin/forms.py:57 mailu/admin/templates/user/list.html:23 #: mailu/admin/forms.py:58 mailu/admin/templates/user/list.html:23
msgid "Quota" msgid "Quota"
msgstr "Quota" msgstr "Quota"
#: mailu/admin/forms.py:58 #: mailu/admin/forms.py:59
msgid "Allow IMAP access" msgid "Allow IMAP access"
msgstr "Autoriser l'accès IMAP" msgstr "Autoriser l'accès IMAP"
#: mailu/admin/forms.py:59 #: mailu/admin/forms.py:60
msgid "Allow POP3 access" msgid "Allow POP3 access"
msgstr "Autoriser l'accès POP3" msgstr "Autoriser l'accès POP3"
#: mailu/admin/forms.py:61 #: mailu/admin/forms.py:62
msgid "Save" msgid "Save"
msgstr "Enregistrer" msgstr "Enregistrer"
#: mailu/admin/forms.py:65 #: mailu/admin/forms.py:66
msgid "Displayed name" msgid "Displayed name"
msgstr "Nom affiché" msgstr "Nom affiché"
#: mailu/admin/forms.py:66 #: mailu/admin/forms.py:67
msgid "Enable spam filter" msgid "Enable spam filter"
msgstr "Activer le filtre anti-spam" msgstr "Activer le filtre anti-spam"
#: mailu/admin/forms.py:67 #: mailu/admin/forms.py:68
msgid "Spam filter threshold" msgid "Spam filter threshold"
msgstr "Seuil du filtre anti-spam" msgstr "Seuil du filtre anti-spam"
#: mailu/admin/forms.py:68 #: mailu/admin/forms.py:69
msgid "Save settings" msgid "Save settings"
msgstr "Enregistrer les préférences" msgstr "Enregistrer les préférences"
#: mailu/admin/forms.py:73 #: mailu/admin/forms.py:74
msgid "Password check" msgid "Password check"
msgstr "Vérifier le mot de passe" msgstr "Vérifier le mot de passe"
#: mailu/admin/forms.py:74 mailu/admin/templates/sidebar.html:13 #: mailu/admin/forms.py:75 mailu/admin/templates/sidebar.html:13
msgid "Update password" msgid "Update password"
msgstr "Changer de mot de passe" msgstr "Changer de mot de passe"
#: mailu/admin/forms.py:78 #: mailu/admin/forms.py:79
msgid "Enable forwarding" msgid "Enable forwarding"
msgstr "Activer la redirection" msgstr "Activer la redirection"
#: mailu/admin/forms.py:80 mailu/admin/forms.py:97 #: mailu/admin/forms.py:80
msgid "Keep a copy of the emails"
msgstr ""
#: mailu/admin/forms.py:82 mailu/admin/forms.py:99
#: mailu/admin/templates/alias/list.html:21 #: mailu/admin/templates/alias/list.html:21
msgid "Destination" msgid "Destination"
msgstr "Destination" msgstr "Destination"
#: mailu/admin/forms.py:82 mailu/admin/forms.py:90 #: mailu/admin/forms.py:84 mailu/admin/forms.py:92
msgid "Update" msgid "Update"
msgstr "Mettre à jour" msgstr "Mettre à jour"
#: mailu/admin/forms.py:86 #: mailu/admin/forms.py:88
msgid "Enable automatic reply" msgid "Enable automatic reply"
msgstr "Activer les réponses automatique" msgstr "Activer les réponses automatique"
#: mailu/admin/forms.py:87 #: mailu/admin/forms.py:89
msgid "Reply subject" msgid "Reply subject"
msgstr "Sujet du message" msgstr "Sujet du message"
#: mailu/admin/forms.py:88 #: mailu/admin/forms.py:90
msgid "Reply body" msgid "Reply body"
msgstr "Corps de la réponse" msgstr "Corps de la réponse"
#: mailu/admin/forms.py:94 #: mailu/admin/forms.py:96
msgid "Alias" msgid "Alias"
msgstr "Alias" msgstr "Alias"
#: mailu/admin/forms.py:96 #: mailu/admin/forms.py:98
msgid "Use SQL LIKE Syntax (e.g. for catch-all aliases)" msgid "Use SQL LIKE Syntax (e.g. for catch-all aliases)"
msgstr "Utiliser la syntaxe SQL LIKE (par exemple pour les alias catch-all)" msgstr "Utiliser la syntaxe SQL LIKE (par exemple pour les alias catch-all)"
#: mailu/admin/forms.py:103 #: mailu/admin/forms.py:105
msgid "Admin email" msgid "Admin email"
msgstr "Email de l'administrateur" msgstr "Email de l'administrateur"
#: mailu/admin/forms.py:104 mailu/admin/forms.py:109 mailu/admin/forms.py:121 #: mailu/admin/forms.py:106 mailu/admin/forms.py:111 mailu/admin/forms.py:124
msgid "Submit" msgid "Submit"
msgstr "Valider" msgstr "Valider"
#: mailu/admin/forms.py:108 #: mailu/admin/forms.py:110
msgid "Manager email" msgid "Manager email"
msgstr "E-mail du gérant" msgstr "E-mail du gérant"
#: mailu/admin/forms.py:113 #: mailu/admin/forms.py:115
msgid "Protocol" msgid "Protocol"
msgstr "Protocole" msgstr "Protocole"
#: mailu/admin/forms.py:116 #: mailu/admin/forms.py:118
msgid "Hostname or IP" msgid "Hostname or IP"
msgstr "Nom d'hôte ou adresse IP" msgstr "Nom d'hôte ou adresse IP"
#: mailu/admin/forms.py:117 #: mailu/admin/forms.py:119
msgid "TCP port" msgid "TCP port"
msgstr "Port TCP" msgstr "Port TCP"
#: mailu/admin/forms.py:118 #: mailu/admin/forms.py:120
msgid "Enable TLS" msgid "Enable TLS"
msgstr "Activer TLS" msgstr "Activer TLS"
#: mailu/admin/forms.py:119 mailu/admin/templates/fetch/list.html:21 #: mailu/admin/forms.py:121 mailu/admin/templates/fetch/list.html:21
msgid "Username" msgid "Username"
msgstr "Nom d'utilisateur" msgstr "Nom d'utilisateur"
#: mailu/admin/forms.py:123
msgid "Keep emails on the server"
msgstr ""
#: mailu/admin/forms.py:128
msgid "Announcement subject"
msgstr "Sujet de l'annonce"
#: mailu/admin/forms.py:130
msgid "Announcement body"
msgstr "Corps de l'annonce"
#: mailu/admin/forms.py:132
msgid "Send"
msgstr "Envoyer"
#: mailu/admin/templates/announcement.html:4
msgid "Public announcement"
msgstr "Annonce globale"
#: mailu/admin/templates/announcement.html:8
msgid "from"
msgstr "de"
#: mailu/admin/templates/confirm.html:4 #: mailu/admin/templates/confirm.html:4
msgid "Confirm action" msgid "Confirm action"
msgstr "Confirmer" msgstr "Confirmer"
#: mailu/admin/templates/confirm.html:12 #: mailu/admin/templates/confirm.html:12
#, python-format
msgid "You are about to %(action)s. Please confirm your action." msgid "You are about to %(action)s. Please confirm your action."
msgstr "Vous allez %(action)s. Merci de confirmer votre action." msgstr "Vous allez %(action)s. Merci de confirmer votre action."
@ -194,7 +234,7 @@ msgstr "Etat des services"
msgid "Service" msgid "Service"
msgstr "Service" msgstr "Service"
#: mailu/admin/templates/fetch/list.html:23 #: mailu/admin/templates/fetch/list.html:24
#: mailu/admin/templates/services.html:12 #: mailu/admin/templates/services.html:12
msgid "Status" msgid "Status"
msgstr "Etat" msgstr "Etat"
@ -247,6 +287,10 @@ msgstr "Déconnexion"
msgid "Administration" msgid "Administration"
msgstr "Administration" msgstr "Administration"
#: mailu/admin/templates/sidebar.html:45
msgid "Announcement"
msgstr "Annonce"
#: mailu/admin/templates/sidebar.html:50 #: mailu/admin/templates/sidebar.html:50
msgid "Administrators" msgid "Administrators"
msgstr "Administrateurs" msgstr "Administrateurs"
@ -294,7 +338,7 @@ msgstr "E-mail"
#: mailu/admin/templates/admin/list.html:23 #: mailu/admin/templates/admin/list.html:23
#: mailu/admin/templates/alias/list.html:30 #: mailu/admin/templates/alias/list.html:30
#: mailu/admin/templates/domain/list.html:32 #: mailu/admin/templates/domain/list.html:32
#: mailu/admin/templates/fetch/list.html:31 #: mailu/admin/templates/fetch/list.html:32
#: mailu/admin/templates/manager/list.html:25 #: mailu/admin/templates/manager/list.html:25
#: mailu/admin/templates/user/list.html:32 #: mailu/admin/templates/user/list.html:32
msgid "Delete" msgid "Delete"
@ -318,21 +362,21 @@ msgstr "Ajouter un alias"
#: mailu/admin/templates/alias/list.html:23 #: mailu/admin/templates/alias/list.html:23
#: mailu/admin/templates/domain/list.html:23 #: mailu/admin/templates/domain/list.html:23
#: mailu/admin/templates/fetch/list.html:24 #: mailu/admin/templates/fetch/list.html:25
#: mailu/admin/templates/user/list.html:25 #: mailu/admin/templates/user/list.html:25
msgid "Created" msgid "Created"
msgstr "Création" msgstr "Création"
#: mailu/admin/templates/alias/list.html:24 #: mailu/admin/templates/alias/list.html:24
#: mailu/admin/templates/domain/list.html:24 #: mailu/admin/templates/domain/list.html:24
#: mailu/admin/templates/fetch/list.html:25 #: mailu/admin/templates/fetch/list.html:26
#: mailu/admin/templates/user/list.html:26 #: mailu/admin/templates/user/list.html:26
msgid "Last edit" msgid "Last edit"
msgstr "Dernière modification" msgstr "Dernière modification"
#: mailu/admin/templates/alias/list.html:29 #: mailu/admin/templates/alias/list.html:29
#: mailu/admin/templates/domain/list.html:31 #: mailu/admin/templates/domain/list.html:31
#: mailu/admin/templates/fetch/list.html:30 #: mailu/admin/templates/fetch/list.html:31
#: mailu/admin/templates/user/list.html:31 #: mailu/admin/templates/user/list.html:31
msgid "Edit" msgid "Edit"
msgstr "Modifier" msgstr "Modifier"
@ -423,9 +467,21 @@ msgid "Endpoint"
msgstr "Source" msgstr "Source"
#: mailu/admin/templates/fetch/list.html:22 #: mailu/admin/templates/fetch/list.html:22
msgid "Keep emails"
msgstr ""
#: mailu/admin/templates/fetch/list.html:23
msgid "Last check" msgid "Last check"
msgstr "Dernier relevé" msgstr "Dernier relevé"
#: mailu/admin/templates/fetch/list.html:36
msgid "yes"
msgstr ""
#: mailu/admin/templates/fetch/list.html:36
msgid "no"
msgstr ""
#: mailu/admin/templates/manager/create.html:4 #: mailu/admin/templates/manager/create.html:4
msgid "Add a manager" msgid "Add a manager"
msgstr "Ajouter un gérant" msgstr "Ajouter un gérant"
@ -438,30 +494,6 @@ msgstr "Liste des gérants"
msgid "Add manager" msgid "Add manager"
msgstr "Ajouter le gérant" msgstr "Ajouter le gérant"
#: mailu/admin/forms.py:125
msgid "Announcement subject"
msgstr "Sujet de l'annonce"
#: mailu/admin/forms.py:127
msgid "Announcement body"
msgstr "Corps de l'annonce"
#: mailu/admin/forms.py:129
msgid "Send"
msgstr "Envoyer"
#: mailu/admin/templates/announcement.html:4
msgid "Public announcement"
msgstr "Annonce globale"
#: mailu/admin/templates/announcement.html:8
msgid "from"
msgstr "de"
#: mailu/admin/templates/sidebar.html:45
msgid "Announcement"
msgstr "Annonce"
#: mailu/admin/templates/user/create.html:4 #: mailu/admin/templates/user/create.html:4
msgid "New user" msgid "New user"
msgstr "Nouvel utilisateur" msgstr "Nouvel utilisateur"

@ -1,4 +1,4 @@
# Translations template for PROJECT. # Portuguese (Brazil) translations for PROJECT.
# Copyright (C) 2016 ORGANIZATION # Copyright (C) 2016 ORGANIZATION
# This file is distributed under the same license as the PROJECT project. # This file is distributed under the same license as the PROJECT project.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2016. # FIRST AUTHOR <EMAIL@ADDRESS>, 2016.
@ -7,18 +7,16 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PROJECT VERSION\n" "Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2017-03-27 11:37-0300\n" "POT-Creation-Date: 2017-09-03 15:30+0200\n"
"PO-Revision-Date: 2017-03-27 11:43-0300\n" "PO-Revision-Date: 2017-03-27 11:43-0300\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n"
"Language: pt_BR\n" "Language: pt_BR\n"
"Language-Team: \n"
"Plural-Forms: nplurals=2; plural=(n > 1)\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.3.4\n" "Generated-By: Babel 2.5.0\n"
"X-Generator: Poedit 1.8.9\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"X-Poedit-Basepath: .\n"
#: mailu/admin/forms.py:32 #: mailu/admin/forms.py:32
msgid "Invalid email address." msgid "Invalid email address."
@ -28,12 +26,12 @@ msgstr "Endereço de e-mail inválido"
msgid "Confirm" msgid "Confirm"
msgstr "Confirmar" msgstr "Confirmar"
#: mailu/admin/forms.py:40 mailu/admin/forms.py:54 #: mailu/admin/forms.py:40 mailu/admin/forms.py:55
msgid "E-mail" msgid "E-mail"
msgstr "E-mail" msgstr "E-mail"
#: mailu/admin/forms.py:41 mailu/admin/forms.py:55 mailu/admin/forms.py:72 #: mailu/admin/forms.py:41 mailu/admin/forms.py:56 mailu/admin/forms.py:73
#: mailu/admin/forms.py:120 #: mailu/admin/forms.py:122
msgid "Password" msgid "Password"
msgstr "Senha" msgstr "Senha"
@ -55,139 +53,147 @@ msgstr "Quantidade máxima de usuários"
msgid "Maximum alias count" msgid "Maximum alias count"
msgstr "Quantidade máxima de alias" msgstr "Quantidade máxima de alias"
#: mailu/admin/forms.py:49 mailu/admin/forms.py:60 mailu/admin/forms.py:98 #: mailu/admin/forms.py:49
msgid "Maximum user quota"
msgstr ""
#: mailu/admin/forms.py:50 mailu/admin/forms.py:61 mailu/admin/forms.py:100
#: mailu/admin/templates/alias/list.html:22 #: mailu/admin/templates/alias/list.html:22
#: mailu/admin/templates/domain/list.html:22 #: mailu/admin/templates/domain/list.html:22
#: mailu/admin/templates/user/list.html:24 #: mailu/admin/templates/user/list.html:24
msgid "Comment" msgid "Comment"
msgstr "Comentário" msgstr "Comentário"
#: mailu/admin/forms.py:50 mailu/admin/forms.py:99 #: mailu/admin/forms.py:51 mailu/admin/forms.py:101
msgid "Create" msgid "Create"
msgstr "Criar" msgstr "Criar"
#: mailu/admin/forms.py:56 #: mailu/admin/forms.py:57
msgid "Confirm password" msgid "Confirm password"
msgstr "Confirmar senha" msgstr "Confirmar senha"
#: mailu/admin/forms.py:57 mailu/admin/templates/user/list.html:23 #: mailu/admin/forms.py:58 mailu/admin/templates/user/list.html:23
msgid "Quota" msgid "Quota"
msgstr "Quota" msgstr "Quota"
#: mailu/admin/forms.py:58 #: mailu/admin/forms.py:59
msgid "Allow IMAP access" msgid "Allow IMAP access"
msgstr "Permitir acesso IMAP" msgstr "Permitir acesso IMAP"
#: mailu/admin/forms.py:59 #: mailu/admin/forms.py:60
msgid "Allow POP3 access" msgid "Allow POP3 access"
msgstr "Permitir acesso POP3" msgstr "Permitir acesso POP3"
#: mailu/admin/forms.py:61 #: mailu/admin/forms.py:62
msgid "Save" msgid "Save"
msgstr "Salvar" msgstr "Salvar"
#: mailu/admin/forms.py:65 #: mailu/admin/forms.py:66
msgid "Displayed name" msgid "Displayed name"
msgstr "Nome de exibição" msgstr "Nome de exibição"
#: mailu/admin/forms.py:66 #: mailu/admin/forms.py:67
msgid "Enable spam filter" msgid "Enable spam filter"
msgstr "Habilitar filtro de spam" msgstr "Habilitar filtro de spam"
#: mailu/admin/forms.py:67 #: mailu/admin/forms.py:68
msgid "Spam filter threshold" msgid "Spam filter threshold"
msgstr "Limite de filtro de spam" msgstr "Limite de filtro de spam"
#: mailu/admin/forms.py:68 #: mailu/admin/forms.py:69
msgid "Save settings" msgid "Save settings"
msgstr "Salvar configurações" msgstr "Salvar configurações"
#: mailu/admin/forms.py:73 #: mailu/admin/forms.py:74
msgid "Password check" msgid "Password check"
msgstr "Confirmação de senha" msgstr "Confirmação de senha"
#: mailu/admin/forms.py:74 mailu/admin/templates/sidebar.html:13 #: mailu/admin/forms.py:75 mailu/admin/templates/sidebar.html:13
msgid "Update password" msgid "Update password"
msgstr "Alterar senha" msgstr "Alterar senha"
#: mailu/admin/forms.py:78 #: mailu/admin/forms.py:79
msgid "Enable forwarding" msgid "Enable forwarding"
msgstr "Habilitar encaminhamento" msgstr "Habilitar encaminhamento"
#: mailu/admin/forms.py:80 mailu/admin/forms.py:97 #: mailu/admin/forms.py:80
msgid "Keep a copy of the emails"
msgstr ""
#: mailu/admin/forms.py:82 mailu/admin/forms.py:99
#: mailu/admin/templates/alias/list.html:21 #: mailu/admin/templates/alias/list.html:21
msgid "Destination" msgid "Destination"
msgstr "Destinatário" msgstr "Destinatário"
#: mailu/admin/forms.py:82 mailu/admin/forms.py:90 #: mailu/admin/forms.py:84 mailu/admin/forms.py:92
msgid "Update" msgid "Update"
msgstr "Atualizar" msgstr "Atualizar"
#: mailu/admin/forms.py:86 #: mailu/admin/forms.py:88
msgid "Enable automatic reply" msgid "Enable automatic reply"
msgstr "Habilitar resposta automática" msgstr "Habilitar resposta automática"
#: mailu/admin/forms.py:87 #: mailu/admin/forms.py:89
msgid "Reply subject" msgid "Reply subject"
msgstr "Assunto da resposta" msgstr "Assunto da resposta"
#: mailu/admin/forms.py:88 #: mailu/admin/forms.py:90
msgid "Reply body" msgid "Reply body"
msgstr "Corpo da resposta" msgstr "Corpo da resposta"
#: mailu/admin/forms.py:94 #: mailu/admin/forms.py:96
msgid "Alias" msgid "Alias"
msgstr "Alias" msgstr "Alias"
#: mailu/admin/forms.py:96 #: mailu/admin/forms.py:98
msgid "Use SQL LIKE Syntax (e.g. for catch-all aliases)" msgid "Use SQL LIKE Syntax (e.g. for catch-all aliases)"
msgstr "Usar sintaxe estilo SQL(ex: for catch-all aliases)" msgstr "Usar sintaxe estilo SQL(ex: for catch-all aliases)"
#: mailu/admin/forms.py:103 #: mailu/admin/forms.py:105
msgid "Admin email" msgid "Admin email"
msgstr "E-mail do administrador" msgstr "E-mail do administrador"
#: mailu/admin/forms.py:104 mailu/admin/forms.py:109 mailu/admin/forms.py:121 #: mailu/admin/forms.py:106 mailu/admin/forms.py:111 mailu/admin/forms.py:124
msgid "Submit" msgid "Submit"
msgstr "Enviar" msgstr "Enviar"
#: mailu/admin/forms.py:108 #: mailu/admin/forms.py:110
msgid "Manager email" msgid "Manager email"
msgstr "E-mail do gerente" msgstr "E-mail do gerente"
#: mailu/admin/forms.py:113 #: mailu/admin/forms.py:115
msgid "Protocol" msgid "Protocol"
msgstr "Protocolo" msgstr "Protocolo"
#: mailu/admin/forms.py:116 #: mailu/admin/forms.py:118
msgid "Hostname or IP" msgid "Hostname or IP"
msgstr "Hostname ou IP" msgstr "Hostname ou IP"
#: mailu/admin/forms.py:117 #: mailu/admin/forms.py:119
msgid "TCP port" msgid "TCP port"
msgstr "Porta TCP" msgstr "Porta TCP"
#: mailu/admin/forms.py:118 #: mailu/admin/forms.py:120
msgid "Enable TLS" msgid "Enable TLS"
msgstr "Habilitar TLS" msgstr "Habilitar TLS"
#: mailu/admin/forms.py:119 mailu/admin/templates/fetch/list.html:21 #: mailu/admin/forms.py:121 mailu/admin/templates/fetch/list.html:21
msgid "Username" msgid "Username"
msgstr "Usuário" msgstr "Usuário"
#: mailu/admin/forms.py:121 #: mailu/admin/forms.py:123
msgid "Keep emails on the server" msgid "Keep emails on the server"
msgstr "Manter os e-mails no servidor" msgstr "Manter os e-mails no servidor"
#: mailu/admin/forms.py:125 #: mailu/admin/forms.py:128
msgid "Announcement subject" msgid "Announcement subject"
msgstr "Título do comunicado" msgstr "Título do comunicado"
#: mailu/admin/forms.py:127 #: mailu/admin/forms.py:130
msgid "Announcement body" msgid "Announcement body"
msgstr "Corpo do comunicado" msgstr "Corpo do comunicado"
#: mailu/admin/forms.py:129 #: mailu/admin/forms.py:132
msgid "Send" msgid "Send"
msgstr "Enviar" msgstr "Enviar"
@ -232,7 +238,7 @@ msgstr "Status do serviço"
msgid "Service" msgid "Service"
msgstr "Serviço" msgstr "Serviço"
#: mailu/admin/templates/fetch/list.html:23 #: mailu/admin/templates/fetch/list.html:24
#: mailu/admin/templates/services.html:12 #: mailu/admin/templates/services.html:12
msgid "Status" msgid "Status"
msgstr "Status" msgstr "Status"
@ -336,7 +342,7 @@ msgstr "Email"
#: mailu/admin/templates/admin/list.html:23 #: mailu/admin/templates/admin/list.html:23
#: mailu/admin/templates/alias/list.html:30 #: mailu/admin/templates/alias/list.html:30
#: mailu/admin/templates/domain/list.html:32 #: mailu/admin/templates/domain/list.html:32
#: mailu/admin/templates/fetch/list.html:31 #: mailu/admin/templates/fetch/list.html:32
#: mailu/admin/templates/manager/list.html:25 #: mailu/admin/templates/manager/list.html:25
#: mailu/admin/templates/user/list.html:32 #: mailu/admin/templates/user/list.html:32
msgid "Delete" msgid "Delete"
@ -360,21 +366,21 @@ msgstr "Adicionar alias"
#: mailu/admin/templates/alias/list.html:23 #: mailu/admin/templates/alias/list.html:23
#: mailu/admin/templates/domain/list.html:23 #: mailu/admin/templates/domain/list.html:23
#: mailu/admin/templates/fetch/list.html:24 #: mailu/admin/templates/fetch/list.html:25
#: mailu/admin/templates/user/list.html:25 #: mailu/admin/templates/user/list.html:25
msgid "Created" msgid "Created"
msgstr "Criado" msgstr "Criado"
#: mailu/admin/templates/alias/list.html:24 #: mailu/admin/templates/alias/list.html:24
#: mailu/admin/templates/domain/list.html:24 #: mailu/admin/templates/domain/list.html:24
#: mailu/admin/templates/fetch/list.html:25 #: mailu/admin/templates/fetch/list.html:26
#: mailu/admin/templates/user/list.html:26 #: mailu/admin/templates/user/list.html:26
msgid "Last edit" msgid "Last edit"
msgstr "Última edição" msgstr "Última edição"
#: mailu/admin/templates/alias/list.html:29 #: mailu/admin/templates/alias/list.html:29
#: mailu/admin/templates/domain/list.html:31 #: mailu/admin/templates/domain/list.html:31
#: mailu/admin/templates/fetch/list.html:30 #: mailu/admin/templates/fetch/list.html:31
#: mailu/admin/templates/user/list.html:31 #: mailu/admin/templates/user/list.html:31
msgid "Edit" msgid "Edit"
msgstr "Editar" msgstr "Editar"
@ -465,9 +471,21 @@ msgid "Endpoint"
msgstr "Endpoint" msgstr "Endpoint"
#: mailu/admin/templates/fetch/list.html:22 #: mailu/admin/templates/fetch/list.html:22
msgid "Keep emails"
msgstr ""
#: mailu/admin/templates/fetch/list.html:23
msgid "Last check" msgid "Last check"
msgstr "Última verificação" msgstr "Última verificação"
#: mailu/admin/templates/fetch/list.html:36
msgid "yes"
msgstr ""
#: mailu/admin/templates/fetch/list.html:36
msgid "no"
msgstr ""
#: mailu/admin/templates/manager/create.html:4 #: mailu/admin/templates/manager/create.html:4
msgid "Add a manager" msgid "Add a manager"
msgstr "Adicionar gerente" msgstr "Adicionar gerente"
@ -516,3 +534,4 @@ msgstr "Atualizar senha"
#: mailu/admin/templates/user/reply.html:4 #: mailu/admin/templates/user/reply.html:4
msgid "Automatic reply" msgid "Automatic reply"
msgstr "Resposta automática" msgstr "Resposta automática"

@ -1,21 +1,21 @@
# Translations template for PROJECT. # Translations template for PROJECT.
# Copyright (C) 2016 ORGANIZATION # Copyright (C) 2017 ORGANIZATION
# This file is distributed under the same license as the PROJECT project. # This file is distributed under the same license as the PROJECT project.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2016. # FIRST AUTHOR <EMAIL@ADDRESS>, 2017.
# #
#, fuzzy #, fuzzy
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PROJECT VERSION\n" "Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2016-11-10 10:52+0100\n" "POT-Creation-Date: 2017-09-03 15:30+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n" "Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.3.4\n" "Generated-By: Babel 2.5.0\n"
#: mailu/admin/forms.py:32 #: mailu/admin/forms.py:32
msgid "Invalid email address." msgid "Invalid email address."
@ -25,12 +25,12 @@ msgstr ""
msgid "Confirm" msgid "Confirm"
msgstr "" msgstr ""
#: mailu/admin/forms.py:40 mailu/admin/forms.py:54 #: mailu/admin/forms.py:40 mailu/admin/forms.py:55
msgid "E-mail" msgid "E-mail"
msgstr "" msgstr ""
#: mailu/admin/forms.py:41 mailu/admin/forms.py:55 mailu/admin/forms.py:72 #: mailu/admin/forms.py:41 mailu/admin/forms.py:56 mailu/admin/forms.py:73
#: mailu/admin/forms.py:120 #: mailu/admin/forms.py:122
msgid "Password" msgid "Password"
msgstr "" msgstr ""
@ -52,135 +52,147 @@ msgstr ""
msgid "Maximum alias count" msgid "Maximum alias count"
msgstr "" msgstr ""
#: mailu/admin/forms.py:49 mailu/admin/forms.py:60 mailu/admin/forms.py:98 #: mailu/admin/forms.py:49
msgid "Maximum user quota"
msgstr ""
#: mailu/admin/forms.py:50 mailu/admin/forms.py:61 mailu/admin/forms.py:100
#: mailu/admin/templates/alias/list.html:22 #: mailu/admin/templates/alias/list.html:22
#: mailu/admin/templates/domain/list.html:22 #: mailu/admin/templates/domain/list.html:22
#: mailu/admin/templates/user/list.html:24 #: mailu/admin/templates/user/list.html:24
msgid "Comment" msgid "Comment"
msgstr "" msgstr ""
#: mailu/admin/forms.py:50 mailu/admin/forms.py:99 #: mailu/admin/forms.py:51 mailu/admin/forms.py:101
msgid "Create" msgid "Create"
msgstr "" msgstr ""
#: mailu/admin/forms.py:56 #: mailu/admin/forms.py:57
msgid "Confirm password" msgid "Confirm password"
msgstr "" msgstr ""
#: mailu/admin/forms.py:57 mailu/admin/templates/user/list.html:23 #: mailu/admin/forms.py:58 mailu/admin/templates/user/list.html:23
msgid "Quota" msgid "Quota"
msgstr "" msgstr ""
#: mailu/admin/forms.py:58 #: mailu/admin/forms.py:59
msgid "Allow IMAP access" msgid "Allow IMAP access"
msgstr "" msgstr ""
#: mailu/admin/forms.py:59 #: mailu/admin/forms.py:60
msgid "Allow POP3 access" msgid "Allow POP3 access"
msgstr "" msgstr ""
#: mailu/admin/forms.py:61 #: mailu/admin/forms.py:62
msgid "Save" msgid "Save"
msgstr "" msgstr ""
#: mailu/admin/forms.py:65 #: mailu/admin/forms.py:66
msgid "Displayed name" msgid "Displayed name"
msgstr "" msgstr ""
#: mailu/admin/forms.py:66 #: mailu/admin/forms.py:67
msgid "Enable spam filter" msgid "Enable spam filter"
msgstr "" msgstr ""
#: mailu/admin/forms.py:67 #: mailu/admin/forms.py:68
msgid "Spam filter threshold" msgid "Spam filter threshold"
msgstr "" msgstr ""
#: mailu/admin/forms.py:68 #: mailu/admin/forms.py:69
msgid "Save settings" msgid "Save settings"
msgstr "" msgstr ""
#: mailu/admin/forms.py:73 #: mailu/admin/forms.py:74
msgid "Password check" msgid "Password check"
msgstr "" msgstr ""
#: mailu/admin/forms.py:74 mailu/admin/templates/sidebar.html:13 #: mailu/admin/forms.py:75 mailu/admin/templates/sidebar.html:13
msgid "Update password" msgid "Update password"
msgstr "" msgstr ""
#: mailu/admin/forms.py:78 #: mailu/admin/forms.py:79
msgid "Enable forwarding" msgid "Enable forwarding"
msgstr "" msgstr ""
#: mailu/admin/forms.py:80 mailu/admin/forms.py:97 #: mailu/admin/forms.py:80
msgid "Keep a copy of the emails"
msgstr ""
#: mailu/admin/forms.py:82 mailu/admin/forms.py:99
#: mailu/admin/templates/alias/list.html:21 #: mailu/admin/templates/alias/list.html:21
msgid "Destination" msgid "Destination"
msgstr "" msgstr ""
#: mailu/admin/forms.py:82 mailu/admin/forms.py:90 #: mailu/admin/forms.py:84 mailu/admin/forms.py:92
msgid "Update" msgid "Update"
msgstr "" msgstr ""
#: mailu/admin/forms.py:86 #: mailu/admin/forms.py:88
msgid "Enable automatic reply" msgid "Enable automatic reply"
msgstr "" msgstr ""
#: mailu/admin/forms.py:87 #: mailu/admin/forms.py:89
msgid "Reply subject" msgid "Reply subject"
msgstr "" msgstr ""
#: mailu/admin/forms.py:88 #: mailu/admin/forms.py:90
msgid "Reply body" msgid "Reply body"
msgstr "" msgstr ""
#: mailu/admin/forms.py:94 #: mailu/admin/forms.py:96
msgid "Alias" msgid "Alias"
msgstr "" msgstr ""
#: mailu/admin/forms.py:96 #: mailu/admin/forms.py:98
msgid "Use SQL LIKE Syntax (e.g. for catch-all aliases)" msgid "Use SQL LIKE Syntax (e.g. for catch-all aliases)"
msgstr "" msgstr ""
#: mailu/admin/forms.py:103 #: mailu/admin/forms.py:105
msgid "Admin email" msgid "Admin email"
msgstr "" msgstr ""
#: mailu/admin/forms.py:104 mailu/admin/forms.py:109 mailu/admin/forms.py:121 #: mailu/admin/forms.py:106 mailu/admin/forms.py:111 mailu/admin/forms.py:124
msgid "Submit" msgid "Submit"
msgstr "" msgstr ""
#: mailu/admin/forms.py:108 #: mailu/admin/forms.py:110
msgid "Manager email" msgid "Manager email"
msgstr "" msgstr ""
#: mailu/admin/forms.py:113 #: mailu/admin/forms.py:115
msgid "Protocol" msgid "Protocol"
msgstr "" msgstr ""
#: mailu/admin/forms.py:116 #: mailu/admin/forms.py:118
msgid "Hostname or IP" msgid "Hostname or IP"
msgstr "" msgstr ""
#: mailu/admin/forms.py:117 #: mailu/admin/forms.py:119
msgid "TCP port" msgid "TCP port"
msgstr "" msgstr ""
#: mailu/admin/forms.py:118 #: mailu/admin/forms.py:120
msgid "Enable TLS" msgid "Enable TLS"
msgstr "" msgstr ""
#: mailu/admin/forms.py:119 mailu/admin/templates/fetch/list.html:21 #: mailu/admin/forms.py:121 mailu/admin/templates/fetch/list.html:21
msgid "Username" msgid "Username"
msgstr "" msgstr ""
#: mailu/admin/forms.py:125 #: mailu/admin/forms.py:123
msgid "Keep emails on the server"
msgstr ""
#: mailu/admin/forms.py:128
msgid "Announcement subject" msgid "Announcement subject"
msgstr "" msgstr ""
#: mailu/admin/forms.py:127 #: mailu/admin/forms.py:130
msgid "Announcement body" msgid "Announcement body"
msgstr "" msgstr ""
#: mailu/admin/forms.py:129 #: mailu/admin/forms.py:132
msgid "Send" msgid "Send"
msgstr "" msgstr ""
@ -225,7 +237,7 @@ msgstr ""
msgid "Service" msgid "Service"
msgstr "" msgstr ""
#: mailu/admin/templates/fetch/list.html:23 #: mailu/admin/templates/fetch/list.html:24
#: mailu/admin/templates/services.html:12 #: mailu/admin/templates/services.html:12
msgid "Status" msgid "Status"
msgstr "" msgstr ""
@ -329,7 +341,7 @@ msgstr ""
#: mailu/admin/templates/admin/list.html:23 #: mailu/admin/templates/admin/list.html:23
#: mailu/admin/templates/alias/list.html:30 #: mailu/admin/templates/alias/list.html:30
#: mailu/admin/templates/domain/list.html:32 #: mailu/admin/templates/domain/list.html:32
#: mailu/admin/templates/fetch/list.html:31 #: mailu/admin/templates/fetch/list.html:32
#: mailu/admin/templates/manager/list.html:25 #: mailu/admin/templates/manager/list.html:25
#: mailu/admin/templates/user/list.html:32 #: mailu/admin/templates/user/list.html:32
msgid "Delete" msgid "Delete"
@ -353,21 +365,21 @@ msgstr ""
#: mailu/admin/templates/alias/list.html:23 #: mailu/admin/templates/alias/list.html:23
#: mailu/admin/templates/domain/list.html:23 #: mailu/admin/templates/domain/list.html:23
#: mailu/admin/templates/fetch/list.html:24 #: mailu/admin/templates/fetch/list.html:25
#: mailu/admin/templates/user/list.html:25 #: mailu/admin/templates/user/list.html:25
msgid "Created" msgid "Created"
msgstr "" msgstr ""
#: mailu/admin/templates/alias/list.html:24 #: mailu/admin/templates/alias/list.html:24
#: mailu/admin/templates/domain/list.html:24 #: mailu/admin/templates/domain/list.html:24
#: mailu/admin/templates/fetch/list.html:25 #: mailu/admin/templates/fetch/list.html:26
#: mailu/admin/templates/user/list.html:26 #: mailu/admin/templates/user/list.html:26
msgid "Last edit" msgid "Last edit"
msgstr "" msgstr ""
#: mailu/admin/templates/alias/list.html:29 #: mailu/admin/templates/alias/list.html:29
#: mailu/admin/templates/domain/list.html:31 #: mailu/admin/templates/domain/list.html:31
#: mailu/admin/templates/fetch/list.html:30 #: mailu/admin/templates/fetch/list.html:31
#: mailu/admin/templates/user/list.html:31 #: mailu/admin/templates/user/list.html:31
msgid "Edit" msgid "Edit"
msgstr "" msgstr ""
@ -458,9 +470,21 @@ msgid "Endpoint"
msgstr "" msgstr ""
#: mailu/admin/templates/fetch/list.html:22 #: mailu/admin/templates/fetch/list.html:22
msgid "Keep emails"
msgstr ""
#: mailu/admin/templates/fetch/list.html:23
msgid "Last check" msgid "Last check"
msgstr "" msgstr ""
#: mailu/admin/templates/fetch/list.html:36
msgid "yes"
msgstr ""
#: mailu/admin/templates/fetch/list.html:36
msgid "no"
msgstr ""
#: mailu/admin/templates/manager/create.html:4 #: mailu/admin/templates/manager/create.html:4
msgid "Add a manager" msgid "Add a manager"
msgstr "" msgstr ""

@ -0,0 +1,24 @@
""" Add the ability to keep forwarded messages
Revision ID: 73e56bad5ec5
Revises: 3f6994568962
Create Date: 2017-09-03 15:36:07.821002
"""
# revision identifiers, used by Alembic.
revision = '73e56bad5ec5'
down_revision = '3f6994568962'
from alembic import op
import sqlalchemy as sa
def upgrade():
with op.batch_alter_table('user') as batch:
batch.add_column(sa.Column('forward_keep', sa.Boolean(), nullable=False, server_default=sa.sql.expression.true()))
def downgrade():
with op.batch_alter_table('user') as batch:
batch.drop_column('forward_keep')
Loading…
Cancel
Save