Skip to content

Commit

Permalink
Not translate select options.
Browse files Browse the repository at this point in the history
  • Loading branch information
devletech committed Jul 31, 2024
1 parent 3cc1731 commit 9209680
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
-->
### Fixed
- Volume names are not translated in the volume drop-down list on the reviewing grids list page.
- [#543](https://github.com/CCSDForge/episciences/issues/543): Not translate select options

## v1.0.44.3 - 2024-07-23
### Changed
Expand Down
3 changes: 2 additions & 1 deletion library/Episciences/GridsManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -285,8 +285,9 @@ public static function getCriterionForm(array $defaults = null): \Ccsd_Form
$form->addElement('select', 'coef', [
'label' => 'Coefficient',
'value' => 1,
'multioptions' => $array]);
]);

$form->getElement('coef')->setDisableTranslator(true)->setOptions(['multioptions' => $array]);

// rating type (quantitative)
$form->addElement('select', 'quantitative_rating_type', [
Expand Down

0 comments on commit 9209680

Please sign in to comment.