Skip to content
Snippets Groups Projects
Commit 809daf0c authored by Jaime Perez Crespo's avatar Jaime Perez Crespo
Browse files

Same as the previous commit, this time for includeInlineTranslation().

parent d2b00e15
No related branches found
No related tags found
No related merge requests found
......@@ -72,8 +72,8 @@ span.showhide {
$hide_text = $this->t('hide');
$attributes_text = $this->t('attributes_text');
foreach ($spList AS $spName => $spValues) {
$this->includeInlineTranslation('spname', $spValues['name']);
$this->includeInlineTranslation('spdescription', $spValues['description']);
$this->getTranslator()->includeInlineTranslation('spname', $spValues['name']);
$this->getTranslator()->includeInlineTranslation('spdescription', $spValues['description']);
if (!is_null($spValues['serviceurl'])) {
$htmlSpName = '<a href="' . $spValues['serviceurl'] . '" style="color: black; font-weight: bold;">' . htmlspecialchars($this->t('spname', array(), false, true)) . '</a>';
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment