Permalink
Browse files

MINOR: Fixed i18n coding for LeftAndMain save and delete.

  • Loading branch information...
1 parent b65dff0 commit 70a5b49dd6f135bdd159ff25197d7cfe9e5198a7 @sminnee sminnee committed May 18, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 admin/code/LeftAndMain.php
@@ -730,7 +730,7 @@ public function save($data, $form) {
$this->extend('onAfterSave', $record);
$this->setCurrentPageID($record->ID);
- $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);
}
@@ -743,7 +743,7 @@ public function delete($data, $form) {
$record->delete();
- $this->response->addHeader('X-Status', rawurlencode(_t('LeftAndMain.SAVEDUP')));
+ $this->response->addHeader('X-Status', rawurlencode(_t('LeftAndMain.DELETED', 'Deleted.')));
return $this->getResponseNegotiator()->respond(
$this->request,
array('currentform' => array($this, 'EmptyForm'))

0 comments on commit 70a5b49

Please sign in to comment.