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':
|
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')) {
|
||||||
|
Loading…
Reference in New Issue
Block a user