Skip to content

Commit ba609b7

Browse files
committed
Reimplement blocked upload notifications.
1 parent 9890ece commit ba609b7

26 files changed

+112
-52
lines changed

assets/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# License: GNU/GPLv2
88
# @see LICENSE.txt
99
#
10-
# This file: Configuration defaults file (last modified: 2020.06.14).
10+
# This file: Configuration defaults file (last modified: 2020.07.13).
1111
##/
1212

1313
phpmailer:
@@ -18,8 +18,8 @@ phpmailer:
1818
type: "bool"
1919
default: false
2020
enable_notifications:
21-
type: "bool"
22-
default: false
21+
type: "string"
22+
default: ""
2323
skip_auth_process:
2424
type: "bool"
2525
default: false

l10n/ar.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
# License: GNU/GPLv2
88
# @see LICENSE.txt
99
#
10-
# This file: Arabic language data (last modified: 2020.07.02).
10+
# This file: Arabic language data (last modified: 2020.07.13).
1111
##/
1212

1313
config_phpmailer: "التكوين ل PHPMailer (تستخدم لمصادقة ثنائية العامل)."
1414
config_phpmailer_add_reply_to_address: "عنوان الرد للاستشهاد عند إرسال البريد الإلكتروني عبر SMTP."
1515
config_phpmailer_add_reply_to_name: "اسم الرد للاستشهاد عند إرسال البريد الإلكتروني عبر SMTP."
16-
config_phpmailer_enable_notifications: "إرسال إخطارات البريد الإلكتروني عندما يتم حظر التحميل."
16+
config_phpmailer_enable_notifications: "إذا كنت تريد أن يتم إعلامك عبر البريد الإلكتروني عند حظر التحميل، فحدد عنوان البريد الإلكتروني للمستلم هنا."
1717
config_phpmailer_enable_two_factor: "يحدد هذا التوجيه ما إذا كان سيتم استخدام 2FA للحسابات front-end أم لا."
1818
config_phpmailer_event_log: "ملف لتسجيل جميع الأحداث المتعلقة ب PHPMailer. تحديد اسم الملف، أو اتركه فارغا لتعطيل."
1919
config_phpmailer_host: "مضيف SMTP الذي يستخدم للبريد الإلكتروني الصادر."
@@ -25,3 +25,4 @@ config_phpmailer_skip_auth_process: "تعيين هذا التوجيه إلى <co
2525
config_phpmailer_smtp_auth: "يحدد هذا التوجيه ما إذا كنت تريد مصادقة جلسات SMTP (يجب ألا يغير هذا عادة)."
2626
config_phpmailer_smtp_secure: "البروتوكول المستخدم عند إرسال البريد الإلكتروني عبر SMTP (TLS أو SSL)."
2727
config_phpmailer_username: "اسم المستخدم لاستخدامه عند إرسال البريد الإلكتروني عبر SMTP."
28+
state_email_sent: "تم إرسال البريد الإلكتروني بنجاح إلى "%s"."

l10n/bn.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
# License: GNU/GPLv2
88
# @see LICENSE.txt
99
#
10-
# This file: Bangla language data (last modified: 2020.07.02).
10+
# This file: Bangla language data (last modified: 2020.07.13).
1111
##/
1212

