From 8d07a8eccc3985c3018a88004d36336ffaad01d1 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Fri, 15 Oct 2010 01:24:43 +0000 Subject: [PATCH] MINOT Translation in SiteTree (#5603, thanks Pike) (from r105057) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112439 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- core/model/SiteTree.php | 2 +- lang/en_US.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/core/model/SiteTree.php b/core/model/SiteTree.php index 0b931c6c4..9f4d15085 100755 --- a/core/model/SiteTree.php +++ b/core/model/SiteTree.php @@ -1791,7 +1791,7 @@ class SiteTree extends DataObject implements PermissionProvider,i18nEntityProvid $this->getClassDropdown() ), $parentIdComposite = new CompositeField( - new OptionsetField("ParentType", "Page location", array( + new OptionsetField("ParentType", _t("SiteTree.PAGELOCATION", "Page location"), array( "root" => _t("SiteTree.PARENTTYPE_ROOT", "Top-level page"), "subpage" => _t("SiteTree.PARENTTYPE_SUBPAGE", "Sub-page underneath a parent page (choose below)"), )), diff --git a/lang/en_US.php b/lang/en_US.php index a7732c4be..e7698b45b 100644 --- a/lang/en_US.php +++ b/lang/en_US.php @@ -724,6 +724,7 @@ $lang['en_US']['SiteTree']['METATITLE'] = 'Title'; $lang['en_US']['SiteTree']['MODIFIEDONDRAFT'] = 'Modified on draft site'; $lang['en_US']['SiteTree']['NOTEUSEASHOMEPAGE'] = 'Use this page as the \'home page\' for the following domains: (separate multiple domains with commas)'; +$lang['en_US']['SiteTree']['PAGELOCATION'] = 'Page location'; $lang['en_US']['SiteTree']['PAGESLINKING'] = 'The following pages link to this page:'; $lang['en_US']['SiteTree']['PAGETITLE'] = 'Page name'; $lang['en_US']['SiteTree']['PAGETYPE'] = array(