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



commit 28dbb47937f0177a21ecee6c18de11a68dde0bc1
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
    (cherry picked from commit c9d7f99d50f96d29c38380d9f0e3c9ddc660db9f)

 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]