You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mage::throwException($this->__('Unable to submit your request. Please try again later'));
96
95
}
97
96
98
97
$translate->setTranslateInline(true);
99
98
100
-
Mage::getSingleton('customer/session')->addSuccess(Mage::helper('contacts')->__('Your inquiry was submitted and will be responded to as soon as possible. Thank you for contacting us.'));
99
+
Mage::getSingleton('customer/session')->addSuccess($this->__('Your inquiry was submitted and will be responded to as soon as possible. Thank you for contacting us.'));
101
100
$this->_redirect('*/*/');
102
101
103
102
return;
104
-
} catch (Exception$e) {
103
+
} catch (Mage_Core_Exception$e) {
105
104
$translate->setTranslateInline(true);
106
-
107
-
Mage::getSingleton('customer/session')->addError(Mage::helper('contacts')->__('Unable to submit your request. Please, try again later'));
Copy file name to clipboardExpand all lines: app/locale/en_US/Mage_Contacts.csv
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -10,9 +10,10 @@
10
10
"Email Sender","Email Sender"
11
11
"Email Template","Email Template"
12
12
"Enable Contact Us","Enable Contact Us"
13
+
"Invalid Form Key. Please submit your request again.","Invalid Form Key. Please submit your request again."
13
14
"Name","Name"
14
15
"Send Emails To","Send Emails To"
15
16
"Submit","Submit"
16
17
"Telephone","Telephone"
17
-
"Unable to submit your request. Please, try again later","Unable to submit your request. Please, try again later"
18
+
"Unable to submit your request. Please try again later","Unable to submit your request. Please try again later."
18
19
"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 commit comments