From 7a1e25ba718e04d4a781efb3ffb63e13b63c3328 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Thu, 29 Dec 2011 10:30:18 +0100 Subject: [PATCH] MINOR Shorter tree title badges --- code/model/SiteTree.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/code/model/SiteTree.php b/code/model/SiteTree.php index 59bf093a..b0f2dabb 100644 --- a/code/model/SiteTree.php +++ b/code/model/SiteTree.php @@ -2468,14 +2468,14 @@ class SiteTree extends DataObject implements PermissionProvider,i18nEntityProvid $text = Convert::raw2xml(str_replace(array("\n","\r"),"",$this->MenuTitle)); if($this->IsDeletedFromStage) { if($this->ExistsOnLive) { - $tag ="{$text} " . _t('SiteTree.REMOVEDFROMDRAFT', 'Removed from draft site') . ""; + $tag ="{$text} " . _t('SiteTree.REMOVEDFROMDRAFTSHORT', 'Removed from draft') . ""; } else { - $tag ="{$text} ". _t('SiteTree.DELETEDPAGE', 'Deleted page') . ""; + $tag ="{$text} ". _t('SiteTree.DELETEDPAGESHORT', 'Deleted') . ""; } } elseif($this->IsAddedToStage) { - $tag = "{$text} ". _t('SiteTree.ADDEDTODRAFT', 'Added to draft site') . ""; + $tag = "{$text} ". _t('SiteTree.ADDEDTODRAFTSHORT', 'New') . ""; } elseif($this->IsModifiedOnStage) { - $tag = "{$text} " . _t('SiteTree.MODIFIEDONDRAFT', 'Modified on draft site') . ""; + $tag = "{$text} " . _t('SiteTree.MODIFIEDONDRAFTSHORT', 'Modified') . ""; } else { $tag = ''; }