Skip to content

Commit

Permalink
fix(form): typo
Browse files Browse the repository at this point in the history
  • Loading branch information
btry committed Jan 31, 2022
1 parent 49c578e commit 7414ff7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion inc/form.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ public static function getSpecificValueToDisplay($field, $values, array $options

case 'language' :
if (empty($values[$field])) {
return __('All langages', 'formcreator');
return __('All languages', 'formcreator');
} else {
return Dropdown::getLanguageName($values[$field]);
}
Expand Down
2 changes: 1 addition & 1 deletion templates/pages/form.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
<div class="col-xxl-7 field-container">
{% do call('Dropdown::showLanguages', ['language', {
'display_emptychoice': true,
'emptylabel': '--- ' ~ __('All langages', 'formcreator') ~ ' ---',
'emptylabel': '--- ' ~ __('All languages', 'formcreator') ~ ' ---',
'value': language,
'rand': rand,
'width': '100%',
Expand Down

0 comments on commit 7414ff7

Please sign in to comment.