From cd37e6b95311ed09562b0b7f1534dbba3b569506 Mon Sep 17 00:00:00 2001
From: Alex Pott <alex.a.pott@googlemail.com>
Date: Thu, 17 Sep 2015 14:16:31 +0100
Subject: [PATCH] Issue #2569295 by geertvd, lauriii: Replace remaining
 !placeholder for Non-URL HTML outputs only in #title lines

---
 .../src/FormElement/FormElementBase.php                   | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/core/modules/config_translation/src/FormElement/FormElementBase.php b/core/modules/config_translation/src/FormElement/FormElementBase.php
index 9f6261d125df..746ae1d620b1 100644
--- a/core/modules/config_translation/src/FormElement/FormElementBase.php
+++ b/core/modules/config_translation/src/FormElement/FormElementBase.php
@@ -100,9 +100,9 @@ protected function getSourceElement(LanguageInterface $source_language, $source_
 
     return array(
       '#type' => 'item',
-      '#title' => $this->t('@label <span class="visually-hidden">(!source_language)</span>', array(
+      '#title' => $this->t('@label <span class="visually-hidden">(@source_language)</span>', array(
         '@label' => $this->definition->getLabel(),
-        '!source_language' => $source_language->getName(),
+        '@source_language' => $source_language->getName(),
       )),
       '#markup' => $value,
     );
@@ -162,9 +162,9 @@ protected function getSourceElement(LanguageInterface $source_language, $source_
   protected function getTranslationElement(LanguageInterface $translation_language, $source_config, $translation_config) {
     // Add basic properties that apply to all form elements.
     return array(
-      '#title' => $this->t('@label <span class="visually-hidden">(!source_language)</span>', array(
+      '#title' => $this->t('@label <span class="visually-hidden">(@source_language)</span>', array(
         '@label' => $this->definition['label'],
-        '!source_language' => $translation_language->getName(),
+        '@source_language' => $translation_language->getName(),
       )),
       '#default_value' => $translation_config,
       '#attributes' => array('lang' => $translation_language->getId()),
-- 
GitLab