mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-27 15:17:30 +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:
@@ -98,6 +98,10 @@ const ko: NotificationLocale = {
|
||||
title: '검토할 전달된 예약',
|
||||
body: `TREK에서 검토를 기다리는 전달된 예약: ${p.count}개. 각 예약에 자동으로 추가되지 않은 이유가 표시됩니다.`,
|
||||
}),
|
||||
mail_ingest_paused: () => ({
|
||||
title: '메일 가져오기 일시 중지됨',
|
||||
body: 'TREK은 당분간 전달된 예약 메일을 받지 않으니 전달을 잠시 미뤄 주세요. 주소는 그대로 유지되며 가져오기가 다시 시작되면 다시 작동하고, 이미 추가된 예약은 여행에 그대로 남습니다.',
|
||||
}),
|
||||
plugin_notification: (p) => ({ title: p.title ?? '', body: p.body ?? '' }),
|
||||
},
|
||||
passwordReset: {
|
||||
|
||||
@@ -59,6 +59,8 @@ const notif: TranslationStrings = {
|
||||
'notif.mail_booking_added.shared': '{actor} 님이 전달된 메일에서 {booking}을(를) {trip}에 추가했습니다',
|
||||
'notif.mail_booking_pending.title': '검토할 전달된 예약',
|
||||
'notif.mail_booking_pending.text': '검토를 기다리는 전달된 예약: {count}개',
|
||||
'notif.mail_ingest_paused.title': '메일 가져오기 일시 중지됨',
|
||||
'notif.mail_ingest_paused.text': '전달된 예약 메일은 당분간 받지 않습니다. 주소는 그대로 유지되며 가져오기가 다시 시작되면 다시 작동합니다.',
|
||||
'notif.action.undo': '실행 취소',
|
||||
'notif.action.keep': '유지',
|
||||
'notif.action.review': '검토',
|
||||
|
||||
Reference in New Issue
Block a user