Skip to content

Commit

Permalink
Suggestions by @ADDISON74
Browse files Browse the repository at this point in the history
  • Loading branch information
fballiano committed Apr 10, 2023
1 parent b5835c8 commit e470472
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions app/code/core/Mage/Contacts/controllers/IndexController.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function postAction()
}

if ($error) {
Mage::throwException($this->__('Unable to submit your request. Please, try again later'));
Mage::throwException($this->__('Unable to submit your request. Please try again later'));
}
$mailTemplate = Mage::getModel('core/email_template');
/** @var Mage_Core_Model_Email_Template $mailTemplate */
Expand All @@ -91,7 +91,7 @@ public function postAction()
);

if (!$mailTemplate->getSentSuccess()) {
Mage::throwException($this->__('Unable to submit your request. Please, try again later'));
Mage::throwException($this->__('Unable to submit your request. Please try again later'));
}

$translate->setTranslateInline(true);
Expand All @@ -106,7 +106,7 @@ public function postAction()
Mage::getSingleton('customer/session')->addError($e->getMessage());
} catch (Throwable $e) {
Mage::logException($e);
Mage::getSingleton('customer/session')->addError($this->__('Unable to submit your request. Please, try again later'));
Mage::getSingleton('customer/session')->addError($this->__('Unable to submit your request. Please try again later'));
$this->_redirect('*/*/');
return;
}
Expand Down
2 changes: 1 addition & 1 deletion app/locale/en_US/Mage_Contacts.csv
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
"Send Emails To","Send Emails To"
"Submit","Submit"
"Telephone","Telephone"
"Unable to submit your request. Please, try again later","Unable to submit your request. Please, try again later."
"Unable to submit your request. Please try again later","Unable to submit your request. Please try again later."
"Your inquiry was submitted and will be responded to as soon as possible. Thank you for contacting us.","Your inquiry was submitted and will be responded to as soon as possible. Thank you for contacting us."

0 comments on commit e470472

Please sign in to comment.