mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
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:
parent
2c62e45168
commit
f309d98bc8
10 changed files with 17 additions and 16 deletions
|
|
@ -844,7 +844,8 @@ var PadOsd = GObject.registerClass({
|
|||
this._tipLabel.set_text(_("Press any key to exit"));
|
||||
}
|
||||
|
||||
this._titleLabel.clutter_text.set_markup('<span size="larger"><b>' + title + '</b></span>');
|
||||
this._titleLabel.clutter_text.set_markup(
|
||||
`<span size="larger"><b>${title}</b></span>`);
|
||||
}
|
||||
|
||||
_isEditedAction(type, number, dir) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue