<?php

// The kill switch and the view onto the three send lanes. Its own file rather
// than a section of mail_settings.php: its own page, the same capability
// check, but a different subject (running operation, not one-time setup).
return [
    'eyebrow' => 'Operations',
    'title' => 'Send pace',
    'subtitle' => 'How fast the three lanes move, what is waiting right now, and the switch that stops the throttle immediately if it jams.',

    'enabled' => 'Throttle',
    'enabled_hint' => 'Flipping this only fully applies to mail queued from now on: jobs already waiting keep whichever time window or throttle they were queued with.',
    'enabled_on' => 'On',
    'enabled_off' => 'Off',
    'enabled_on_notice' => 'Throttle switched back on.',
    'enabled_off_notice' => 'Throttle switched off — every mail now sends unthrottled.',

    'lanes_title' => 'The three lanes',
    'lanes_sub' => 'Direct always runs unthrottled — a human is waiting there right now. Urgent and calm each have their own allowance; both numbers must be at least one, or mail is either delayed forever or not throttled at all.',
    'lane' => [
        'mail-direkt' => 'Direct',
        'mail-wichtig' => 'Urgent',
        'mail-ruhig' => 'Calm',
    ],
    'lane_hint' => [
        'mail-direkt' => 'Password, confirmation, security notice. Somebody is waiting in front of a screen — throttling here buys a support call.',
        'mail-wichtig' => 'Maintenance windows, suspensions, resumptions. Should go out promptly, but tolerates going in batches.',
        'mail-ruhig' => 'Invoices, dunning notices, notifications. Whether they arrive at six in the evening or two at night makes no difference.',
    ],
    'unthrottled' => 'unthrottled',
    'count' => 'Allowance',
    'minutes' => 'Minutes',
    'waiting' => ':count waiting',
    'save' => 'Save',
    'saved' => 'Pace saved.',

    'assignments_title' => 'Assignment',
    'assignments_sub' => 'Which mail class rides in which lane. Locked classes always ride direct — someone is waiting on them right now, and throttling would only hurt.',
    'class' => [
        // The names an operator knows these mails by — not the class names
        // they carry in the code. The dunning mail is one class covering four
        // levels, so it gets ONE name here for all four.
        'ResetPasswordMail' => 'Password reset',
        'VerifyEmailMail' => 'Confirm email address (sign-up)',
        'NewDeviceSignInMail' => 'Sign-in from a new device',
        'SecurityBlockMail' => 'Address blocked after failed sign-ins',
        'ContactRequestMail' => 'Contact request from the website',
        'OrderConfirmationMail' => 'Order confirmation',
        'OperatorMessageMail' => 'Message from the console',
        'OperatorInvitationMail' => 'Invitation to the console',
        'MaintenanceAnnouncementMail' => 'Maintenance window announced',
        'MaintenanceCancelledMail' => 'Maintenance window cancelled',
        'CloudSuspendedMail' => 'Cloud suspended',
        'CloudResumedMail' => 'Cloud running again',
        'ServiceEndingSoonMail' => 'Cloud ending soon (reminder)',
        'InvoiceMail' => 'Invoice',
        'DunningNoticeMail' => 'Payment reminders and dunning notices',
        'DormantAccountWarningMail' => 'Account without a plan will be deleted',
    ],
    'locked_hint' => 'Always direct (locked)',
    'locked_notice' => 'This mail always rides direct: someone is waiting on it right now.',
    'moved' => 'Moved.',
];
