Refactor SMS campaign handling to dispatch a job for starting campaigns and update notification messages for improved user feedback.

This commit is contained in:
Mekan1206
2026-06-04 19:03:15 +05:00
parent 8e66883587
commit 21feb3baa6
4 changed files with 112 additions and 49 deletions

View File

@@ -38,14 +38,8 @@ return [
'notifications' => [
'no_valid_recipients' => 'Dogry alyjy ýok',
'no_valid_recipients_body' => 'Saýlawy ýa-da aýyrmalary üýtgediň — dogry telefon belgili kupon eýesi bu habary almaz.',
'queued' => 'SMS kampaniýasy nobata goýuldy',
'queued_body' => 'Arka fonda :count alyja iberilýär.',
'failed' => 'SMS kampaniýasy şowsuz',
'failed_body' => ':count habar iberilmedi.',
'finished_with_errors' => 'SMS kampaniýasy ýalňyşlyklar bilen tamamlandy',
'finished_with_errors_body' => 'Iberildi :sent, şowsuz :failed, geçildi :skipped.',
'completed' => 'SMS kampaniýasy tamamlandy',
'completed_body' => ':count habar üstünlikli iberildi.',
'submitted' => 'SMS kampaniýasy kabul edildi',
'submitted_body' => 'Arka fonda :count alyja iberilýär.',
],
'confirmation' => ':count alyja ibermeli? :summary',
],