[gnome-shell] thunderbolt: ensure failure msg is translatable
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] thunderbolt: ensure failure msg is translatable
- Date: Mon, 4 Feb 2019 18:55:34 +0000 (UTC)
commit 345a8fe748d14b042887f17b022bd2e685e9e218
Author: Christian Kellner <christian kellner me>
Date: Mon Feb 4 16:14:16 2019 +0100
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);
}
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]