@@ -78,8 +78,8 @@ |
||
| 78 | 78 | public static function getSelectTypes() |
| 79 | 79 | { |
| 80 | 80 | return [ |
| 81 | - ['value' => self::SELECT_TYPE_ALL, 'title' => _t(__CLASS__ . '.SELECT_ALL', 'Select from all options')], |
|
| 82 | - ['value' => self::SELECT_TYPE_CUSTOM, 'title' => _t(__CLASS__ . '.SELECT_CUSTOM', 'Manually add options')], |
|
| 81 | + ['value' => self::SELECT_TYPE_ALL, 'title' => _t(__CLASS__.'.SELECT_ALL', 'Select from all options')], |
|
| 82 | + ['value' => self::SELECT_TYPE_CUSTOM, 'title' => _t(__CLASS__.'.SELECT_CUSTOM', 'Manually add options')], |
|
| 83 | 83 | ]; |
| 84 | 84 | } |
| 85 | 85 | |
@@ -25,11 +25,11 @@ |
||
| 25 | 25 | |
| 26 | 26 | public function getCMSFields() |
| 27 | 27 | { |
| 28 | - $this->beforeUpdateCMSFields(function (FieldList $fields) { |
|
| 28 | + $this->beforeUpdateCMSFields(function(FieldList $fields) { |
|
| 29 | 29 | $fields->push(PresentedOptionsField::create( |
| 30 | 30 | 'Options', |
| 31 | 31 | $this->FilterFor, |
| 32 | - _t(__CLASS__ . '.OPTIONS', 'Presented options') |
|
| 32 | + _t(__CLASS__.'.OPTIONS', 'Presented options') |
|
| 33 | 33 | )); |
| 34 | 34 | }); |
| 35 | 35 | |