', '' ), '' . __( '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' ) . '', ); } /** * Pass tanslations 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', 'yoastPremiumBenefitsL10n', $this->get_translations_for_js() ); } }