Skip to content

Filter and Cancel submit button labels double translations #100

@LiborSitek

Description

@LiborSitek

Hi, labels on submit buttons 'filter' and 'cancel' in filter form are being translated twice - manually in the form and then automatically when rendering. I guess
#437: $form['filter']->addSubmit('filter', $this->translate('Filter'));
#440: $form['filter']->addSubmit('cancel', $this->translate('Cancel'));
should be
$form['filter']->addSubmit('filter', 'Filter');
$form['filter']->addSubmit('cancel', 'Cancel');
in Datagrid.php

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions