Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Looks like a small oversight, as the other 2 messages are using t().
Line 225 should be:
drupal_set_message(t('You cannot discount an order for more than the order total.'), 'error');