mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
MINOR Adding default text to SAVEDUP entity
This commit is contained in:
parent
92019876d2
commit
60e7a5960f
@ -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);
|
||||
|
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user