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;