thunderbolt: ensure failure msg is translatable
Swap the gettext() and format() calls to ensure that the message is translatable.
This commit is contained in:
parent
d8593c5b4a
commit
345a8fe748
@ -334,7 +334,7 @@ var Indicator = class extends PanelMenu.SystemIndicator {
|
|||||||
|
|
||||||
_onEnrollFailed(obj, device, error) {
|
_onEnrollFailed(obj, device, error) {
|
||||||
const title = _("Thunderbolt authorization 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);
|
this._notify(title, body);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user