<?php
namespace Actirise\Includes;

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly
}

/**
 * Define the internationalization functionality.
 *
 * Loads and defines the internationalization files for this plugin
 * so that it is ready for translation.
 *
 * @link       https://actirise.com
 * @since      2.0.0
 * @package    actirise
 * @subpackage actirise/includes
 * @author     actirise <wordpress@actirise.com>
 */
final class I18n {
	/**
	 * Get the translations for the admin area.
	 *
	 * @since    3.3
	 * @return array<mixed> The translations for the admin area.
	 */
	public function get_admin_translations() {
		return array(
			'currentLocale' => $this->get_user_locale(),
			'i18n'          =>
			array(
				'form' => array(
					'code_editor' => array(
						'copy'  => __( 'Copy', 'actirise' ),
						'notif' => __( 'Content copied to clipboard', 'actirise' ),
					),
					'button' => array(
						'save'            => __( 'Save', 'actirise' ),
						'cancel'          => __( 'Cancel', 'actirise' ),
						'loading'         => __( 'Loading...', 'actirise' ),
						'validate'        => __( 'Validate', 'actirise' ),
						'continue'        => __( 'Continue', 'actirise' ),
						'continue_anyway' => __( 'Continue anyway', 'actirise' ),
					),
					'radio_buttons' => array(
						'recommended' => __( 'Recommended', 'actirise' ),
						'deprecated'  => __( 'Deprecated', 'actirise' ),
					),
				),
				'app' => array(
					'global' => array(
						'enabled'  => __( 'Enabled', 'actirise' ),
						'disabled' => __( 'Disabled', 'actirise' ),
					),
					'ajax' => array(
						'error' => __( 'An error has occured', 'actirise' ),
					),
					'header' => array(
						'link'          => __( 'Help & documentation', 'actirise' ),
						'documentation' => __( 'Documentation', 'actirise' ),
						'update_now'    => __( 'Update now', 'actirise' ),
						'tab'           => array(
							'home'         => __( 'Home', 'actirise' ),
							'signup'       => __( 'Sign up', 'actirise' ),
							'signin'       => __( 'Sign in', 'actirise' ),
							'analytics'    => __( 'Analytics', 'actirise' ),
							'adformats'    => __( 'Ad formats', 'actirise' ),
							'onboarding'   => __( 'Onboarding', 'actirise' ),
							'adstxt'       => __( 'Ads.txt', 'actirise' ),
							'cwv'          => __( 'Core Web Vitals', 'actirise' ),
							'sitespeed'    => __( 'Site Speed', 'actirise' ),
							'cmp'          => __( 'CMP', 'actirise' ),
							'settings'     => __( 'Settings', 'actirise' ),
							'account'      => __( 'Account', 'actirise' ),
							'logout'       => __( 'Logout', 'actirise' ),
							'optimization' => __( 'Optimization', 'actirise' ),
						),
						'healthcheck'   => array(
							'title'    => __( 'Health Check', 'actirise' ),
							'all_good' => __( 'All systems operational. Your setup is optimized!', 'actirise' ),
							'checking' => __( 'Checking configuration...', 'actirise' ),
							'issues'   => array(
								'core_web_vitals' => array(
									'title'       => __( 'Presized Div Inactive', 'actirise' ),
									'description' => __( 'Reduce CLS and improve user experience by enabling presized divs', 'actirise' ),
									'action'      => __( 'Configure', 'actirise' ),
								),
								'adstxt' => array(
									'title'            => __( 'Issue(s) in Ads.txt file', 'actirise' ),
									'issues_detected'  => __( 'Please update your Ads.txt file', 'actirise' ),
									'missing_line'     => __( '{count} missing line|{count} missing lines', 'actirise' ),
									'blacklisted_line' => __( '{count} blacklisted line|{count} blacklisted lines', 'actirise' ),
									'action'           => __( 'Fix', 'actirise' ),
								),
								'ad_formats' => array(
									'title'              => __( 'Ad Placements Missing', 'actirise' ),
									'placement_singular' => __( 'Auto-placement unavailable: manual setup required for this format', 'actirise' ),
									'placement_plural'   => __( 'Auto-placement unavailable: manual setup required for these formats.', 'actirise' ),
									'action'             => __( 'Configure', 'actirise' ),
								),
								'cmp' => array(
									'title'       => __( 'Outdated vendor list', 'actirise' ),
									'description' => __( 'Update the vendor list to maximize advertising demand', 'actirise' ),
									'action'      => __( 'Configure', 'actirise' ),
								),
								'ads_txt_redirect' => array(
									'title'       => __( 'Wrong ads.txt file', 'actirise' ),
									'file_exists' => __( 'A file exists at the root and must be deleted.', 'actirise' ),
									'third_party' => __( 'Another redirection is active on /ads.txt and must be disabled.', 'actirise' ),
									'action'      => __( 'Fix', 'actirise' ),
								),
								'ads_txt_migration' => array(
									'title'       => __( 'Non-optimized Ads.txt file', 'actirise' ),
									'description' => __( 'Use Actirise-hosted ads.txt for real-time seller updates', 'actirise' ),
									'action'      => __( 'Configure', 'actirise' ),
								),
								'optimization_checklist' => array(
									'title'       => __( 'Optimizations required', 'actirise' ),
									'description' => __( 'Complete all optimizations to unlock your full revenue potential', 'actirise' ),
									'action'      => __( 'Complete', 'actirise' ),
								),
							),
						),
						'account'       => array(
							'title'        => __( 'Account', 'actirise' ),
							'default_name' => __( 'User', 'actirise' ),
							'menu'         => array(
								'account'  => __( 'Account', 'actirise' ),
								'contract' => __( 'Contract information', 'actirise' ),
								'logout'   => __( 'Logout', 'actirise' ),
							),
							'roles'        => array(
								'admin'                => __( 'Admin', 'actirise' ),
								'admin_publisher'      => __( 'Admin Publisher', 'actirise' ),
								'adtech'               => __( 'AdTech', 'actirise' ),
								'csm'                  => __( 'CSM', 'actirise' ),
								'demand_ops'           => __( 'Demand ops', 'actirise' ),
								'finance'              => __( 'Finance', 'actirise' ),
								'head_of_csm'          => __( 'Head of csm', 'actirise' ),
								'head_of_integration'  => __( 'Head of integration', 'actirise' ),
								'head_of_sales'        => __( 'Head of sales', 'actirise' ),
								'head_of_tam'          => __( 'Head of TAM', 'actirise' ),
								'integration'          => __( 'Integration', 'actirise' ),
								'organization_manager' => __( 'Organization manager', 'actirise' ),
								'product_team'         => __( 'Product team', 'actirise' ),
								'sales'                => __( 'Sales', 'actirise' ),
								'super_administrator'  => __( 'Super Administrator', 'actirise' ),
								'tam'                  => __( 'TAM', 'actirise' ),
								'user'                 => __( 'User', 'actirise' ),
							),
						),
						'trial'         => array(
							'left'    => __( 'Trial period: 1 day left | Trial period: {n} days left', 'actirise' ),
							'tooltip' => __( 'At the end of your trial period, all features will remain fully accessible, and your <a href="{contractInformationUrl}" target="_blank">contract</a> with Actirise will continue for a fixed term of {contractDuration} days, automatically renewing thereafter in accordance with the Agreement. The trial period does not affect access to the plugin: the same features are available before and after, with no additional payment.', 'actirise' ),
						),
					),
					'alert' => array(
						'sync'               => array(
							'in_progress' => __( 'Synchronization in progress...', 'actirise' ),
							'success'     => __( 'Synchronization complete!', 'actirise' ),
							'error'       => __( 'An error occurred during synchronization.', 'actirise' ),
						),
						'activation_success' => __( 'Actirise monetization activated!', 'actirise' ),
						'activation_error'   => __( 'Error activating Actirise', 'actirise' ),
						'io_signing_error'   => __( 'Error signing IO', 'actirise' ),
						'adstxt_validating'  => __( 'Validating your ads.txt file...', 'actirise' ),
						'code_copied'        => __( 'Code copied to clipboard', 'actirise' ),
						'logout_success'     => __( 'You have been logged out successfully.', 'actirise' ),
						'logout_error'       => __( 'An error occurred while logging out.', 'actirise' ),
						'http_error'         => __( 'An error has occured.', 'actirise' ),
					),
					'footer' => array(
						'copyright'        => __( 'COPYRIGHT ©{date} Actirise, All rights reserved', 'actirise' ),
						'privacy_policy'   => __( 'Privacy Policy', 'actirise' ),
						'terms_of_service' => __( 'Terms of Service', 'actirise' ),
					),
				),
				'tabs' => array(
					'home' => array(
						'full_report'         => __( 'Full report', 'actirise' ),
						'page_views'          => __( 'Page views', 'actirise' ),
						'no_data'             => __( 'No data available', 'actirise' ),
						'comparison'          => array(
							'title'      => __( 'Today so far', 'actirise' ),
							'vs'         => __( 'vs', 'actirise' ),
							'compare_to' => __( 'Compare to', 'actirise' ),
							'options'    => array(
								'previous_day'        => __( 'Previous day', 'actirise' ),
								'same_day_last_week'  => __( 'Same day last week', 'actirise' ),
								'same_day_last_month' => __( 'Same day last month', 'actirise' ),
							),
						),
						'metrics'             => array(
							'active_visitors' => array(
								'label'       => __( 'Active visitors', 'actirise' ),
								'description' => __( 'Number of visitors who have initiated a valid session during the last 30 minutes.', 'actirise' ),
							),
							'unified_partner_revenue' => array(
								'label' => __( 'Unified Partner revenue', 'actirise' ),
							),
							'valid_page_views' => array(
								'label'       => __( 'Valid page views', 'actirise' ),
								'description' => __( 'Total number of page views on which Actirise can display ads (adblocked page views, crawlers and page views without ad slots are excluded)', 'actirise' ),
							),
							'valid_page_views_rpm' => array(
								'label'       => __( 'Valid page views RPM', 'actirise' ),
								'description' => __( 'Revenue generated for 1000 valid page views', 'actirise' ),
							),
						),
						'last_7_days_revenue' => array(
							'title' => __( 'Last 7 days revenue', 'actirise' ),
							'date'  => __( 'Date', 'actirise' ),
						),
						'event_annotations'   => array(
							'by'             => __( 'By', 'actirise' ),
							'ongoing'        => __( 'Ongoing', 'actirise' ),
							'ongoing_events' => __( 'Ongoing events', 'actirise' ),
							'title'          => __( 'Event annotations', 'actirise' ),
							'view_all'       => __( 'View all', 'actirise' ),
						),
						'inactivity'          => array(
							'title'      => __( 'Dear user', 'actirise' ),
							'body'       => __( 'We have noticed that your screen has been inactive for some time. For optimization reasons, we have disabled the automatic refresh of the application data.', 'actirise' ),
							'reactivate' => __( 'Reactivate refresh', 'actirise' ),
						),
						'traffic_sources'     => array(
							'others' => __( 'Others', 'actirise' ),
							'direct' => __( 'Direct', 'actirise' ),
						),
						'top_articles'        => array(
							'brand_safety'   => array(
								'SAFE'                  => __( 'Safe', 'actirise' ),
								'SAFE_long'             => __( 'Brand safe', 'actirise' ),
								'SAFE_desc'             => __( 'This URL has been audited and verified as Brand Safe.', 'actirise' ),
								'UNDER_EVALUATION'      => __( 'Evaluating', 'actirise' ),
								'UNDER_EVALUATION_long' => __( 'Analysis in progress', 'actirise' ),
								'UNDER_EVALUATION_desc' => __( 'The Brand Safety status will be updated automatically upon completion.', 'actirise' ),
								'UNKNOWN'               => __( 'Evaluating', 'actirise' ),
								'UNKNOWN_long'          => __( 'Analysis in progress', 'actirise' ),
								'UNKNOWN_desc'          => __( 'The Brand Safety status will be updated automatically upon completion.', 'actirise' ),
								'UNSAFE'                => __( 'Unsafe', 'actirise' ),
								'UNSAFE_long'           => __( 'Non brand safe', 'actirise' ),
								'UNSAFE_desc'           => __( 'This URL has been identified as Non-Brand Safe.', 'actirise' ),
								'last_update'           => __( 'Last update: {date}', 'actirise' ),
							),
							'full_report'    => __( 'View full report', 'actirise' ),
							'traffic_source' => __( 'Traffic Source', 'actirise' ),
							'url'            => __( 'URL', 'actirise' ),
						),
					),
					'adformats' => array(
						'title'              => __( 'Ad formats configuration', 'actirise' ),
						'description'        => __( 'Easily enable or disable ad formats depending on the device (mobile or desktop/tablet). You\'ll also find a few advanced settings to fine-tune your ad format placement and optimize how and where ads appear on your site.', 'actirise' ),
						'use_icon'           => __( 'Use the', 'actirise' ),
						'desktop_tablet'     => __( 'Desktop/Tablet Formats', 'actirise' ),
						'mobile'             => __( 'Mobile Formats', 'actirise' ),
						'icon_desc'          => __( 'icon to identify formats with the highest monetization potential and make informed choices to boost your revenue.', 'actirise' ),
						'documentation'      => __( 'For any assistance or detailed guidance, please consult our <a href="https://docs.actirise.com/navigation-and-features/ad-formats?visitor.essential=true" target="_blank">dedicated documentation</a>.', 'actirise' ),
						'xpath_error'        => __( 'XPath validation failed', 'actirise' ),
						'modal_advanced'     => array(
							'title'       => __( 'Advanced settings', 'actirise' ),
							'description' => __( 'Below, you\'ll find a few advanced settings to fine-tune your ad format. Use these options to optimize how and where ads appear on your site.', 'actirise' ),
							'desc_label'  => __( 'Description:', 'actirise' ),
						),
						'category'           => array(
							'sticky-format'  => __( 'Sticky format', 'actirise' ),
							'in-page-format' => __( 'In-page format', 'actirise' ),
							'special-format' => __( 'Special format', 'actirise' ),
							'activated'      => __( 'activated', 'actirise' ),
							'alert'          => __( 'You must keep at least one of the following formats active: Corner or Slide-up.', 'actirise' ),
						),
						'settings'           => array(
							'active_on'    => array(),
							'position'     => array(
								'options' => array(),
							),
							'margin'       => array(),
							'close_button' => array(),
							'page_types'   => array(),
						),
						'empty_format_modal' => array(
							'title'            => __( 'Warning', 'actirise' ),
							'deactivating_msg' => __( 'By deactivating the {format} format, the system will automatically activate the {alternative} format.', 'actirise' ),
							'corner_info'      => __( 'Deactivating the Corner format', 'actirise' ),
							'corner_warning'   => __( 'will cause an immediate, partial revenue dip that will escalate and significantly affect your site\'s overall performance over the medium to long term, due to the reliance of monetization algorithms on long-term data.', 'actirise' ),
						),
						'exit_modal'         => array(
							'title'       => __( 'Unpublished Changes', 'actirise' ),
							'description' => __( 'You have made changes to your ad format configuration that have not yet been published. If you leave this page now, these changes will be lost.', 'actirise' ),
							'confirm'     => __( 'Continue my configuration', 'actirise' ),
							'cancel'      => __( 'Leave without publishing', 'actirise' ),
						),
						'alert'              => array(
							'xpath_error' => __( 'It appears your current WordPress theme is <strong>currently</strong> incompatible with the automatic deployment of one or more ad formats. Ad formats on this page displaying an alert badge require <strong>manual placement using a shortcode</strong>. <strong>Advanced users</strong> can bypass the shortcode and <strong>restore automatic placement</strong> by configuring a <strong>custom XPath path</strong> directly in the advanced settings. For assistance, consult our <a href="https://docs.actirise.com/navigation-and-features/ad-formats?visitor.essential=true#automatic-placement-and-manual-alternatives" target="_blank"><strong>dedicated documentation</strong></a>.', 'actirise' ),
						),
						'loader'             => array(
							'error' => __( 'The plugin was unable to fetch the necessary ad format configurations. This might be a temporary network issue. Please <strong>give it a few minutes and try again</strong>. If you continue to see this error, please reach out to our support for assistance.', 'actirise' ),
						),
						'format'             => array(
							'active_on'         => __( 'Active on:', 'actirise' ),
							'advanced_settings' => __( 'ADVANCED SETTINGS', 'actirise' ),
							'button_title'      => __( 'Enable this Ad Format to access advanced settings.', 'actirise' ),
							'php_function'      => __( 'PHP Function', 'actirise' ),
							'php_tooltip'       => __( 'This PHP function allows you to manually place an ad slot directly within your theme\'s files (e.g., header.php, single.php) for precise and customized ad placement.', 'actirise' ),
							'shortcode'         => __( 'Shortcode', 'actirise' ),
							'shortcode_tooltip' => __( 'Shortcodes are small, customizable snippets of code that you can place in your posts, pages, or widgets to display ad formats exactly where you want them. Use this code when you need manual control over ad placement.', 'actirise' ),
							'descriptions'      => array(),
						),
						'formats'            => array(
							'desktop'  => array(
								'corner' => array(
									'description' => __( 'Ad displayed in a fixed position at the corner of the screen.', 'actirise' ),
								),
								'slide-up' => array(
									'description' => __( 'Sticky ad banner fixed to bottom of screen.', 'actirise' ),
								),
								'rewards' => array(
									'description' => __( 'Full-page ad shown between two page views.', 'actirise' ),
								),
								'top-content' => array(
									'description' => __( 'Ad placed at the top of your content article, below the post thumbnail.', 'actirise' ),
								),
								'intext' => array(
									'description' => __( 'Ad unit auto-injected between text paragraphs.', 'actirise' ),
								),
								'in-image' => array(
									'description' => __( 'Ad overlay displayed directly on images.', 'actirise' ),
								),
								'in-feed' => array(
									'description' => __( 'Ad displayed inside The Loop, between posts in category or article listings.', 'actirise' ),
								),
								'feed' => array(
									'description' => __( 'AI-powered content recommendations displayed in a native format.', 'actirise' ),
								),
								'top-page' => array(
									'description' => __( 'Ad placed at top of page, below site navigation.', 'actirise' ),
								),
								'aside-desktop' => array(
									'description' => __( 'An ad displayed in the sidebar only on desktop & tablet devices', 'actirise' ),
								),
							),
							'mobile'   => array(
								'corner' => array(
									'description' => __( 'Ad displayed in a fixed position at the corner of the screen.', 'actirise' ),
								),
								'slide-up' => array(
									'description' => __( 'Sticky ad banner fixed to bottom of screen.', 'actirise' ),
								),
								'rewards' => array(
									'description' => __( 'Full-page ad shown between two page views.', 'actirise' ),
								),
								'top-content' => array(
									'description' => __( 'Ad placed at the top of your content article, below the post thumbnail.', 'actirise' ),
								),
								'intext' => array(
									'description' => __( 'Ad unit auto-injected between text paragraphs.', 'actirise' ),
								),
								'in-image' => array(
									'description' => __( 'Ad overlay displayed directly on images.', 'actirise' ),
								),
								'in-feed' => array(
									'description' => __( 'Ad displayed inside The Loop, between posts in category or article listings.', 'actirise' ),
								),
								'feed' => array(
									'description' => __( 'AI-powered content recommendations displayed in a native format.', 'actirise' ),
								),
								'top-page' => array(
									'description' => __( 'Ad placed at top of page, below site navigation.', 'actirise' ),
								),
							),
							'settings' => array(
								'error'           => __( 'At least one option must be selected.', 'actirise' ),
								'activeOn'        => array(
									'label'   => __( 'Active on', 'actirise' ),
									'desc'    => __( 'Select the types of pages where this ad format will be displayed.', 'actirise' ),
									'options' => array(
										'home'     => __( 'Home', 'actirise' ),
										'category' => __( 'Category', 'actirise' ),
										'article'  => __( 'Article / pages', 'actirise' ),
									),
								),
								'mediaTypes'      => array(
									'label'   => __( 'Media types', 'actirise' ),
									'desc'    => __( 'Allows you to choose which types of media will display the ad format.', 'actirise' ),
									'options' => array(
										'image'     => __( 'Image', 'actirise' ),
										'twitter'   => __( 'Twitter', 'actirise' ),
										'tiktok'    => __( 'TikTok', 'actirise' ),
										'facebook'  => __( 'Facebook', 'actirise' ),
										'instagram' => __( 'Instagram', 'actirise' ),
										'pinterest' => __( 'Pinterest', 'actirise' ),
										'iframely'  => __( 'Iframely', 'actirise' ),
									),
								),
								'position'        => array(
									'label'   => __( 'Position', 'actirise' ),
									'desc'    => __( 'Select where on the page the ad format will be displayed.', 'actirise' ),
									'options' => array(
										'top-left'     => __( 'Top left', 'actirise' ),
										'top-right'    => __( 'Top right', 'actirise' ),
										'bottom-left'  => __( 'Bottom left', 'actirise' ),
										'bottom-right' => __( 'Bottom right', 'actirise' ),
									),
								),
								'slideUpPosition' => array(
									'label'   => __( 'Position', 'actirise' ),
									'desc'    => __( 'Determines the position of the ad format.', 'actirise' ),
									'options' => array(
										'bottom' => __( 'Bottom', 'actirise' ),
										'top'    => __( 'Top', 'actirise' ),
									),
								),
								'margin'          => array(
									'label' => __( 'Margin', 'actirise' ),
									'desc'  => __( 'Sets the vertical margin (in pixels) between the ad format and the top or bottom of the window.', 'actirise' ),
								),
								'scrollLimit'     => array(
									'label' => __( 'Scroll repeat limit', 'actirise' ),
									'desc'  => __( 'Defines how many times the ad pattern repeats on a single page (set 0 for unlimited).', 'actirise' ),
								),
								'gap'             => array(
									'label' => __( 'Gap', 'actirise' ),
									'desc'  => __( 'Distance (in pixels) between each ad repetition', 'actirise' ),
								),
								'skip'            => array(
									'label' => __( 'Skip', 'actirise' ),
									'desc'  => __( 'Indicates how many media elements to skip before displaying the first ad format.', 'actirise' ),
								),
								'modulo'          => array(
									'label' => __( 'Modulo', 'actirise' ),
									'desc'  => __( 'Controls the repetition pattern of the ad format (Example: If you set the Modulo to 4, the ad will be displayed on every fourth images on the page).', 'actirise' ),
								),
								'pageSwitches'    => array(
									'label' => __( 'Page Switches', 'actirise' ),
									'desc'  => __( 'Determines after how many page switches the format triggers.', 'actirise' ),
								),
								'closeButton'     => array(
									'label'   => __( 'Close button', 'actirise' ),
									'desc'    => __( 'Toggle this setting to give visitors the option to close the advertisement.', 'actirise' ),
									'options' => array(
										'false' => '',
										'true'  => '',
									),
								),
								'customXpath'     => array(
									'label' => __( 'Display based on xPath', 'actirise' ),
									'desc'  => __( 'Specify an xPath to control ad placement with precision. See <a href="https://docs.actirise.com/navigation-and-features/ad-formats?visitor.essential=true#using-xpath" target="_blank">our documentation</a>.', 'actirise' ),
									'error' => __( 'Please enter a valid XPath expression', 'actirise' ),
								),
							),
						),
						'save'               => array(
							'loading' => __( 'Loading...', 'actirise' ),
							'publish' => __( 'Publish configuration ({count} change)|Publish configuration ({count} changes)', 'actirise' ),
							'success' => __( 'Configuration published! The update on your site may take a few minutes to appear.', 'actirise' ),
						),
					),
					'auth' => array(
						'forgot_password'       => __( 'Forgot your password?', 'actirise' ),
						'showcase'              => array(
							'title'       => __( 'Boost your WordPress monetization<br /><span>with 100+ top-tier advertisers!</span>', 'actirise' ),
							'description' => __( 'By connecting with Actirise, your website will seamlessly integrate with leading advertisers in the industry, ensuring maximum ad revenue and performance.', 'actirise' ),
							'features'    => array(
								'no_code' => array(
									'title'       => __( 'No code plugin', 'actirise' ),
									'description' => __( 'Experience seamless installation with our no-code plugin, designed for speed and simplicity.', 'actirise' ),
								),
								'free_cmp' => array(
									'title'       => __( 'Free CMP', 'actirise' ),
									'description' => __( 'Streamline your operations with Fastcmp — our consent management platform built for publishers.', 'actirise' ),
								),
								'premium_advertising' => array(
									'title'       => __( 'Premium Advertising demand', 'actirise' ),
									'description' => __( 'Supercharge your revenue with Flashbid, leveraging top-tier ad mediation technology and AI Optimization for maximum revenue generation.', 'actirise' ),
								),
								'real_time_analytics' => array(
									'title'       => __( 'Real-time analytics', 'actirise' ),
									'description' => __( 'Instantly enable Actirise Analytics for your website, and unlock deep, real-time insights into your audience\'s behavior.', 'actirise' ),
								),
								'ads_txt_manager' => array(
									'title'       => __( 'Ads.txt manager', 'actirise' ),
									'description' => __( 'Keep your ads.txt file automatically updated, ensuring that you remain at the forefront of the advertising ecosystem.', 'actirise' ),
								),
								'core_web_vitals' => array(
									'title'       => __( 'Core Web Vitals Optimizer', 'actirise' ),
									'description' => __( 'Enhance your Core Web Vitals and preserve your score with Actirise, minimizing any impact when integrating our ad solution.', 'actirise' ),
								),
							),
						),
						'login'                 => array(
							'title'        => __( 'Already have an account?', 'actirise' ),
							'form'         => array(
								'email'       => __( 'Email', 'actirise' ),
								'password'    => __( 'Password', 'actirise' ),
								'remember_me' => __( 'Remember me', 'actirise' ),
								'loading'     => __( 'Loading...', 'actirise' ),
								'sign_in'     => __( 'Sign in', 'actirise' ),
							),
							'toggle'       => __( 'Create an account?', 'actirise' ),
							'ajax_success' => __( 'Login successful', 'actirise' ),
						),
						'register'              => array(
							'error_message' => array(
								'50541549-a511-5041-ac51-8fb65b9c554a' => __( 'An account with this email address already exists. Please log in with the existing account or use a different email address.', 'actirise' ),
								'de253137-e902-590d-a001-46ca5ea32cd3' => __( 'An organization with this name already exists. Please log in with the existing account or use a different organization name.', 'actirise' ),
								'8496c976-1c4e-52bd-8f20-273576b395c6' => __( 'An organization with this corporate website is already registered. Please log in with the existing account or use a different corporate website.', 'actirise' ),
								'9621f4c0-aeac-5dfb-b40c-2173b8f5112d' => __( 'This website is already registered. Please log in with the associated account.', 'actirise' ),
								'user_plaintext_password' => __( 'The chosen password is not secure enough. Please create a stronger one.', 'actirise' ),
								'name'                    => __( 'An organization with this name already exists. Please select the existing organization in the Existing tab or use a different organization name.', 'actirise' ),
								'website'                 => __( 'An organization with this corporate website already exists. Please select the existing organization in the Existing tab or use a different corporate website.', 'actirise' ),
							),
							'ajax'          => array(
								'success'      => __( 'Account registered', 'actirise' ),
								'error'        => __( 'An unknown error occurred. Please try submitting again.', 'actirise' ),
								'email_exists' => __( 'An account with this email address already exists. Please log in with the existing account or use a different email address.', 'actirise' ),
							),
							'title'         => __( 'Create an account', 'actirise' ),
							'form'          => array(
								'first_name'           => __( 'First name', 'actirise' ),
								'last_name'            => __( 'Last name', 'actirise' ),
								'email'                => __( 'Email', 'actirise' ),
								'password'             => __( 'Password', 'actirise' ),
								'password_placeholder' => __( 'Create a strong password', 'actirise' ),
								'password_strength'    => array(
									'length'    => __( '8+ characters', 'actirise' ),
									'uppercase' => __( 'Uppercase', 'actirise' ),
									'lowercase' => __( 'Lowercase', 'actirise' ),
									'number'    => __( 'Number', 'actirise' ),
									'special'   => __( 'Special character', 'actirise' ),
								),
								'loading'              => __( 'Loading...', 'actirise' ),
								'create_account'       => __( 'Create my account', 'actirise' ),
								'terms'                => __( 'By checking this box, I confirm that I am authorized to represent my company when necessary and act on its behalf, I have read and agree to <a href=\'https://legal.sparteo.com/actirise/terms-wordpress-plugin\' target=\'_blank\'>Actirise\'s Terms of Service</a> and <a href=\'https://corporate.sparteo.com/privacy-policy\' target=\'_blank\'>Privacy Policy</a>.', 'actirise' ),
							),
							'toggle'        => __( 'Already have an account?', 'actirise' ),
							'verify_email'  => array(
								'title'               => __( 'Verify your email address', 'actirise' ),
								'description'         => __( 'Click the link in the confirmation email sent to {email} to verify your account and continue with the application.', 'actirise' ),
								'description_refresh' => __( 'Once the registration is complete, please return here and refresh this page.', 'actirise' ),
								'resend'              => __( 'Resend email', 'actirise' ),
								'resend_countdown'    => __( 'Resend email in {time}', 'actirise' ),
								'resend_success'      => __( 'Confirmation email sent.', 'actirise' ),
								'resend_error'        => __( 'We couldn\'t resend the email. Please try again in a few minutes.', 'actirise' ),
								'spam_hint'           => __( 'Can\'t find the email confirmation? Check your spam folder, or resend the verification email.', 'actirise' ),
							),
						),
						'complete_registration' => array(
							'title'       => __( 'Complete your registration', 'actirise' ),
							'description' => __( 'Please proceed with <a href=\'https://platform.actirise.com/login\' target=\'_blank\'>your application</a>. Once it is fully completed, return here and refresh this page to log in with your credentials.', 'actirise' ),
						),
						'website_register'      => array(
							'title'                 => __( 'Unregistered website', 'actirise' ),
							'description'           => __( 'Website {domain} has not yet been approved. Please select the organization associated with this website to submit it for approval.', 'actirise' ),
							'new_organization_link' => __( 'Don\'t see your organization? <a href="https://platform.actirise.com/login" target="_blank">Create a new organization</a>', 'actirise' ),
							'form'                  => array(
								'existing_organization' => __( 'Existing organization', 'actirise' ),
								'new_organization'      => __( 'New organization', 'actirise' ),
								'select_organization'   => __( 'Select an organization', 'actirise' ),
								'about_company'         => array(
									'title'        => __( 'About your company', 'actirise' ),
									'desc'         => __( 'Please provide all your company infos and corporate website. This information is crucial for setting up your ads.txt&nbsp;{0} file accurately and optimizing your revenue.', 'actirise' ),
									'desc_tooltip' => __( 'The ads.txt file (“Authorized Digital Sellers”) is a text file hosted on the Partner’s Properties. It contains instructions specifying the sellers authorized to commercialize Ad Placements. <a href="https://docs.actirise.com/getting-help/knowledge-base#a-ds.txt-file" target="_blank">Learn more</a>', 'actirise' ),
								),
								'company_name'          => __( 'Company name', 'actirise' ),
								'street_address'        => __( 'Street address', 'actirise' ),
								'postal_code'           => __( 'Postal/Zip code', 'actirise' ),
								'city'                  => __( 'City', 'actirise' ),
								'country'               => __( 'Country', 'actirise' ),
								'registration_id'       => __( 'Local Registration ID', 'actirise' ),
								'registration_id_help'  => __( 'A unique identifier assigned to your business by local authorities, used for verification and compliance purposes. Providing this ID helps accurately link your organization to your account. Examples include EIN (USA), VAT Number (EU), SIRET (France), USCC (China), CIN (India), and UTR (United Kingdom). You may find the appropriate Local Registration ID for your country in the <a href=\'https://docs.actirise.com/getting-help/knowledge-base#local-registration-id\' target=\'_blank\'>list available here</a>.', 'actirise' ),
								'corporate_website'     => __( 'Corporate website', 'actirise' ),
								'terms'                 => __( 'By checking this box, I confirm that I am authorized to represent my company and act on its behalf. I have read and agree to <a href=\'https://legal.sparteo.com/actirise/terms-wordpress-plugin\' target=\'_blank\'>Actirise\'s Terms of Service</a> and <a href=\'https://corporate.sparteo.com/privacy-policy\' target=\'_blank\'>Privacy Policy</a>.', 'actirise' ),
								'loading'               => __( 'Loading...', 'actirise' ),
								'submit'                => __( 'Submit my website', 'actirise' ),
							),
							'notification_success'  => __( 'Organization & website registered', 'actirise' ),
							'ajax'                  => array(
								'success' => __( 'Website registered', 'actirise' ),
								'error'   => __( 'We couldn\'t create your account at this moment due to an unexpected error. Please try again in a few minutes. If the issue persists, feel free to contact our support team.', 'actirise' ),
							),
						),
					),
					'onboarding' => array(
						'enum' => array(
							'pending'      => __( 'Pending', 'actirise' ),
							'in_progress'  => __( 'In progress', 'actirise' ),
							'under_review' => __( 'Under review', 'actirise' ),
							'approved'     => __( 'Approved', 'actirise' ),
							'completed'    => __( 'Completed', 'actirise' ),
							'running'      => __( 'Running', 'actirise' ),
							'rejected'     => __( 'Rejected', 'actirise' ),
							'suspended'    => __( 'Suspended', 'actirise' ),
							'disabled'     => __( 'Disabled', 'actirise' ),
						),
						'congratulations' => array(
							'title'                 => __( '&#127881; Congratulations!', 'actirise' ),
							'description'           => __( 'Your site is now ready and configured to display advertising with Actirise!', 'actirise' ),
							'description_essential' => __( 'You can now go to the <a href="#AdFormats">Ad formats tab</a> to fine-tune your configuration and begin optimizing your ad revenue or visit the <a href="#Home">Actirise plugin homepage</a> to see your first stats!', 'actirise' ),
							'visit_stats'           => __( 'You can now visit the <a href="#Home">Actirise plugin homepage</a> to see your first stats!', 'actirise' ),
						),
						'configuration_complete' => array(
							'title'           => __( '✅ Your configuration is now complete!', 'actirise' ),
							'thank_you'       => __( 'Thank you for finalizing the setup.', 'actirise' ),
							'team_contact'    => __( 'Our team will get back to you shortly to activate your advertising setup, enabling you to start displaying ads on your website.', 'actirise' ),
							'account_manager' => __( 'Feel free to reach out your Account Manager if you have any questions in the meantime!', 'actirise' ),
						),
						'suspended' => array(
							'title'       => __( 'Website suspended!', 'actirise' ),
							'description' => __( 'We regret to inform you that your website has been suspended due to non-compliance with our <a href="https://legal.sparteo.com/actirise/terms" target="_blank" >Terms of Service</a >. As a result, <strong>advertising on your website has also been suspended</strong> until the issue is resolved.', 'actirise' ),
							'contact'     => __( 'If you believe this suspension was made in error or would like to take corrective action to restore your website, please contact our support team at <a href="mailto:{supportEmail}">{supportEmail}</a>. They will provide you with more details regarding the issue and the necessary steps to reinstate your website.', 'actirise' ),
						),
						'disabled' => array(
							'title'       => __( 'Website disabled!', 'actirise' ),
							'description' => __( 'We regret to inform you that your website is currently <strong>Disabled</strong>. As a result, <strong>advertising on your website has been stopped</strong>. This status is typically applied when a site has been <strong>intentionally taken offline</strong> or archived.', 'actirise' ),
							'contact'     => __( 'If you wish to reactivate your website and resume ad delivery, please contact our support team at <a href="mailto:{supportEmail}">{supportEmail}</a>. They will assist you with the necessary steps to reinstate your account.', 'actirise' ),
							'fastcmp'     => __( 'If you only use the plugin for ad serving, you may <strong>uninstall the plugin</strong>. However, if you wish to continue using <strong>FastCMP</strong>, please keep the plugin installed.', 'actirise' ),
						),
						'status_table' => array(
							'account_creation' => array(
								'title'   => __( 'Account creation', 'actirise' ),
								'tooltip' => __( 'Creating an Actirise account is a prerequisite for serving ads, granting you access to Advertising Revenues and audience statistics.', 'actirise' ),
							),
							'approval_status' => array(
								'title'   => __( 'Approval status', 'actirise' ),
								'tooltip' => __( 'This step allows our team to review and approve your website for ad distribution based on specific criteria which are outlined in our <a href="https://legal.sparteo.com/actirise/terms" target="_blank">Terms of Service</a>.', 'actirise' ),
							),
							'adstxt_update' => array(
								'title'   => __( 'Ads.txt update', 'actirise' ),
								'tooltip' => __( '<strong>Choose how to manage your ads.txt file</strong>: let Actirise handle it automatically or manage it yourself. The ads.txt file (“Authorized Digital Sellers”) is a text file hosted on the Partner’s Properties. It contains instructions specifying the sellers authorized to commercialize Ad Placements. <a href=\'https://docs.actirise.com/getting-help/knowledge-base#a-ds.txt-file\' target=\'_blank\'>Learn more</a>', 'actirise' ),
							),
							'cmp_validation' => array(
								'title'   => __( 'CMP validation', 'actirise' ),
								'tooltip' => __( 'A Consent Management Platform (CMP) is a software solution that displays notices (such as cookie banners) to inform users and collect their preferences regarding the processing of their personal data. The CMP must be configured to obtain and store consent in compliance with applicable regulations. <strong>Depending on the location of your site’s users, the CMP must be configured accordingly to collect their consent in compliance with applicable regulations.</strong> <a href=\'https://docs.actirise.com/getting-help/knowledge-base#consent-management-platform\' target=\'_blank\'>Learn more</a>', 'actirise' ),
							),
							'monetization' => array(
								'title'   => __( 'Actirise monetization', 'actirise' ),
								'tooltip' => __( 'Actirise Monetization allows you to generate revenue by displaying ads on your website. This step shows whether ad delivery is currently active or pending, which directly impacts your revenues.', 'actirise' ),
							),
						),
						'steps' => array(
							'approval' => array(
								'title' => __( 'Approval status', 'actirise' ),
							),
							'premium_io' => array(
								'title' => __( 'Agree & Sign your Insertion Order', 'actirise' ),
							),
							'adstxt' => array(
								'title'       => __( 'Update your ads.txt', 'actirise' ),
								'description' => __( 'The ads.txt file is essential for website owners who sell advertising online. It informs advertisers about who is authorized to sell ads on your site, helping to prevent advertising fraud by ensuring transparency in business partnerships.', 'actirise' ),
							),
							'cmp' => array(
								'title' => __( 'Consent Management Platform', 'actirise' ),
							),
							'activation' => array(
								'title' => __( 'Activate Actirise on your website', 'actirise' ),
							),
						),
						'approval' => array(
							'refused' => array(
								'alert'       => __( 'We regret to inform you that, after careful review, we will not be able to proceed with your Actirise application. This decision is based on our eligibility criteria, which can be provided upon written request.', 'actirise' ),
								'keep_plugin' => __( 'You can keep the plugin on your site to continue benefiting from FastCMP, our fast and efficient consent management solution. Alternatively, you can deactivate or remove the Actirise plugin at any time.', 'actirise' ),
							),
							'premium_io' => array(
								'title' => __( 'Lorem', 'actirise' ),
							),
							'review' => array(
								'title'             => __( 'Your website is currently being reviewed to ensure it meets our quality standards and terms.', 'actirise' ),
								'description'       => __( 'The review usually takes a few days, and you\'ll receive a notification once it\'s complete.', 'actirise' ),
								'keep_active'       => __( 'Please don\'t delete the plugin and keep it active', 'actirise' ),
								'smooth_process'    => __( 'during this time to ensure a smooth review process.', 'actirise' ),
								'cache_exclusions'  => __( 'To ensure our script is correctly injected, please make sure to configure your <a href="https://docs.actirise.com/getting-help/cache-instructions" target="_blank">cache exclusions</a>.', 'actirise' ),
								'explore_analytics' => __( 'While you wait, you can start exploring', 'actirise' ),
								'analytics_link'    => __( 'Actirise Analytics', 'actirise' ),
								'insights'          => __( 'to gain real-time insights into your site.', 'actirise' ),
							),
						),
						'activation' => array(
							'contract'        => array(
								'checkbox_label'    => __( 'By checking this box, I confirm that I\'m starting my trial with Actirise by signing this IO.', 'actirise' ),
								'loading'           => __( 'Loading...', 'actirise' ),
								'agree_sign'        => __( 'Agree & Sign the following IO', 'actirise' ),
								'agree_sign_listed' => __( 'Agree & Sign the IO listed above', 'actirise' ),
								'unsigned_error'    => __( 'The insertion order for website {domain} has not yet been signed. You don\'t have the necessary organization manager privileges to sign the insertion order. <br/> Please <strong>reach out to your organization manager</strong>, who can complete this activation with the required permissions.', 'actirise' ),
							),
							'confirm_removal' => __( 'I confirm that I\'m starting my trial with Actirise.', 'actirise' ),
							'loading'         => __( 'Loading...', 'actirise' ),
							'start_revenue'   => __( 'Start generating revenue with Actirise', 'actirise' ),
						),
					),
					'adstxt' => array(
						'title'             => __( 'Ads.txt', 'actirise' ),
						'desc'              => __( 'The ads.txt file ("Authorized Digital Sellers") is a text file hosted on the Partner\'s Properties. It contains instructions specifying the sellers authorized to commercialize Ad Placements. This helps to avoid problems of advertising fraud by being transparent about business partnerships. <a href="https://docs.actirise.com/getting-help/knowledge-base#a-ds.txt-file" target="_blank">Learn more</a>', 'actirise' ),
						'add'               => __( 'Add additional lines to your ads.txt file', 'actirise' ),
						'custom_adstxt'     => __( 'Custom Ads.txt', 'actirise' ),
						'manual_adstxt'     => __( 'Manual Ads.txt', 'actirise' ),
						'validation_failed' => __( 'Ads.txt file validation failed.', 'actirise' ),
						'ajax'              => array(
							'success' => __( 'Ads.txt settings updated', 'actirise' ),
							'error'   => __( 'Error while saving Ads.txt settings', 'actirise' ),
							'check'   => array(
								'error2'      => __( 'Unable to validate your ads.txt file. Please check your connection and try again, or contact support if the problem persists.', 'actirise' ),
								'in_progress' => __( 'Validation already in progress', 'actirise' ),
							),
						),
						'cron'              => __( 'The crons feature is not enabled on your WordPress site. Crons are scheduled tasks that can help improve the performance and reliability of your WordPress site. We strongly recommend that you enable this feature using this <a href="https://draftpress.com/docs/how-to-enable-wp-cron/" target="_blank">documentation</a>, please contact your web host or system administrator for assistance if you are experiencing problems.', 'actirise' ),
						'checkbox'          => __( 'I have added all these lines to my ads.txt file', 'actirise' ),
						'radio'             => array(
							'option1'          => array(
								'title'    => __( 'Use Actirise Ads.txt Manager', 'actirise' ),
								'content1' => __( 'With Actirise Ads.txt Manager, you can effortlessly generate and maintain a complete, up-to-date ads.txt file, building advertisers’ trust in your website as a reliable platform for serving ads.', 'actirise' ),
								'content2' => __( 'With Actirise Ads.txt Manager, you can effortlessly generate and maintain a complete, up-to-date ads.txt file, building advertisers’ trust in your website as a reliable platform for serving ads.', 'actirise' ),
							),
							'option2'          => array(
								'title'   => __( 'Update my ads.txt manually', 'actirise' ),
								'content' => __( 'Copy the lines from the list below and add them to your ads.txt file. This list updates regularly, and you will be notified of any changes to keep your file up to date. That\'s why we recommend using <strong>Actirise-hosted ads.txt</strong> to simplify configuration and avoid frequent manual updates.', 'actirise' ),
							),
							'option3'          => array(
								'title'   => __( 'Actirise-hosted ads.txt', 'actirise' ),
								'content' => __( 'By hosting your ads.txt file directly, Actirise ensures real-time updates and maximum synchronization speed, guaranteeing higher compliance and optimized revenue performance.', 'actirise' ),
							),
							'end_date_days'    => __( 'This feature will be deactivated in {days} days', 'actirise' ),
							'end_date_expired' => __( 'This feature is deprecated and will be deactivated in the next version.', 'actirise' ),
						),
						'hosted'            => array(
							'status_active'                => __( 'Active', 'actirise' ),
							'status_inactive'              => __( 'Inactive', 'actirise' ),
							'redirection_setup_title'      => __( 'Redirection Setup', 'actirise' ),
							'redirection_status_title'     => __( 'Redirection Status', 'actirise' ),
							'step1'                        => __( 'The plugin will automatically set up a redirection from <strong>{url}</strong> to your Actirise-hosted file.', 'actirise' ),
							'step1_active'                 => __( 'The redirection from <strong>{url}</strong> is active and functional. Your ads.txt is now automatically managed and kept up to date by Actirise.', 'actirise' ),
							'step4'                        => __( 'Click "Validate" to check and set up this redirection.', 'actirise' ),
							'contact_support'              => __( '<strong>Any questions, suggestions, issues?</strong> Contact us at <a href="mailto:{supportEmail}">{supportEmail}</a>.', 'actirise' ),
							'check_again'                  => __( 'Check again', 'actirise' ),
							'warning_file_exists_title'    => __( 'An ads.txt file is present at the root of your site.', 'actirise' ),
							'warning_file_exists_desc'     => __( 'Please remove it via FTP or your file manager to enable the redirection. If you need help, please refer to the <a href="https://docs.actirise.com/getting-help/faq#how-do-i-delete-my-existing-a-ds.txt-file-from-my-sites-root" target="_blank">documentation</a>.', 'actirise' ),
							'warning_third_party_title'    => __( 'Another redirect is already configured for your ads.txt.', 'actirise' ),
							'warning_third_party_desc'     => __( 'An existing redirect configuration is blocking our redirection setup. Please remove this redirection to enable your Actirise-hosted ads.txt.', 'actirise' ),
							'warning_wrong_url_title'      => __( 'An existing redirect is blocking our setup.', 'actirise' ),
							'warning_wrong_url_desc'       => __( 'We detected an existing redirect configuration blocking our redirection setup. Please ensure that no other rules are redirecting your ads.txt URL.', 'actirise' ),
							'warning_manual_required_title' => __( 'Manual redirect configuration required.', 'actirise' ),
							'warning_manual_required_desc' => __( 'A security layer or server-side rule is preventing the automatic redirection. Please manually set up a redirect. Refer to <a href="https://docs.actirise.com/guide/ads.txt-management/actirise-hosted-ads.txt-solution-implementation" target="_blank">our documentation</a> for instructions.', 'actirise' ),
						),
						'custom'            => array(
							'title'         => __( 'Partner name:', 'actirise' ),
							'desc1'         => __( 'Partner lines', 'actirise' ),
							'desc2'         => __( 'You can also add your own additional lines to the ads.txt file by entering them in the field below', 'actirise' ),
							'modal_title'   => __( 'Delete {name} partner ?', 'actirise' ),
							'modal_content' => __( 'Are you sure to delete this partner ?', 'actirise' ),
							'change_me'     => __( 'Change me', 'actirise' ),
							'errors'        => array(
								'1' => __( 'The line is empty', 'actirise' ),
								'2' => __( 'The line contains more than one "="', 'actirise' ),
								'3' => __( 'The variable name is not valid', 'actirise' ),
								'4' => __( 'The line contains more than 4 fields', 'actirise' ),
								'5' => __( 'The line contains less than 3 fields', 'actirise' ),
								'6' => __( 'The exchange is not a valid domain', 'actirise' ),
								'7' => __( 'The account type is not valid', 'actirise' ),
								'8' => __( 'The tag ID is not valid', 'actirise' ),
							),
							'notifications' => array(
								'success1' => __( 'Ads.txt custom updated', 'actirise' ),
								'success2' => __( 'Ads.txt custom saved', 'actirise' ),
								'success3' => __( 'Ads.txt custom removed', 'actirise' ),
							),
						),
						'alerts'            => array(
							'missing'          => __( 'After verifying your ads.txt file, <strong>some required lines are missing from your ads.txt file.</strong> Please review the list below and ensure all lines are correctly added to allow ad delivery. After updating your ads.txt file, click the "Validate" button below to recheck your configuration.', 'actirise' ),
							'blacklist'        => __( 'After verifying your ads.txt file, <strong>some lines from your ads.txt file are blacklisted.</strong> Please review the list below and remove all blacklisted lines. After updating your ads.txt file, click the "Validate" button below to recheck your configuration.', 'actirise' ),
							'unknown'          => __( 'An error was encountered during processing. The technical details below should help you identify and correct the issue within your ads.txt file:', 'actirise' ),
							'unknown_support'  => __( 'If you\'re unable to resolve this issue after reviewing the details, please don\'t hesitate to contact our support team at <a href="mailto:{supportEmail}" style="font-weight: 600">{supportEmail}</a>. Alternatively, you can <strong>reach out through the</strong> <a href="https://wordpress.org/support/plugin/actirise/" target="_blank" style="font-weight: 600">WordPress support forum</a> by creating a new topic so our team can assist you directly.', 'actirise' ),
							'error'            => __( 'We couldn\'t access your ads.txt file to perform the validation. Please ensure the ads.txt file is accessible at the root of your website, then try again.', 'actirise' ),
							'update_available' => __( 'To guarantee optimal delivery of your campaigns, <strong>please update your ads.txt file following a recent change</strong>. An incorrect configuration may limit the delivery of your ads or reduce your revenues. Please copy the content below to manually update your ads.txt file. Once updated, check the box and click the Validate button to confirm the changes.', 'actirise' ),
							'file_error'       => __( 'We\'ve detected an existing ads.txt file at the root of your website. To prevent any data loss or conflicts, our Actirise Ads.txt manager cannot automatically overwrite it.', 'actirise' ),
							'file_delete'      => __( 'Please delete your current ads.txt file.', 'actirise' ),
							'file_delete_cta'  => __( 'Once removed, simply return to this page and click the "Validate" button below to activate the manager.', 'actirise' ),
						),
					),
					'cwv' => array(
						'title'        => __( 'Core Web Vitals', 'actirise' ),
						'desc'         => __( 'Our CWV Optimizer feature allows webmasters to display advertisements without negatively affecting their website\'s Core Web Vitals. This is achieved by creating &lt;DIV&gt; tags with pre-calculated sizes to prevent Cumulative Layout Shift (CLS) from occurring when ads are injected into the page\'s content. By preventing CLS, the user experience is improved as the page layout remains stable, preventing frustrating jumps or shifts as the page loads. Additionally, optimizing <strong>Core Web Vitals</strong> is important for <strong>Search Engine Optimization</strong> (SEO) as it directly impacts a website\'s ranking on search engine results pages. By using our CWV Optimizer feature, webmasters can ensure a smoother user experience and potentially improve their website\'s search engine visibility.', 'actirise' ),
						'alert'        => array(
							'html'  => __( 'This feature corrects malformed HTML before injecting the presized content. However, <strong>please note that when the HTML code is malformed from the start, it can cause problems with features that previously worked correctly</strong>. Therefore, verify that your HTML is correct and without errors before using this feature.', 'actirise' ),
							'tidy1' => __( 'The Tidy PHP extension is not detected on your server. It is not recommended to activate the feature if you do not have the PHP Tidy extension enabled.<br />To install the PHP Tidy extension follow the instructions on the official <a href="https://www.php.net/manual/fr/book.tidy.php" target="_blank">documentation</a>.', 'actirise' ),
							'tidy2' => array(
								'desc'  => __( 'The Tidy PHP extension is not detected on your server. It is not recommended to activate the feature as you may encounter the following problems :<br /><br />', 'actirise' ),
								'list1' => __( '<strong>Alteration of the layout of the site:</strong> If the HTML code of the website is not properly formatted, the layout may be altered and make it difficult to navigate the site.', 'actirise' ),
								'list2' => __( '<strong>Inserting ads:</strong> Inserting ads may not work properly. This can lead to layout problems and ads not displaying properly.', 'actirise' ),
								'list3' => __( '<strong>Blocking of dynamic parts of the site:</strong> Dynamic parts such as the search engine and the commenting system may be blocked if the HTML code of the website is not properly formatted. This can render certain website features unusable.', 'actirise' ),
								'link'  => __( 'To install the PHP Tidy extension follow the instructions on the official <a href="https://www.php.net/manual/fr/book.tidy.php" target="_blank">documentation</a>.', 'actirise' ),
							),
						),
						'switch_true'  => __( 'Activate Core Web Vitals', 'actirise' ),
						'switch_false' => __( 'Activate Core Web Vitals', 'actirise' ),
						'presized'     => array(
							'title'         => __( 'Presized Div', 'actirise' ),
							'cron'          => __( 'The crons feature is not enabled on your WordPress site. Crons are scheduled tasks that can help improve the performance and reliability of your WordPress site. We recommend that you enable this feature using this <a href="https://draftpress.com/docs/how-to-enable-wp-cron/" target="_blank">documentation</a>, please contact your web host or system administrator for assistance if you are experiencing problems.', 'actirise' ),
							'notif_cache'   => __( '<strong>Congratulation ! The Presized Div has been successfully {status}!</strong><br /><br />Please note that if you are using a caching plugin on this site, you will need to clear the cache for changes to the user interface to take effect. If you do not clear the cache, you may not see the changes or you may encounter errors. We recommend that you clear your plugin\'s cache or CDN. If you need help clearing your plugin\'s cache, please consult your plugin\'s documentation or contact technical support for assistance. Thank you for your understanding.', 'actirise' ),
							'new'           => __( 'new', 'actirise' ),
							'notifications' => array(
								'success'  => __( 'Presized div updated', 'actirise' ),
								'success2' => __( 'Core Web Vitals enabled', 'actirise' ),
								'success3' => __( 'Core Web Vitals disabled', 'actirise' ),
							),
						),
					),
					'cmp' => array(
						'ajax' => array(
							'success'  => __( 'CMP settings updated', 'actirise' ),
							'success2' => __( 'Google Consent mode updated', 'actirise' ),
							'success3' => __( 'FastCMP updated', 'actirise' ),
						),
						'settings' => array(
							'desc'         => __( 'A CMP (Consent Management Platform) is an essential component when monetizing a website. It ensures compliance with strict regulations such as GDPR in Europe by transparently collecting user consent regarding their personal data. By clearly explaining why data is collected and how it will be used, it promotes transparency and builds user trust.', 'actirise' ),
							'scriptCheck'  => __( 'A bad or misconfigured CMP can drastically affect your revenue. That is why we couldn\'t stand by and watch our clients\' revenue (and ours) being affected by low-performing CMPs. We put our people and our knowledge to work to build one from scratch. Aware of the importance of this issue, we applied our know-how and mobilized our teams to design FastCMP.', 'actirise' ),
							'alert'        => array(
								'desc'      => __( 'Before using FastCMP, ensure that no other CMP is integrated on your WordPress site otherwise you may not have any functional CMP. It is also crucial to configure your web server properly.', 'actirise' ),
								'button'    => __( 'Learn more', 'actirise' ),
								'webServer' => __( '<br />Before deploying FastCMP, configure your web server to accept a minimum header size of 16kb. This is due to the prolonged duration (typically 12 months) of cookies set by your previous Consent Management Platform (CMP). As these cookies persist alongside the new FastCMP cookies, your server must be equipped to handle larger header sizes to prevent HTTP errors.<br /><br /><div style="font-weight: bold; font-size: 19px">Web Server Configuration</div>Adjust the maximum size of request headers for your web server as follows:<br /><br /><div style="font-weight: bold">Apache HTTP Server</div><strong>Directive:</strong><pre style="display: inline"><code>LimitRequestFieldSize</code></pre><br /><strong>Configuration File:</strong> Typically `httpd.conf` or apache2.conf<br /><br /><div style="font-weight: bold">Nginx</div><strong>Directive:</strong><pre style="display: inline"><code>large_client_header_buffers</code></pre><br /><strong>Configuration File:</strong> nginx.conf<br /><br /><div style="font-weight: bold">Microsoft IIS</div><strong>Setting:</strong><pre style="display: inline"><code>maxRequestEntityAllowed</code></pre><br /><strong>Configuration Method:</strong> Use IIS Manager or applicationHost.config file<br /><br /><div style="font-weight: bold">LiteSpeed Web Server</div><strong>Directives:</strong><pre style="display: inline"><code>MaxRequestHeaderSize</code></pre>and/or<pre style="display: inline"><code>MaxResponseHeaderSize</code></pre><br /><strong>Configuration File:</strong> httpd_config.conf<br /><br /><div style="font-weight: bold; font-size: 19px">Load Balancer Configuration</div>If your web servers are behind a load balancer (e.g., HAProxy) or a CDN, check and adjust the header size settings accordingly.<br /><br /><div style="font-weight: bold">HAProxy</div><strong>Setting:</strong><pre style="display: inline"><code>tune.bufsize</code></pre><br /><strong>Configuration File:</strong> Commonly haproxy.cfg<br /><br />Ensuring your web server and load balancer can handle larger header sizes is vital for a smooth FastCMP deployment. This prevents common HTTP 4xx and 5xx errors, enhancing the user experience on your platform.', 'actirise' ),
							),
							'toggle'       => array(
								'option1' => array(
									'title1'  => __( 'Install FastCMP (included with Actirise)', 'actirise' ),
									'title2'  => __( 'Use FastCMP (included with Actirise)', 'actirise' ),
									'content' => __( 'This solution has been especially developed to guarantee optimal management of your data and maximize your revenue, ensuring a high-performance CMP environment tailored to your needs.', 'actirise' ),
									'link'    => __( 'Learn more', 'actirise' ),
								),
								'option2' => array(
									'title1'  => __( 'I want to keep my own CMP', 'actirise' ),
									'title2'  => __( 'Use my own CMP', 'actirise' ),
									'content' => __( 'You will need to add a list of mandatory vendors. This list changes very regularly and you will be informed of any changes so that you can update your CMP. That\'s why we recommend you use <strong>FastCMP</strong> to save yourself a lot of configuration changes. <strong>FastCMP</strong> will also improve your revenues and the speed of your site.', 'actirise' ),
								),
								'option3' => array(
									'content' => __( 'Our solution has been especially developed to guarantee optimal management of your data and maximize your revenue, ensuring a high-performance CMP environment tailored to your needs. You\'ll find <a href=\'#CMP\'>FastCMP\'s advanced settings</a> in the dedicated tab.', 'actirise' ),
								),
							),
							'required'     => array(
								'title'          => __( 'Required settings', 'actirise' ),
								'desc'           => __( 'Please provide your company\'s headquarters location to ensure legal compliance, along with a direct link to your website\'s Privacy Policy, which will be displayed in the consent banner for transparency with your users.', 'actirise' ),
								'headoffice'     => __( 'Company\'s headquarters location', 'actirise' ),
								'privacy_policy' => __( 'Link to your website Privacy Policy', 'actirise' ),
							),
							'vendorsAlert' => __( 'Make sure to <strong>include the {vendors} mandatory vendors</strong> listed below in your CMP configuration.', 'actirise' ),
							'step'         => array(
								'checkbox' => array(
									'name1'  => __( 'FastCMP', 'actirise' ),
									'name2'  => __( 'Other CMP', 'actirise' ),
									'label1' => __( 'I confirm that all other CMPs have been deactivated on my site.', 'actirise' ),
									'label2' => __( 'I confirm that I have added the {vendors} mandatory sellers and understand that choosing not to use the recommended CMP may negatively impact ad revenue and site performance.', 'actirise' ),
								),
							),
							'global'       => array(
								'title'    => __( 'FastCMP settings', 'actirise' ),
								'desc'     => __( 'In this section, you’ll be able to define your website and company information and customize the appearance of the consent buttons. Advanced settings are also available for users who need more control over IAB integration, vendor selection, or custom styling.', 'actirise' ),
								'subtitle' => __( 'Global settings', 'actirise' ),
								'website'  => array(
									'title' => __( 'Website informations', 'actirise' ),
									'desc'  => __( 'The name will appear on your consent banner to help users easily identify your site, while the logo should be provided as a direct image URL for proper display.', 'actirise' ),
									'alert' => __( 'FastCMP has a white background, so we recommend using a logo with a transparent background and black or dark-colored lettering.', 'actirise' ),
									'input' => array(
										'name' => __( 'Website name', 'actirise' ),
										'logo' => __( 'Your website logo', 'actirise' ),
									),
								),
								'buttons'  => array(
									'preview'    => __( 'Preview', 'actirise' ),
									'accept'     => array(
										'title'      => __( 'Accept button appearance', 'actirise' ),
										'desc'       => __( 'Customize the appearance of the "Accept" button to match your website\'s design. You can define both the background and font color. Click on the "Preview" link to see how the consent popup will look in real time.', 'actirise' ),
										'bg_label'   => __( 'Accept button background color', 'actirise' ),
										'font_label' => __( 'Accept button font color', 'actirise' ),
									),
									'decline'    => array(
										'title'        => __( 'Decline button appearance', 'actirise' ),
										'desc'         => __( 'You can define the background color, font color, and also the hover border color. Click on the "Preview" link to see how the consent popup will look with your changes in real time.', 'actirise' ),
										'bg_label'     => __( 'Decline button background color', 'actirise' ),
										'font_label'   => __( 'Decline button font color', 'actirise' ),
										'border_label' => __( 'Decline button hover border color', 'actirise' ),
									),
									'parameters' => array(
										'title'        => __( 'Parameters button appearance', 'actirise' ),
										'desc'         => __( 'You can define the background color, font color, and also the hover border color. Click on the "Preview" link to see how the consent popup will look with your changes in real time.', 'actirise' ),
										'bg_label'     => __( 'Parameters button background color', 'actirise' ),
										'font_label'   => __( 'Parameters button font color', 'actirise' ),
										'border_label' => __( 'Parameters button hover border color', 'actirise' ),
									),
								),
								'advanced' => array(
									'title'   => __( 'Advanced settings', 'actirise' ),
									'alert'   => __( 'The following settings are only for advanced users. If you are not sure what you are doing, please do not change these settings.', 'actirise' ),
									'iab'     => array(
										'title'   => __( 'IAB Framework', 'actirise' ),
										'desc'    => __( 'You can choose between TCF v2.3 (for GDPR and ePrivacy compliance, mainly in the EU) and TCF Canada (for privacy regulations specific to the Canadian market). Make sure to select the version that best matches your legal and geographical requirements.', 'actirise' ),
										'label'   => __( 'IAB Framework', 'actirise' ),
										'options' => array(
											'tcfv23'    => __( 'TCF V2.3', 'actirise' ),
											'tcfcanada' => __( 'TCF Canada', 'actirise' ),
										),
									),
									'vendors' => array(
										'title'   => __( 'Vendors', 'actirise' ),
										'desc'    => __( 'This interface shows you the current status and list of active vendors on your CMP. You can uncheck any vendors you prefer not to work with based on your privacy preferences or business needs. You can also manually add custom vendors by entering their name and ID.', 'actirise' ),
										'iab'     => __( 'IAB', 'actirise' ),
										'google'  => __( 'Google', 'actirise' ),
										'custom'  => __( 'Custom', 'actirise' ),
										'customs' => array(
											'name' => __( 'Name', 'actirise' ),
											'id'   => __( 'ID', 'actirise' ),
											'add'  => __( 'Add', 'actirise' ),
										),
									),
									'css'     => array(
										'title' => __( 'Custom Style (CSS)', 'actirise' ),
										'desc'  => __( 'You can also add custom styles using standard CSS syntax to further personalize the appearance of the consent popup beyond the available settings.', 'actirise' ),
									),
								),
								'google'   => array(
									'title'       => __( 'Google Consent Mode', 'actirise' ),
									'desc'        => __( 'Google Consent Mode helps your website respect user privacy choices with Google products. When enabled, Google services like Google Ads and Google Analytics automatically adjust based on users\' consent choices from FastCMP.', 'actirise' ),
									'alert'       => __( 'For more detailed or technical information, please visit <a href="https://eu.fastcmp.com/#google-consent-mode" target="_blank">FastCMP documentation</a> or <a href="https://support.google.com/google-ads/answer/10000067" target="_blank">Google’s documentation</a>.<br />The default configuration of FastCMP is designed to meet the requirements of the <a href="https://www.google.com/about/company/user-consent-policy/" target="_blank">Google EU User Consent Policy</a>.', 'actirise' ),
									'switch'      => array(
										'true'  => __( 'Activate Google Consent mode on FastCMP', 'actirise' ),
										'false' => __( 'Activate Google Consent mode on FastCMP', 'actirise' ),
									),
									'advanced'    => array(
										'title'   => __( 'Advanced mode', 'actirise' ),
										'default' => __( 'Default', 'actirise' ),
										'desc'    => __( 'Advanced Mode helps your website respect user privacy while still collecting important insights. If users decline consent, Google services will use anonymous signals to estimate behavior, allowing you to retain valuable data.', 'actirise' ),
										'info'    => __( 'No additional configuration is required to activate Advanced Mode.', 'actirise' ),
									),
									'basic'       => array(
										'title' => __( 'Basic mode', 'actirise' ),
										'desc'  => __( 'Basic Mode keeps Google services inactive until the user interacts with the consent banner. Tracking starts only if the user gives consent; otherwise, no data is sent to Google. Implementing this mode requires additional configuration: Google service scripts must be managed either via Google Tag Manager (GTM) or by modifying script loads manually.', 'actirise' ),
										'info'  => __( 'For detailed instructions, please refer to the step-by-step guide: <a href="https://eu.fastcmp.com/#gcm-basic-mode" target="_blank">https://eu.fastcmp.com/#gcm-basic-mode</a>.', 'actirise' ),
									),
									'tags_status' => array(
										'title'  => __( 'Google tags status', 'actirise' ),
										'desc'   => __( 'The default consent status is the setting applied when a user first arrives on your website, before interaction with the consent banner. The recommended default settings have been configured for your site. While adjustments are possible if required, we advise caution as changes may impact compliance and data accuracy.', 'actirise' ),
										'switch' => array(
											'granted' => __( 'Granted', 'actirise' ),
											'denied'  => __( 'Denied', 'actirise' ),
											'true'    => __( 'Change default user\'s consent status', 'actirise' ),
											'false'   => __( 'Change default user\'s consent status', 'actirise' ),
											'not_recommended' => __( 'Not recommended', 'actirise' ),
											'region'  => array(
												'switch_true' => __( 'Add region specific default status', 'actirise' ),
												'switch_false' => __( 'Add region specific default status', 'actirise' ),
												'desc' => __( 'To change the default behavior of your tags for users from certain regions, specify a region in your consent command. By providing a region value, you can fine-tune defaults based on your users\' geographic locations. See <a href="https://developers.google.com/analytics/devguides/collection/protocol/v1/geoid" target="_blank">Geographical IDs</a> for more information on identifying regions. More information on our documentation: <a href="https://eu.fastcmp.com/#gcm-region-based-default-consent" target="_blank">https://eu.fastcmp.com/#gcm-region-based-default-consent</a>', 'actirise' ),
											),
										),
									),
									'debug'       => array(
										'title'  => __( 'Debug Mode', 'actirise' ),
										'whatis' => array(
											'title' => __( 'What is Debug Mode?', 'actirise' ),
											'desc'  => __( 'Debug Mode helps you check if your consent settings are correctly sent from FastCMP to Google Tag Manager . It\'s useful for troubleshooting, like for consent signal errors, and ensuring that Google Consent Mode is working properly.', 'actirise' ),
											'desc2' => __( 'You can check consent signals by opening your browser\'s console', 'actirise' ),
											'universal_title' => __( 'Universal', 'actirise' ),
											'universal_kbd' => __( 'Right-click -> Inspect -> Console', 'actirise' ),
										),
										'howto'  => array(
											'title'    => __( 'How to Activate Debug Mode', 'actirise' ),
											'desc'     => __( 'Debug Mode will only stay active only in your current tab and turns off automatically when you close it.', 'actirise' ),
											'enabled'  => __( 'To enable debug mode', 'actirise' ),
											'disabled' => __( 'To disable debug mode', 'actirise' ),
										),
										'more'   => __( 'For more details, please visit <a href="https://eu.fastcmp.com/#gcm-help-debug-mode" target="_blank">Consent Mode Debug documentation</a>.', 'actirise' ),
									),
								),
							),
						),
					),
					'settings' => array(
						'title'       => __( 'Analytics Settings', 'actirise' ),
						'desc'        => __( 'In this section, you\'ll be able to customize key settings to better analyze your performance. Set your display currency and define custom variables to track more granular revenue insights.', 'actirise' ),
						'ajax'        => array(
							'success' => __( 'Settings saved', 'actirise' ),
							'error'   => __( 'An error occurred while saving settings', 'actirise' ),
						),
						'currency'    => array(
							'title' => __( 'Currency', 'actirise' ),
							'desc'  => __( 'Select currency for estimated revenue KPIs. <strong>For display purposes only, not intended as billing statements.</strong>', 'actirise' ),
						),
						'custom_var'  => array(
							'title'  => __( 'Custom var', 'actirise' ),
							'desc'   => __( 'Custom variables are additional data that you can track with your analytics tool. They allow you to measure more specific metrics such as RPM (revenue per thousand views) by author or category. By using custom variables, you can better understand how different elements of your site affect your revenues and help you make informed decisions to optimize your performance.', 'actirise' ),
							'label1' => __( 'Custom Var 1', 'actirise' ),
							'label2' => __( 'Custom Var 2', 'actirise' ),
							'label3' => __( 'Custom Var 3', 'actirise' ),
							'label4' => __( 'Custom Var 4', 'actirise' ),
							'label5' => __( 'Custom Var 5', 'actirise' ),
						),
						'nopub'       => array(
							'title' => __( 'No Ad', 'actirise' ),
							'desc'  => __( 'Our "No Ad" feature allows you to exclude specific pages from being served ads. Use the search bar to easily find specific posts, pages, categories or tags to exclude.', 'actirise' ),
							'form'  => array(
								'input'   => __( 'Search for a Title or URL', 'actirise' ),
								'loading' => __( 'Loading...', 'actirise' ),
								'no_data' => __( 'No data found', 'actirise' ),
								'button'  => __( 'Add URL to exclude', 'actirise' ),
							),
							'ajax'  => array(
								'url_already_exists' => __( 'Url already exists in the list', 'actirise' ),
								'url_added'          => __( 'Url added to the list', 'actirise' ),
								'url_removed'        => __( 'URL removed from the list', 'actirise' ),
							),
						),
						'auto_update' => array(
							'title' => __( 'Auto Update', 'actirise' ),
							'desc'  => __( 'Keeping your Actirise plugin updated ensures optimal performance, compatibility with the latest WordPress version, other plugins, and our services. Updates also introduce new features, enhancing user experience and site capabilities.', 'actirise' ),
							'label' => __( 'Activate Auto Update', 'actirise' ),
							'ajax'  => array(
								'success' => __( 'Auto update saved', 'actirise' ),
								'error'   => __( 'An error occurred while saving the auto update', 'actirise' ),
							),
						),
						'debug'       => array(
							'title' => __( 'Diagnostic', 'actirise' ),
							'desc'  => __( 'By sending diagnostic data, you can help Actirise enhance its products and services. Enabling this feature allows our plugin to gather essential information such as your site\'s encoding, installed and activated plugins, and other relevant details. This helps us gain a better understanding of your site\'s configuration and deliver faster, more precise assistance when needed. Please note that no personal data is collected or communicated. The gathered information is solely technical, used for resolving issues, and is not shared with any third parties.', 'actirise' ),
							'label' => __( 'Activate diagnostic', 'actirise' ),
							'ajax'  => array(
								'success' => __( 'Share system data updated', 'actirise' ),
								'error'   => __( 'An error occurred while updating Share system data', 'actirise' ),
							),
						),
						'diagnostic'  => array(
							'title'          => __( 'Diagnostic Information', 'actirise' ),
							'desc'           => __( 'Include the following information in any private support requests, but do not share this publicly.', 'actirise' ),
							'action_history' => __( 'Action History', 'actirise' ),
							'logs'           => __( 'Logs', 'actirise' ),
						),
					),
					'optimization' => array(
						'title'                   => __( 'Optimization Center', 'actirise' ),
						'description'             => __( 'Welcome to your Optimization Center. Use this dashboard to monitor your integration progress and ensure your site is perfectly configured for a successful launch. You can also use this page to monitor your initial 30-day ramp-up journey and track your progress toward full monetization.', 'actirise' ),
						'description_post_rampup' => __( 'Welcome to your Optimization Center. Use this dashboard to ensure your site is perfectly optimized for high-quality ad serving and performance.', 'actirise' ),
						'welcome'                 => array(
							'title'       => __( 'Congratulations! Your site is now ready and starting to display ads with Actirise!', 'actirise' ),
							'description' => __( 'You can now monitor your ramp-up progress here. We recommend completing the optimization checklist located just below to maximize your revenue potential during this launch phase.', 'actirise' ),
						),
						'ramp_up'                 => array(
							'title'      => __( '30-Day Ramp-Up Journey', 'actirise' ),
							'started_on' => __( 'Started on {date}', 'actirise' ),
							'status'     => array(
								'done'        => __( 'DONE', 'actirise' ),
								'in_progress' => __( 'IN PROGRESS', 'actirise' ),
								'planned'     => __( 'PLANNED', 'actirise' ),
								'complete'    => __( 'Complete', 'actirise' ),
							),
							'phase1'     => array(
								'title' => __( 'Launch & Initial Setup', 'actirise' ),
								'intro' => __( 'Your domain is submitted for validation across more than <strong>30 premium advertising partners</strong>. During this phase:', 'actirise' ),
								'items' => array(
									'buyer_validation' => array(
										'label' => __( 'Buyer validation:', 'actirise' ),
										'text'  => __( 'Global buyers crawl your domain to review editorial content, verify ads.txt compliance, and map initial inventory. This verification can take up to 7 days depending on the advertising partner\'s schedule.', 'actirise' ),
									),
									'initial_testing'  => array(
										'label' => __( 'Initial Testing:', 'actirise' ),
										'text'  => __( 'Advertising partners begin to invest in your inventory with small test budgets. This allows them to confirm technical delivery, validate authorized supply paths, and start measuring the baseline performance of your traffic.', 'actirise' ),
									),
								),
							),
							'phase2'     => array(
								'title' => __( 'Optimization & Performance Scaling', 'actirise' ),
								'intro' => __( 'This is the strategic "learning" window where your inventory gains traction in the open market:', 'actirise' ),
								'items' => array(
									'data_analysis' => array(
										'label' => __( 'Data analysis:', 'actirise' ),
										'text'  => __( 'Buyers analyze key performance indicators (KPIs) such as CTR (Click-Through Rate) and Viewability.', 'actirise' ),
									),
									'algorithmic_adjustment' => array(
										'label' => __( 'Algorithmic adjustment:', 'actirise' ),
										'text'  => __( 'Demand-side AI and bidding algorithms adjust budgets and purchase prices. As your inventory is discovered and tested, advertising partners refine their strategies to optimize and scale bidding.', 'actirise' ),
									),
									'revenue_growth' => array(
										'label' => __( 'Revenue growth:', 'actirise' ),
										'text'  => __( 'You will typically observe a progressive increase in revenue and CPM during this period as your inventory is correctly valued by the market\'s automated systems.', 'actirise' ),
									),
								),
							),
							'phase3'     => array(
								'title' => __( 'Consolidation & Advanced Yield Management', 'actirise' ),
								'intro' => __( 'By this stage, your inventory is recognized as a reliable and high-quality supply source:', 'actirise' ),
								'items' => array(
									'premium_demand' => array(
										'label' => __( 'Premium demand:', 'actirise' ),
										'text'  => __( 'Advertising partners move beyond testing to deploy more consistent, premium budgets and advanced buying algorithms.', 'actirise' ),
									),
									'proactive_optimization' => array(
										'label' => __( 'Proactive optimization:', 'actirise' ),
										'text'  => __( 'The Actirise team actively engages with underperforming advertising partners to resolve specific bottlenecks (such as legacy blocklists or crawling issues).', 'actirise' ),
									),
									'stabilization' => array(
										'label' => __( 'Stabilization:', 'actirise' ),
										'text'  => __( 'Bidding prices stabilize at their optimal level, ensuring your inventory is fully synchronized with global market demand.', 'actirise' ),
									),
								),
							),
							'tip'        => array(
								'label' => __( 'Stability:', 'actirise' ),
								'text'  => __( 'Avoid layout or ad placement changes during the first 30 days for a faster ramp-up.', 'actirise' ),
							),
						),
						'editorial_tips'          => array(
							'title'     => __( 'Editorial tips', 'actirise' ),
							'resources' => array(
								'title'          => __( 'Resources', 'actirise' ),
								'ramp_up_guide'  => __( 'Ramp-up guide', 'actirise' ),
								'best_practices' => __( 'Best practices', 'actirise' ),
								'faq'            => __( 'FAQ', 'actirise' ),
							),
							'panels'    => array(
								'enhance_readability' => array(
									'title' => __( 'Enhance Readability', 'actirise' ),
									'tips'  => array(
										'font_size'   => array(
											'title'       => __( 'Font Size (18px-20px)', 'actirise' ),
											'description' => __( 'Larger text is better for mobile users. It naturally extends your page length, creating more high-value space for ads without feeling crowded.', 'actirise' ),
										),
										'line_height' => array(
											'title'       => __( 'Line Height', 'actirise' ),
											'description' => __( 'Increase the space between lines. This makes your website "scannable" and keeps users on the page longer.', 'actirise' ),
										),
									),
								),
								'break_up_text' => array(
									'title' => __( 'Break Up Your Text', 'actirise' ),
									'tips'  => array(
										'short_paragraphs' => array(
											'title'       => __( 'Short Paragraphs', 'actirise' ),
											'description' => __( 'Limit paragraphs to 2-3 sentences.', 'actirise' ),
											'extra_label' => __( 'The Benefit:', 'actirise' ),
											'extra_text'  => __( 'Our AI identifies natural breaks to place native ads. More paragraphs create more opportunities for ads to appear in high-viewability spots.', 'actirise' ),
										),
									),
								),
								'strategic_content_placement' => array(
									'title' => __( 'Strategic Content Placement', 'actirise' ),
									'tips'  => array(
										'scroll_strategy' => array(
											'title'       => __( 'The "Scroll" Strategy', 'actirise' ),
											'description' => __( 'Avoid putting the "answer" to a user\'s query in the very first sentence.', 'actirise' ),
											'extra_text'  => __( 'Place your main content after a few introductory paragraphs or an image. This encourages scrolling, which "activates" more ad slots and increases revenue per visit.', 'actirise' ),
										),
									),
								),
								'smart_image_use' => array(
									'title' => __( 'Smart Image Use', 'actirise' ),
									'tips'  => array(
										'spacing'         => array(
											'title'       => __( 'Spacing', 'actirise' ),
											'description' => __( 'Avoid placing two ads directly next to each other (maintain healthy Ad Density).', 'actirise' ),
										),
										'visual_stoppers' => array(
											'title'       => __( 'Visual Stoppers', 'actirise' ),
											'description' => __( 'Place high-quality images every few paragraphs. Images slow down the user\'s scroll, which drastically increases the Viewability score of the ads nearby.', 'actirise' ),
										),
									),
								),
								'content_length' => array(
									'title' => __( 'Content Length', 'actirise' ),
									'tips'  => array(
										'article_length' => array(
											'title'        => __( 'Target', 'actirise' ),
											'description'  => __( 'Aim for articles of at least 700 words.', 'actirise' ),
											'extra_label'  => __( 'Why?', 'actirise' ),
											'extra_text'   => __( 'Longer articles create a "snowball effect" on your earnings. The more time a reader spends on your page, the more opportunities our AI has to show ads naturally.', 'actirise' ),
											'extra_text_2' => __( 'Short content (under 300 words) limits ad space to protect your user experience, while longer content (700 words and beyond) maximizes your revenue from every single visit.', 'actirise' ),
										),
									),
								),
							),
						),
						'checklist'               => array(
							'title'           => __( 'Setup Optimization Checklist', 'actirise' ),
							'progress'        => __( 'Tasks completed {completed}/{total}', 'actirise' ),
							'actions'         => array(
								'configure' => __( 'Configure', 'actirise' ),
								'mark_done' => __( 'Mark as done', 'actirise' ),
								'undo'      => __( 'Undo', 'actirise' ),
								'complete'  => __( 'Complete', 'actirise' ),
							),
							'missing_devices' => array(
								'desktop'            => __( 'desktop', 'actirise' ),
								'mobile'             => __( 'mobile', 'actirise' ),
								'desktop_and_mobile' => __( 'desktop & mobile', 'actirise' ),
							),
							'categories'      => array(
								'critical_setup' => __( 'Critical setup', 'actirise' ),
								'revenue_impact' => __( 'Revenue impact', 'actirise' ),
								'fine_tuning'    => __( 'Fine tuning', 'actirise' ),
							),
							'items'           => array(
								'hosted_adstxt' => array(
									'title'       => __( 'Enable Actirise-hosted ads.txt', 'actirise' ),
									'description' => __( 'Use Actirise-hosted ads.txt for automatic updates and error-free synchronization.', 'actirise' ),
								),
								'cache_exclusion' => array(
									'title'       => __( 'Setup Cache Exclusion', 'actirise' ),
									'description' => __( 'Exclude Actirise from your caching plugin to ensure all scripts and features function perfectly.', 'actirise' ),
									'link_text'   => __( 'Follow the setup guide here', 'actirise' ),
								),
								'fastcmp' => array(
									'title'       => __( 'Enable FastCMP', 'actirise' ),
									'description' => __( 'Use FastCMP to generate the required consent strings for high-paying targeted ads.', 'actirise' ),
								),
								'corner_ad' => array(
									'title'       => __( 'Enable Corner Ad format', 'actirise' ),
									'description' => __( 'Enable Corner ads to maximize Viewability and attract higher-paying bids.', 'actirise' ),
								),
								'rewards_ad' => array(
									'title'       => __( 'Enable Rewards Ad format', 'actirise' ),
									'description' => __( 'Enable Rewards ads to boost CTR and signal "Premium" status to buyers.', 'actirise' ),
								),
								'presized_divs' => array(
									'title'       => __( 'Enable Pre-sized Divs', 'actirise' ),
									'description' => __( 'Use Pre-sized Divs to improve your site performance and protect your Google SEO rankings.', 'actirise' ),
								),
								'editorial_best_practices' => array(
									'title'       => __( 'Apply Editorial Best Practices', 'actirise' ),
									'description' => __( 'Use editorial tips to optimize your content layout and maximize your revenue per visit.', 'actirise' ),
									'link_text'   => __( 'See all best practices here', 'actirise' ),
								),
							),
						),
					),
				),
				'gitbook' => array(
					'button' => array(
						'title' => __( 'AI Assistant', 'actirise' ),
					),
					'consent' => array(
						'title'       => __( 'Need help?', 'actirise' ),
						'description' => __( 'This assistant, powered by GitBook, makes your searches easier. The answers are generated by AI for informational purposes only and do not engage the responsibility of Sparteo.', 'actirise' ),
						'contact'     => __( 'If you have any doubts or complex questions, please do not hesitate to contact us directly.', 'actirise' ),
						'privacy'     => __( '<strong>We value your privacy</strong><br>No personal data is sent to or stored by GitBook or Actirise during your session.', 'actirise' ),
						'accept'      => __( 'I Accept', 'actirise' ),
						'decline'     => __( 'I Refuse', 'actirise' ),
					),
				),
			),
		);
	}

	/**
	 * Get the user locale for the admin area.
	 *
	 * @since    3.3
	 * @return string The locale for the current user.
	 */
	private function get_user_locale() {
		if ( ! function_exists( 'get_user_locale' ) ) {
			$user = wp_get_current_user();

			if ( ! $user ) {
				return get_locale();
			}

			/** @var string $locale */
			$locale = get_user_meta( $user->ID, 'locale', true );

			return $locale ? $locale : get_locale();
		} else {
			return get_user_locale();
		}
	}
}
