From 10818c74a6607dcce1662a324f321b6655930c59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Tue, 3 Dec 2019 20:50:14 +0100 Subject: [PATCH] extensionPrefs: Don't (re-)bind text domain Gettext is already set up from the binary, no need to do it again in JS. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/918 --- js/extensionPrefs/main.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/js/extensionPrefs/main.js b/js/extensionPrefs/main.js index 9d94c5a27..9033165f6 100644 --- a/js/extensionPrefs/main.js +++ b/js/extensionPrefs/main.js @@ -8,7 +8,6 @@ const Format = imports.format; const _ = Gettext.gettext; -const Config = imports.misc.config; const ExtensionUtils = imports.misc.extensionUtils; const { loadInterfaceXML } = imports.misc.fileUtils; @@ -692,8 +691,5 @@ function initEnvironment() { function main(argv) { initEnvironment(); - Gettext.bindtextdomain(Config.GETTEXT_PACKAGE, Config.LOCALEDIR); - Gettext.textdomain(Config.GETTEXT_PACKAGE); - new Application().run(argv); }