Skip to content

Commit

Permalink
Fixed error messages translation
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-vince committed Mar 23, 2023
1 parent 7e870f6 commit 2956e96
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/SmallContactForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ public function getFieldHtmlCode(array $fieldSettings){

// Add help-block if there are errors
if(!empty($this->postData[$fieldSettings['name']]['error'])){
$output[] = '<small class=" invalid-feedback">' . Settings::getDictionaryTranslated($this->postData[$fieldSettings['name']]['error']) . "</small>";
$output[] = '<small class=" invalid-feedback">' . $this->postData[$fieldSettings['name']]['error'] . "</small>";
}

// Field attributes
Expand Down
4 changes: 3 additions & 1 deletion updates/version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -285,4 +285,6 @@
1.60.2:
- Fixed JS code for multiple form usage
1.61.0:
- Fixed custom validation rule (thanks @SamBrishes)
- Fixed custom validation rule (thanks @SamBrishes)
1.62.0:
- Fixed error messages translation (thanks @massimomegistus)

0 comments on commit 2956e96

Please sign in to comment.