summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pyproject.toml2
-rw-r--r--src/jwebmail/__init__.py2
-rw-r--r--src/jwebmail/translations/de/LC_MESSAGES/messages.po122
-rw-r--r--src/jwebmail/translations/en/LC_MESSAGES/messages.po127
4 files changed, 130 insertions, 123 deletions
diff --git a/pyproject.toml b/pyproject.toml
index c611154..a2378d9 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -35,7 +35,7 @@ dependencies = [
]
[tool.hatch.envs.dev.scripts]
-serve = 'env PATH="$PATH:$PWD/script/" flask --app src/jwebmail --debug run --extra-files src/jwebmail/translations'
+serve = 'env PATH="$PATH:$PWD/script/" flask --app src/jwebmail --debug run --extra-files src/jwebmail/translations/de/LC_MESSAGES/messages.mo'
server = "env JWEBMAIL_CONFIG=../../jwebmail.toml flask --app src/jwebmail run"
tr-compile = "pybabel compile -d src/jwebmail/translations/"
tr-extract = "pybabel extract -F babel.cfg -o messages.pot -k lazy_gettext src/ && pybabel update -i messages.pot -d src/jwebmail/translations/"
diff --git a/src/jwebmail/__init__.py b/src/jwebmail/__init__.py
index 762655a..d7ac1f0 100644
--- a/src/jwebmail/__init__.py
+++ b/src/jwebmail/__init__.py
@@ -36,7 +36,7 @@ else:
toml_read_file = dict(load=toml_load, text=True)
-__version__ = "2.8.1.dev2"
+__version__ = "2.8.1.dev3"
csrf = CSRFProtect()
diff --git a/src/jwebmail/translations/de/LC_MESSAGES/messages.po b/src/jwebmail/translations/de/LC_MESSAGES/messages.po
index 8f9ad72..fa22796 100644
--- a/src/jwebmail/translations/de/LC_MESSAGES/messages.po
+++ b/src/jwebmail/translations/de/LC_MESSAGES/messages.po
@@ -1,13 +1,13 @@
# German translations for JWebmail.
-# Copyright (C) 2023 Fehcom
+# Copyright (C) 2023-2024 Fehcom
# This file is distributed under the same license as the project.
-# Jannis M. Hoffmann <jannis@fehcom.de>, 2023.
+# Jannis M. Hoffmann <jannis@fehcom.de>, 2023-2024.
#
msgid ""
msgstr ""
"Project-Id-Version: 2.2.1\n"
"Report-Msgid-Bugs-To: jannis@fehcom.de\n"
-"POT-Creation-Date: 2024-04-10 16:35+0200\n"
+"POT-Creation-Date: 2024-12-08 18:34+0100\n"
"PO-Revision-Date: 2023-11-23 12:18+0100\n"
"Last-Translator: Jannis Hoffmann <jannis@fehcom.de>\n"
"Language: de\n"
@@ -16,145 +16,150 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"Generated-By: Babel 2.14.0\n"
+"Generated-By: Babel 2.16.0\n"
-#: src/jwebmail/render_mail.py:70
+#: src/jwebmail/render_mail.py:90
msgid "Attachment {filename} of type {filetype}"
msgstr "Anhang {filename} des types {filetype}"
-#: src/jwebmail/render_mail.py:121
+#: src/jwebmail/render_mail.py:132
+msgid "Subject"
+msgstr ""
+
+#: src/jwebmail/render_mail.py:134
msgid "From"
msgstr "Von"
-#: src/jwebmail/render_mail.py:122
+#: src/jwebmail/render_mail.py:135
msgid "To"
msgstr "Für"
-#: src/jwebmail/render_mail.py:123
+#: src/jwebmail/render_mail.py:136
msgid "CC"
msgstr ""
-#: src/jwebmail/render_mail.py:124
+#: src/jwebmail/render_mail.py:137
msgid "BCC"
msgstr ""
-#: src/jwebmail/render_mail.py:151
+#: src/jwebmail/render_mail.py:138 src/jwebmail/templates/_top_nav.html:25
+#: src/jwebmail/templates/_top_nav.html:26
+msgid "Date"
+msgstr "Datum"
+
+#: src/jwebmail/render_mail.py:141
+msgid "Content-Type"
+msgstr ""
+
+#: src/jwebmail/render_mail.py:167
msgid "Unsupported MIME type of {mime_type}."
msgstr "Nicht unterstützter MIME-Typ {mime_type}."
-#: src/jwebmail/webmail.py:37
+#: src/jwebmail/webmail.py:36
msgid "Username"
msgstr "Nutzername"
-#: src/jwebmail/webmail.py:39
+#: src/jwebmail/webmail.py:38
msgid "Password"
msgstr "Passwort"
-#: src/jwebmail/webmail.py:74
+#: src/jwebmail/webmail.py:69
msgid "login failed!"
msgstr "Login fehlgeschlagen!"
-#: src/jwebmail/webmail.py:121
-msgid "displaying <b>{start} - {end}</b> of <b>{total}</b> {record_name}"
-msgstr "zeige <b>{start} - {end}</b> von <b>{total}</b> {record_name} an"
-
-#: src/jwebmail/webmail.py:205
+#: src/jwebmail/webmail.py:222
msgid "succ_move"
msgstr "erfolgreich Verschoben"
-#: src/jwebmail/webmail.py:239
+#: src/jwebmail/webmail.py:244
+msgid "succ_remove"
+msgstr "erfolgreich Entfernt"
+
+#: src/jwebmail/webmail.py:279
msgid "invalid mimetype"
msgstr "unbekannter Mime Typ"
-#: src/jwebmail/webmail.py:247 src/jwebmail/webmail.py:267
+#: src/jwebmail/webmail.py:287 src/jwebmail/webmail.py:308
msgid "succ_send"
msgstr "Erfolgreich gesendet"
-#: src/jwebmail/webmail.py:263
+#: src/jwebmail/webmail.py:304
msgid "error_send"
msgstr "Fehler beim senden"
-#: src/jwebmail/templates/_bot_nav.html:11
-msgid "Move to"
-msgstr "Verschiebe nach"
-
-#: src/jwebmail/templates/_bot_nav.html:19
-#: src/jwebmail/templates/_folders.html:21
+#: src/jwebmail/templates/_bot_nav.html:57
+#: src/jwebmail/templates/_folders.html:8
+#: src/jwebmail/templates/_folders.html:22
msgid "Home"
msgstr "Ursprung"
-#: src/jwebmail/templates/_bot_nav.html:26
+#: src/jwebmail/templates/_bot_nav.html:64
msgid "Move"
msgstr "Verschieben"
-#: src/jwebmail/templates/_bot_nav.html:38
+#: src/jwebmail/templates/_bot_nav.html:78
msgid "Remove"
msgstr "Löschen"
-#: src/jwebmail/templates/_bot_nav.html:44
+#: src/jwebmail/templates/_bot_nav.html:88
msgid "check all"
msgstr "alle markieren"
-#: src/jwebmail/templates/_folders.html:36
+#: src/jwebmail/templates/_folders.html:37
#, python-format
msgid "%(total_new_mails)s new"
msgstr "%(total_new_mails)s neu"
-#: src/jwebmail/templates/_folders.html:41
+#: src/jwebmail/templates/_folders.html:42
msgid "mailbox size: "
-msgstr "mailbox größe: "
+msgstr "Mailboxgröße: "
-#: src/jwebmail/templates/_main_table.html:23
-msgid "unknown"
-msgstr "unbekannt"
+#: src/jwebmail/templates/_folders.html:50
+msgid "Write"
+msgstr "Schreiben"
-#: src/jwebmail/templates/_top_nav.html:4
+#: src/jwebmail/templates/_folders.html:51
msgid "Logout"
msgstr "Abmelden"
-#: src/jwebmail/templates/_top_nav.html:5
-msgid "Write"
-msgstr "Schreiben"
+#: src/jwebmail/templates/_main_table.html:21
+msgid "unknown"
+msgstr "unbekannt"
-#: src/jwebmail/templates/_top_nav.html:11
+#: src/jwebmail/templates/_top_nav.html:7
msgid "Search"
msgstr "Suchen"
-#: src/jwebmail/templates/_top_nav.html:26
+#: src/jwebmail/templates/_top_nav.html:22
msgid "Sort"
msgstr "Sortieren"
-#: src/jwebmail/templates/_top_nav.html:32
-#: src/jwebmail/templates/_top_nav.html:33
-msgid "Date"
-msgstr "Datum"
-
-#: src/jwebmail/templates/_top_nav.html:32
-#: src/jwebmail/templates/_top_nav.html:34
-#: src/jwebmail/templates/_top_nav.html:35
+#: src/jwebmail/templates/_top_nav.html:25
+#: src/jwebmail/templates/_top_nav.html:27
+#: src/jwebmail/templates/_top_nav.html:28
msgid "Descending"
msgstr "Absteigend"
-#: src/jwebmail/templates/_top_nav.html:33
-#: src/jwebmail/templates/_top_nav.html:36
+#: src/jwebmail/templates/_top_nav.html:26
+#: src/jwebmail/templates/_top_nav.html:29
msgid "Ascending"
msgstr "Aufsteigend"
-#: src/jwebmail/templates/_top_nav.html:34
+#: src/jwebmail/templates/_top_nav.html:27
msgid "Size"
msgstr "Größe"
-#: src/jwebmail/templates/_top_nav.html:35
-#: src/jwebmail/templates/_top_nav.html:36
+#: src/jwebmail/templates/_top_nav.html:28
+#: src/jwebmail/templates/_top_nav.html:29
msgid "Sender"
msgstr "Sender"
#: src/jwebmail/templates/about.html:61 src/jwebmail/templates/login.html:8
-#: src/jwebmail/templates/login.html:64
+#: src/jwebmail/templates/login.html:74
msgid "Login"
msgstr "Anmelden"
-#: src/jwebmail/templates/displayheaders.html:29
+#: src/jwebmail/templates/displayheaders.html:37
msgid "This folder is empty!"
msgstr "Dieses Verzeichnis ist leer!"
@@ -170,7 +175,7 @@ msgstr "Version"
msgid "start page"
msgstr "Startseite"
-#: src/jwebmail/templates/readmail.html:12
+#: src/jwebmail/templates/readmail.html:17
#: src/jwebmail/templates/writemail.html:80
msgid "back"
msgstr "zurück"
@@ -182,4 +187,3 @@ msgstr "Datei anhängen"
#: src/jwebmail/templates/writemail.html:73
msgid "Send"
msgstr "Senden"
-
diff --git a/src/jwebmail/translations/en/LC_MESSAGES/messages.po b/src/jwebmail/translations/en/LC_MESSAGES/messages.po
index 87580a0..2b93e68 100644
--- a/src/jwebmail/translations/en/LC_MESSAGES/messages.po
+++ b/src/jwebmail/translations/en/LC_MESSAGES/messages.po
@@ -1,160 +1,164 @@
-# English translations for PROJECT.
-# Copyright (C) 2023 ORGANIZATION
+# English translations for JWebmail
# This file is distributed under the same license as the PROJECT project.
-# FIRST AUTHOR <EMAIL@ADDRESS>, 2023.
+# Jannis M. Hoffmann <jannis@fehcom.de>, 2023-2024.
#
msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
-"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2024-04-10 16:35+0200\n"
+"Report-Msgid-Bugs-To: jannis@fehcom.de\n"
+"POT-Creation-Date: 2024-12-08 18:34+0100\n"
"PO-Revision-Date: 2023-12-07 19:04+0100\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Last-Translator: Jannis M. Hoffmann <jannis@fehcom.de>\n"
"Language: en\n"
"Language-Team: en <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.14.0\n"
+"Generated-By: Babel 2.16.0\n"
-#: src/jwebmail/render_mail.py:70
+#: src/jwebmail/render_mail.py:90
msgid "Attachment {filename} of type {filetype}"
msgstr ""
-#: src/jwebmail/render_mail.py:121
+#: src/jwebmail/render_mail.py:132
+msgid "Subject"
+msgstr ""
+
+#: src/jwebmail/render_mail.py:134
msgid "From"
msgstr ""
-#: src/jwebmail/render_mail.py:122
+#: src/jwebmail/render_mail.py:135
msgid "To"
msgstr ""
-#: src/jwebmail/render_mail.py:123
+#: src/jwebmail/render_mail.py:136
msgid "CC"
msgstr ""
-#: src/jwebmail/render_mail.py:124
+#: src/jwebmail/render_mail.py:137
msgid "BCC"
msgstr ""
-#: src/jwebmail/render_mail.py:151
+#: src/jwebmail/render_mail.py:138 src/jwebmail/templates/_top_nav.html:25
+#: src/jwebmail/templates/_top_nav.html:26
+msgid "Date"
+msgstr ""
+
+#: src/jwebmail/render_mail.py:141
+msgid "Content-Type"
+msgstr ""
+
+#: src/jwebmail/render_mail.py:167
msgid "Unsupported MIME type of {mime_type}."
msgstr ""
-#: src/jwebmail/webmail.py:37
+#: src/jwebmail/webmail.py:36
msgid "Username"
msgstr ""
-#: src/jwebmail/webmail.py:39
+#: src/jwebmail/webmail.py:38
msgid "Password"
msgstr ""
-#: src/jwebmail/webmail.py:74
+#: src/jwebmail/webmail.py:69
msgid "login failed!"
msgstr ""
-#: src/jwebmail/webmail.py:121
-msgid "displaying <b>{start} - {end}</b> of <b>{total}</b> {record_name}"
-msgstr ""
-
-#: src/jwebmail/webmail.py:205
+#: src/jwebmail/webmail.py:222
msgid "succ_move"
-msgstr ""
+msgstr "move successful"
+
+#: src/jwebmail/webmail.py:244
+msgid "succ_remove"
+msgstr "remove successful"
-#: src/jwebmail/webmail.py:239
+#: src/jwebmail/webmail.py:279
msgid "invalid mimetype"
msgstr ""
-#: src/jwebmail/webmail.py:247 src/jwebmail/webmail.py:267
+#: src/jwebmail/webmail.py:287 src/jwebmail/webmail.py:308
msgid "succ_send"
-msgstr ""
+msgstr "send successful"
-#: src/jwebmail/webmail.py:263
+#: src/jwebmail/webmail.py:304
msgid "error_send"
-msgstr ""
-
-#: src/jwebmail/templates/_bot_nav.html:11
-msgid "Move to"
-msgstr ""
+msgstr "error while sending"
-#: src/jwebmail/templates/_bot_nav.html:19
-#: src/jwebmail/templates/_folders.html:21
+#: src/jwebmail/templates/_bot_nav.html:57
+#: src/jwebmail/templates/_folders.html:8
+#: src/jwebmail/templates/_folders.html:22
msgid "Home"
msgstr ""
-#: src/jwebmail/templates/_bot_nav.html:26
+#: src/jwebmail/templates/_bot_nav.html:64
msgid "Move"
msgstr ""
-#: src/jwebmail/templates/_bot_nav.html:38
+#: src/jwebmail/templates/_bot_nav.html:78
msgid "Remove"
msgstr ""
-#: src/jwebmail/templates/_bot_nav.html:44
+#: src/jwebmail/templates/_bot_nav.html:88
msgid "check all"
msgstr ""
-#: src/jwebmail/templates/_folders.html:36
+#: src/jwebmail/templates/_folders.html:37
#, python-format
msgid "%(total_new_mails)s new"
msgstr ""
-#: src/jwebmail/templates/_folders.html:41
+#: src/jwebmail/templates/_folders.html:42
msgid "mailbox size: "
msgstr ""
-#: src/jwebmail/templates/_main_table.html:23
-msgid "unknown"
+#: src/jwebmail/templates/_folders.html:50
+msgid "Write"
msgstr ""
-#: src/jwebmail/templates/_top_nav.html:4
+#: src/jwebmail/templates/_folders.html:51
msgid "Logout"
msgstr ""
-#: src/jwebmail/templates/_top_nav.html:5
-msgid "Write"
+#: src/jwebmail/templates/_main_table.html:21
+msgid "unknown"
msgstr ""
-#: src/jwebmail/templates/_top_nav.html:11
+#: src/jwebmail/templates/_top_nav.html:7
msgid "Search"
msgstr ""
-#: src/jwebmail/templates/_top_nav.html:26
+#: src/jwebmail/templates/_top_nav.html:22
msgid "Sort"
msgstr ""
-#: src/jwebmail/templates/_top_nav.html:32
-#: src/jwebmail/templates/_top_nav.html:33
-msgid "Date"
-msgstr ""
-
-#: src/jwebmail/templates/_top_nav.html:32
-#: src/jwebmail/templates/_top_nav.html:34
-#: src/jwebmail/templates/_top_nav.html:35
+#: src/jwebmail/templates/_top_nav.html:25
+#: src/jwebmail/templates/_top_nav.html:27
+#: src/jwebmail/templates/_top_nav.html:28
msgid "Descending"
msgstr ""
-#: src/jwebmail/templates/_top_nav.html:33
-#: src/jwebmail/templates/_top_nav.html:36
+#: src/jwebmail/templates/_top_nav.html:26
+#: src/jwebmail/templates/_top_nav.html:29
msgid "Ascending"
msgstr ""
-#: src/jwebmail/templates/_top_nav.html:34
+#: src/jwebmail/templates/_top_nav.html:27
msgid "Size"
msgstr ""
-#: src/jwebmail/templates/_top_nav.html:35
-#: src/jwebmail/templates/_top_nav.html:36
+#: src/jwebmail/templates/_top_nav.html:28
+#: src/jwebmail/templates/_top_nav.html:29
msgid "Sender"
msgstr ""
#: src/jwebmail/templates/about.html:61 src/jwebmail/templates/login.html:8
-#: src/jwebmail/templates/login.html:64
+#: src/jwebmail/templates/login.html:74
msgid "Login"
msgstr ""
-#: src/jwebmail/templates/displayheaders.html:29
+#: src/jwebmail/templates/displayheaders.html:37
msgid "This folder is empty!"
msgstr ""
@@ -170,7 +174,7 @@ msgstr ""
msgid "start page"
msgstr ""
-#: src/jwebmail/templates/readmail.html:12
+#: src/jwebmail/templates/readmail.html:17
#: src/jwebmail/templates/writemail.html:80
msgid "back"
msgstr ""
@@ -182,4 +186,3 @@ msgstr ""
#: src/jwebmail/templates/writemail.html:73
msgid "Send"
msgstr ""
-