1313
config_phpmailer: "PHPMailer জন্য কনফিগারেশন (দ্বি-গুণক প্রমাণীকরণ জন্য ব্যবহৃত)।"
1414
config_phpmailer_add_reply_to_address: "SMTP এর মাধ্যমে ইমেল পাঠানোর সময় ব্যবহারের জন্য উত্তর ঠিকানা।"
1515
config_phpmailer_add_reply_to_name: "SMTP এর মাধ্যমে ইমেল পাঠানোর সময় ব্যবহারের জন্য উত্তর নাম।"
16-
config_phpmailer_enable_notifications: "কোনও আপলোড ব্লক হয়ে গেলে ইমেল বিজ্ঞপ্তিগুলি পাঠান"
16+
config_phpmailer_enable_notifications: "আপনি যদি কোনও আপলোড ব্লক করা হয় ইমেল দ্বারা বিজ্ঞপ্তি পেতে চান, প্রাপক ইমেল ঠিকানা এখানে উল্লেখ করুন"
1717
config_phpmailer_enable_two_factor: "এই নির্দেশটি ফ্রন্ট-এন্ড অ্যাকাউন্টগুলির জন্য 2FA ব্যবহার করে কিনা তা নির্ধারণ করে।"
1818
config_phpmailer_event_log: "PHPMailer সম্পর্কিত সকল ঘটনা লগইন করার জন্য একটি ফাইল। ফাইলের নাম উল্লেখ করুন, অথবা নিষ্ক্রিয় করতে ফাঁকা রাখুন।"
1919
config_phpmailer_host: "আউটবাউন্ড ইমেলের জন্য SMTP হোস্ট ব্যবহার করতে হবে।"
@@ -25,3 +25,4 @@ config_phpmailer_skip_auth_process: "যখন <code>true</code>, PHPMailer এ
2525
config_phpmailer_smtp_auth: "এই নির্দেশটি SMTP সেশনের প্রমাণীকরণ কিনা তা নির্ধারণ করে (সাধারণত এই একা ছেড়ে দেওয়া উচিত)।"
2626
config_phpmailer_smtp_secure: "SMTP এর মাধ্যমে ইমেল পাঠানোর সময় ব্যবহারের জন্য প্রোটোকল (TLS বা SSL)।"
2727
config_phpmailer_username: "SMTP এর মাধ্যমে ইমেল পাঠানোর সময় ব্যবহারের জন্য ব্যবহারকারীর নাম।"
28+
state_email_sent: "ইমেল সফলভাবে "%s" এ পাঠানো হয়েছে।"

l10n/de.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
# License: GNU/GPLv2
88
# @see LICENSE.txt
99
#
10-
# This file: German language data (last modified: 2020.07.02).
10+
# This file: German language data (last modified: 2020.07.13).
1111
##/
1212

1313
config_phpmailer: "Konfiguration für PHPMailer (für Zwei-Faktor-Authentifizierung verwendet)."
1414
config_phpmailer_add_reply_to_address: "Die Antwortadresse, die beim Senden von E-Mails über SMTP verwendet werden soll."
1515
config_phpmailer_add_reply_to_name: "Der Name für der Antwort, die beim Senden von E-Mails über SMTP verwendet werden soll."
16-
config_phpmailer_enable_notifications: "Senden Sie E-Mail-Benachrichtigungen wenn ein Upload ist blockiert."
16+
config_phpmailer_enable_notifications: "Wenn Sie per E-Mail benachrichtigt werden möchten, wenn ein Upload blockiert ist, geben Sie hier die E-Mail-Adresse des Empfängers an."
1717
config_phpmailer_enable_two_factor: "Diese Direktive bestimmt, ob 2FA für Frontend-Konten verwendet werden soll."
1818
config_phpmailer_event_log: "Eine Datei zum Protokollieren aller Ereignisse in Bezug auf PHPMailer. Geben Sie einen Dateinamen an oder lassen Sie die Option zum Deaktivieren leer."
1919
config_phpmailer_host: "Der SMTP-Host zum Senden von ausgehende E-Mails."
@@ -25,3 +25,4 @@ config_phpmailer_skip_auth_process: "Wenn Sie diese Direktive auf <code>true</co
2525
config_phpmailer_smtp_auth: "Diese Direktive bestimmt, ob SMTP-Sitzungen authentifiziert werden sollen (sollte normalerweise in Ruhe gelassen werden)."
2626
config_phpmailer_smtp_secure: "Das Protokoll zum Senden von E-Mails über SMTP (TLS oder SSL)."
2727
config_phpmailer_username: "Der Benutzername zum Senden von E-Mails über SMTP."
28+
state_email_sent: "E-Mail wurde erfolgreich an "%s" gesendet."

