diff --git a/core/modules/system/src/Form/ModulesListForm.php b/core/modules/system/src/Form/ModulesListForm.php
index 76c9ffa..88db76f 100644
--- a/core/modules/system/src/Form/ModulesListForm.php
+++ b/core/modules/system/src/Form/ModulesListForm.php
@@ -424,7 +424,7 @@ public function validateForm(array &$form, FormStateInterface $form_state) {
$form_state_values = $form_state->getValues();
$has_curl = function_exists('curl_init');
if (!$has_curl && $form_state_values['modules']['Core']['simpletest'] === 1) {
- $form_state->setError('modules', t('The PHP cURL library needs to be installed on the server. You should check the cURL status in PHP via phpinfo() or in the command line via `php -m | grep curl`. On Unix, you have to install the php5-curl extension. On Windows XAMPP, you have to enable the cURL extension by removing the ";" before "extension=php_curl.dll". Apache/nginx must be restarted after applying changes to the server.', array('@curl_url' => 'http://php.net/manual/curl.setup.php')));
+ $form_state->setError('modules', $this->t('The PHP cURL library needs to be installed on the server. You should check the cURL status in PHP via phpinfo() or in the command line via `php -m | grep curl`. On Unix, you have to install the php5-curl extension. On Windows XAMPP, you have to enable the cURL extension by removing the ";" before "extension=php_curl.dll". Apache/nginx must be restarted after applying changes to the server.', array('@curl_url' => 'http://php.net/manual/curl.setup.php')));
}
}