From 60e7a5960f066fa4e7a8f3eacb2fec3736447877 Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Fri, 18 May 2012 16:54:33 +1200 Subject: [PATCH] MINOR Adding default text to SAVEDUP entity --- code/controllers/CMSMain.php | 2 +- code/controllers/CMSSettingsController.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/controllers/CMSMain.php b/code/controllers/CMSMain.php index ff9ac1dd..fefddbe6 100644 --- a/code/controllers/CMSMain.php +++ b/code/controllers/CMSMain.php @@ -820,7 +820,7 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr )) ); } else { - $this->response->addHeader('X-Status', rawurlencode(_t('LeftAndMain.SAVEDUP'))); + $this->response->addHeader('X-Status', rawurlencode(_t('LeftAndMain.SAVEDUP', 'Saved.'))); } return $this->getResponseNegotiator()->respond($this->request); diff --git a/code/controllers/CMSSettingsController.php b/code/controllers/CMSSettingsController.php index 17e71749..b24547c7 100644 --- a/code/controllers/CMSSettingsController.php +++ b/code/controllers/CMSSettingsController.php @@ -46,7 +46,7 @@ class CMSSettingsController extends LeftAndMain { $form->saveInto($siteConfig); $siteConfig->write(); - $this->response->addHeader('X-Status', rawurlencode(_t('LeftAndMain.SAVEDUP'))); + $this->response->addHeader('X-Status', rawurlencode(_t('LeftAndMain.SAVEDUP', 'Saved.'))); return $form->forTemplate(); }