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

@@ -290,13 +290,10 @@
<string name="title_app_settings">ऐप सेटिंग्स</string>
<string name="pref_updates_check_frequency">स्वचालित अपडेट आवृत्ति</string>
<string name="pref_updates_check_frequency_desc">स्वतः और स्वयं अपडेट के लिए अंतराल कॉन्फिगर करें, घंटे में।</string>
<string name="pref_network_proxy_enable">प्रॉक्सी चालू करें</string>
<string name="pref_network_proxy_url">प्रॉक्सी URL</string>
<string name="pref_network_proxy_title">प्रॉक्सी</string>
<string name="toast_proxy_invalid">अमान्य प्रॉक्सी URL, प्रारूप जांचें!</string>
<string name="toast_proxy_success">प्रॉक्सी सफलतापूर्वक निर्धारित हो गई</string>
<string name="toast_proxy_failed">प्रॉक्सी निर्धारित करने में विफल</string>
<string name="pref_network_proxy_enable_desc">ऐप से सभी ट्रैफिक को प्रॉक्सी के माध्यम से जाने की अनुमति दें</string>
<string name="pref_vending_version_device">तयशुदा (डिवाइस विन्यास से)</string>
<string name="pref_vending_version_title">गूगल प्ले संस्करण</string>
<string name="onboarding_permission_doze">बेकग्राउंड डाउनलोड</string>