<?php

return [
    // The sub-line under each step in x-ui.progress-stepper. It was missing, so
    // the key itself was printed — in the console AND in the customer portal,
    // where the stepper walks somebody through their setup.
    //
    // The dot beside it carries the same state as colour. Both on purpose:
    // colour alone is not readable by everyone.
    'step_state' => [
        'pending' => 'Pending',
        'running' => 'Running',
        'done' => 'Done',
        'failed' => 'Failed',
    ],

    'traffic' => [
        'title' => 'Data transfer this month',
        'label' => 'Data transfer',
        'of' => 'of :total',
        'resets' => 'resets in :days days',
        'remaining' => ':amount left',
        'almost' => ':percent % used — getting tight.',
        'exhausted' => 'Allowance used up. Your Nextcloud keeps running, but slower, until you top up or the month rolls over.',
        'buy' => 'Add data volume',
    ],
    // The operating sheet: what the customer has, and the evidence it is being
    // looked after. Every line comes from a record — anything not measured does
    // not appear here at all.
    'sheet' => 'Operating sheet · as of :when',
    'title_running' => 'Your cloud is running.',
    'title_pending' => 'Your cloud is being set up.',
    'title_ended' => 'Your cloud has ended.',

    'instance_status' => [
        'active' => 'All services running',
        'provisioning' => 'Being set up',
        'cancellation_scheduled' => 'Cancellation scheduled',
    ],

    // The strip that says how long access still stands — not when anything
    // gets deleted. Only appears once cancellation is scheduled and the end
    // of the term is still in the future (App\Livewire\Dashboard::ending()).
    'ending' => [
        'title' => 'Your access ends',
        'until' => 'From :date you will no longer be able to reach your cloud.',
        'remaining_days' => '{1} 1 day left.|[2,*] :count days left.',
        'remaining_hours' => '{0} Less than an hour left.|{1} 1 hour left.|[2,*] :count hours left.',
        'what_then' => 'After that your Nextcloud is closed off. Download your data yourself before then.',
        'export_label' => 'Data export at the end of the term',
        'export_hint' => 'You can change your mind about this at any time until the end of the term.',
        'export_yes' => 'Export wanted',
        'export_no' => 'No export wanted',
        // The third state: `null` means the question was never put (cancelled
        // before this rollout). The card then ASKS instead of claiming an
        // answer nobody gave, and says what happens if it stays open.
        'export_open' => 'You have not told us yet whether you want a data export. Without an answer we prepare none.',
    ],

    // The term is over and the address has been withdrawn (App\Actions\
    // EndInstanceService). Until now such a customer fell into the same branch
    // as somebody who never ordered anything — and read "Your cloud is being
    // set up." with a "Book a package" button under it.
    'ended' => [
        'label' => 'Your term has ended',
        'body' => 'Your package ended on :date. Your Nextcloud has been closed off since then.',
        'order_again' => 'Book a new package',
    ],

    'no_instance_label' => 'No instance yet',
    'no_instance_body' => 'No cloud is running for this account at the moment. As soon as an order is paid we set one up — this area then fills itself.',
    'no_instance_cta' => 'Choose a package',
    'no_instance_order' => 'Book a package',

    // The initial password lives here — not in the mail — until the customer
    // confirms it. Once confirmed it is deleted for good.
    'credentials' => [
        'title' => 'Your credentials',
        'body' => 'Note down the username and password somewhere safe. Once you confirm, they are deleted here for good.',
        'address' => 'Address',
        'user' => 'Username',
        'password' => 'Password',
        'copy' => 'Copy',
        'copied' => 'Copied',
        'acknowledge' => 'Noted',
        'acknowledged' => 'Credentials confirmed — the password has now been deleted.',
    ],

    'master' => [
        'label' => 'Master record',
        'package' => 'Package',
        'operation' => 'Operating mode',
        'last_backup' => 'Last backup',
        'availability' => 'Availability',
        'availability_note' => 'last 30 days · measured',
        'location' => 'Server location',
        'users' => 'Users',
        'address' => 'Address',
        'storage' => 'Storage',
        'storage_used' => ':percent % used',
        'storage_week' => ':amount this week',
        'storage_note' => 'contractually guaranteed',
        'location_note' => 'no third-country transfer',
        'gb' => ':n GB',
        'of_seats' => 'of :total seats',
        'of_total' => ':used of :total',
        'per_month' => ':amount net / month',
        'per_year' => ':amount net / year',
    ],

    'proofs' => [
        'label' => 'Evidence',
        'all' => 'View all',
        'empty' => 'Once the first backup has run, it appears here.',
        'when' => 'Time',
        'what' => 'Event',
        'result' => 'Result',
        'item' => [
            'backup' => 'Backup',
            'certificate' => 'Encrypted connection',
            'maintenance' => 'Scheduled maintenance',
            'service_ends' => 'Contract ends',
        ],
        'state' => [
            'ok' => 'Verified',
            'planned' => 'Scheduled',
            'attention' => 'Check',
        ],
    ],

    'invoice' => [
        'label' => 'Next invoice',
        'plan' => 'Package',
        'addons' => 'Modules',
        'amount' => 'Amount',
        'net' => 'plus VAT',
        'due' => 'Due',
        'term' => 'Billed',
        'all' => 'View invoices',
    ],

    'term' => [
        'monthly' => 'monthly',
        'yearly' => 'yearly',
    ],

    'setup' => [
        'label' => 'Setup',
        'open' => '{1} One step is still open.|[2,*] :count steps are still open.',
        'continue' => 'Continue setup',
    ],

    'quick' => [
        'add_user_title' => 'Add a user',
        'add_user_body' => 'Create access for a new colleague',
        'restore_title' => 'Restore a file',
        'restore_body' => 'From the backups on record',
        'grow_title' => 'Extend the package',
        'grow_body' => 'Storage, users or data allowance',
    ],

    'title' => 'Overview',
    'subtitle' => 'Your cloud status at a glance.',
    'greeting' => 'Good morning, :name',
    'system_ok' => 'All systems normal',
    'as_of' => 'Your cloud status at a glance — as of today, :time.',

    'nav' => [
        'overview' => 'Overview',
        'cloud' => 'My cloud',
        'domain' => 'Your domain',
        'users' => 'Users',
        'backups' => 'Backups',
        'security' => 'Security',
        'invoices' => 'Invoices',
        'billing' => 'Plan & add-ons',
        'settings' => 'Settings',
        'support' => 'Support',
    ],

    // Two groups: what the customer operates, and what the contract says.
    'nav_group' => [
        'contract' => 'Contract',
    ],
    'nav_footer' => "Operated from Austria\nAnswered the same working day",
    'signed_in_as' => 'Signed in as',

    'open_nav' => 'Open navigation',
    'close_nav' => 'Close navigation',
    'logout' => 'Sign out',
    'no_customer_title' => 'No customer account linked.',
    'no_customer_hint' => 'This is an operator account — customer features need a customer context.',
    'no_customer_cta' => 'Go to Customers → Connect',
    'no_customer_action' => 'Not possible: no customer account is linked to this login.',

    'today' => 'Today',
    'yesterday' => 'Yesterday',

    'kpi' => [
        'storage' => 'Storage',
        'users' => 'Users',
        'backup' => 'Last backup',
        'availability' => 'Uptime · 30 days',
    ],
    'occupied' => 'used',
    'storage_week' => '+3.4 GB this week',
    'users_detail' => '3 groups · 2 guest accounts',
    'backup_verified' => 'today · encrypted & verified',

    'upsell' => [
        'title' => 'Your storage is :percent% used.',
        'body' => 'Expandable any time — +100 GB for €10 per month, cancel monthly.',
        'cta' => 'Add storage',
    ],

    'cloud' => [
        'title' => 'My cloud',
        'open' => 'Open cloud',
        'package' => 'Plan',
        'status' => 'Status',
        'location' => 'Server location',
        'version' => 'Version',
        'active_since' => 'Active since :date',
        'current' => 'up to date',
        'plan_line' => ':plan · €:price/mo',
        'datacenter' => 'EU',
    ],

    'onboarding' => [
        'title' => 'Setting up your cloud',
        'progress' => ':done of :total done',
        'review' => 'Review now',
        'next' => 'Next',
        'done_toast' => 'Done — nice progress!',
        'instance' => 'Instance created & started',
        'domain' => 'Custom domain connected',
        'branding' => 'Firm logo & colors applied',
        'users' => '8 users created, permissions set',
        'migration' => 'Approve data import from Dropbox',
        'training' => 'Choose a training appointment',
        'docs' => 'Download the documentation pack',
    ],

    'backups' => [
        'title' => 'Backups',
        'schedule' => 'daily 03:00',
        'restore' => 'Restore',
        'note' => 'Client-side encrypted, stored separately. Last restore test: 01 Jul — successful.',
        'restore_toast' => 'Restore: we will get back to you within 1 hr.',
    ],

    'modules' => [
        'title' => 'Your modules',
        'addon' => 'add-on',
        'active' => 'Active',
        'add' => 'Add',
        'soon' => 'Coming soon',
        'nextcloud' => 'Files, office, calendar, Talk',
        'vaultwarden' => 'Team password manager · add-on €19/month',
        'paperless' => 'Digital document archive · from €39/month',
        'signature_name' => 'Digital signature',
        'signature' => 'Legally binding signatures · from €29/month',
        'add_toast' => 'Add-on available — we are happy to advise you.',
    ],

    'activity' => 'Activity',
    'activity_live' => 'live',
    'activity_items' => [
        'backup_ok' => 'Backup completed — 18.4 GB',
        'security' => 'Security updates applied',
        'upload' => 'M. Huber uploaded 14 files',
        'cert' => 'SSL certificate auto-renewed',
    ],

    'status' => [
        'active' => 'Active',
        'provisioning' => 'Provisioning',
        'suspended' => 'Suspended',
        'failed' => 'Failed',
    ],

    'instance' => 'Instance',
    'open_cloud' => 'Open cloud',
    'provisioning' => 'Provisioning',
    'today_time' => 'Today :time',
    'provisioning_title' => 'Your cloud is being set up',
    'provisioning_sub' => 'We are provisioning your cloud automatically. Access unlocks as soon as everything is ready.',
    'provisioning_failed' => 'Something went wrong during setup. Our team is on it.',
];
