mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-23 13:23:04 +00:00
feat(mail-ingest): tell every address holder once when the import stops
A plan without the import switches it off from outside the server, and an admin can switch it off too; the plan promises a "mail import paused" note. An hourly job sends mail_ingest_paused to each holder of a live address with their own import on, notes the pause first, and forgets it once it is back.
This commit is contained in:
@@ -110,6 +110,10 @@ const tr: NotificationLocale = {
|
||||
title: 'İncelenecek iletilen rezervasyonlar',
|
||||
body: `TREK içinde seni bekleyen iletilen rezervasyonlar: ${p.count}. Her birinde neden kendiliğinden eklenmediği yazıyor.`,
|
||||
}),
|
||||
mail_ingest_paused: () => ({
|
||||
title: 'E-posta içe aktarımı duraklatıldı',
|
||||
body: 'TREK şimdilik iletilen rezervasyon e-postalarını kabul etmiyor, bu yüzden şimdilik iletme. Adreslerin kalıyor ve içe aktarım geri geldiğinde yeniden çalışacak, zaten eklenmiş rezervasyonlar da seyahatlerinde kalıyor.',
|
||||
}),
|
||||
plugin_notification: (p) => ({ title: p.title ?? '', body: p.body ?? '' }),
|
||||
},
|
||||
passwordReset: {
|
||||
|
||||
@@ -61,6 +61,8 @@ const notif: TranslationStrings = {
|
||||
'{actor}, iletilen bir e-postadan {booking} rezervasyonunu {trip} seyahatine ekledi',
|
||||
'notif.mail_booking_pending.title': 'İncelenecek iletilen rezervasyonlar',
|
||||
'notif.mail_booking_pending.text': 'Seni bekleyen iletilen rezervasyonlar: {count}',
|
||||
'notif.mail_ingest_paused.title': 'E-posta içe aktarımı duraklatıldı',
|
||||
'notif.mail_ingest_paused.text': 'İletilen rezervasyon e-postaları şimdilik kabul edilmiyor. Adreslerin kalıyor ve içe aktarım geri geldiğinde yeniden çalışacak.',
|
||||
'notif.action.undo': 'Geri al',
|
||||
'notif.action.keep': 'Tut',
|
||||
'notif.action.review': 'İncele',
|
||||
|
||||
Reference in New Issue
Block a user