mirror of
https://github.com/silverstripe/silverstripe-subsites
synced 2024-10-22 11:05:55 +02:00
FIX Add localisation for missing SITECONTENTLEFT and run text collector
This commit is contained in:
parent
c343542106
commit
9822807a58
31
lang/en.yml
31
lang/en.yml
@ -3,17 +3,12 @@ en:
|
|||||||
SUBSITENOTICE: 'Folders and files created in the main site are accessible by all subsites.'
|
SUBSITENOTICE: 'Folders and files created in the main site are accessible by all subsites.'
|
||||||
DomainNameField:
|
DomainNameField:
|
||||||
INVALID_DOMAIN: 'Invalid domain name'
|
INVALID_DOMAIN: 'Invalid domain name'
|
||||||
GridFieldAddFromTemplateButton:
|
|
||||||
AddFromTemplate: 'Add New from Template'
|
|
||||||
LeftAndMain_Menu:
|
|
||||||
Hello: Hi
|
|
||||||
LOGOUT: 'Log out'
|
|
||||||
SilverStripe\CMS\Model\VirtualPage:
|
SilverStripe\CMS\Model\VirtualPage:
|
||||||
EDITCONTENT: 'Click here to edit the content'
|
EDITCONTENT: 'Click here to edit the content'
|
||||||
SilverStripe\Subsites\Admin\SubsiteAdmin:
|
SilverStripe\Subsites\Admin\SubsiteAdmin:
|
||||||
MENUTITLE: Subsites
|
MENUTITLE: Subsites
|
||||||
SilverStripe\Subsites\Controller\SubsiteXHRController:
|
SilverStripe\Subsites\Controller\SubsiteXHRController:
|
||||||
MENUTITLE: SubsiteXHRController
|
MENUTITLE: SilverStripe\Subsites\Controller\SubsiteXHRController
|
||||||
SilverStripe\Subsites\Extensions\FileSubsites:
|
SilverStripe\Subsites\Extensions\FileSubsites:
|
||||||
AllSitesDropdownOpt: 'All sites'
|
AllSitesDropdownOpt: 'All sites'
|
||||||
SubsiteFieldLabel: Subsite
|
SubsiteFieldLabel: Subsite
|
||||||
@ -26,6 +21,7 @@ en:
|
|||||||
MANAGE_SUBSITES_HELP: 'Ability to limit the permissions for a group to one or more subsites.'
|
MANAGE_SUBSITES_HELP: 'Ability to limit the permissions for a group to one or more subsites.'
|
||||||
SECURITYTABTITLE: Subsites
|
SECURITYTABTITLE: Subsites
|
||||||
SilverStripe\Subsites\Extensions\LeftAndMainSubsites:
|
SilverStripe\Subsites\Extensions\LeftAndMainSubsites:
|
||||||
|
SITECONTENTLEFT: 'Site Content'
|
||||||
Saved: 'Saved, please update related pages.'
|
Saved: 'Saved, please update related pages.'
|
||||||
SilverStripe\Subsites\Extensions\SiteTreeSubsites:
|
SilverStripe\Subsites\Extensions\SiteTreeSubsites:
|
||||||
CopyAction: Copy
|
CopyAction: Copy
|
||||||
@ -33,30 +29,31 @@ en:
|
|||||||
CopyToSubsiteWithChildren: 'Include children pages?'
|
CopyToSubsiteWithChildren: 'Include children pages?'
|
||||||
SubsiteOperations: 'Subsite Operations'
|
SubsiteOperations: 'Subsite Operations'
|
||||||
SilverStripe\Subsites\Model\Subsite:
|
SilverStripe\Subsites\Model\Subsite:
|
||||||
COPYSTRUCTURE: 'Copy structure from:'
|
|
||||||
CopyMessage: 'Created a copy of {title}'
|
CopyMessage: 'Created a copy of {title}'
|
||||||
CustomExtraMeta: 'Custom Meta Tags'
|
CustomExtraMeta: 'Custom Meta Tags'
|
||||||
CustomMetaDescription: Description
|
CustomMetaDescription: Description
|
||||||
CustomMetaKeywords: Keywords
|
CustomMetaKeywords: Keywords
|
||||||
CustomMetaTitle: Title
|
CustomMetaTitle: Title
|
||||||
DOMAINSAVEFIRST: 'You can only add domains after saving for the first time'
|
|
||||||
DomainsHeadline: 'Domains for this subsite'
|
|
||||||
DomainsListTitle: Domains
|
DomainsListTitle: Domains
|
||||||
IsPublicHeaderField: 'Active subsite'
|
|
||||||
NOTEMPLATE: 'No template'
|
|
||||||
PLURALNAME: Subsites
|
PLURALNAME: Subsites
|
||||||
|
PLURALS:
|
||||||
|
one: 'A Subsite'
|
||||||
|
other: '{count} Subsites'
|
||||||
PageTypeBlacklistField: 'Disallow page types?'
|
PageTypeBlacklistField: 'Disallow page types?'
|
||||||
SINGULARNAME: Subsite
|
SINGULARNAME: Subsite
|
||||||
SiteConfigSubtitle: 'Your tagline here'
|
SiteConfigSubtitle: 'Your tagline here'
|
||||||
SiteConfigTitle: 'Your Site Name'
|
SiteConfigTitle: 'Your Site Name'
|
||||||
SubsiteConfigurationHeader: 'Subsite Configuration'
|
SubsiteConfigurationHeader: 'Subsite Configuration'
|
||||||
TabTitleConfig: Configuration
|
ThemeFieldEmptyString: '-'
|
||||||
ValidateTitle: 'Please add a "Title"'
|
ValidateTitle: 'Please add a "Title"'
|
||||||
SilverStripe\Subsites\Model\SubsiteDomain:
|
SilverStripe\Subsites\Model\SubsiteDomain:
|
||||||
DOMAIN: Domain
|
DOMAIN: Domain
|
||||||
DOMAIN_DESCRIPTION: 'Hostname of this subsite (exclude protocol). Allows wildcards (*).'
|
DOMAIN_DESCRIPTION: 'Hostname of this subsite (exclude protocol). Allows wildcards (*).'
|
||||||
IS_PRIMARY: 'Is Primary Domain?'
|
IS_PRIMARY: 'Is Primary Domain?'
|
||||||
PLURALNAME: 'Subsite Domains'
|
PLURALNAME: 'Subsite Domains'
|
||||||
|
PLURALS:
|
||||||
|
one: 'A Subsite Domain'
|
||||||
|
other: '{count} Subsite Domains'
|
||||||
PROTOCOL_AUTOMATIC: Automatic
|
PROTOCOL_AUTOMATIC: Automatic
|
||||||
PROTOCOL_DESCRIPTION: 'Mark this as the default domain for this subsite'
|
PROTOCOL_DESCRIPTION: 'Mark this as the default domain for this subsite'
|
||||||
PROTOCOL_HTTP: 'http://'
|
PROTOCOL_HTTP: 'http://'
|
||||||
@ -65,11 +62,18 @@ en:
|
|||||||
SINGULARNAME: 'Subsite Domain'
|
SINGULARNAME: 'Subsite Domain'
|
||||||
SilverStripe\Subsites\Pages\SubsitesVirtualPage:
|
SilverStripe\Subsites\Pages\SubsitesVirtualPage:
|
||||||
DESCRIPTION: 'Displays the content of a page on another subsite'
|
DESCRIPTION: 'Displays the content of a page on another subsite'
|
||||||
PLURALNAME: 'Base Pages'
|
OverrideNote: 'Overrides inherited value from the source'
|
||||||
|
PLURALNAME: 'Subsites Virtual Pages'
|
||||||
|
PLURALS:
|
||||||
|
one: 'A Subsites Virtual Page'
|
||||||
|
other: '{count} Subsites Virtual Pages'
|
||||||
SINGULARNAME: 'Subsites Virtual Page'
|
SINGULARNAME: 'Subsites Virtual Page'
|
||||||
SubsiteField: Subsite
|
SubsiteField: Subsite
|
||||||
SilverStripe\Subsites\Reports\SubsiteReportWrapper:
|
SilverStripe\Subsites\Reports\SubsiteReportWrapper:
|
||||||
ReportDropdown: Sites
|
ReportDropdown: Sites
|
||||||
|
Subsite:
|
||||||
|
COPYSTRUCTURE: 'Copy structure from:'
|
||||||
|
NOTEMPLATE: 'No template'
|
||||||
Subsites:
|
Subsites:
|
||||||
DefaultSiteFieldLabel: 'Default site'
|
DefaultSiteFieldLabel: 'Default site'
|
||||||
DomainFieldLabel: Domain
|
DomainFieldLabel: Domain
|
||||||
@ -79,6 +83,5 @@ en:
|
|||||||
PageTypeBlacklistFieldLabel: 'Page Type Blacklist'
|
PageTypeBlacklistFieldLabel: 'Page Type Blacklist'
|
||||||
PrimaryDomainFieldLabel: 'Primary Domain'
|
PrimaryDomainFieldLabel: 'Primary Domain'
|
||||||
RedirectURLFieldLabel: 'Redirect URL'
|
RedirectURLFieldLabel: 'Redirect URL'
|
||||||
ThemeFieldEmptyString: ''
|
|
||||||
ThemeFieldLabel: Theme
|
ThemeFieldLabel: Theme
|
||||||
TitleFieldLabel: 'Subsite Name'
|
TitleFieldLabel: 'Subsite Name'
|
||||||
|
@ -54,7 +54,7 @@ class LeftAndMainSubsites extends LeftAndMainExtension
|
|||||||
public function getCMSTreeTitle()
|
public function getCMSTreeTitle()
|
||||||
{
|
{
|
||||||
$subsite = Subsite::currentSubsite();
|
$subsite = Subsite::currentSubsite();
|
||||||
return $subsite ? Convert::raw2xml($subsite->Title) : _t('SilverStripe\\Admin\\LeftAndMain.SITECONTENTLEFT');
|
return $subsite ? Convert::raw2xml($subsite->Title) : _t(__CLASS__.'.SITECONTENTLEFT', 'Site Content');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function updatePageOptions(&$fields)
|
public function updatePageOptions(&$fields)
|
||||||
|
Loading…
Reference in New Issue
Block a user