var strings = [["or less.","or less."],["Please add a bit more to this order.","Please add a bit more to this order."],["Please choose","Please choose"],["Please choose a","Please choose a"],["Please choose at least","Please choose at least"],["Problem with item","Problem with item"],["We're sorry, but your current order is less than our delivery minimum of","We're sorry, but your current order is less than our delivery minimum of"],["We're sorry, ordering this item would exceed the spending limit set by the originator of this order.","We're sorry, ordering this item would exceed the spending limit set by the originator of this order."],["We're sorry, you are currently over your spending limit. Please delete something from your shopping cart to continue.","We're sorry, you are currently over your spending limit. Please delete something from your shopping cart to continue."],["You did not enter a valid cvv code for your credit card.","You did not enter a valid cvv code for your credit card."],["You did not enter a First name.","You did not enter a First name."],["You did not enter a Last name.","You did not enter a Last name."],["You did not enter a credit card number.","You did not enter a credit card number."],["You did not enter an address.","You did not enter an address."],["You did not enter a city.","You did not enter a city."],["You did not enter a zip code.","You did not enter a zip code."],["You must select a state, city, and restaurant to send your email.","You must select a state, city, and restaurant to send your email."],["You must enter a valid email address.","You must enter a valid email address."],["You must choose a type of communication","You must choose a type of communication"],["We're sorry, but your current order is less than our delivery minimum of","We're sorry, but your current order is less than our delivery minimum of"],["Please add a bit more to this order.","Please add a bit more to this order."],["Please fill out form completely.","Please fill out form completely."]]; function translate(origString) { for(var i = 0; i < strings.length; i++) { if(strings[i][0] == origString) { return strings[i][1]; } } return origString; }