gnome-shell/js/extensions
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
..
extension.js extensions: Replace exported gettext functions 2023-07-30 10:29:44 +03:00
prefs.js extensions: Replace exported gettext functions 2023-07-30 10:29:44 +03:00
sharedInternals.js extensions: Replace exported gettext functions 2023-07-30 10:29:44 +03:00