Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MINOR: Fixed i18n coding for LeftAndMain save and delete.

  • Loading branch information...
commit 70a5b49dd6f135bdd159ff25197d7cfe9e5198a7 1 parent b65dff0
@sminnee sminnee authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 admin/code/LeftAndMain.php
View
4 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'))
Please sign in to comment.
Something went wrong with that request. Please try again.