Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter and Cancel submit button labels double translations #100

Open
LiborSitek opened this issue Jun 22, 2020 · 0 comments
Open

Filter and Cancel submit button labels double translations #100

LiborSitek opened this issue Jun 22, 2020 · 0 comments

Comments

@LiborSitek
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant