Skip to content

Commit

Permalink
i18n-Translate für die Table-Description (#1488)
Browse files Browse the repository at this point in the history
  • Loading branch information
christophboecker authored Mar 20, 2024
1 parent 91dc706 commit d57c9cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/manager/lib/yform/manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public function getDataPage()
$this->setLinkVars($searchObject->getSearchVars());
}

$description = $popup || ('' == $this->table->getDescription()) ? '' : '<p>' . nl2br(rex_escape($this->table->getDescription())) . '</p>';
$description = $popup || ('' == $this->table->getDescription()) ? '' : '<p>' . nl2br(rex_escape(rex_i18n::translate($this->table->getDescription()))) . '</p>';

echo rex_extension::registerPoint(
new rex_extension_point(
Expand Down

0 comments on commit d57c9cd

Please sign in to comment.