' . __( 'Rank for up to 5 focus keywords per page', 'wordpress-seo' ) . '',
sprintf(
/* translators: %1$s expands to a 'strong' start tag, %2$s to a 'strong' end tag. */
__( '%1$sNo more dead links%2$s: easy redirect manager', 'wordpress-seo' ),
'', ''
),
'' . __( 'Superfast internal links suggestions', 'wordpress-seo' ) . '',
sprintf(
/* translators: %1$s expands to a 'strong' start tag, %2$s to a 'strong' end tag. */
__( '%1$sSocial media preview%2$s: Facebook & Twitter', 'wordpress-seo' ),
'', ''
),
'' . __( '24/7 support', 'wordpress-seo' ) . '',
'' . __( 'No ads!', 'wordpress-seo' ) . '',
);
}
/**
* Passes translations to JS for the Add Keyword JS component Premium benefits list.
*
* @return array Translated text strings for the Premium benefits list component.
*/
public function get_translations_for_js() {
$translations = $this->get_translations();
return array(
'locale' => WPSEO_Utils::get_user_locale(),
'intl' => $translations,
);
}
/**
* Prints the localized Premium benefits translations for JS.
*/
public function enqueue_translations() {
wp_localize_script( WPSEO_Admin_Asset_Manager::PREFIX . 'admin-global-script', 'yoastPremiumBenefitsForSynonymsL10n', $this->get_translations_for_js() );
}
}