<?php

return [
    'title' => 'Payment Gateways',
    'description' => 'Manage payment gateways',
    'list' => 'List Payment Gateways',
    'edit_title' => 'Edit Payment Gateway',
    'edit_general_settings' => 'General Settings',
    'edit_module_settings' => 'Module Settings',
    'edit_supported_features' => 'Supported Features',
    'fields_name' => 'Gateway Name',
    'fields_description' => 'Description',
    'fields_logo' => 'Logo',
    'fields_is_active' => 'Status',
    'fields_test_mode' => 'Test Mode',
    'fields_actions' => 'Actions',
    'fields_version' => 'Version',
    'fields_author' => 'Author',
    'status_active' => 'Active',
    'status_inactive' => 'Inactive',
    'test_mode_enabled' => 'Enabled',
    'test_mode_disabled' => 'Disabled',
    'buttons_save' => 'Save',
    'buttons_saving' => 'Saving...',
    'buttons_cancel' => 'Cancel',
    'buttons_back' => 'Back',
    'buttons_website' => 'Website',
    'buttons_documentation' => 'Documentation',
    'messages_updated' => 'Payment gateway updated successfully.',
    'messages_deleted' => 'Payment gateway deleted successfully.',
    'messages_error' => 'An error occurred. Please try again.',
    'messages_test_connection' => 'Test Connection',
    'messages_test_success' => 'Connection test successful.',
    'messages_test_failed' => 'Connection test failed.',
    'messages_no_features' => 'No supported features found.',
    'messages_no_module_settings' => 'No additional settings for this module.',

    'search_placeholder' => 'Search gateways...',

    // Installment validation messages
    'validation_installment_plans_invalid_json' => 'Installment plans must be valid JSON.',
    'validation_installment_plans_count' => 'Row :row: count must be an integer between 2 and 36.',
    'validation_installment_plans_rate' => 'Row :row: rate must be a number between 0 and 100.',
    'validation_installment_plans_fee' => 'Row :row: fee must be a number greater than or equal to 0.',
    'validation_installment_plans_min_amount' => 'Row :row: min_amount must be a number greater than or equal to 0.',
    'validation_installment_plans_max_amount' => 'Row :row: max_amount must be a number greater than or equal to 0.',
    'validation_installment_plans_amount_range' => 'Row :row: max_amount cannot be less than min_amount.',

    // Features
    'features_refund' => 'Refund',
    'features_3d_secure' => '3D Secure',
    'features_save_card' => 'Save Card',
    'features_recurring' => 'Recurring Payment',
    'features_fraud_check' => 'Fraud Check',
    'features_installment' => 'Installments',
    'features_manual_approval' => 'Manual Approval',

    // PRC-689 — installment currency gate
    'validation_installment_currencies' => 'Installment Currencies',
    'validation_installment_currencies_invalid' => 'Installment currencies must be comma-separated valid 3-letter ISO codes (e.g. TRY,USD).',
];
