GNOME Bugzilla – Bug 780458
Missing strings in WebKitGTK+
Last modified: 2017-04-25 19:29:30 UTC
After <https://bugs.webkit.org/show_bug.cgi?id=169672>, many strings are missing from the .pot file at <https://l10n.gnome.org/module/webkit/>. It looks like d-l doesn’t extract strings marked with WEB_UI_STRING* (<https://trac.webkit.org/browser/webkit/trunk/Source/WebCore/platform/gtk/po/CMakeLists.txt#L19>.
D-L reads any XGETTEXT_OPTIONS located in po/Makevars files. https://www.gnu.org/software/gettext/manual/html_node/po_002fMakevars.html#po_002fMakevars
Does it include projects using intltool, like WebKitGTK+?
Ah, no, this was for pure gettext extraction method. So I'm afraid this is an intltool/WebKitGTK+ issue, so nothing that we can do.
WebKitGTK+ itself doesn’t use intltool, but rather CMake — https://svn.webkit.org/repository/webkit/trunk/Source/WebCore/platform/gtk/po/ — maybe we could switch it to gettext on d-l side if they add po/Makevars?
After adding po/Makevars in https://bugs.webkit.org/show_bug.cgi?id=170012, damned-lies correctly extracts all the strings, including WEB_UI_STRING*.
Nice job, thanks!