networkAgent: Fix order of _() and format()

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1961>
This commit is contained in:
Ivan Molodetskikh 2021-08-26 07:55:03 +00:00
parent a24a7a8690
commit 6c4089025f

View File

@ -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')) {