From 1eb84c2c014d747a0bd2800255623e45f455504a Mon Sep 17 00:00:00 2001 From: BombFoolGranny <32615723+BombFoolGranny@users.noreply.github.com> Date: Wed, 24 Dec 2025 21:07:25 +0200 Subject: [PATCH] Update extension.js Fix typos and translate comment written in Chinese --- freon@UshakovVasilii_Github.yahoo.com/extension.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/freon@UshakovVasilii_Github.yahoo.com/extension.js b/freon@UshakovVasilii_Github.yahoo.com/extension.js index ce71aa1..1c78525 100644 --- a/freon@UshakovVasilii_Github.yahoo.com/extension.js +++ b/freon@UshakovVasilii_Github.yahoo.com/extension.js @@ -165,19 +165,19 @@ class FreonMenuButton extends PanelMenu.Button { this.connect('destroy', this._onButtonDestroy.bind(this)); - // don't postprone the first call by update-time. + // don't postpone the first call by update-time. this._querySensors(); this._addTimer(); this._updateUI(true); this._updateUITimeoutId = GLib.timeout_add(GLib.PRIORITY_DEFAULT, 250, () => { this._updateUI(); - // readd to update queue + // read to update queue return true; }); this._positionInPanelChangedTimeoutId = GLib.timeout_add(GLib.PRIORITY_DEFAULT, 500, () => { this._positionInPanelChanged(); - return false; // 只执行一次 + return false; // execute only once }); }