pot file is not generated for the gtkmm-documentation module
@kjellahl
Submitted by Kjell Ahlstedt Link to original bug (#749860)
Description
At https://l10n.gnome.org/module/gtkmm-documentation/ the following notice is printed:
HELP_ID doesn't point to a real file, probably a macro. Can't generate POT file, using old one.
This is, I believe, because generate_doc_pot_file() in file https://git.gnome.org/browse/damned-lies/tree/stats/utils.py does not find the docs/tutorial/C/index-in.docbook file in the gtkmm-documentation module.
Before gtkmm-documentation was ported from gnome-doc-utils to yelp-tools on 2014-04-04, the file was called gtkmm-tutorial-in.xml. Then it was found, and used as input for generating a .pot file. That's probably because of "# Last try: only one xml file in C/..." in generate_doc_pot_file().
I believe that the generation of a pot file for gtkmm-documentation would work again if generate_doc_pot_file() also tried "only one docbook file in C/". Do you think this is a reasonable change?
The "-in" part of the filename is there because index-in.docbook is preprocessed to get the index.docbook file, just as gtkmm-tutorial-in.xml was previously preprocessed to get the gtkmm-tutorial.xml file.
I'm not a translator. I don't know much of how damned-lies work. I just happened to see this problem with gtkmm-documentation when I commented a gtkmm bug. See bug 670106 comment 8.