summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAutomeris naranja <automerisnaranja@tutanota.com>2023-03-16 16:00:29 -0300
committerFelipe Borges <felipeborges@gnome.org>2023-05-03 11:25:24 +0000
commitfe36282b2668652affaf32a7df63f645c389c47d (patch)
tree3c5ec413e425cfd64ce6ae37d03668618340ab5d
parent6fb6ba1dc99da6a9713de98f3aca6fd45997ead8 (diff)
downloadgnome-control-center-fe36282b2668652affaf32a7df63f645c389c47d.tar.gz
network: AdwStatusPage consistency tweaks
Both Wi-Fi and Network panels shows a status page when Network Manager isn't running. However, they don't use the same writing style: - https://gitlab.gnome.org/GNOME/gnome-control-center/-/blob/gnome-44/panels/network/cc-wifi-panel.ui#L221 - https://gitlab.gnome.org/GNOME/gnome-control-center/-/blob/gnome-44/panels/network/cc-network-panel.c#L672 This change makes both status pages to use the same writing style.
-rw-r--r--panels/network/cc-network-panel.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/panels/network/cc-network-panel.c b/panels/network/cc-network-panel.c
index 6a3074ced..1bcc836ec 100644
--- a/panels/network/cc-network-panel.c
+++ b/panels/network/cc-network-panel.c
@@ -669,11 +669,11 @@ panel_check_network_manager_version (CcNetworkPanel *self)
cc_panel_set_content (CC_PANEL (self), status_page);
adw_status_page_set_icon_name (ADW_STATUS_PAGE (status_page), "network-error-symbolic");
- adw_status_page_set_title (ADW_STATUS_PAGE (status_page), _("Can’t Connect to Network"));
+ adw_status_page_set_title (ADW_STATUS_PAGE (status_page), _("Network Unavailable"));
adw_status_page_set_description (ADW_STATUS_PAGE (status_page),
- _("NetworkManager needs to be running to view or make "
- "connections. Contact a system administrator or the "
- "software vendor."));
+ _("An error has occurred and network cannot be used."
+ "\n Error details: NetworkManager not running."));
+
} else {
manager_running (self);
}