Permalink
Browse files

MINOR Adding default text to SAVEDUP entity

  • Loading branch information...
1 parent 9201987 commit 60e7a5960f066fa4e7a8f3eacb2fec3736447877 @halkyon halkyon committed May 18, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 code/controllers/CMSMain.php
  2. +1 −1 code/controllers/CMSSettingsController.php
@@ -820,7 +820,7 @@ public function save($data, $form) {
))
);
} 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 @@ function save_siteconfig($data, $form) {
$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();
}

0 comments on commit 60e7a59

Please sign in to comment.