From 1316245b374a15582b589ce2bfc2b29164c2499e Mon Sep 17 00:00:00 2001 From: James Cocker Date: Wed, 14 Aug 2019 17:38:36 +0100 Subject: [PATCH] =?UTF-8?q?Updated=20=E2=80=9CURL=20Segment=E2=80=9D=20&?= =?UTF-8?q?=20=E2=80=9CMain=20Content=E2=80=9D=20to=20sentence=20case?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- code/Forms/SiteTreeURLSegmentField.php | 2 +- code/Model/SiteTree.php | 4 ++-- lang/en.yml | 6 +++--- lang/lv.yml | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/code/Forms/SiteTreeURLSegmentField.php b/code/Forms/SiteTreeURLSegmentField.php index 9b7da4b9..ac1d28da 100644 --- a/code/Forms/SiteTreeURLSegmentField.php +++ b/code/Forms/SiteTreeURLSegmentField.php @@ -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(); diff --git a/code/Model/SiteTree.php b/code/Model/SiteTree.php index 6bd3c125..a3e1024a 100755 --- a/code/Model/SiteTree.php +++ b/code/Model/SiteTree.php @@ -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'); diff --git a/lang/en.yml b/lang/en.yml index 5e08aa31..33018e49 100644 --- a/lang/en.yml +++ b/lang/en.yml @@ -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' diff --git a/lang/lv.yml b/lang/lv.yml index d951ccc9..37428a30 100644 --- a/lang/lv.yml +++ b/lang/lv.yml @@ -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'