Comment 1 for bug 545862

Revision history for this message
Данило Шеган (danilo) wrote :

The problem is that there are many custom keywords that we'd like to pick up as well. I think we should use the same approach intltool-extract uses to define XGETTEXT_KEYWORDS in such a case (like P_ in Gtk+), and fix this to use "\b". FWIW, r703 had \b at the beginning but then I found cases like P_ and went back to not using it.

Basically, we can fix this for you only once we've got a good way to use appropriate keyword arguments in the regex. Also, "intltool-update -m" is a helper utility and not essential for operation, so you'll lose those benefits until it's fixed, but at the moment, we can't apply such a simplistic fix. (I.e. there are more existing projects which rely on this behaviour). I'd be happy to review the proper fix (which parses XGETTEXT_KEYWORDS, as suggested above) if you can provide it, though :)

Perhaps another option is to go through all GNOME projects and see what other keyword tags they are using, and then hard-code those as well, but I'd hate that as a solution.