<?php

return [
    // Profile
    'profile' => 'Profile',
    'profile_information' => 'Profile Information',
    'profile_info_text' => 'Update your account\'s profile information and email address.',

    // Password
    'password_update' => 'Password Update',
    'password_updated' => 'Password updated!',
    'password_info_text' => 'Ensure your account is using a long, random password to stay secure.',
    'save' => 'Save',
    'saved' => 'Saved.',

    // Email Verification
    'email_not_verified' => 'Your email address is not verified.',
    'resend_verification' => 'Click here to re-send the verification email.',
    'verification_sent' => 'A new verification link has been sent to your email address.',

    'update_password' => 'Update Password',
    'delete_account' => 'Delete Account',
    'delete_account_description' => 'Once your account is deleted, all of its resources and data will be permanently deleted. Before deleting your account, please download any data or information that you wish to retain.',
    'delete_account_confirmation' => 'Are you sure you want to delete your account?',
    'delete_account_warning' => 'This action cannot be undone.',
    'delete_account_warning_text' => 'Once your account is deleted, all of its resources and data will be permanently deleted. Please enter your password to confirm you would like to permanently delete your account.',
    'password' => 'Password',
    'password_security_text' => 'Ensure your account is using a long, random password to stay secure.',
    'current_password' => 'Current Password',
    'new_password' => 'New Password',
    'confirm_password' => 'Confirm Password',
    'name' => 'Name',
    'email' => 'Email',
    'cancel' => 'Cancel',

    // Notification preferences (profile page)
    'notification_channels' => 'Notification Channels',
    'notification_channels_desc' => 'Configure your notification channel IDs.',
    'notification_preferences' => 'Notification Preferences',
    'notification_preferences_desc' => 'Select which channels you want to receive notifications on for each event type. Leave empty to use system defaults.',
    'notification_preferences_saved' => 'Notification preferences saved.',
    'field_phone' => 'Phone Number',
    'field_slack_user_id' => 'Slack User ID',
    'field_telegram_user_id' => 'Telegram User ID',
    'field_discord_webhook' => 'Discord Webhook URL',
    'field_teams_webhook' => 'Microsoft Teams Webhook URL',
    'field_pushover_user_key' => 'Pushover User Key',
    'notification_event' => 'Event',
    'event_provisioning_failed' => 'Provisioning Failed',
    'event_ticket_created' => 'New Ticket',
    'event_ticket_replied' => 'Ticket Replied',
    'event_payment_received' => 'Payment Received',
    'event_domain_expiring' => 'Domain Expiring',
    'event_service_suspended' => 'Service Suspended',

    // Channel cards
    'channel_email' => 'Email',
    'channel_slack' => 'Slack',
    'channel_telegram' => 'Telegram',
    'channel_discord' => 'Discord',
    'channel_teams' => 'Microsoft Teams',
    'channel_pushover' => 'Pushover',
    'channel_whatsapp' => 'WhatsApp',
    'channel_sms' => 'SMS',

    'channel_email_desc' => 'Notifications are sent to your profile email address.',
    'channel_slack_desc' => 'Receive direct messages in Slack from the company bot.',
    'channel_telegram_desc' => 'Link your Telegram account to receive direct messages.',
    'channel_discord_desc' => 'Paste a Discord channel webhook URL — messages post to that specific channel.',
    'channel_teams_desc' => 'Paste a Teams channel Workflows webhook URL — messages post to that specific channel.',
    'channel_pushover_desc' => 'Push notifications to all your devices via Pushover.',
    'channel_whatsapp_desc' => 'WhatsApp Business messages — uses your phone number.',
    'channel_sms_desc' => 'Text messages to your phone.',

    // Status
    'status_connected' => 'Connected',
    'status_disconnected' => 'Not connected',
    'status_not_configured_system' => 'Bot not configured by administrator',

    // Help text (how to get each identifier)
    'help_slack_user_id' => 'Open Slack → click your profile picture → "Profile" → three-dots menu → "Copy member ID". It starts with U.',
    'help_slack_bot_not_installed' => 'The Slack bot must be installed in your workspace by an administrator before it can message you.',
    'help_telegram_howto' => 'Click "Connect Telegram" — you will be redirected to our bot and the link completes automatically after you press Start.',
    'help_discord_webhook' => 'In Discord: Server Settings → Integrations → Webhooks → New Webhook → Copy Webhook URL. Messages will be posted to the channel you selected.',
    'help_discord_per_channel_note' => 'Note: Discord webhooks post to a specific channel, not personal DMs. Use a private channel in your personal Discord server for personal notifications.',
    'help_teams_webhook' => 'In Teams: open the channel → ⋯ (More options) → Workflows → "Post to a channel when a webhook request is received" → copy the generated URL.',
    'help_teams_per_channel_note' => 'Note: Teams webhooks post to a specific channel, not personal chats. Use a private channel/team for personal notifications.',
    'help_pushover_user_key' => 'Log in at pushover.net — your user key is shown at the top of the dashboard.',
    'help_phone_format' => 'International format with country code, e.g. +905551234567.',

    // Actions
    'connect' => 'Connect',
    'connect_telegram' => 'Connect Telegram',
    'reconnect_telegram' => 'Reconnect',
    'disconnect_telegram' => 'Disconnect',
    'test_notification' => 'Send test',
    'testing' => 'Testing...',
    'telegram_waiting_for_start' => 'Waiting for you to press Start in Telegram...',
    'telegram_link_opened' => 'Telegram opened in a new tab. Press "Start" to complete the connection.',
    'telegram_linked_success' => 'Telegram connected successfully.',

    // Errors
    'bot_not_configured_telegram' => 'Telegram bot is not configured. Please contact your administrator.',
    'test_error_not_configured' => 'This channel is not configured on your profile yet.',
    'test_error_system_not_configured' => 'The system-level credentials for this channel are missing. Check Settings → Integrations.',
    'test_sent_success' => 'Test message sent successfully.',
    'test_subject' => 'Test notification',
    'test_message' => 'Hello :name, this is a test notification from your hosting control panel. If you can see this, the channel is working correctly.',
];