l10n/en.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
# License: GNU/GPLv2
88
# @see LICENSE.txt
99
#
10-
# This file: English language data (last modified: 2020.07.02).
10+
# This file: English language data (last modified: 2020.07.13).
1111
##/
1212

1313
config_phpmailer: "Configuration for PHPMailer (used for two-factor authentication)."
1414
config_phpmailer_add_reply_to_address: "The reply address to cite when sending email via SMTP."
1515
config_phpmailer_add_reply_to_name: "The reply name to cite when sending email via SMTP."
16-
config_phpmailer_enable_notifications: "Send email notifications when an upload is blocked."
16+
config_phpmailer_enable_notifications: "If you want to be notified by email when an upload is blocked, specify the recipient email address here."
1717
config_phpmailer_enable_two_factor: "This directive determines whether to use 2FA for front-end accounts."
1818
config_phpmailer_event_log: "A file for logging all events in relation to PHPMailer. Specify a filename, or leave blank to disable."
1919
config_phpmailer_host: "The SMTP host to use for outbound email."
@@ -25,3 +25,4 @@ config_phpmailer_skip_auth_process: "Setting this directive to <code>true</code>
2525
config_phpmailer_smtp_auth: "This directive determines whether to authenticate SMTP sessions (should usually be left alone)."
2626
config_phpmailer_smtp_secure: "The protocol to use when sending email via SMTP (TLS or SSL)."
2727
config_phpmailer_username: "The username to use when sending email via SMTP."
28+
state_email_sent: "Email successfully sent to "%s"."

l10n/es.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
# License: GNU/GPLv2
88
# @see LICENSE.txt
99
#
10-
# This file: Spanish language data (last modified: 2020.07.02).
10+
# This file: Spanish language data (last modified: 2020.07.13).
1111
##/
1212

1313
config_phpmailer: "Configuración para PHPMailer (utilizado para la autenticación de dos factores)."
1414
config_phpmailer_add_reply_to_address: "La dirección de la respuesta para citar cuando se envía un correo electrónico a través de SMTP."
1515
config_phpmailer_add_reply_to_name: "El nombre de la respuesta para citar cuando se envía un correo electrónico a través de SMTP."
16-
config_phpmailer_enable_notifications: "Enviar notificaciones por correo electrónico cuando una subida está bloqueada."
16+
config_phpmailer_enable_notifications: "Si desea recibir una notificación por correo electrónico cuando se bloquea una subida, especifique la dirección de correo electrónico del destinatario aquí."
1717
config_phpmailer_enable_two_factor: "Esta directiva determina si se debe usar 2FA para las cuentas del front-end."
1818
config_phpmailer_event_log: "Un archivo para registrar todos los eventos en relación con PHPMailer. Especificar el nombre del archivo, o dejar en blanco para desactivar."
1919
config_phpmailer_host: "El host SMTP para usar para el correo electrónico saliente."
@@ -25,3 +25,4 @@ config_phpmailer_skip_auth_process: "Establecer esta directiva en <code>true</co
2525
config_phpmailer_smtp_auth: "Esta directiva determina si autenticar sesiones SMTP (generalmente debería dejarse solo)."
2626
config_phpmailer_smtp_secure: "El protocolo a usar cuando se envía un correo electrónico a través de SMTP (TLS o SSL)."
2727
config_phpmailer_username: "El nombre de usuario a usar cuando se envía un correo electrónico a través de SMTP."
28+
state_email_sent: "Correo electrónico enviado con éxito a "%s"."

l10n/fr.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
# License: GNU/GPLv2
88
# @see LICENSE.txt
99
#
10-
# This file: French language data (last modified: 2020.07.02).
10+
# This file: French language data (last modified: 2020.07.13).
1111
##/
1212

