networkAgent: Fix order of _() and format()
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1961>
This commit is contained in:
parent
a24a7a8690
commit
6c4089025f
@ -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')) {
|
||||
|
Loading…
Reference in New Issue
Block a user