<?php

return [
    'auth' => [
        'login' => 'Sign in',
        'logout' => 'Sign out',
        'email' => 'Email address',
        'password' => 'Password',
        'remember' => 'Remember me',
        'failed' => 'These credentials do not match our records.',
        'throttle' => 'Too many login attempts. Please try again in :seconds seconds.',
        'title' => 'Sign in to Builder',
        'subtitle' => 'Enter your credentials to access the admin panel.',
        'or_continue_with' => 'Or continue with',
    ],

    'nav' => [
        'dashboard' => 'Dashboard',
        'account' => 'My Account',
        'security' => 'Security',
        'settings' => 'Settings',
        'users' => 'Users',
        'roles' => 'Roles',
        'languages' => 'Languages',
        'advanced' => 'Advanced',
        'health' => 'Application Health',
        'sign_out' => 'Sign out',
    ],

    'mfa' => [
        'title' => 'Two-factor authentication',
        'enable' => 'Enable MFA',
        'disable' => 'Disable MFA',
        'confirm' => 'Confirm setup',
        'recovery_codes' => 'Recovery codes',
        'recovery_codes_description' => 'Store these codes securely. Each code can only be used once.',
        'setup_required' => 'Two-factor authentication is required to access Builder.',
        'enabled' => 'Two-factor authentication is enabled for your account.',
        'disabled' => 'Two-factor authentication is not enabled.',
        'setup_description' => 'Add an extra layer of security by enabling two-factor authentication. You\'ll need an authenticator app (Google Authenticator, Authy, etc.)',
        'scan_qr' => 'Scan the QR code with your authenticator app, then click Continue.',
        'enter_code' => 'Enter the 6-digit code from your authenticator app to confirm setup.',
        'cant_scan' => "Can't scan? Enter this key manually:",
        'invalid_code' => 'Invalid code. Please try again.',
        'expired_session' => 'MFA setup session expired. Please try again.',
        'auth_code' => 'Authentication code',
        'back' => 'Back',
        'continue' => 'Continue',
        'cancel' => 'Cancel',
        'setup_title' => 'Set up two-factor authentication',
        'required_title' => 'MFA required',
        'regenerate_codes' => 'Regenerate recovery codes',
        'verify' => 'Verify',
        'use_recovery' => 'Use a recovery code instead',
        'use_authenticator' => 'Use authenticator app instead',
        'recovery_code' => 'Recovery code',
        'enter_recovery' => 'Enter one of your emergency recovery codes.',
        'enter_otp' => 'Enter the 6-digit code from your authenticator app.',
    ],

    'account' => [
        'title' => 'My Account',
        'profile' => 'Profile',
        'profile_description' => 'Update your name and email address.',
        'password' => 'Password',
        'password_description' => 'Change your account password.',
        'security' => 'Security',
        'save' => 'Save changes',
        'update_password' => 'Update password',
        'profile_updated' => 'Account updated.',
        'password_updated' => 'Password updated.',
        'recovery_codes_regenerated' => 'Recovery codes regenerated.',
        'name' => 'Name',
        'email' => 'Email',
        'current_password' => 'Current Password',
        'new_password' => 'New Password',
        'new_password_hint' => 'Leave blank to keep your current password',
        'confirm_password' => 'Confirm New Password',
        'language' => 'Language',
    ],

    'locales' => [
        'en' => 'English',
        'nl' => 'Nederlands',
    ],

    'settings' => [
        'title' => 'Settings',
        'save' => 'Save settings',
        'saving' => 'Saving…',
        'saved' => ':page settings saved.',
        'no_settings' => 'No settings registered. Modules can register settings via the Registry.',
    ],

    'resources' => [
        'create' => 'Create',
        'edit' => 'Edit',
        'view' => 'View',
        'delete' => 'Delete',
        'delete_confirm_title' => 'Delete record',
        'delete_confirm_message' => 'Are you sure? This action cannot be undone.',
        'draft' => 'New record',
        'create_title' => 'Add new :label',
        'back_to_overview' => 'Back to overview',
        'save' => 'Save',
        'cancel' => 'Cancel',
        'search' => 'Search',
        'filter' => 'Filter',
        'filters' => 'Filters',
        'clear_filters' => 'Clear filters',
        'bulk_actions' => 'Bulk actions',
        'no_records' => 'No records found.',
        'created' => 'Record created.',
        'updated' => 'Record updated.',
        'deleted' => 'Record deleted.',
        'actions' => 'Actions',
        'new' => 'New :label',
        'selected' => ':count selected',
        'showing_range' => 'Showing :from–:to of :total results',
        'all' => 'All',
        'per_page' => ':count per page',
        'columns' => 'Columns',
        'reset_columns' => 'Reset',
        'export_csv' => 'Export CSV',
        'pick_action' => 'Pick action…',
        'apply' => 'Apply',
        'bulk_apply_description' => 'This will apply ":action" to :count record(s).',
        'select_all_records' => 'Select all :total records',
        'all_records_selected' => 'All :total records are selected.',
        'page_selected' => 'All :count on this page are selected.',
        'clear_selection' => 'Clear selection',
        'unsaved_locale_switch' => 'You have unsaved changes. Switch locale anyway?',
        'language' => 'Language',
        'shared' => 'Shared',
        'modified' => 'Modified',
        'created_label' => 'Created',
        'duplicate' => 'Duplicate',
        'duplicated' => ':label duplicated.',
        'cannot_delete' => 'This record cannot be deleted.',
        'cannot_delete_locked' => 'This role is locked and cannot be deleted.',
        'cannot_delete_last_language' => 'The last language cannot be deleted.',
        'cannot_delete_last_user' => 'The last user cannot be deleted.',
    ],

    'theme' => [
        'light' => 'Light',
        'dark' => 'Dark',
        'system' => 'System',
    ],

    'flash' => [
        'success' => 'Operation completed successfully.',
        'error' => 'Something went wrong.',
    ],

    'validation' => [
        'name_required' => 'Name is required.',
        'email_required' => 'Email address is required.',
        'email_invalid' => 'Please enter a valid email address.',
        'password_required' => 'Password is required.',
        'password_confirmed' => 'Password confirmation does not match.',
        'password_min' => 'Password must be at least :min characters.',
        'current_password_incorrect' => 'The current password is incorrect.',
        'failed' => 'Please correct the errors below',
    ],

    'dashboard' => [
        'title' => 'Dashboard',
        'manage_widgets' => 'Manage widgets',
        'no_widgets' => 'No widgets registered.',
        'no_widgets_visible' => 'No widgets visible — manage widgets',
        'unknown_widget' => 'Unknown widget: :component',
        'widgets' => 'Widgets',
        'system_info' => 'System info',
        'active_modules' => 'Active modules',
        'no_modules' => 'No modules active.',
        'test_toasts' => 'Test toasts',
        'toast_success' => 'Success',
        'toast_error' => 'Error',
        'toast_warning' => 'Warning',
        'toast_info' => 'Info',
    ],

    'roles' => [
        'name' => 'Name',
        'display_name' => 'Display Name',
        'description' => 'Description',
        'permissions' => 'Permissions',
        'locked' => 'Locked',
    ],

    'permissions' => [
        'search' => 'Search permissions',
        'select_all' => 'Select all',
        'deselect_all' => 'Deselect all',
    ],

    'fields' => [
        'name' => 'Name',
        'email' => 'Email',
        'joined' => 'Joined',
        'status' => 'Status',
        'status_active' => 'Active',
        'status_invited' => 'Invited',
        'password' => 'Password',
        'password_hint' => 'Leave blank to keep current password',
        'guard_name' => 'Guard Name',
        'roles' => 'Roles',
        'permissions' => 'Permissions',
        'language_code' => 'Code',
        'active' => 'Active',
        'default' => 'Default',
        'order' => 'Order',
        'yes' => 'Yes',
        'no' => 'No',
    ],

    'sections' => [
        'general' => 'General',
        'roles' => 'Roles',
        'permissions' => 'Permissions',
    ],

    'general_settings' => [
        'label' => 'General',
        'site_name' => 'Site Name',
        'admin_email' => 'Admin Email',
    ],

    'invite' => [
        'email_subject' => 'You have been invited',
        'email_greeting' => 'Hello :name,',
        'email_intro' => 'You have been invited to access the admin panel.',
        'email_action' => 'Set your password',
        'email_expiry' => 'This link will expire in :hours hours.',
        'reset_email_subject' => 'Reset your password',
        'reset_email_intro' => 'You requested a password reset for your admin panel account.',
        'reset_email_action' => 'Reset password',
        'set_password_title' => 'Create your password',
        'set_password_description' => 'Set a password to activate your account for',
        'set_password_button' => 'Activate account',
        'send_invite' => 'Send invite email',
        'resend_invite' => 'Resend invite email',
        'send_reset_password' => 'Send reset password email',
        'invite_sent' => 'Invite email sent.',
        'invalid_token' => 'This invitation link is invalid or has expired.',
        'password_set' => 'Password set. You are now logged in.',
    ],

    'untranslated' => 'Untranslated',

    'revisions' => [
        'title' => 'Revision history',
        'count' => ':count revision|:count revisions',
        'back_to_edit' => 'Back to edit',
        'no_revisions' => 'No revisions found.',
        'saved_by' => 'Saved by',
        'system' => 'System',
        'current' => 'Current',
        'initial' => 'Initial save',
        'restored_from' => 'Restored from revision :id',
        'field' => 'Field',
        'was' => 'Was',
        'now' => 'Now',
        'restore' => 'Restore this revision',
        'restored' => 'Revision restored successfully.',
        'confirm_restore' => 'Are you sure you want to restore this revision? The current content will be overwritten.',
        'changes' => ':count change|:count changes',
        'no_changes' => 'No changes detected.',
        'translations' => 'Translated content',
        'blocks' => 'Blocks',
        'media' => 'Media',
        'block_action_added' => 'Added',
        'block_action_removed' => 'Removed',
        'block_action_modified' => 'Modified',
    ],

    'command_palette' => [
        'placeholder' => 'Type a command or search...',
        'no_results' => 'No results found.',
        'search_error' => 'Search failed. Please try again.',
        'navigation' => 'Navigation',
        'jump_to' => 'Jump to',
        'navigate' => 'Navigate',
        'close' => 'Close',
    ],

    'publishing' => [
        'status' => 'Status',
        'publish_at' => 'Publish at',
        'status_draft' => 'Draft',
        'status_published' => 'Published',
        'status_scheduled' => 'Scheduled',
    ],
];
