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': case '802-3-ethernet':
title = _("Wired 802.1X authentication"); 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; break;
case 'pppoe': case 'pppoe':
title = _("DSL authentication"); 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; break;
case 'gsm': case 'gsm':
if (hints.includes('pin')) { if (hints.includes('pin')) {