facetwp change map filtering button text

<?php
/**
 ** modify text for map filtering button
 **/

add_filter( 'gettext', function ( $translated_text, $untranslated_text, $domain ) {
	if ( $translated_text == 'Enable filtering' && 'fwp-map' == $domain ) {
		$translated_text = 'Other text';
	}
	return $translated_text;
}, 10, 3 );