cleanup: Use more template strings
xgettext got better at recognizing template strings, so we can replace more string concatenations. Alas xgettext is still buggy (surprise, regular expressions are hard), so there are still a handful of holdouts that prevent us from making a complete switch. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/792
This commit is contained in:

committed by
Florian Müllner

parent
2c62e45168
commit
f309d98bc8
@ -304,7 +304,7 @@ var GnomeShellExtensions = class {
|
||||
let app = appSys.lookup_app('gnome-shell-extension-prefs.desktop');
|
||||
let info = app.get_app_info();
|
||||
let timestamp = global.display.get_current_time_roundtrip();
|
||||
info.launch_uris(['extension:///' + uuid],
|
||||
info.launch_uris([`extension:///${uuid}`],
|
||||
global.create_app_launch_context(timestamp, -1));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user