<?php
/**
 * Block Template String Extraction Registry
 *
 * Block templates (src/**\/block-templates/*.html) are plain HTML — their
 * text never passes through a PHP __() call the normal way, so `wp i18n
 * make-pot` has nothing to scan there. Every string wrapped in
 * <!-- ambh:i18n -->...<!-- /ambh:i18n --> inside a template file must have a
 * matching literal __() call here, purely so make-pot extracts it into the
 * .pot file. This class is never called at runtime — BlockTemplateLoader
 * does the actual translation lookup against the same 'ambassadorhub' domain.
 *
 * Keep this list in sync by hand: adding a new <!-- ambh:i18n --> string to
 * any template file means adding the same literal string here too.
 *
 * @package AmbassadorHub\Frontend
 */

namespace AmbassadorHub\Frontend;

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

/**
 * Never instantiated or called — exists only for translators/make-pot.
 */
final class BlockTemplateStrings {

	/**
	 * Unused. Exists only so `wp i18n make-pot` finds these strings.
	 *
	 * @return void
	 */
	private static function for_translators_only(): void {
		// src/Fundraisers/block-templates/single-fundraiser.html
		__( 'Donate to this cause', 'ambassadorhub' );
		__( 'All Fundraisers in this Group', 'ambassadorhub' );

		// src/Fundraisers/block-templates/archive-fundraiser.html
		__( 'No fundraisers found. Try a search with different keywords.', 'ambassadorhub' );

		// src/Campaigns/block-templates/single-campaign.html
		__( 'Start fundraising for this cause', 'ambassadorhub' );
		__( 'Create your own fundraiser and help reach the goal. Every contribution counts.', 'ambassadorhub' );
		__( 'Support a fundraiser', 'ambassadorhub' );

		// Petitions add-on — src/Petitions/block-templates/single-petition.html
		// (lives in a separate plugin, but shares this text domain — see the
		// Petitions plugin's own header-domain mismatch, documented where its
		// templates are registered).
		__( 'Sign this petition', 'ambassadorhub' );
		__( 'Recent signatures', 'ambassadorhub' );

		// Petitions add-on — src/Petitions/block-templates/archive-petition.html
		__( 'No petitions found yet.', 'ambassadorhub' );
	}
}
