<?php

namespace Clonable\Models;

class EmailTranslations
{

    const PAGE = "email_translations";

    public static $fields = [
        "clonable_email_translations_enabled" => [
            "render" => "clonable_email_translations_enabled_field",
            "name" => "Enable WooCommerce email translations",
            "setting" => "clonable_email_translations_enabled",
            "description" => "Enable the WooCommerce email translation functionality of Clonable. When enabled, WooCommerce emails sent from clone sites will be translated according to the clone's language settings.",
        ],
        "clonable_woocommerce_enable_pdf_invoice_translation" => [
            "render" => "clonable_woocommerce_enable_pdf_invoice_translation_field",
            "name" => "Enable PDF invoice translations",
            "setting" => "clonable_woocommerce_enable_pdf_invoice_translation",
            "description" => "Translate the WooCommerce PDF Invoices & Packing Slips generated invoices to the language of the clone.",
        ],
        "clonable_email_translations_excluded_addresses" => [
            "render" => "clonable_email_translations_excluded_addresses_field",
            "name" => "WooCommerce email translations excluded addresses",
            "setting" => "clonable_email_translations_excluded_addresses",
            "description" => "Exclude specific email addresses from WooCommerce email translations. Separate multiple addresses with a comma.",
        ],
        "clonable_email_headers_by_domain" => [
            "render" => "clonable_email_headers_by_domain_field",
            "name" => "WooCommerce email headers by domain",
            "setting" => "clonable_email_headers_by_domain",
            "description" => "Set custom WooCommerce email header values for each clone domain (From address used for clone, Reply-To address used for clone, etc.).",
        ],
        "clonable_wpo_replacements_by_domain" => [
            "render" => "clonable_wpo_replacements_by_domain_field",
            "name" => "WooCommerce order email PDF replacements by domain",
            "setting" => "clonable_wpo_replacements_by_domain",
            "description" => "Set custom WooCommerce order email PDF content replacements for each clone domain (e.g., replace specific text in emails sent from clone sites).",
        ],
    ];
}
