Source

trac-ticketlinks / trac / util / dist.py

Author Commit Message Labels Comments Date
jomae
0.12.2dev: Moves get_l10n_js_cmdclass and get_l10n_cmdclass from `trac.util.dist` to `trac.dist`. It be able to import `*_cmdclasses` in setup.py without Genshi. Closes #9961.
Branches
0.12-stable
cboos
#6353: extract messages from javascript code embedded in <script> tags in html files.
Branches
trunk
cboos
setup: move all l10n related commands in `trac.util.dist`. This way, plugins can easily re-use the Trac operating mode (compile before install). If they need to localize .js files, they should do something like: {{{#!python from trac.util.dist import get_l10n_js_cmdclass extra['cmdclass'] = get_l10n_js_cmdclass() }}} If they don't need the new `*_js` related commands, they should do: {{{#!python from trac.util.dist import get_l10n_cmdclass extra['cmdcl…
Branches
trunk