[gnome-shell-extensions] window-list: Init translations



commit 94b907f46d309fd9bf84990d9c1f877253dc255a
Author: Florian Müllner <fmuellner gnome org>
Date:   Mon Jun 28 17:57:57 2021 +0200

    window-list: Init translations
    
    Whoops, we are missing the bindtextdomain() call, which means translations
    won't work when no other extension that shares the same domain is used
    (like in GNOME Classic for instance).
    
    https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/issues/340
    
    Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/174>

 extensions/window-list/extension.js | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/extensions/window-list/extension.js b/extensions/window-list/extension.js
index acb5c63..4802f9e 100644
--- a/extensions/window-list/extension.js
+++ b/extensions/window-list/extension.js
@@ -1105,6 +1105,8 @@ class WindowList extends St.Widget {
 
 class Extension {
     constructor() {
+        ExtensionUtils.initTranslations();
+
         this._windowLists = null;
         this._hideOverviewOrig = Main.overview.hide;
     }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]