diff --git a/core/modules/outside_in/src/Form/SystemBrandingOffCanvasForm.php b/core/modules/outside_in/src/Form/SystemBrandingOffCanvasForm.php
index 063041d..d55ac2c 100644
--- a/core/modules/outside_in/src/Form/SystemBrandingOffCanvasForm.php
+++ b/core/modules/outside_in/src/Form/SystemBrandingOffCanvasForm.php
@@ -6,6 +6,8 @@
 use Drupal\Core\DependencyInjection\ContainerInjectionInterface;
 use Drupal\Core\Form\FormStateInterface;
 use Drupal\Core\Plugin\PluginFormBase;
+use Drupal\Core\StringTranslation\StringTranslationTrait;
+use Drupal\Core\StringTranslation\TranslationInterface;
 use Symfony\Component\DependencyInjection\ContainerInterface;
 
 /**
@@ -15,6 +17,8 @@
  */
 class SystemBrandingOffCanvasForm extends PluginFormBase implements ContainerInjectionInterface {
 
+  use StringTranslationTrait;
+
   /**
    * The block plugin.
    *
@@ -37,6 +41,7 @@ class SystemBrandingOffCanvasForm extends PluginFormBase implements ContainerInj
    */
   public function __construct(ConfigFactoryInterface $config_factory) {
     $this->configFactory = $config_factory;
+    $this->stringTranslation = $this->getStringTranslation();
   }
 
   /**
@@ -63,20 +68,20 @@ public function buildConfigurationForm(array $form, FormStateInterface $form_sta
     $site_config = $this->configFactory->getEditable('system.site');
     $form['site_information'] = [
       '#type' => 'details',
-      '#title' => t('Site details'),
+      '#title' => $this->t('Site details'),
       '#open' => TRUE,
     ];
     $form['site_information']['site_name'] = [
       '#type' => 'textfield',
-      '#title' => t('Site name'),
+      '#title' => $this->t('Site name'),
       '#default_value' => $site_config->get('name'),
       '#required' => TRUE,
     ];
     $form['site_information']['site_slogan'] = [
       '#type' => 'textfield',
-      '#title' => t('Slogan'),
+      '#title' => $this->t('Slogan'),
       '#default_value' => $site_config->get('slogan'),
-      '#description' => t("How this is used depends on your site's theme."),
+      '#description' => $this->t("How this is used depends on your site's theme."),
     ];
 
     return $form;
