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

@ -41,7 +41,7 @@ export const CloseDialog = GObject.registerClass({
let windowApp = tracker.get_window_app(this._window);
/* Translators: %s is an application name */
let title = _("“%s” is not responding.").format(windowApp.get_name());
let title = _('“%s” is not responding.').format(windowApp.get_name());
let description = _('You may choose to wait a short while for it to ' +
'continue or force the app to quit entirely.');
return new Dialog.MessageDialogContent({ title, description });
@ -96,13 +96,13 @@ export const CloseDialog = GObject.registerClass({
let surfaceActor = windowActor.get_first_child();
let effect = new Clutter.BrightnessContrastEffect();
effect.set_brightness(FROZEN_WINDOW_BRIGHTNESS);
surfaceActor.add_effect_with_name("gnome-shell-frozen-window", effect);
surfaceActor.add_effect_with_name('gnome-shell-frozen-window', effect);
}
_removeWindowEffect() {
let windowActor = this._window.get_compositor_private();
let surfaceActor = windowActor.get_first_child();
surfaceActor.remove_effect_by_name("gnome-shell-frozen-window");
surfaceActor.remove_effect_by_name('gnome-shell-frozen-window');
}
_onWait() {