From 345a8fe748d14b042887f17b022bd2e685e9e218 Mon Sep 17 00:00:00 2001 From: Christian Kellner Date: Mon, 4 Feb 2019 16:14:16 +0100 Subject: [PATCH] thunderbolt: ensure failure msg is translatable Swap the gettext() and format() calls to ensure that the message is translatable. --- js/ui/status/thunderbolt.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/status/thunderbolt.js b/js/ui/status/thunderbolt.js index 8362b5d73..b7dadbc66 100644 --- a/js/ui/status/thunderbolt.js +++ b/js/ui/status/thunderbolt.js @@ -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); } };