From 3794930400eea586ecf0d74f86df8a88571c2aa0 Mon Sep 17 00:00:00 2001 From: git <git@1846648.no-reply.drupal.org> Date: Sun, 19 Aug 2012 10:31:06 +0200 Subject: [PATCH] Issue #1736722 by lund.mikkel: Fixed 'Apply' gets double translated in Exposed Form plugin. --- .../views/Plugin/views/exposed_form/ExposedFormPluginBase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Drupal/views/Plugin/views/exposed_form/ExposedFormPluginBase.php b/lib/Drupal/views/Plugin/views/exposed_form/ExposedFormPluginBase.php index 9205fce875cb..8ce60dbc925f 100644 --- a/lib/Drupal/views/Plugin/views/exposed_form/ExposedFormPluginBase.php +++ b/lib/Drupal/views/Plugin/views/exposed_form/ExposedFormPluginBase.php @@ -41,7 +41,7 @@ function init(&$view, &$display, $options = array()) { function 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_label'] = array('default' => 'Reset', 'translatable' => TRUE); $options['exposed_sorts_label'] = array('default' => 'Sort by', 'translatable' => TRUE); -- GitLab