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
This commit is contained in:
parent
460cf9df30
commit
10818c74a6
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user