<?php

return [
    'title' => 'Users',
    'subtitle' => 'Manage the people who use your cloud.',
    'seats_used' => 'seats used',
    'seats_note' => 'The owner occupies seat 1.',

    'invite_email' => 'Email',
    'invite_name' => 'Name (optional)',
    'invite' => 'Invite',
    'role' => 'Role',

    'role_owner' => 'Owner',
    'role_admin' => 'Administrator',
    'role_member' => 'Member',
    'role_readonly' => 'Read-only',

    // Counted next to the seat figure, so the card says something true
    // underneath the number instead of repeating it.
    'role_count' => [
        'owner' => '{1} :count owner|[2,*] :count owner',
        'admin' => '{1} :count administrator|[2,*] :count administrators',
        'member' => '{1} :count member|[2,*] :count members',
        'readonly' => '{1} :count read-only|[2,*] :count read-only',
        'guest' => '{1} :count guest|[2,*] :count guests',
    ],

    'col_person' => 'Person',
    'col_status' => 'Status',
    'owner_no_actions' => 'The owner cannot be removed.',
    'col_actions' => 'Actions',

    'suspend' => 'Suspend',
    'reactivate' => 'Reactivate',
    'suspended' => 'Access suspended.',
    'reactivated' => 'Access restored.',
    'owner_locked' => 'The owner cannot lock themselves out.',
    'status_suspended' => 'Suspended',
    'status_active' => 'Active',
    'status_invited' => 'Invited',
    'status_revoked' => 'Removed',

    'edit_title' => 'Edit user',
    'email_invited_hint' => 'The invitation has not been accepted yet — the address can still be corrected.',
    'email_locked_hint' => 'The address identifies this person and cannot be changed. Remove the seat and invite again instead.',
    'edit' => 'Edit',
    'save' => 'Save',
    'saved' => 'Changes saved.',
    'name_optional' => 'Name (optional)',
    // Shown instead of an empty cell: the owner keeps their own access.
    'owner_protected' => 'Protected',
    // Modal instead of wire:confirm (R23): title+body are the same former
    // sentence, split at the full stop; revoke_confirm is now the short
    // confirm-button label.
    'revoke_title' => 'Remove :name?',
    'revoke_body' => 'Their access ends immediately.',
    'revoke_confirm' => 'Remove',

    'resend' => 'Resend',
    'revoke' => 'Remove',

    'invited' => 'Invitation sent.',
    'revoked' => 'User removed.',
    'resent' => 'Invitation resent.',
    'last_owner' => 'The last owner cannot be removed or changed.',
    'limit_reached' => 'Your plan seat limit is reached. Please upgrade.',
    'duplicate' => 'This email is already invited.',
];
