On 19 March 2014 05:22, Ryan Ollos <[email protected]> wrote: > Running `python setup.py install` for any of the packages (except > BloodhoundTheme) yields the result shown at the end of this message. > > I believe the issue is due to use of the JS message command class in > setup.py > from trac.util.dist import get_l10n_js_cmdclass > cmdclass = get_l10n_js_cmdclass() > > With the exception of BloodhoundTheme, the packages have not been > configured through setup.cfg to extract and compile JS message catalogs. > Changing to the following fixes the issue for now: > > from trac.util.dist import get_l10n_cmdclass > cmdclass = get_l10n_cmdclass() > > http://trac.edgewall.org/browser/tags/trac-1.0.1/trac/dist.py?marks=472,479#L471 > > That, or we can configure to extract and compile message catalogs from the > JavaScript files for all packages, but I think it would be better to save > that for the next release. > > I just wanted to confirm with the implementers of the internationalization > work before making the change on the trunk. >
Hello Ryan, Indeed I didn't try running setup.py install, my mistake. I installed everything with pip and it didn't complained. Other packages don't have javascript messages (if I remember correctly), that's why I haven't configured the javascript extractor for them. The changes you proposed are OK for me. Best regards,
