MINOR Adding default text to SAVEDUP entity

This commit is contained in:
Sean Harvey 2012-05-18 16:54:33 +12:00
parent 92019876d2
commit 60e7a5960f
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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();
}