Add translation
This commit is contained in:
parent
df3af6979e
commit
22d1cf860c
@ -24,6 +24,7 @@ ReturnURLAfterPayment=Return URL after payment
|
|||||||
ValidationOfPaypalPaymentFailed=Validation of Paypal payment failed
|
ValidationOfPaypalPaymentFailed=Validation of Paypal payment failed
|
||||||
PaypalConfirmPaymentPageWasCalledButFailed=Payment confirmation page for Paypal was called by Paypal but confirmation failed
|
PaypalConfirmPaymentPageWasCalledButFailed=Payment confirmation page for Paypal was called by Paypal but confirmation failed
|
||||||
SetExpressCheckoutAPICallFailed=SetExpressCheckout API call failed.
|
SetExpressCheckoutAPICallFailed=SetExpressCheckout API call failed.
|
||||||
|
DoExpressCheckoutPaymentAPICallFailed=DoExpressCheckoutPayment API call failed.
|
||||||
DetailedErrorMessage=Detailed Error Message
|
DetailedErrorMessage=Detailed Error Message
|
||||||
ShortErrorMessage=Short Error Message
|
ShortErrorMessage=Short Error Message
|
||||||
ErrorCode=Error Code
|
ErrorCode=Error Code
|
||||||
|
|||||||
@ -224,11 +224,11 @@ if ($PAYPALTOKEN)
|
|||||||
$ErrorLongMsg = urldecode($resArray["L_LONGMESSAGE0"]);
|
$ErrorLongMsg = urldecode($resArray["L_LONGMESSAGE0"]);
|
||||||
$ErrorSeverityCode = urldecode($resArray["L_SEVERITYCODE0"]);
|
$ErrorSeverityCode = urldecode($resArray["L_SEVERITYCODE0"]);
|
||||||
|
|
||||||
echo "DoExpressCheckoutPayment API call failed.<br>\n";
|
echo $langs->trans('DoExpressCheckoutPaymentAPICallFailed') . "<br>\n";
|
||||||
echo "Detailed Error Message: " . $ErrorLongMsg."<br>\n";
|
echo $langs->trans('DetailedErrorMessage') . ": " . $ErrorLongMsg."<br>\n";
|
||||||
echo "Short Error Message: " . $ErrorShortMsg."<br>\n";
|
echo $langs->trans('ShortErrorMessage') . ": " . $ErrorShortMsg."<br>\n";
|
||||||
echo "Error Code: " . $ErrorCode."<br>\n";
|
echo $langs->trans('ErrorCode') . ": " . $ErrorCode."<br>\n";
|
||||||
echo "Error Severity Code: " . $ErrorSeverityCode."<br>\n";
|
echo $langs->trans('ErrorSeverityCode') . ": " . $ErrorSeverityCode."<br>\n";
|
||||||
|
|
||||||
if ($mysoc->email) echo "\nPlease, send a screenshot of this page to ".$mysoc->email."<br>\n";
|
if ($mysoc->email) echo "\nPlease, send a screenshot of this page to ".$mysoc->email."<br>\n";
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user