Make search form's aria label to also support plugin localization (via label-domain property)

pull/6105/merge
Aleksander Machniak 7 years ago
parent bbb63c49c7
commit 55a1d6ef1b

@ -2055,7 +2055,7 @@ EOF;
$header = html::tag($attrib['ariatag'] ?: 'h2', array( $header = html::tag($attrib['ariatag'] ?: 'h2', array(
'id' => 'aria-label-' . $attrib['label'], 'id' => 'aria-label-' . $attrib['label'],
'class' => 'voice' 'class' => 'voice'
), rcube::Q($this->app->gettext('arialabel' . $attrib['label']))); ), rcube::Q($this->app->gettext('arialabel' . $attrib['label'], $attrib['label-domain'])));
if ($attrib['options']) { if ($attrib['options']) {
$options_button = $this->button(array( $options_button = $this->button(array(

Loading…
Cancel
Save