Customer email from /languages/english/moneyorder.php has typos

Description

In the /includes/languages/English/moneyorder.php there are two errors on the bottom lines:

define('MODULE_PAYMENT_MONEYORDER_TEXT_DESCRIPTION', 'Make Payable To: %s<br><br>Send To:<br>%s<br><br>Your order will not ship until we receive payment.');
define('MODULE_PAYMENT_MONEYORDER_TEXT_EMAIL_FOOTER', 'Make Payable To: %s\n\nSend To:\n%s\n\nYour order will not ship until we receive payment.');

Gives the erroneous email results:

------------------------(begin error quote)-----------------------------
Payment Method
------------------------------------------------------ Check/Money Order

Make Payable To: Company name \n\n Send To:\nCompany name
Address St.,
City, Prov/State
Country PostalCode
(xxx)yyy-zzzz\n\n Your order will not ship until we receive payment.

------------------------(end error quote)-----------------------------
Reinserting the version of moneyorder.php from 2.5.1 fixed that:

define('MODULE_PAYMENT_MONEYORDER_TEXT_DESCRIPTION', 'Make Payable To: ' . MODULE_PAYMENT_MONEYORDER_PAYTO . '<br><br>Send To:<br>' . nl2br(STORE_NAME_ADDRESS) . '<br><br>' . 'Your order will not ship until we receive payment.');
define('MODULE_PAYMENT_MONEYORDER_TEXT_EMAIL_FOOTER', "Make Payable To: ". MODULE_PAYMENT_MONEYORDER_PAYTO . "\n\nSend To:\n" . STORE_NAME_ADDRESS . "\n\n" . 'Your order will not ship until we receive payment.');

Resulting in:

------------------------(begin correct quote)-----------------------------
Payment Method
------------------------------------------------------ Check/Money Order

Make Payable To: Company name

Send To:
Company name
Address St.,
City, Prov/State
Country PostalCode
(xxx)yyy-zzzz

Your order will not ship until we receive payment.
------------------------(end correct quote)-----------------------------

Environment

None

Steps to reproduce

Make an order that requires payment by Check/Money Order using your own site test email and read the bottom lines...

Assignee

Michael Sasek

Reporter

John Robertson

Labels

None

Severity

Minor

Components

Fix versions

Affects versions

Priority

Configure