diff --git a/core/modules/config/lib/Drupal/config/Controller/ConfigController.php b/core/modules/config/lib/Drupal/config/Controller/ConfigController.php
index 68896d5137eaeb7cf4d6ef1a0eca5af6728aa09b..477268cff396abe2a7d93b3c3c6d3fb786cc800d 100644
--- a/core/modules/config/lib/Drupal/config/Controller/ConfigController.php
+++ b/core/modules/config/lib/Drupal/config/Controller/ConfigController.php
@@ -94,7 +94,7 @@ public function diff($config_file) {
 
     // @todo Remove use of drupal_set_title() when
     //   http://drupal.org/node/1871596 is in.
-    drupal_set_title('View changes of @config_file', array('@config_file' => $config_file));
+    drupal_set_title(t('View changes of @config_file', array('@config_file' => $config_file)), PASS_THROUGH);
 
     return $output;
   }
diff --git a/core/modules/config/lib/Drupal/config/Tests/ConfigImportUITest.php b/core/modules/config/lib/Drupal/config/Tests/ConfigImportUITest.php
index cf87bb396559cbdb523e31fec12bf4a85658873a..ad6ac3208084e7e3d54b4cf23405d8463b5c96fd 100644
--- a/core/modules/config/lib/Drupal/config/Tests/ConfigImportUITest.php
+++ b/core/modules/config/lib/Drupal/config/Tests/ConfigImportUITest.php
@@ -151,6 +151,7 @@ function testImportDiff() {
 
     // Load the diff UI and verify that the diff reflects the change.
     $this->drupalGet('admin/config/development/sync/diff/' . $config_name);
+    $this->assertTitle(format_string('View changes of @config_name | Drupal', array('@config_name' => $config_name)));
 
     // Reset data back to original, and remove a key
     $staging_data = $original_data;