feature: Added network proxy support for hex::Net (#562)

* feat(i18n): update Chinese(Simplified) translation

* feat: proxy setting

* refactor: add hex::Net::setProxy

* fix: undefined symbol: hex::Net::m_proxyUrl

* style: m_proxyUrl -> s_proxyUrl
This commit is contained in:
Shiroki Satsuki
2022-07-01 20:05:32 +08:00
committed by GitHub
parent eadcc6f38c
commit ef5fbba56b
9 changed files with 88 additions and 2 deletions

View File

@@ -702,6 +702,11 @@ namespace hex::plugin::builtin {
//{ "hex.builtin.setting.font", "Font" },
//{ "hex.builtin.setting.font.font_path", "Custom Font Path" },
//{ "hex.builtin.setting.font.font_size", "Font Size" },
//{ "hex.builtin.setting.proxy", "Proxy" },
//{ "hex.builtin.setting.proxy.description", "Proxy will take effect on store, wikipedia or any other plugin immediately." },
//{ "hex.builtin.setting.proxy.enable", "Enable Proxy" },
//{ "hex.builtin.setting.proxy.url", "Proxy URL" },
//{ "hex.builtin.setting.proxy.url.tooltip", "http(s):// or socks5:// (e.g., http://127.0.0.1:1080)" },
{ "hex.builtin.provider.file.path", "Percorso del File" },
{ "hex.builtin.provider.file.size", "Dimensione" },