NetworkAgent: use existing strings to avoid breaking the string freeze
This commit is contained in:
parent
90a08ba0b6
commit
921a9071a1
@ -656,15 +656,15 @@ const NetworkAgent = new Lang.Class({
|
|||||||
let wirelessSetting = connection.get_setting_wireless();
|
let wirelessSetting = connection.get_setting_wireless();
|
||||||
let ssid = NetworkManager.utils_ssid_to_utf8(wirelessSetting.get_ssid());
|
let ssid = NetworkManager.utils_ssid_to_utf8(wirelessSetting.get_ssid());
|
||||||
title = _("Authentication required by wireless network");
|
title = _("Authentication required by wireless network");
|
||||||
body = _("Passwords or encryption keys are required to access the wireless network '%s'.").format(ssid);
|
body = _("Passwords or encryption keys are required to access the wireless network “%s”.").format(ssid);
|
||||||
break;
|
break;
|
||||||
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.indexOf('pin') != -1) {
|
if (hints.indexOf('pin') != -1) {
|
||||||
@ -677,7 +677,7 @@ const NetworkAgent = new Lang.Class({
|
|||||||
case 'cdma':
|
case 'cdma':
|
||||||
case 'bluetooth':
|
case 'bluetooth':
|
||||||
title = _("Mobile broadband network password");
|
title = _("Mobile broadband network password");
|
||||||
message = _("A password is required to connect to “%s”").format(connectionSetting.get_id());
|
message = _("A password is required to connect to “%s”.").format(connectionSetting.get_id());
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
log('Invalid connection type: ' + connectionType);
|
log('Invalid connection type: ' + connectionType);
|
||||||
|
Loading…
Reference in New Issue
Block a user