private function render_admin_notice()
{
$content = sprintf('<p><strong>%s</strong></p>%s', sprintf(esc_html__('The plugin %s has been deactivated.', 'multilingual-press'), $this->plugin_name), $this->get_errors_as_string());
(new AdminNotice($content, ['type' => $this->errors ? 'error' : 'info']))->render();
}