Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion FormTemplateProcessor.module
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,8 @@ class FormTemplateProcessor extends WireData implements Module {
// any submissions without first receiving a rendered form. This isn't
// necessary, but it may help to reduce automated spam to the form.
$submit->name = "submit";
$submit->value = 'Submit';
// Enable language support on submit button value
$submit->value = $this->_('Submit');

// add the submit button the the form
$form->add($submit);
Expand Down