<?php

// The answers you give over and over — written once.
return [
    'title' => 'Mail templates',
    'subtitle' => 'The answers you give over and over, written once. A template is inserted into the compose field — with that customer\'s own details already filled in — and edited there. What goes out is never the template but what you read and changed.',

    'list' => 'Existing templates',
    'empty' => 'No template yet.',
    'new' => 'New template',
    'create' => 'Create template',
    'created' => 'Template created.',
    'saved' => 'Template saved.',
    'edit' => 'Edit',
    'edit_title' => 'Edit template',
    'edit_body' => 'Changes apply to future mail. What has already been sent stays as it was.',
    'save' => 'Save',
    'cancel' => 'Cancel',
    'active' => 'Offered when writing to a customer',
    'retire' => 'Retire',
    'restore' => 'Offer again',
    'retired' => 'Retired',
    'up' => 'Move up',
    'down' => 'Move down',

    'name' => 'Name',
    'name_hint' => 'e.g. Data migration — quote',
    'subject' => 'Subject',
    'subject_hint' => 'e.g. Your enquiry about migrating data',
    'body' => 'Text',
    'body_hint' => "Hello {{contact}},\n\nthank you for your enquiry about {{plan}}.\n\n…\n\nKind regards\n{{operator}}\n{{company}}",

    'placeholders' => 'Placeholders',
    'placeholders_note' => 'These words are replaced with the customer\'s own details when the template is inserted. Double curly braces; spaces inside them are fine.',
    'unknown_note' => 'A typo is not replaced — it stays visible in the text, so you see it before sending. A placeholder with no value for this customer comes out empty; nothing is invented.',

    'token' => [
        'customer' => 'The customer\'s company name',
        'contact' => 'The contact person where one is on record — the company name otherwise',
        'email' => 'The customer\'s mail address',
        'plan' => 'The package they are on (empty when there is no running contract)',
        'amount' => 'The contract\'s monthly figure, gross',
        'instance' => 'The address of the customer\'s cloud',
        'operator' => 'Your name — the signed-in operator',
        'company' => 'Your company name from the company details',
    ],
];
