gnome-shell/js
Florian Müllner a6d8e7ab6f extensionBase: Use UUID as fallback gettext domain
Nowadays we can set up translations automatically, but only when
the domain is provided with the metadata.

This can be a problem, for example our extension templates use
the automatic translation handling that we recommend, but as a
result the code will throw an error unless `gettext-domain` is
added to the metadata.

Binding a text domain is cheap enough to not care about unnecessary
or duplicated calls, so add a final fallback to the UUID when no
domain was provided as parameter or in the metadata.

There is already a precedent with the `gnome-extensions pack` command
that falls back to the UUID when no explicit gettext domain was
included in the metadata.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2888>
2023-08-29 21:21:51 +00:00
..
dbusServices cleanup: Fixup wrong JSDoc comments 2023-08-09 15:10:38 +00:00
extensions extensionBase: Use UUID as fallback gettext domain 2023-08-29 21:21:51 +00:00
gdm cleanup: Use type-safe comparisons 2023-08-09 15:10:38 +00:00
misc weather: Prevent setting Geoclue source as location name 2023-08-16 19:17:21 +00:00
portalHelper js: Port Config to ESM 2023-08-10 17:42:23 +00:00
ui workspacesView: Skip relayouts during destruction 2023-08-29 18:35:26 +00:00
js-resources.gresource.xml components: Change component loading to be asynchronous 2023-08-05 22:16:23 +02:00
meson.build extensions-app: Move Extensions app to new subproject 2020-03-27 23:33:30 +00:00
portal-resources.gresource.xml js/portal-resources: Add missing fileUtils to js path 2022-11-03 18:02:27 +00:00