diff --git a/core/modules/config_translation/src/FormElement/FormElementBase.php b/core/modules/config_translation/src/FormElement/FormElementBase.php index 9f6261d125dfacc8770d38e1083684918d40ecf5..746ae1d620b198b38680628487d45f7edbcef0bb 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()),