Closed (fixed)
Project:
Google AdSense integration
Version:
5.x-3.0-beta2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Jan 2009 at 11:39 UTC
Updated:
4 Feb 2009 at 15:50 UTC
Line 25 of the adsense.module:
define('ADSENSE_PLACEHOLDER_TEXT_DEFAULT', t('Google AdSense'));
This is a bug, as locale hasn't been initialized at this point (global context).
Either the call to t() has to be removed or the translation has to happen at a later point.
Comments
Comment #1
kbahey commentedNot only that, it causes performance issues on large sites too.
Fixed in 5.x-3.x-dev, 6.x-1.x-dev and HEAD. Should be available in 10 hours in the tarballs.
Thanks for reporting this.