GNOME Bugzilla – Bug 761881
keyboard: install gettext ITS files
Last modified: 2016-07-27 15:35:15 UTC
Created attachment 320912 [details] [review] keyboard: install gettext ITS files Recent gettext has a feature to allow consumer projects to supply their own string extraction rules for XML files, in ITS format.
I don't understand what that is for. Please expand.
If these files are installed in /usr/share/gettext/its then xgettext will be able to extract translatable string from keybindings files (files that are installed in /usr/share/gnome-control-center/keybindings). These files are installed already by: 1) gtk+ - https://git.gnome.org/browse/gtk+/commit/?id=f9e6ccd59256ef86bdfa3bfe9810df35f7ee00fe 2) glib - https://git.gnome.org/browse/glib/commit/?id=50645b724a3b43767fd57e4af53365d0cd270382 3) appstream-glib - https://github.com/hughsie/appstream-glib/commit/2f98b73d42fc65e9c1c3feaefe0ba1fe0fd1b66e Only it might be good idea to change keybindings file extension from .xml to .keybindings.xml (probably supporting both - old and new one). If you are interested I could create patches.
Can you explain that in the commit message for the patch?
Review of attachment 320912 [details] [review]: Commit message doesn't explain what this does, as per bug comments.
*** This bug has been marked as a duplicate of bug 769066 ***