Updated “URL Segment” & “Main Content” to sentence case

This commit is contained in:
James Cocker 2019-08-14 17:38:36 +01:00
parent b460dfd188
commit 1316245b37
4 changed files with 7 additions and 7 deletions

View File

@ -73,7 +73,7 @@ class SiteTreeURLSegmentField extends TextField
if (!$request->getVar('value')) {
return $this->httpError(
405,
_t('SilverStripe\\CMS\\Forms\\SiteTreeURLSegmentField.EMPTY', 'Please enter a URL Segment or click cancel')
_t('SilverStripe\\CMS\\Forms\\SiteTreeURLSegmentField.EMPTY', 'Please enter a URL segment or click cancel')
);
}
$page = $this->getPage();

View File

@ -2080,7 +2080,7 @@ class SiteTree extends DataObject implements PermissionProvider, i18nEntityProvi
$fields->removeFieldFromTab('Root', 'Dependent');
}
$tabMain->setTitle(_t(__CLASS__.'.TABCONTENT', "Main Content"));
$tabMain->setTitle(_t(__CLASS__.'.TABCONTENT', "Main content"));
if ($this->ObsoleteClassName) {
$obsoleteWarning = _t(
@ -2280,7 +2280,7 @@ class SiteTree extends DataObject implements PermissionProvider, i18nEntityProvi
$labels['ShowInSearch'] = _t(__CLASS__.'.SHOWINSEARCH', "Show in search?");
$labels['ViewerGroups'] = _t(__CLASS__.'.VIEWERGROUPS', "Viewer Groups");
$labels['EditorGroups'] = _t(__CLASS__.'.EDITORGROUPS', "Editor Groups");
$labels['URLSegment'] = _t(__CLASS__.'.URLSegment', 'URL Segment', 'URL for this page');
$labels['URLSegment'] = _t(__CLASS__.'.URLSegment', 'URL segment', 'URL for this page');
$labels['Content'] = _t(__CLASS__.'.Content', 'Content', 'Main HTML Content for a page');
$labels['CanViewType'] = _t(__CLASS__.'.Viewers', 'Viewers Groups');
$labels['CanEditType'] = _t(__CLASS__.'.Editors', 'Editors Groups');

View File

@ -146,7 +146,7 @@ en:
SELECT_PAGE: 'Select a page'
SilverStripe\CMS\Forms\SiteTreeURLSegmentField:
Cancel: Cancel
EMPTY: 'Please enter a URL Segment or click cancel'
EMPTY: 'Please enter a URL segment or click cancel'
Edit: Edit
HelpChars: ' Special characters are automatically converted or removed.'
OK: OK
@ -245,10 +245,10 @@ en:
SHOWINSEARCH: 'Show in search?'
SINGULARNAME: Page
TABBEHAVIOUR: Behavior
TABCONTENT: 'Main Content'
TABCONTENT: 'Main content'
TABDEPENDENT: 'Dependent pages'
TOPLEVEL: 'Site Content (Top Level)'
URLSegment: 'URL Segment'
URLSegment: 'URL segment'
VIEWERGROUPS: 'Viewer Groups'
VIEWER_GROUPS_FIELD_DESC: 'Groups with global view permissions: {groupList}'
VIEW_ALL_DESCRIPTION: 'View any page'

View File

@ -61,7 +61,7 @@ lv:
TABCONTENT: Saturs
TABDEPENDENT: 'Atkarīgās lapas'
TOPLEVEL: 'Vietnes Saturs (Augšējais līmenis)'
URLSegment: 'URL Segments'
URLSegment: 'URL segments'
VIEWERGROUPS: 'Skatītāju grupas'
VIEW_ALL_DESCRIPTION: 'Skatī jebkuru lapu'
VIEW_DRAFT_CONTENT: 'Aplūkot melnraksa saturu'