Comment 8 for bug 1759251

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

For test purposes I made this change:

$ diff /usr/bin/dh_translations.orig /usr/bin/dh_translations
112c112
< @cmd=('make', $domain . '.pot');
---
> @cmd=('make', $domain . '.pot-update');

Then I built gnome-online-accounts locally, and the .pot file was nicely updated.

So making that change to dh_translations seems to be an alternative way to handle this bug. Possibly it's the right way.

One doubt is whether there is a risk that other packages, whose .pot files are created via this command, have versions of po/Makefile that don't understand the -update suffix. Or maybe it's a standard thing which ought to work in all cases.

Another thing is whether there are packages with externally maintained .pot files which we don't want to overwrite this way.

For now, if we are not sure about those things, and since it's urgent to make the strings available to the translators, I'd vote for building gnome-online-accounts with the patch I wrote.