[gnome-shell] networkAgent: Fix order of _() and format()



commit 6c4089025f8eb3660e91cb91b564a132955b92bc
Author: Ivan Molodetskikh <yalterz gmail com>
Date:   Thu Aug 26 07:55:03 2021 +0000

    networkAgent: Fix order of _() and format()
    
    Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1961>

 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]