[gnome-shell/gnome-40] networkAgent: Fix order of _() and format()
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/gnome-40] networkAgent: Fix order of _() and format()
- Date: Tue, 21 Sep 2021 18:08:46 +0000 (UTC)
commit e6209921ade5e7a2813d8ac1beecf8da78882328
Author: Ivan Molodetskikh <yalterz gmail com>
Date: Thu Aug 26 07:55:03 2021 +0000
networkAgent: Fix order of _() and format()
(cherry picked from commit 6c4089025f8eb3660e91cb91b564a132955b92bc)
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1982>
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 29b8190cc1..9a1885a038 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')) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]