From dc385967a9b513caf48b86963ce651adb59177f5 Mon Sep 17 00:00:00 2001 From: DAnn2012 Date: Mon, 2 Mar 2026 21:59:42 +0100 Subject: [PATCH 1/2] Update Plugin.php --- EmbedPress/Plugins/Plugin.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/EmbedPress/Plugins/Plugin.php b/EmbedPress/Plugins/Plugin.php index c342e1986..0bf1e5ea0 100644 --- a/EmbedPress/Plugins/Plugin.php +++ b/EmbedPress/Plugins/Plugin.php @@ -59,7 +59,13 @@ protected static function isEmbedPressActive() protected static function getErrorMessage($err = '') { if ($err === 'ERR_MISSING_DEPENDENCY') { - return __('Please, install and activate ' . EMBEDPRESS . ' plugin in order to make ' . EMBEDPRESS . ' - ' . static::NAME . ' to work.'); + return sprintf( + __("Please, install and activate %s plugin in order to make %s - %s work.", 'embedpress'), + EMBEDPRESS_PLG_NAME, + EMBEDPRESS, + EMBEDPRESS, + static::NAME + ); } return $err; From e69f91083f6941b973728f37a2ea0f958420ec78 Mon Sep 17 00:00:00 2001 From: DAnn2012 Date: Wed, 18 Mar 2026 22:07:55 +0100 Subject: [PATCH 2/2] Update Plugin.php --- EmbedPress/Plugins/Plugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EmbedPress/Plugins/Plugin.php b/EmbedPress/Plugins/Plugin.php index 0bf1e5ea0..fad8baf4e 100644 --- a/EmbedPress/Plugins/Plugin.php +++ b/EmbedPress/Plugins/Plugin.php @@ -60,7 +60,7 @@ protected static function getErrorMessage($err = '') { if ($err === 'ERR_MISSING_DEPENDENCY') { return sprintf( - __("Please, install and activate %s plugin in order to make %s - %s work.", 'embedpress'), + __('Please, install and activate %s plugin in order to make %s - %s to work.', 'embedpress'), EMBEDPRESS_PLG_NAME, EMBEDPRESS, EMBEDPRESS,