From 6c4089025f8eb3660e91cb91b564a132955b92bc Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Thu, 26 Aug 2021 07:55:03 +0000 Subject: [PATCH] networkAgent: Fix order of _() and format() Part-of: --- js/ui/components/networkAgent.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/ui/components/networkAgent.js b/js/ui/components/networkAgent.js index 29b8190cc..9a1885a03 100644 --- a/js/ui/components/networkAgent.js +++ b/js/ui/components/networkAgent.js @@ -682,11 +682,11 @@ var NetworkAgent = class { } case '802-3-ethernet': title = _("Wired 802.1X authentication"); - body = _("A password is required to connect to “%s”.".format(connection.get_id())); + body = _('A password is required to connect to “%s”.').format(connection.get_id()); break; case 'pppoe': title = _("DSL authentication"); - body = _("A password is required to connect to “%s”.".format(connection.get_id())); + body = _('A password is required to connect to “%s”.').format(connection.get_id()); break; case 'gsm': if (hints.includes('pin')) {