<?php

declare(strict_types=1);

return [
    'app_name' => 'Karvi Partner with Gulab and Flamers',
    'app_short' => 'Karvi Partner',
    'app_tagline' => 'Gulab & Flamers',

    'lang_en' => 'English',
    'lang_de' => 'Deutsch',
    'lang_switch' => 'Language',

    'nav_dashboard' => 'Dashboard',
    'nav_new_contract' => 'New Contract',
    'nav_database' => 'Database',
    'nav_karvi_website' => 'Karvi Website',
    'nav_karvi_pos' => 'Karvi POS Contract',
    'nav_sign_out' => 'Sign Out',
    'role_admin' => 'Administrator',

    'title_sign_in' => 'Sign In',
    'title_dashboard' => 'Dashboard',
    'title_database' => 'Database',
    'title_new_contract' => 'New Contract',
    'title_contract_details' => 'Contract Details',
    'title_edit_contract' => 'Edit Contract',
    'title_karvi_website' => 'Karvi Website',
    'title_karvi_pos' => 'Karvi POS Contract',
    'title_sign_contract' => 'Sign Contract',
    'title_public_contract_view' => 'Contract',
    'public_contract_view_heading' => 'Partnership Contract',
    'public_contract_view_error_title' => 'Contract unavailable',
    'public_contract_proceed_sign' => 'Review & sign contract',
    'title_public_contract_sign' => 'Sign Contract',
    'public_contract_sign_heading' => 'Sign Partnership Contract',
    'public_sign_form_heading' => 'Accept & sign',
    'public_sign_terms_label' => 'I have read and accept the Terms & Conditions',
    'public_sign_terms_link' => 'View contract terms',
    'public_sign_terms_required' => 'You must accept the Terms & Conditions before signing.',
    'public_sign_submit' => 'Sign Contract',
    'public_sign_raw_data_optional' => 'Additional raw_data (optional JSON)',
    'public_sign_legacy_hint' => 'Need the full signature wizard with PDF and multiple owners?',
    'public_sign_legacy_link' => 'Open extended signing page',
    'title_not_found' => 'Not Found',
    'title_error' => 'Error',

    'auth_hero_desc' => 'Manage partnership contracts, generate PDFs, and share secure signing links with your partners.',
    'auth_feature_contracts' => 'Smart Contracts',
    'auth_feature_contracts_desc' => 'Auto-fill PDF templates with partner data',
    'auth_feature_signing' => 'Digital Signing',
    'auth_feature_signing_desc' => 'Draw or upload signatures with full audit trail',
    'welcome_back' => 'Welcome back',
    'sign_in_subtitle' => 'Sign in to your admin account to manage contracts',
    'admin_id' => 'Admin ID',
    'password' => 'Password',
    'admin_id_placeholder' => 'Enter your admin ID',
    'password_placeholder' => 'Enter your password',
    'sign_in' => 'Sign In',
    'secure_access_note' => 'Secure admin access only — authorized personnel',
    'login_error' => 'Invalid username or password. Please try again.',

    'stat_total' => 'Total Contracts',
    'stat_pending' => 'Pending',
    'stat_signed' => 'Signed',
    'all_contracts' => 'All Contracts',
    'all_contracts_sub' => 'View and manage partnership contracts',
    'api_error_title' => 'API Connection Error',
    'dashboard_loading_contracts' => 'Loading contracts from API…',
    'cache_save_error' => 'Contracts loaded but could not save to browser cache.',
    'database_title' => 'IndexedDB Storage',
    'database_sub' => 'View and manage browser IndexedDB data used by this app',
    'idb_refresh' => 'Refresh',
    'idb_loading' => 'Loading IndexedDB stores…',
    'idb_empty' => 'No IndexedDB data found',
    'idb_empty_sub' => 'Open the dashboard after login to sync contracts into the browser cache.',
    'idb_col_database' => 'Database',
    'idb_col_store' => 'Object store',
    'idb_col_key' => 'Key field',
    'idb_col_records' => 'Records',
    'idb_col_size' => 'Data size',
    'idb_col_keys' => 'Key values',
    'idb_col_actions' => 'Actions',
    'idb_view' => 'View data',
    'idb_delete' => 'Delete',
    'idb_download' => 'Sync from API',
    'idb_sync_loading' => 'Syncing from API…',
    'idb_sync_success' => 'Synced {count} records from API and saved to IndexedDB.',
    'idb_sync_error' => 'Could not sync from API.',
    'partner_api_create_mode' => 'Contracts are sent to the Karvi Partner API. Extra form fields are stored in raw_data on the server.',
    'idb_view_sub' => 'JSON preview of all records in this store',
    'idb_delete_confirm' => 'Delete all data in {database} / {store}? This cannot be undone.',
    'idb_delete_error' => 'Could not delete IndexedDB data.',
    'idb_delete_blocked' => 'Delete blocked — close other tabs using this database.',
    'idb_load_error' => 'Could not load IndexedDB data.',
    'idb_not_supported' => 'IndexedDB is not available in this browser.',
    'idb_unavailable' => 'not open',
    'idb_db_contracts' => 'Contracts cache',
    'idb_store_contracts' => 'Contracts',
    'local_store_mode' => 'Contracts are saved to database/data.json on this server.',
    'no_contracts' => 'No contracts yet',
    'no_contracts_sub' => 'Create your first partnership contract and share the signing link with your partner.',
    'create_first' => 'Create First Contract',
    'col_contract' => 'Contract',
    'col_partner' => 'Partner',
    'col_type' => 'Type',
    'col_status' => 'Status',
    'col_date' => 'Date',
    'col_actions' => 'Actions',
    'open_link' => 'Open link',
    'copy_link' => 'Copy link',
    'copied' => 'Copied',

    'partner_info' => 'Partner Information',
    'partner_info_sub' => 'Complete all sections below to generate the partnership contract',
    'karvi_website_info' => 'Karvi Website Contract',
    'karvi_website_info_sub' => 'Complete all sections below to generate the Karvi Website contract',
    'karvi_pos_info' => 'Karvi POS Contract',
    'karvi_pos_info_sub' => 'Complete all sections below to generate the Karvi POS contract',
    'invoice_website_list_title' => 'Karvi Website Contracts',
    'invoice_website_list_sub' => 'View and manage Karvi Website contracts',
    'invoice_pos_list_title' => 'Karvi POS Contracts',
    'invoice_pos_list_sub' => 'View and manage Karvi POS contracts',
    'invoice_no_contracts_sub' => 'Create your first contract to generate a signing link and PDF.',
    'invoice_contract_date' => 'Contract date',
    'invoice_installment_months' => 'Installment payment (months)',
    'invoice_installment_payment' => 'Installment payment',
    'invoice_monthly_installment' => 'Monthly installment',
    'invoice_installment_rate' => 'Installment',
    'invoice_installment_amount' => 'Amount',
    'invoice_installment_rate' => 'Installment',
    'invoice_installment_amount' => 'Amount',
    'invoice_offer_number' => 'Offer number',
    'invoice_delivery_date' => 'Delivery date',
    'invoice_terms_conditions' => 'Terms & conditions',
    'invoice_customer_details' => 'Customer details',
    'invoice_customer_contact' => 'Contact person',
    'invoice_customer_company' => 'Company',
    'invoice_customer_street' => 'Street',
    'invoice_customer_city' => 'Postal code / City',
    'invoice_customer_email' => 'Email',
    'invoice_customer_phone' => 'Phone',
    'invoice_customer_placeholder' => 'Company, contact person, address, email, phone',
    'invoice_services_line_items' => 'Services & line items',
    'invoice_optional' => 'Optional',
    'invoice_add_line_item' => 'Add line item',
    'invoice_remove_line' => 'Remove line',
    'invoice_col_description' => 'Description',
    'invoice_col_quantity' => 'Quantity',
    'invoice_col_unit_price' => 'Unit price (net)',
    'invoice_col_total' => 'Total (€)',
    'invoice_col_customer' => 'Customer',
    'invoice_subtotal' => 'Subtotal',
    'invoice_vat' => 'VAT 19%',
    'invoice_discount' => 'Discount',
    'invoice_net' => 'Net',
    'invoice_total_amount' => 'Total amount',
    'invoice_create_generate_link' => 'Create contract & generate link',
    'invoice_contract_created_modal_title' => 'Contract created successfully!',
    'invoice_contract_created_modal_sub' => 'Share the link with your customer.',
    'invoice_contract_created_link_label' => 'Customer signing link',
    'invoice_contract_created_modal_close' => 'Create another',
    'invoice_pos_contract_type' => 'Contract type',
    'invoice_pos_type_karvi' => 'Karvi POS',
    'invoice_pos_type_tse' => 'TSE Lieferando',
    'invoice_select_services' => 'Select Services',
    'invoice_select_services_sub' => 'Choose services to add to the contract line items.',
    'invoice_service_add' => 'Add',
    'invoice_display_screens' => 'Display screen',
    'invoice_no_line_items' => 'No line items yet. Use Select Services or Add line item.',
    'invoice_error_contract_date' => 'Please enter the contract date.',
    'invoice_error_customer_details' => 'Please enter customer details.',
    'invoice_error_line_items' => 'Please add at least one line item.',
    'back' => 'Back',
    'section_general' => 'General Information',
    'section_company' => 'Company & Contact Details',
    'section_tax' => 'Tax & Registration',
    'section_contact' => 'Email',
    'section_lieferando' => 'Lieferando Commission',
    'section_wolt' => 'Wolt Commission',
    'section_uber' => 'Uber Eats Commission',
    'note_lieferando_fees' => 'Commission includes Lieferando & Karvi fees',
    'note_wolt_fees' => 'Commission includes Wolt & Karvi fees',
    'note_uber_fees' => 'Commission includes Uber Eats & Karvi fees',
    'field_contract_date' => 'Date',
    'field_brand' => 'Brand',
    'hint_brand_select' => 'Select one or both brands for this contract.',
    'hint_brand_owner_row' => 'Select one or both brands. Owner name fields appear in the company section below.',
    'brand_gulab' => 'Gulab',
    'brand_flamers' => 'Flamers',
    'default_country' => 'Germany',
    'field_restaurant_name' => 'Restaurant Name',
    'field_number_of_owners' => 'Number of Owners',
    'hint_number_of_owners' => 'Enter how many owners should appear in the company section below.',
    'field_legal_name' => 'Legal Name / Company Form',
    'field_owner_name' => 'Name of Owner / Managing Director',
    'field_contact_person' => 'Contact Person',
    'field_company_phone' => 'Company Phone Number',
    'field_contact_mobile' => 'Contact Person Mobile Number',
    'field_street' => 'Street and House Number',
    'field_postal_city' => 'Postal Code and City',
    'field_country' => 'Country',
    'field_commercial_register' => 'Commercial Register Number',
    'field_vat_id' => 'VAT ID',
    'field_tax_number' => 'Tax Number',
    'field_tax_identification' => 'Tax Identification Number',
    'hint_tax_identification' => 'Only relevant for sole proprietorships',
    'field_email' => 'Email',
    'field_lieferando_commission_structure' => 'Commission Structure',
    'field_lieferando_own_delivery_pct' => 'Commission Own Delivery %',
    'field_lieferando_platform_delivery_pct' => 'Commission Lieferando Delivery %',
    'field_lieferando_pickup_pct' => 'Commission Pickup Order %',
    'field_lieferando_online_payment_fee' => 'Online Payment Fee',
    'field_wolt_commission_structure' => 'Commission Structure',
    'field_wolt_own_delivery_pct' => 'Commission Own Delivery %',
    'field_wolt_platform_delivery_pct' => 'Commission Wolt Delivery %',
    'field_wolt_pickup_pct' => 'Commission Pickup Order %',
    'field_wolt_online_payment_fee' => 'Online Payment Fee',
    'field_uber_commission_structure' => 'Commission Structure',
    'field_uber_own_delivery_pct' => 'Commission Own Delivery %',
    'field_uber_platform_delivery_pct' => 'Commission Uber Eats Delivery %',
    'field_uber_pickup_pct' => 'Commission Pickup Order %',
    'field_uber_online_payment_fee' => 'Online Payment Fee',
    'flash_restaurant_required' => 'Restaurant name is required.',
    'flash_brand_required' => 'Please select at least one brand.',
    'flash_email_required' => 'A valid email address is required.',
    'flash_owner_names_required' => 'Please enter a name for each owner.',
    'generate_contract' => 'Generate Contract & Link',
    'cancel' => 'Cancel',
    'contract_ready' => 'Contract Ready!',
    'contract_ready_sub' => 'Share this unique link with your customer to view and sign the contract.',
    'copy_link_btn' => 'Copy Link',

    'flash_name_email_required' => 'Restaurant name and email are required.',
    'flash_contract_created' => 'Contract created successfully! Share the link with your customer.',
    'flash_error_dir_create' => 'Cannot create folder :dir on the server. Check parent directory permissions.',
    'flash_error_dir_writable' => 'Folder :dir is not writable by PHP. Set permissions to 755 or 775.',
    'flash_error_vendor_missing' => 'Missing vendor folder. Upload the full project zip or run composer install on the server.',

    'step_invited' => 'Invited',
    'step_review' => 'Review & Sign',
    'step_complete' => 'Complete',
    'partnership_agreement' => 'Partnership Agreement',
    'prepared_for' => 'Prepared for',
    'contract_document' => 'Contract Document',
    'open_in_tab' => 'Open in tab',
    'contract_signed' => 'Contract Signed',
    'contract_signed_sub' => 'This agreement was digitally signed on :date. A copy has been recorded securely.',
    'download_signed' => 'Download Signed PDF',
    'download_contract' => 'Contract',
    'download_signatures' => 'Signature',
    'duplicate_contract' => 'Duplicate',
    'view_contract_details' => 'Details',
    'edit_contract' => 'Edit',
    'edit_contract_heading' => 'Edit Contract',
    'save_contract_changes' => 'Save Changes',
    'send_contract' => 'Send Contract',
    'contract_send_success_title' => 'Contract sent',
    'contract_send_success_sub' => 'Signing link is ready. Copy or open the link below.',
    'contract_signing_link_heading' => 'Signing link',
    'contract_create_success_title' => 'Contract created',
    'copy_token_btn' => 'Copy token',
    'open_sign_link' => 'Open signing link',
    'back_to_contract_details' => 'Back to contract details',
    'contract_details_heading' => 'Contract Details',
    'contract_details_error_title' => 'Could not load contract',
    'back_to_dashboard' => 'Back to dashboard',
    'field_contract_id' => 'Contract ID',
    'field_address' => 'Address',
    'field_created_at' => 'Created Date',
    'field_updated_at' => 'Updated Date',
    'delete_contract' => 'Delete',
    'delete_contract_confirm_question' => 'Are you sure you want to delete this contract?',
    'delete_contract_title' => 'Delete contract permanently',
    'delete_contract_sub' => 'This removes the contract, signatures, and all related files. This cannot be undone.',
    'delete_contract_password' => 'Enter delete password',
    'delete_contract_confirm' => 'Delete permanently',
    'delete_dev_btn' => 'Dev Delete',
    'delete_dev_mode_note' => 'Dev mode: no password required. Click Dev Delete to remove this contract immediately.',
    'duplicate_contract_confirm' => 'Create a new contract with the same customer details and a fresh signing link?',
    'flash_contract_deleted' => 'Contract deleted successfully.',
    'flash_contract_duplicated' => 'Duplicate contract created. Share the new link with your customer.',
    'flash_delete_wrong_password' => 'Incorrect delete password.',
    'flash_delete_not_found' => 'Contract not found.',
    'flash_delete_missing_token' => 'Missing contract token.',
    'flash_duplicate_not_found' => 'Contract not found.',
    'flash_duplicate_missing_token' => 'Missing contract token.',
    'duplicated_contract_ready' => 'New contract link ready',
    'duplicated_contract_ready_sub' => 'Customer details were copied. The new contract is pending signature.',
    'digital_signature' => 'Digital Signature',
    'digital_signature_sub' => 'Read the contract above, then sign below to accept all terms.',
    'agree_terms' => 'I, :name, confirm that I have read and understood this entire agreement and agree to all terms and conditions.',
    'confirm_name' => 'Confirm Full Name',
    'your_signature' => 'Your Signature',
    'tab_draw' => 'Draw',
    'tab_upload' => 'Upload',
    'clear_signature' => 'Clear & redraw',
    'upload_signature' => 'Click to upload signature',
    'upload_hint' => 'PNG or JPG from your device',
    'audit_notice' => 'Your signature, IP address, device info, and timestamp will be securely recorded as legal proof of signing.',
    'submit_signed' => 'Submit Signed Contract',
    'submitting' => 'Submitting...',
    'success_title' => 'Successfully Submitted!',
    'success_sub' => 'Thank you. Your signed contract has been recorded.',
    'contract_not_found' => 'Contract Not Found',
    'contract_not_found_sub' => 'This link is invalid or may have expired. Please contact the sender for a new link.',
    'unable_load' => 'Unable to Load Contract',

    'status_pending' => 'Pending',
    'status_signing' => 'In Progress',
    'status_signed' => 'Signed',

    'reg_page_title' => 'Partner Registration',
    'reg_page_sub' => 'Registration form for :name',
    'reg_not_found_title' => 'Registration Link Not Found',
    'reg_not_found_sub' => 'This link is invalid or may have expired. Please contact Karvi for a new link.',
    'reg_step_1' => 'Details',
    'reg_step_2' => 'Documents',
    'reg_step_3' => 'Confirmation',
    'reg_step_1_title' => 'Your submitted details',
    'reg_step_1_sub' => 'Please review the information provided during registration.',
    'reg_step_1_note' => 'If any detail is incorrect, contact Karvi before continuing.',
    'reg_step_2_title' => 'Review registration documents',
    'reg_step_2_text' => 'Please read this document once. It contains the full details related to your registration.',
    'reg_document_email_label' => 'Email for registration document (optional)',
    'reg_document_email_placeholder' => 'name@example.com',
    'reg_document_email_hint' => 'Optional: we can send the registration document to this email address.',
    'reg_document_email_invalid' => 'Please enter a valid email address or leave this field empty.',
    'reg_step_3_title' => 'Digital confirmation',
    'reg_step_3_sub' => 'Each owner must confirm individually with name and signature.',
    'reg_legal_p1' => 'Here you can view the document with your partner details and conditions. Please read it calmly at your own pace.',
    'reg_legal_p2' => 'After opening the document, you can continue to the next step. Thank you for your time.',
    'reg_consent_accuracy' => 'I confirm that my details are complete and correct.',
    'reg_consent_privacy' => 'I have taken note of the privacy information and agree to the processing of my data for registration and onboarding.',
    'reg_consent_electronic' => 'I agree that my digital signature may be stored and used for registration, verification and platform onboarding.',
    'reg_doc_scroll_label' => 'Registration document',
    'reg_doc_scroll_hint' => 'Scroll down to read the full document',
    'reg_doc_viewed_notice' => 'Document read. You can continue with Next.',
    'reg_doc_required' => 'Please scroll through and read the full document first. After that you can continue with Next.',
    'reg_doc_required_title' => 'Document not read yet',
    'reg_pdf_card_title' => 'Your registration document',
    'reg_pdf_card_sub' => 'Tap the button below to open and read your document.',
    'reg_pdf_card_click' => 'Tap anywhere on this card to open and read your document.',
    'reg_pdf_tap_fullscreen' => 'Tap to view PDF',
    'reg_open_pdf' => 'Read document',
    'reg_read_document' => 'Read document',
    'reg_registration_document' => 'Registration document',
    'reg_pdf_viewed_at' => 'Document opened on',
    'reg_pdf_modal_title' => 'Registration document',
    'reg_pdf_view_btn' => 'View PDF',
    'reg_pdf_open_btn' => 'Open PDF',
    'reg_pdf_download_btn' => 'Download PDF',
    'reg_pdf_opened_notice' => 'PDF opened. After reading, return here and tap Next.',
    'reg_pdf_mobile_hint' => 'On phone, the PDF opens in your device viewer. Use the back button to return here.',
    'reg_pdf_loading' => 'Loading document…',
    'reg_pdf_view_error' => 'Unable to display this document here. Open it directly in your browser.',
    'reg_close' => 'Close',
    'reg_back' => 'Back',
    'reg_next' => 'Next',
    'reg_submit' => 'Submit registration',
    'reg_signer_name' => 'Full name of signing owner',
    'reg_sign_draw_btn' => 'Signature Draw',
    'reg_sign_upload_btn' => 'Signature Upload',
    'reg_tap_to_upload' => 'Tap to upload signature',
    'reg_sign_here' => 'Sign here',
    'reg_rotate_title' => 'Rotate your phone',
    'reg_rotate_text' => 'Turn your device sideways to sign. Signing is only available in landscape mode.',
    'reg_rotate_required' => 'Please rotate your phone to landscape mode before signing.',
    'reg_owner_progress' => 'Owner :current of :total',
    'reg_audit_notice' => 'Your signature, IP address, device information and timestamp are stored as proof of your digital confirmation.',
    'reg_pdf_required' => 'Please tap the document card and view the PDF first. After that you can continue with Next.',
    'reg_pdf_required_title' => 'PDF not viewed yet',
    'reg_consent_required' => 'Please confirm all required items.',
    'reg_name_required' => 'Please enter your full name.',
    'reg_success_title' => 'Registration completed',
    'reg_success_sub' => 'Your digital confirmation was recorded on :date.',
    'reg_success_sub_short' => 'Thank you. Your registration has been submitted successfully.',
    'reg_download_pdf' => 'Download confirmed PDF',

    'reg_location_title' => 'Location required',
    'reg_location_loading' => 'Please allow location access to continue. We need your device location for verification.',
    'reg_location_saving' => 'Saving your location…',
    'reg_location_denied' => 'Location access is required. Please enable location permission in your browser settings and tap Try again.',
    'reg_location_timeout' => 'Location detection timed out. Please check that location is enabled and try again.',
    'reg_location_unavailable' => 'Location is not available on this device. Please use a device with GPS or location services.',
    'reg_location_insecure' => 'This page must be opened over HTTPS to detect location. Please use the secure link provided by Karvi.',
    'reg_location_error' => 'Could not verify your location. Please try again.',
    'reg_location_retry' => 'Try again',

    'footer_rights' => 'All rights reserved',

    'js_alert_upload' => 'Please upload your signature image.',
    'js_alert_draw' => 'Please draw your signature on the screen.',
    'js_alert_fail' => 'Signing failed. Please try again.',
    'js_alert_network' => 'Network error. Please try again.',
];