1313
config_phpmailer: "Configuration pour PHPMailer (utilisé pour l'authentification à deux facteurs)."
1414
config_phpmailer_add_reply_to_address: "L'adresse de réponse à citer lors de l'envoi d'e-mail via SMTP."
1515
config_phpmailer_add_reply_to_name: "Le nom pour répondre à citer lors de l'envoi d'e-mail via SMTP."
16-
config_phpmailer_enable_notifications: "Envoyez des notifications par e-mail lorsqu'un téléchargement est bloqué."
16+
config_phpmailer_enable_notifications: "Si vous souhaitez être averti par e-mail lorsqu'un téléchargement est bloqué, indiquez ici l'adresse e-mail du destinataire."
1717
config_phpmailer_enable_two_factor: "Cette directive détermine s'il faut utiliser 2FA pour les comptes frontaux."
1818
config_phpmailer_event_log: "Fichier pour l'enregistrement de tous les événements relatifs à PHPMailer. Spécifier un fichier, ou laisser vide à désactiver."
1919
config_phpmailer_host: "Hôte SMTP à utiliser pour les e-mails sortants."
@@ -25,3 +25,4 @@ config_phpmailer_skip_auth_process: "Définir cette directive sur <code>true</co
2525
config_phpmailer_smtp_auth: "Cette directive détermine si les sessions SMTP doivent être authentifiées (elles doivent généralement être laissées seules)."
2626
config_phpmailer_smtp_secure: "Le protocole à utiliser lors de l'envoi d'e-mail via SMTP (TLS ou SSL)."
2727
config_phpmailer_username: "Le nom d'utilisateur à utiliser lors de l'envoi d'e-mail via SMTP."
28+
state_email_sent: "E-mail envoyé avec succès à « %s »."

l10n/hi.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
# License: GNU/GPLv2
88
# @see LICENSE.txt
99
#
10-
# This file: Hindi language data (last modified: 2020.07.02).
10+
# This file: Hindi language data (last modified: 2020.07.13).
1111
##/
1212

1313
config_phpmailer: "PHPMailer के लिए कॉन्फ़िगरेशन (दो-कारक प्रमाणीकरण के लिए उपयोग किया जाता है)।"
1414
config_phpmailer_add_reply_to_address: "ईमेल भेजने के लिए उत्तर पता।"
1515
config_phpmailer_add_reply_to_name: "ईमेल भेजने के लिए उत्तर का नाम।"
16-
config_phpmailer_enable_notifications: "अपलोड के अवरुद्ध होने पर ईमेल सूचनाएं भेजें"
16+
config_phpmailer_enable_notifications: "यदि आप अपलोड के अवरुद्ध होने पर ईमेल द्वारा सूचित किया जाना चाहते हैं, तो यहां प्राप्तकर्ता ईमेल पता निर्दिष्ट करें"
1717
config_phpmailer_enable_two_factor: "यह निर्देश निर्धारित करता है कि सामने के अंत खाते 2FA का उपयोग करते हैं या नहीं।"
1818
config_phpmailer_event_log: "PHPMailer के संबंध में सभी घटनाओं को लॉग इन करने के लिए एक फ़ाइल। एक फाइल नाम निर्दिष्ट करें, या निष्क्रिय करने के लिए खाली छोड़।"
1919
config_phpmailer_host: "आउटबाउंड ईमेल के लिए उपयोग करने के लिए SMTP होस्ट।"
@@ -25,3 +25,4 @@ config_phpmailer_skip_auth_process: "इस निर्देश को <code>t
2525
config_phpmailer_smtp_auth: "यह निर्देश निर्धारित करता है कि SMTP सत्र प्रमाणित करना है या नहीं (आपको आमतौर पर इसे अकेला छोड़ देना चाहिए)।"
2626
config_phpmailer_smtp_secure: "ईमेल भेजने के दौरान उपयोग करने के लिए प्रोटोकॉल (TLS या SSL)।"
2727
config_phpmailer_username: "ईमेल भेजने समय उपयोग करने के लिए उपयोगकर्ता नाम।"
28+
state_email_sent: "ईमेल सफलतापूर्वक "%s" को भेजा गया।"

