gnome-shell/js
Florian Müllner f42d9df3e0 fileUtils: Add helper for loading D-Bus XML from resource
Commit dbf993300a moved all inline D-Bus interface descriptions to template
strings so we can stop escaping line breaks.

Unfortunately that unveiled a grave bug in xgettext, which currently cannot
handle files that contain both backtick and slash characters - as a result,
translations from affected files have started to disappear as translators
run xgettext/msgmerge.

Instead of reverting the change and getting the crusty escaping back, we
will take this as an opportunity to stop inlining the XML altogether and
load it from a resource instead.

To facilitate that, add a small helper method that loads a D-Bus interface
description from a dedicated resource bundle.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/537
2018-09-17 07:34:49 +00:00
..
extensionPrefs js: use ES6 template strings for dbus interfaces 2018-08-27 19:23:00 +02:00
gdm js, oVirt: Fix ES6 template string alignment 2018-08-30 04:49:17 +02:00
misc fileUtils: Add helper for loading D-Bus XML from resource 2018-09-17 07:34:49 +00:00
perf scripting: Fix argument list of createTestWindow() 2018-04-25 23:47:06 +02:00
portalHelper js: use ES6 template strings for dbus interfaces 2018-08-27 19:23:00 +02:00
ui keyboard: Remove leftover call to get_current_time 2018-09-14 12:18:38 +02:00
js-resources.gresource.xml build: Use dedicated resources for helper programs 2018-08-14 17:28:04 +00:00
meson.build build: Use dedicated resources for helper programs 2018-08-14 17:28:04 +00:00
portal-resources.gresource.xml build: Use dedicated resources for helper programs 2018-08-14 17:28:04 +00:00
prefs-resources.gresource.xml build: Use dedicated resources for helper programs 2018-08-14 17:28:04 +00:00