GNOME Bugzilla – Bug 722148
automated POTFILES.in checking or generation
Last modified: 2020-06-17 14:04:57 UTC
With bug #713827 out of the way, we ended up having to list the source files twice, once in the cmake scripts, and once in POTFILES.in to be included in the l10n process. This is prone to error. Because intltool doesn't support vala (at least from what I can tell), and maybe also because we're not on autotools, we're missing out on the normal tools people use to check POTFILES.in for correctness. We should figure out some other way to either check POTFILES.in, or generate it automatically from the cmake list. Some places to start looking might be in gitg's repo (they have a custom script that generates the listing) or figuring out whether there's any way to make intltool pick up vala files (and know where to look for our glade files, etc.).
Shotwell's counterpart to this ticket is bug #722460.
This ticket should also cover generating or checking the help translation files/languages in help/Makefile.am (from help/CMakeLists.txt). Note that the main translations' languages list is sourced in CMakeLists.txt from LINGUAS, the help languages are *not* sourced in this way currently, so we should implement that as well.
In case bug #777044 (migration to Meson) is closed before this one, this issue should be updated accordingly.
Meson port has been completed. I'm closing this issue.