l10n/id.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
# License: GNU/GPLv2
88
# @see LICENSE.txt
99
#
10-
# This file: Indonesian language data (last modified: 2020.07.02).
10+
# This file: Indonesian language data (last modified: 2020.07.13).
1111
##/
1212

1313
config_phpmailer: "Konfigurasi untuk PHPMailer (digunakan untuk otentikasi dua-faktor)."
1414
config_phpmailer_add_reply_to_address: "Alamat balasan yang dikutip saat mengirim email melalui SMTP."
1515
config_phpmailer_add_reply_to_name: "Nama balasan yang dikutip saat mengirim email melalui SMTP."
16-
config_phpmailer_enable_notifications: "Kirim pemberitahuan email saat upload diblokir."
16+
config_phpmailer_enable_notifications: "Jika Anda ingin diberi tahu melalui email saat upload diblokir, tentukan alamat email penerima disini."
1717
config_phpmailer_enable_two_factor: "Direktif ini menentukan apakah akan menggunakan 2FA untuk akun depan."
1818
config_phpmailer_event_log: "File untuk mencatat semua kejadian yang terkait dengan PHPMailer. Spesifikasikan nama file, atau biarkan kosong untuk menonaktifkan."
1919
config_phpmailer_host: "Host SMTP yang digunakan untuk email keluar."
@@ -25,3 +25,4 @@ config_phpmailer_skip_auth_process: "Pengaturan direktif ini ke <code>true</code
2525
config_phpmailer_smtp_auth: "Direktif ini menentukan apakah akan mengotentikasi sesi SMTP (biasanya harus dibiarkan sendiri)."
2626
config_phpmailer_smtp_secure: "Protokol yang digunakan saat mengirim email melalui SMTP (TLS atau SSL)."
2727
config_phpmailer_username: "Nama pengguna yang digunakan saat mengirim email melalui SMTP."
28+
state_email_sent: "Email berhasil dikirim ke "%s"."

l10n/it.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
# License: GNU/GPLv2
88
# @see LICENSE.txt
99
#
10-
# This file: Italian language data (last modified: 2020.07.02).
10+
# This file: Italian language data (last modified: 2020.07.13).
1111
##/
1212

1313
config_phpmailer: "Configurazione per PHPMailer (utilizzato per l'autenticazione a due fattori)."
1414
config_phpmailer_add_reply_to_address: "L'indirizzo di risposta per citare quando si invia una posta elettronica tramite SMTP."
1515
config_phpmailer_add_reply_to_name: "Il nome per la risposta per citare quando si invia una posta elettronica tramite SMTP."
16-
config_phpmailer_enable_notifications: "Invia notifiche e-mail quando un caricamento è bloccato."
16+
config_phpmailer_enable_notifications: "Se desideri ricevere una notifica via e-mail quando un caricamento è bloccato, specifica qui l'indirizzo e-mail del destinatario."
1717
config_phpmailer_enable_two_factor: "Questa direttiva determina se utilizzare 2FA per gli account front-end."
1818
config_phpmailer_event_log: "Un file per registrare tutti gli eventi in relazione a PHPMailer. Specificare un nome di file, o lasciare vuoto per disabilitare."
1919
config_phpmailer_host: "L'host SMTP per utilizzare per la posta elettronica in uscita."
@@ -25,3 +25,4 @@ config_phpmailer_skip_auth_process: "Impostando questa direttiva su <code>true</
2525
config_phpmailer_smtp_auth: "Questa direttiva determina se autenticare le sessioni SMTP (di solito dovrebbe essere lasciato solo)."
2626
config_phpmailer_smtp_secure: "Il protocollo per utilizzare per l'invio di posta elettronica tramite SMTP (TLS o SSL)."
2727
config_phpmailer_username: "Il nome utente per utilizzare per l'invio di posta elettronica tramite SMTP."
28+
state_email_sent: "Posta elettronica inviata con successo a "%s"."

0 commit comments

Comments
 (0)