<?php declare( strict_types=1 );

namespace FernleafSystems\Wordpress\Plugin\Shield\Modules\Plugin\Lib\MeterAnalysis\Component;

abstract class AdeBase extends Base {

	use Traits\OptConfigBased;

	protected function getOptConfigKey() :string {
		return 'bot_protection_locations';
	}

	public function title() :string {
		return sprintf( __( '%s For Logins', 'wp-simple-firewall' ), self::con()->labels->getBrandName( 'silentcaptcha' ) );
	}

	public function descProtected() :string {
		return sprintf( __( 'The %s option is enabled.', 'wp-simple-firewall' ), self::con()->labels->getBrandName( 'silentcaptcha' ) );
	}

	public function descUnprotected() :string {
		return sprintf( __( "The %s option is disabled, removing brute force protection for login, register and lost password forms.", 'wp-simple-firewall' ), self::con()->labels->getBrandName( 'silentcaptcha' ) );
	}
}