summaryrefslogtreecommitdiffstats
path: root/core/modules/locale/src/Form/TranslateEditForm.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/locale/src/Form/TranslateEditForm.php')
-rw-r--r--core/modules/locale/src/Form/TranslateEditForm.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/locale/src/Form/TranslateEditForm.php b/core/modules/locale/src/Form/TranslateEditForm.php
index 79656f2..659d296 100644
--- a/core/modules/locale/src/Form/TranslateEditForm.php
+++ b/core/modules/locale/src/Form/TranslateEditForm.php
@@ -219,7 +219,7 @@ class TranslateEditForm extends TranslateFormBase {
}
}
- drupal_set_message($this->t('The strings have been saved.'));
+ $this->messenger()->addStatus($this->t('The strings have been saved.'));
// Keep the user on the current pager page.
$page = $this->getRequest()->query->get('page');