NetworkPreferences: Simplify proxy setup yet again

* Allow to view and edit proxy URL without turning it off and on
* Add a new disable button in proxy dialog
* Trim whitespace and disallow new lines in the proxy URL field
* Disable buttons when not applicable

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
Aayush Gupta
2025-02-18 14:46:42 +08:00
parent cff88b1e17
commit 076b6ad291
50 changed files with 50 additions and 199 deletions

View File

@@ -289,13 +289,10 @@
<string name="pref_aurora_only">Tylko aplikacje Aurora Store</string>
<string name="title_app_settings">Ustawienia aplikacji</string>
<string name="pref_updates_check_frequency">Częstotliwość automatycznych aktualizacji</string>
<string name="pref_network_proxy_enable">Włącz proxy</string>
<string name="pref_network_proxy_url">Adres URL serwera proxy</string>
<string name="pref_network_proxy_title">Proxy</string>
<string name="toast_proxy_invalid">Nieprawidłowy adres URL serwera proxy, sprawdź format!</string>
<string name="toast_proxy_success">Ustawiono serwer proxy</string>
<string name="toast_proxy_failed">Nie udało się ustawić serwera proxy</string>
<string name="pref_network_proxy_enable_desc">Zezwól, aby cały ruch z aplikacji przechodził przez serwer proxy</string>
<string name="pref_aurora_only_desc">Sprawdzaj aktualizacje tylko dla aplikacji zainstalowanych przez Aurora Store</string>
<string name="pref_vending_version_device">Domyślna (z konfiguracji urządzenia)</string>
<string name="pref_vending_version_title">Wersja Google Play</string>