From 69585b681a938a4ae40b23cc33c12672b40f50e3 Mon Sep 17 00:00:00 2001
From: Leonidas Milosis '
+ . sprintf(
+ /* translators: %1$s resolves to ACF Content Analysis for Yoast SEO, %2$s resolves to Advanced Custom Fields, %3$s resolves to the minimum required ACF version. */
+ esc_html__(
+ '%1$s requires %2$s (free or pro) %3$s or higher to be installed and activated.',
+ 'acf-content-analysis-for-yoast-seo'
+ ),
+ 'ACF Content Analysis for Yoast SEO',
+ 'Advanced Custom Fields',
+ self::MINIMAL_REQUIRED_ACF_VERSION
+ )
+ . ' %s'
+ . sprintf(
+ /* translators: %1$s: Advanced Custom Fields */
+ esc_html__( 'Install latest %1$s', 'wordpress-seo-news' ),
+ 'Advanced Custom Fields'
+ )
+ . '
'
+ . ''
. sprintf(
/* translators: %1$s: Advanced Custom Fields */
- esc_html__( 'Install latest %1$s', 'wordpress-seo-news' ),
+ esc_html__( 'Install latest %1$s', 'acf-content-analysis-for-yoast-seo' ),
'Advanced Custom Fields'
)
. '
'
@@ -63,6 +63,7 @@ public function message_plugin_not_activated() {
),
'ACF Content Analysis for Yoast SEO',
'Advanced Custom Fields',
+ // phpcs:ignore WordPress.Security.EscapeOutput -- Reason: This is a hardcoded value.
self::MINIMAL_REQUIRED_ACF_VERSION
)
. '
' + . sprintf( + /* translators: %1$s resolves to ACF Content Analysis for Yoast SEO, %2$s resolves to Yoast SEO. */ + esc_html__( + '%1$s requires %2$s to be installed and activated.', + 'acf-content-analysis-for-yoast-seo' + ), + 'ACF Content Analysis for Yoast SEO', + 'Yoast SEO' + ) + . '
' + . '%s
' + . sprintf( + /* translators: %1$s resolves to Yoast SEO, %2$s resolves to ACF Content Analysis for Yoast SEO */ + esc_html__( + 'Please upgrade the %1$s plugin to the latest version to allow the %2$s module to work.', + 'acf-content-analysis-for-yoast-seo' + ), + 'Yoast SEO', + 'ACF Content Analysis for Yoast SEO' + ) + . '
' + . '%s
'; - printf( - /* translators: %1$s resolves to ACF Content Analysis for Yoast SEO */ - esc_html__( '%1$s could not be loaded because of missing files.', 'acf-content-analysis-for-yoast-seo' ), - 'ACF Content Analysis for Yoast SEO' + echo ( + '
' + . sprintf( + /* translators: %1$s resolves to ACF Content Analysis for Yoast SEO */ + esc_html__( + '%1$s could not be loaded because of missing files.', + 'acf-content-analysis-for-yoast-seo' + ), + 'ACF Content Analysis for Yoast SEO' + ) + . '
' + . '