gnome-shell/js
Florian Müllner 931ca5e4ab extensions: Replace exported gettext functions
Use the new defineTranslationFunctions() method from the previous
commit to create gettext functions for the module, instead of
re-exporting from the shared module.

It is now up to extension developers to use the more effective

```js
import {Extension} from 'etensions/extension.js';
const {gettext: _} =
    Extension.defineTranslationFunctions(import.meta.url);
```

or the more convenient

```js
import {Extension, gettext} from 'extensions/extension.js';
const _ = gettext;
```

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2838>
2023-07-30 10:29:44 +03:00
..
dbusServices dbusServices/extensions: Include dir and path in metadata 2023-07-29 15:20:20 +03:00
extensions extensions: Replace exported gettext functions 2023-07-30 10:29:44 +03:00
gdm animationUtils: Group together various animation helpers 2023-07-15 02:35:56 +00:00
misc extensionUtils: Split out extension convenience functions 2023-07-15 13:16:42 +02:00
portalHelper portalHelper: Port to ESM 2023-06-21 13:26:42 +02:00
ui extensionSystem: Include dir and path in data passed to extension 2023-07-29 15:20:20 +03:00
js-resources.gresource.xml status/camera: New indicator 2023-07-29 13:55:15 +03:00
meson.build
portal-resources.gresource.xml