From this issue http://drupal.org/node/320682, there was a t() in a define in donation.module as well that can seriously hinder performance on sites using locales extensively.

This patch just moves the t() out of the define and where the defined text is used later in the functions. The patch wasn't created against the trunk of the branch, but it successfully patches it (with an offset).

CommentFileSizeAuthor
donation.module.patch1.96 KBsarvab

Comments

kbahey’s picture

Status: Needs review » Fixed

Nice catch. Thank you.

Committed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.