Commit graph

9 commits

Author SHA1 Message Date
Tejal Palwankar
dfd0e38f3b wifi: Fixed plural handling for different languages
Fixes #1463
2021-11-04 09:12:44 +00:00
Felipe Borges
afe1c35c57 network: Indicate the maximum password length accepted for wifi hotspots
The Wifi Hotspot setup dialog will error "Must have a minimum of 8 characters"
for all the situations in which nm_utils_wpa_psk_valid and nm_utils_wep_key_valid
report a given password to be invalid.

The case when this error is most obvious is when you enter a very lengthy password
and the dialog shows the very same error about the minimum password length.

These changes make the dialog account for the Maximum password length as well. It
assumes 16 characters for WEP and 63 characters for WPA/WPA2.
2021-05-07 04:02:51 +00:00
Robert Ancell
2814785ad3 network: Stop using deprecated nm_remote_connection_get_secrets 2021-01-08 07:39:32 +00:00
Robert Ancell
96b1052bcd network: Remove markup from translatable strings 2020-01-06 16:57:43 +00:00
Robert Ancell
bd7491bc5c network: Move common code to common location
Remove duplicate header file for these functions
2019-11-27 22:05:46 +00:00
Robert Ancell
6ab75da5c6 network: Use g_clear_pointer 2019-11-06 10:16:20 +13:00
Mohammed Sadiq
a049ccc663 wifi: Always reset hotspot network label before updating
As the hotspot dialog is reused, we have to reset the connection label
everytime it’s shown. Otherwise obsolete informations shall be shown
if there isn't any active connection
2019-09-23 18:08:23 +05:30
Mohammed Sadiq
82f13e848a wifi: Set hotspot dialog title in C source
Setting markup within UI file might be bad as some translators
might break those markups.

Setting it in C source allows to exclude the markups from being
translated, and thus to not confuse translators.

642be83798 (note_608677)
2019-09-23 13:35:54 +05:30
Mohammed Sadiq
642be83798 network: Add new hotspot creation dialog 2019-09-17 12:15:11 +00:00