diff --git a/core/modules/config_translation/src/Controller/ConfigTranslationController.php b/core/modules/config_translation/src/Controller/ConfigTranslationController.php index 0791e6c..2dc7603 100644 --- a/core/modules/config_translation/src/Controller/ConfigTranslationController.php +++ b/core/modules/config_translation/src/Controller/ConfigTranslationController.php @@ -129,7 +129,7 @@ public function itemPage(Request $request, RouteMatchInterface $route_match, $pl $languages = $this->languageManager->getLanguages(); if (count($languages) == 1) { - drupal_set_message($this->t('In order to translate configuration, the website must have at least two languages.', array('@url' => $this->url('entity.configurable_language.collection')))); + drupal_set_message($this->t('In order to translate configuration, the website must have at least two languages.', array('@url' => $this->url('entity.configurable_language.collection'))), 'warning'); } $original_langcode = $mapper->getLangcode(); if (!isset($languages[$original_langcode])) {