@@ -190,8 +190,7 @@ public function getCMSFields()
190
190
$ tags
191
191
]
192
192
);
193
-
194
- $ fields ->fieldByName ('Root.Categorisation ' )
193
+ $ fields ->findTab ('Root.Categorisation ' )
195
194
->addExtraClass ('blog-cms-categorisation ' )
196
195
->setTitle (_t (__CLASS__ . '.Categorisation ' , 'Categorisation ' ));
197
196
});
@@ -374,7 +373,7 @@ public function getSettingsFields()
374
373
'<a class="font-icon-info-circled toggle-description"></a> '
375
374
);
376
375
377
- $ editorField = ListboxField::create ('Editors ' , 'Editors ' , $ members )
376
+ $ editorField = ListboxField::create ('Editors ' , $ this -> fieldLabel ( 'Editors ' ) , $ members )
378
377
->setRightTitle ($ toggleButton )
379
378
->setDescription (
380
379
_t (
@@ -394,7 +393,7 @@ public function getSettingsFields()
394
393
if (!$ this ->canEditEditors ()) {
395
394
$ editorField = $ editorField ->performDisabledTransformation ();
396
395
}
397
- $ writerField = ListboxField::create ('Writers ' , 'Writers ' , $ members )
396
+ $ writerField = ListboxField::create ('Writers ' , $ this -> fieldLabel ( 'Writers ' ) , $ members )
398
397
->setRightTitle ($ toggleButton )
399
398
->setDescription (
400
399
_t (
@@ -414,7 +413,7 @@ public function getSettingsFields()
414
413
$ writerField = $ writerField ->performDisabledTransformation ();
415
414
}
416
415
417
- $ contributorField = ListboxField::create ('Contributors ' , 'Contributors ' , $ members )
416
+ $ contributorField = ListboxField::create ('Contributors ' , $ this -> fieldLabel ( 'Contributors ' ) , $ members )
418
417
// ->setMultiple(true)
419
418
->setRightTitle ($ toggleButton )
420
419
->setDescription (
@@ -443,6 +442,8 @@ public function getSettingsFields()
443
442
]
444
443
);
445
444
445
+ $ fields ->findTab ('Root.Users ' )->setTitle (_t (__CLASS__ . '.Users ' , 'Users ' ));
446
+
446
447
return $ fields ;
447
448
}
448
449
0 commit comments