Commit cd37e6b9 authored by alexpott's avatar alexpott

Issue #2569295 by geertvd, lauriii: Replace remaining !placeholder for Non-URL...

Issue #2569295 by geertvd, lauriii: Replace remaining !placeholder for Non-URL HTML outputs only in #title lines
parent d85ee2ed
......@@ -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()),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment