Hi @all,
I just mentioned that if you use the devel module outputting debug information in the footer of a page, all this output will also be added to translation templates. This results in no gettext errors, but in significant increase of the filesize (especially when you use the query log at the end of a page).
Is it possible that you use the approach documented in lines 728-731 of the devel.module file to avoid this redundant contents? It is quite easy to implement by adding the following line to the corresponding menu callbacks:
$GLOBALS['devel_shutdown'] = FALSE;
I'd appreciate if this can make it into your module, so you don't have to clean up the translation files manually afterwards.
thanx in advance & cheers
hctom
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | devel-shutdown.patch | 756 bytes | gábor hojtsy |
Comments
Comment #1
gábor hojtsyThanks, committed this. To be ported to D7.
Comment #2
hctomThanx Gabor.. can't wait to have the new release :)
cheers
hctom
Comment #3
gábor hojtsy@hctom: great, see http://drupal.org/node/792676
Comment #4
gábor hojtsySame applied to D7, committed.
Comment #5
hctomnice one... thanx for naming me :) so there is no manual editing of the .pot files necessary anymore :)
keep up the good work
cheers
hctom