diff --git a/core/lib/Drupal/Core/Config/ConfigImporter.php b/core/lib/Drupal/Core/Config/ConfigImporter.php
index 837abc0..bbada79 100644
--- a/core/lib/Drupal/Core/Config/ConfigImporter.php
+++ b/core/lib/Drupal/Core/Config/ConfigImporter.php
@@ -551,7 +551,7 @@ protected function processExtensions(array &$context) {
     $operation = $this->getNextExtensionOperation();
     if (!empty($operation)) {
       $this->processExtension($operation['type'], $operation['op'], $operation['name']);
-      $context['message'] = t('Synchronizing extensions: @op @name.', array('@op' => $operation['op'], '@name' => $operation['name']));
+      $context['message'] = $this->t('Synchronizing extensions: @op @name.', array('@op' => $operation['op'], '@name' => $operation['name']));
       $processed_count = count($this->processedExtensions['module']['install']) + count($this->processedExtensions['module']['uninstall']);
       $processed_count += count($this->processedExtensions['theme']['uninstall']) + count($this->processedExtensions['theme']['install']);
       $context['finished'] = $processed_count / $this->totalExtensionsToProcess;
@@ -647,7 +647,7 @@ protected function finish(array &$context) {
     // The import is now complete.
     $this->lock->release(static::LOCK_NAME);
     $this->reset();
-    $context['message'] = t('Finalizing configuration synchronization.');
+    $context['message'] = $this->t('Finalizing configuration synchronization.');
     $context['finished'] = 1;
   }
 
diff --git a/core/lib/Drupal/Core/Entity/EntityDisplayRepository.php b/core/lib/Drupal/Core/Entity/EntityDisplayRepository.php
index 4c9bb8c..1ed8415 100644
--- a/core/lib/Drupal/Core/Entity/EntityDisplayRepository.php
+++ b/core/lib/Drupal/Core/Entity/EntityDisplayRepository.php
@@ -192,7 +192,7 @@ public function getFormModeOptionsByBundle($entity_type_id, $bundle) {
    *   An array of display mode labels, keyed by the display mode ID.
    */
   protected function getDisplayModeOptions($display_type, $entity_type_id) {
-    $options = array('default' => t('Default'));
+    $options = array('default' => $this->t('Default'));
     foreach ($this->getDisplayModesByEntityType($display_type, $entity_type_id) as $mode => $settings) {
       $options[$mode] = $settings['label'];
     }
diff --git a/core/lib/Drupal/Core/Menu/Form/MenuLinkDefaultForm.php b/core/lib/Drupal/Core/Menu/Form/MenuLinkDefaultForm.php
index 1062b2b..ce237b9 100644
--- a/core/lib/Drupal/Core/Menu/Form/MenuLinkDefaultForm.php
+++ b/core/lib/Drupal/Core/Menu/Form/MenuLinkDefaultForm.php
@@ -130,7 +130,7 @@ public function buildConfigurationForm(array $form, FormStateInterface $form_sta
 
     $form['expanded'] = array(
       '#type' => 'checkbox',
-      '#title' => t('Show as expanded'),
+      '#title' => $this->t('Show as expanded'),
       '#description' => $this->t('If selected and this menu link has children, the menu will always appear expanded.'),
       '#default_value' => $this->menuLink->isExpanded(),
     );
diff --git a/core/modules/language/tests/language_test/src/Controller/LanguageTestController.php b/core/modules/language/tests/language_test/src/Controller/LanguageTestController.php
index b494bb3..54cc9d0 100644
--- a/core/modules/language/tests/language_test/src/Controller/LanguageTestController.php
+++ b/core/modules/language/tests/language_test/src/Controller/LanguageTestController.php
@@ -80,7 +80,7 @@ public function typeLinkActiveClass() {
     return array(
       'no_language' => array(
         '#type' => 'link',
-        '#title' => t('Link to the current path with no langcode provided.'),
+        '#title' => $this->t('Link to the current path with no langcode provided.'),
         '#url' => Url::fromRoute('<current>'),
         '#options' => array(
           'attributes' => array(
@@ -91,7 +91,7 @@ public function typeLinkActiveClass() {
       ),
       'fr' => array(
         '#type' => 'link',
-        '#title' => t('Link to a French version of the current path.'),
+        '#title' => $this->t('Link to a French version of the current path.'),
         '#url' => Url::fromRoute('<current>'),
         '#options' => array(
           'language' => $languages['fr'],
@@ -103,7 +103,7 @@ public function typeLinkActiveClass() {
       ),
       'en' => array(
         '#type' => 'link',
-        '#title' => t('Link to an English version of the current path.'),
+        '#title' => $this->t('Link to an English version of the current path.'),
         '#url' => Url::fromRoute('<current>'),
         '#options' => array(
           'language' => $languages['en'],
diff --git a/core/modules/node/src/NodePermissions.php b/core/modules/node/src/NodePermissions.php
index fd28110..65c9318 100644
--- a/core/modules/node/src/NodePermissions.php
+++ b/core/modules/node/src/NodePermissions.php
@@ -70,7 +70,7 @@ protected function buildPermissions(NodeType $type) {
       ),
       "revert $type_id revisions" => array(
         'title' => $this->t('%type_name: Revert revisions', $type_params),
-        'description' => t('Role requires permission <em>view revisions</em> and <em>edit rights</em> for nodes in question, or <em>administer nodes</em>.'),
+        'description' => $this->t('Role requires permission <em>view revisions</em> and <em>edit rights</em> for nodes in question, or <em>administer nodes</em>.'),
       ),
       "delete $type_id revisions" => array(
         'title' => $this->t('%type_name: Delete revisions', $type_params),
