From: Brian M. <br...@gr...> - 2007-12-04 14:12:18
|
Doug, > > It looks like there are at least 24 .py and .glade > files that use gettext > > that are not listed in POTFILES.in. Should we > automate the creation of > > POTFILES.in? Is there any problem in listing every > .py and .glade file? I > > see that we would also need to add some others, > too, but an automated > > appending of all (or only those importing gettext) > might help in better > > automatic coverage. > > > > Let me know if this is a good idea. If so, I'll > try to add this to the > > build > > process. > > > Don't know. Some things are not in the actual > distribution, eg > ../src/DataViews/_MapView.py, so it would be kind of > extra work to translate > things that are not used. The same goes for a couple of the reports that are not supported. In order to automate it, you would need to find all the files that import gettext, and then cross reference that list with all the files that are included in the makefiles. If someone could do that, I think it would be pretty sweet. I hate the fact that when I add a file, I have to take so many steps: 1) Set the subversion properties for the file 2) Add the file to the makefile 3) Add the file to POTFILES.in 4) Edit the changelog Automating it would at least remove one step. ~Brian |