public void AddMessagesToMessageManager(MessageManager msgMgr, String language, int locale) { msgMgr.AddLanguage(language, locale); msgMgr.AddMessage("pur_badsku", "One or more items were removed from the basket", language); msgMgr.AddMessage("pur_noitems", "No items were found in the basket", language); msgMgr.AddMessage("pur_badplacedprice", "Placed price was not correct", language); msgMgr.AddMessage("pur_discount_changed", "One or more discounts have changed", language); msgMgr.AddMessage("pur_discount_removed", "One or more discounts no longer apply", language); msgMgr.AddMessage("pur_badshipping", "Unable to complete order: cannot compute shipping cost", language); msgMgr.AddMessage("pur_badhandling", "Unable to complete order: cannot compute handling cost", language); msgMgr.AddMessage("pur_badtax", "Unable to complete order: cannot compute tax", language); msgMgr.AddMessage("pur_badcc", "The credit-card number you provided is not valid. Please verify your payment information or use a different card", language); msgMgr.AddMessage("pur_badpayment", "There was a problem authorizing your credit. Please verify your payment information or use a different card", language); msgMgr.AddMessage("pur_badverify", "Changes to the data require your review. Please review and re-submit", language); msgMgr.AddMessage("pur_out_of_stock", "At least one item is out of stock", language); msgMgr.AddMessage("unknown_shipping_method", "The selected shipping method is not currently available. Please choose another shipping method", language); }