From 7e8cebba2dcfff020848c66ead11d4f478ceb72b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuli=20Sillanp=C3=A4=C3=A4?= <samuli.sillanpaa@gmail.com> Date: Wed, 19 Dec 2018 14:57:17 +0200 Subject: [PATCH] Add missing translation to feedback form submit button label. (#1295) --- module/VuFind/src/VuFind/Form/Form.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/module/VuFind/src/VuFind/Form/Form.php b/module/VuFind/src/VuFind/Form/Form.php index 019db07043c..7da118a6657 100644 --- a/module/VuFind/src/VuFind/Form/Form.php +++ b/module/VuFind/src/VuFind/Form/Form.php @@ -284,7 +284,11 @@ class Form extends \Zend\Form\Form implements $elements[] = $element; } - $elements[] = ['type' => 'submit', 'name' => 'submit', 'label' => 'Send']; + $elements[]= [ + 'type' => 'submit', + 'name' => 'submit', + 'label' => $this->translate('Send') + ]; return $elements; } -- GitLab