mirror of
https://github.com/silverstripe/silverstripe-subsites
synced 2024-10-22 11:05:55 +02:00
FIX Make subsite configuration CMS fields header label translatable
This commit is contained in:
parent
95e437d828
commit
961185a6fd
@ -49,6 +49,7 @@ en:
|
||||
SINGULARNAME: Subsite
|
||||
SiteConfigSubtitle: 'Your tagline here'
|
||||
SiteConfigTitle: 'Your Site Name'
|
||||
SubsiteConfigurationHeader: 'Subsite Configuration'
|
||||
TabTitleConfig: Configuration
|
||||
ValidateTitle: 'Please add a "Title"'
|
||||
SilverStripe\Subsites\Model\SubsiteDomain:
|
||||
|
@ -670,7 +670,10 @@ class Subsite extends DataObject
|
||||
|
||||
// Add the heading to the top of the fields list
|
||||
$fields->fieldByName('Root.Main')
|
||||
->unshift(HeaderField::create('ConfigForSubsiteHeaderField', 'Subsite Configuration'));
|
||||
->unshift(HeaderField::create(
|
||||
'ConfigForSubsiteHeaderField',
|
||||
_t(__CLASS__ . '.SubsiteConfigurationHeader', 'Subsite Configuration')
|
||||
));
|
||||
|
||||
$fields->addFieldToTab('Root.Main', DropdownField::create(
|
||||
'Language',
|
||||
|
Loading…
Reference in New Issue
Block a user