[gnome-shell] networkAgent: Use shorter title strings
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] networkAgent: Use shorter title strings
- Date: Sat, 1 Feb 2020 07:16:16 +0000 (UTC)
commit 3c4792395352ed7ca517ca6c2ba3470f33341031
Author: Jonas Dreßler <verdre v0yd nl>
Date: Tue Jan 21 10:27:36 2020 +0100
networkAgent: Use shorter title strings
Since the headlines of the dialogs now use a much larger font, the
strings need to be shorter so they won't be ellipsized. So use a shorter
strings for those titles and also adjust the title-strings of the
notifications sent by the NetworkAgent to be consistent.
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/942
js/ui/components/networkAgent.js | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/js/ui/components/networkAgent.js b/js/ui/components/networkAgent.js
index 2d8ed545da..6699cb6aaf 100644
--- a/js/ui/components/networkAgent.js
+++ b/js/ui/components/networkAgent.js
@@ -303,7 +303,7 @@ class NetworkSecretDialog extends ModalDialog.ModalDialog {
case '802-11-wireless':
wirelessSetting = this._connection.get_setting_wireless();
ssid = NM.utils_ssid_to_utf8(wirelessSetting.get_ssid().get_data());
- content.title = _("Authentication required by wireless network");
+ content.title = _('Authentication required');
content.message = _("Passwords or encryption keys are required to access the wireless network
“%s”.").format(ssid);
this._getWirelessSecrets(content.secrets, wirelessSetting);
break;
@@ -331,7 +331,7 @@ class NetworkSecretDialog extends ModalDialog.ModalDialog {
// fall through
case 'cdma':
case 'bluetooth':
- content.title = _("Mobile broadband network password");
+ content.title = _('Authentication required');
content.message = _("A password is required to connect to
“%s”.").format(connectionSetting.get_id());
this._getMobileSecrets(content.secrets, connectionType);
break;
@@ -678,7 +678,7 @@ var NetworkAgent = class {
case '802-11-wireless': {
let wirelessSetting = connection.get_setting_wireless();
let ssid = NM.utils_ssid_to_utf8(wirelessSetting.get_ssid().get_data());
- title = _("Authentication required by wireless network");
+ title = _('Authentication required');
body = _("Passwords or encryption keys are required to access the wireless network
“%s”.").format(ssid);
break;
}
@@ -699,7 +699,7 @@ var NetworkAgent = class {
// fall through
case 'cdma':
case 'bluetooth':
- title = _("Mobile broadband network password");
+ title = _('Authentication required');
body = _("A password is required to connect to “%s”.").format(connectionSetting.get_id());
break;
case 'vpn':
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]