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

CommentFileSizeAuthor
#1 devel-shutdown.patch756 bytesgábor hojtsy

Comments

gábor hojtsy’s picture

Version: 6.x-3.x-dev » 7.x-1.x-dev
Status: Active » Patch (to be ported)
StatusFileSize
new756 bytes

Thanks, committed this. To be ported to D7.

hctom’s picture

Thanx Gabor.. can't wait to have the new release :)

cheers

hctom

gábor hojtsy’s picture

gábor hojtsy’s picture

Status: Patch (to be ported) » Fixed

Same applied to D7, committed.

hctom’s picture

nice one... thanx for naming me :) so there is no manual editing of the .pot files necessary anymore :)

keep up the good work

cheers

hctom

Status: Fixed » Closed (fixed)

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