Menu

Commit [r8496]  Maximize  Restore  History

i18n: lazy activation of !TranslationsProxy

This avoids having to activate the session (through `req.locale`) and to activate the !TranslationsProxy for any request that doesn't trigger a gettext call (like Chrome request, for example).

The changes also make deactivation a bit more robust (#7253).

cboos 2009-08-22

changed /trunk/trac/util/translation.py
changed /trunk/trac/web/main.py
/trunk/trac/util/translation.py Diff Switch to side-by-side view
Loading...
/trunk/trac/web/main.py Diff Switch to side-by-side view
Loading...
MongoDB Logo MongoDB