[gnome-shell] extensionPrefs: Don't (re-)bind text domain
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] extensionPrefs: Don't (re-)bind text domain
- Date: Mon, 6 Jan 2020 13:16:40 +0000 (UTC)
commit 10818c74a6607dcce1662a324f321b6655930c59
Author: Florian Müllner <fmuellner gnome org>
Date: Tue Dec 3 20:50:14 2019 +0100
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 9d94c5a27a..9033165f6c 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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]