🔧 Use dynamic imports for gettext
This commit is contained in:
@@ -165,8 +165,6 @@ void main() {
|
||||
|
||||
"use strict";
|
||||
|
||||
const _ = imports.gettext.domain("burn-my-windows").gettext;
|
||||
|
||||
import * as utils from "../utils.js";
|
||||
|
||||
// We import the ShaderFactory only in the Shell process as it is not required in the
|
||||
@@ -174,6 +172,8 @@ import * as utils from "../utils.js";
|
||||
// only uses the static metadata of the effect.
|
||||
const ShaderFactory = await utils.importInShellOnly("./ShaderFactory.js");
|
||||
|
||||
const _ = await utils.importGettext();
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
// This effect ... //
|
||||
// <- Please add a description of your effect here -> //
|
||||
|
||||
Reference in New Issue
Block a user