Skip to content
Snippets Groups Projects
Commit 37949304 authored by git's avatar git Committed by Tim Plunkett
Browse files

Issue #1736722 by lund.mikkel: Fixed 'Apply' gets double translated in Exposed Form plugin.

parent d1db5741
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -41,7 +41,7 @@ function init(&$view, &$display, $options = array()) { ...@@ -41,7 +41,7 @@ function init(&$view, &$display, $options = array()) {
function option_definition() { function option_definition() {
$options = parent::option_definition(); $options = parent::option_definition();
$options['submit_button'] = array('default' => t('Apply'), 'translatable' => TRUE); $options['submit_button'] = array('default' => 'Apply', 'translatable' => TRUE);
$options['reset_button'] = array('default' => FALSE, 'bool' => TRUE); $options['reset_button'] = array('default' => FALSE, 'bool' => TRUE);
$options['reset_button_label'] = array('default' => 'Reset', 'translatable' => TRUE); $options['reset_button_label'] = array('default' => 'Reset', 'translatable' => TRUE);
$options['exposed_sorts_label'] = array('default' => 'Sort by', 'translatable' => TRUE); $options['exposed_sorts_label'] = array('default' => 'Sort by', 'translatable' => TRUE);
......
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