cleanup: Always use single quotes

We have made good progress with transitioning to the new style,
to the point where we can complete it with a final push.

Start with changing the remaining places that still use double
quotes.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2866>
This commit is contained in:
Florian Müllner
2023-08-07 00:34:20 +02:00
committed by Marge Bot
parent 77fdfba45c
commit 6a22af83dc
47 changed files with 164 additions and 165 deletions

View File

@ -50,7 +50,7 @@ const GSD_WACOM_OBJECT_PATH = '/org/gnome/SettingsDaemon/Wacom';
const GsdWacomIface = loadInterfaceXML('org.gnome.SettingsDaemon.Wacom');
const GsdWacomProxy = Gio.DBusProxy.makeProxyWrapper(GsdWacomIface);
const WINDOW_DIMMER_EFFECT_NAME = "gnome-shell-window-dimmer";
const WINDOW_DIMMER_EFFECT_NAME = 'gnome-shell-window-dimmer';
Gio._promisify(Shell, 'util_start_systemd_unit');
Gio._promisify(Shell, 'util_stop_systemd_unit');
@ -550,7 +550,7 @@ class ResizePopup extends St.Widget {
set(rect, displayW, displayH) {
/* Translators: This represents the size of a window. The first number is
* the width of the window and the second is the height. */
let text = _("%d × %d").format(displayW, displayH);
let text = _('%d × %d').format(displayW, displayH);
this._label.set_text(text);
this.set_position(rect.x, rect.y);