thunderbolt: ensure failure msg is translatable

Swap the gettext() and format() calls to ensure that the message
is translatable.
This commit is contained in:
Christian Kellner 2019-02-04 16:14:16 +01:00 committed by Florian Müllner
parent d8593c5b4a
commit 345a8fe748

View File

@ -334,7 +334,7 @@ var Indicator = class extends PanelMenu.SystemIndicator {
_onEnrollFailed(obj, device, error) {
const title = _("Thunderbolt authorization error");
const body = _("Could not authorize the Thunderbolt device: %s".format(error.message));
const body = _("Could not authorize the Thunderbolt device: %s").format(error.message);
this._notify(title, body);
}
};