mirror of
https://github.com/Mahdi-zarei/nekoray.git
synced 2025-12-19 05:30:06 +08:00
fix: Disable translatable in some UI items
This commit is contained in:
parent
fe9bfa22b4
commit
49e5589bb7
@ -286,7 +286,6 @@ namespace NekoGui {
|
||||
_add(new configItem("sub_clear", &sub_clear, itemType::boolean));
|
||||
_add(new configItem("sub_insecure", &sub_insecure, itemType::boolean));
|
||||
_add(new configItem("sub_auto_update", &sub_auto_update, itemType::integer));
|
||||
_add(new configItem("enable_js_hook", &enable_js_hook, itemType::integer));
|
||||
_add(new configItem("log_ignore", &log_ignore, itemType::stringList));
|
||||
_add(new configItem("start_minimal", &start_minimal, itemType::boolean));
|
||||
_add(new configItem("max_log_line", &max_log_line, itemType::integer));
|
||||
|
||||
@ -115,7 +115,6 @@ namespace NekoGui {
|
||||
|
||||
// Security
|
||||
bool skip_cert = false;
|
||||
int enable_js_hook = 0;
|
||||
QString utlsFingerprint = "";
|
||||
|
||||
// Remember
|
||||
|
||||
@ -43,10 +43,6 @@
|
||||
<source>Theme</source>
|
||||
<translation>پوسته</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>System</source>
|
||||
<translation>سیستم</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Subscription</source>
|
||||
<translation>اشتراک</translation>
|
||||
@ -145,10 +141,6 @@
|
||||
<source>Ignore TLS errors when updating subscription</source>
|
||||
<translation>هنگام بهروزرسانی اشتراک، خطاهای TLS را نادیده گرفته شود</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enable hook.js</source>
|
||||
<translation type="unfinished">فعال سازی hook.js</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Advanced system proxy settings. Please select a format.</source>
|
||||
<translation>تنظیمات پیشرفته پروکسی سیستم. لطفا یک قالب را انتخاب کنید.</translation>
|
||||
@ -346,10 +338,6 @@ For NekoBox, this rewrites the underlying(localhost) DNS in Tun Mode, normal mod
|
||||
<source>Front Proxy</source>
|
||||
<translation type="unfinished">پروکسی front</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>None</source>
|
||||
<translation type="unfinished">هیچ یک</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Skip automatic update</source>
|
||||
<translation type="unfinished">لغو آپدیت اتوماتیک</translation>
|
||||
@ -614,14 +602,6 @@ For NekoBox, this rewrites the underlying(localhost) DNS in Tun Mode, normal mod
|
||||
<source>Default Outbound</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Domain Strategy</source>
|
||||
<translation type="unfinished">استراتژی دامنه</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Server Address Strategy</source>
|
||||
<translation type="unfinished">استراتژی آدرس سرور</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Sniff result for routing</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@ -676,10 +656,6 @@ For more information, see the document "Configuration/DNS".</source>
|
||||
<source>Routing Profile</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>proxy</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>direct</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@ -688,10 +664,6 @@ For more information, see the document "Configuration/DNS".</source>
|
||||
<source>The outbound tag to use when the request is not handled by any rule</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>8.8.8.8</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Default DNS server</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@ -716,6 +688,20 @@ For more information, see the document "Configuration/DNS".</source>
|
||||
<source>Delete</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>outbound.domain_strategy
|
||||
when set, domain destinations are resolved to IP before connect,
|
||||
also if the connection cannot be established with the current address family (ipv4, ipv6), a fallback connection is created shortly after, with the other address family.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Outbound Domain Strategy</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Inbound Domain Strategy</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>DialogVPNSettings</name>
|
||||
@ -1115,14 +1101,6 @@ https://matsuridayo.github.io/n-configuration/#vpn-tun</source>
|
||||
<source>Server</source>
|
||||
<translation>سرور</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Ads</source>
|
||||
<translation>تبلیغات</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Document</source>
|
||||
<translation>اسناد</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Update</source>
|
||||
<translation>بروزرسانی</translation>
|
||||
@ -1441,10 +1419,6 @@ Split by line.</source>
|
||||
<source>Settings changed</source>
|
||||
<translation type="unfinished">تنظیمات تغییر کرد</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Please run NekoBox as admin</source>
|
||||
<translation type="unfinished">لطفا Nekobox را با مجوز ادمین اجرا کنید</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Restart Proxy</source>
|
||||
<translation type="unfinished">راه اندازی مجدد پروکسی</translation>
|
||||
@ -1493,6 +1467,42 @@ Split by line.</source>
|
||||
<source>Stop Testing</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Tun device misbehaving</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>If you have trouble starting VPN, you can force reset nekobox_core process here and then try starting the profile again.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Reset</source>
|
||||
<translation type="unfinished">بازنشانی</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cancel</source>
|
||||
<translation type="unfinished">لغو کردن</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Please run Nekoray as admin</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Add new Group</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Delete selected Group</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Edit selected Group</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Remove %1?</source>
|
||||
<translation type="unfinished">حذف %1?</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ProxyItem</name>
|
||||
@ -1651,10 +1661,6 @@ Direct: %2</source>
|
||||
<source>Name</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>View JSON</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Rules</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@ -1691,5 +1697,9 @@ Direct: %2</source>
|
||||
<source>Name_Placeholder</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Import JSON</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
||||
@ -63,10 +63,6 @@
|
||||
<source>Theme</source>
|
||||
<translation>Тема</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>System</source>
|
||||
<translation>Системная</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Set custom icon</source>
|
||||
<translation>Задать иконку</translation>
|
||||
@ -163,10 +159,6 @@
|
||||
<source>Skip TLS certificate authentication by default (allowInsecure)</source>
|
||||
<translation>Не проверять подлинность TLS сертификатов по умолчанию</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enable hook.js</source>
|
||||
<translation>Использовать hook.js</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Default uTLS Fingerprint</source>
|
||||
<translation>uTLS fingerprint по умолчанию</translation>
|
||||
@ -346,10 +338,6 @@ For NekoBox, this rewrites the underlying(localhost) DNS in Tun Mode, normal mod
|
||||
<source>Please input URL</source>
|
||||
<translation>Пожалуйста, введите URL</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>None</source>
|
||||
<translation>Нет</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Skip automatic update</source>
|
||||
<translation>Пропустить автоматическое обновление</translation>
|
||||
@ -598,10 +586,6 @@ For NekoBox, this rewrites the underlying(localhost) DNS in Tun Mode, normal mod
|
||||
<source>Common</source>
|
||||
<translation>Общие</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Domain Strategy</source>
|
||||
<translation>Стратегия доменов</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Disable</source>
|
||||
<translation>Выкл</translation>
|
||||
@ -618,10 +602,6 @@ For NekoBox, this rewrites the underlying(localhost) DNS in Tun Mode, normal mod
|
||||
<source>Sniffing Mode</source>
|
||||
<translation>Режим подслушивания</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Server Address Strategy</source>
|
||||
<translation>Стратегия выбора адреса сервера</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>DNS</source>
|
||||
<translation>DNS</translation>
|
||||
@ -676,10 +656,6 @@ For more information, see the document "Configuration/DNS".</source>
|
||||
<source>Routing Profile</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>proxy</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>direct</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@ -688,10 +664,6 @@ For more information, see the document "Configuration/DNS".</source>
|
||||
<source>The outbound tag to use when the request is not handled by any rule</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>8.8.8.8</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Default DNS server</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@ -716,6 +688,20 @@ For more information, see the document "Configuration/DNS".</source>
|
||||
<source>Delete</source>
|
||||
<translation type="unfinished">Удалить</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>outbound.domain_strategy
|
||||
when set, domain destinations are resolved to IP before connect,
|
||||
also if the connection cannot be established with the current address family (ipv4, ipv6), a fallback connection is created shortly after, with the other address family.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Outbound Domain Strategy</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Inbound Domain Strategy</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>DialogVPNSettings</name>
|
||||
@ -1118,14 +1104,6 @@ https://matsuridayo.github.io/n-configuration/#vpn-tun</translation>
|
||||
<source>Server</source>
|
||||
<translation>Сервер</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Ads</source>
|
||||
<translation>Реклама</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Document</source>
|
||||
<translation>Документация</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Update</source>
|
||||
<translation>Обновление</translation>
|
||||
@ -1363,10 +1341,6 @@ https://matsuridayo.github.io/n-configuration/#vpn-tun</translation>
|
||||
<source>Imported %1 profile(s)</source>
|
||||
<translation>Импортирован(ы) %1 профиль(ей)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Please run NekoBox as admin</source>
|
||||
<translation>Пожалуйста, запустите NekoBox с правами администратора</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Not Running</source>
|
||||
<translation>Не запущен</translation>
|
||||
@ -1497,6 +1471,42 @@ Split by line.</source>
|
||||
<source>Stop Testing</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Tun device misbehaving</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>If you have trouble starting VPN, you can force reset nekobox_core process here and then try starting the profile again.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Reset</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cancel</source>
|
||||
<translation type="unfinished">Отмена</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Please run Nekoray as admin</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Add new Group</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Delete selected Group</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Edit selected Group</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Remove %1?</source>
|
||||
<translation type="unfinished">Удалить %1?</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ProxyItem</name>
|
||||
@ -1662,10 +1672,6 @@ Release note:
|
||||
<source>Name</source>
|
||||
<translation type="unfinished">Имя</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>View JSON</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Rules</source>
|
||||
<translation type="unfinished"></translation>
|
||||
@ -1702,5 +1708,9 @@ Release note:
|
||||
<source>Name_Placeholder</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Import JSON</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
||||
@ -43,10 +43,6 @@
|
||||
<source>Theme</source>
|
||||
<translation>主题</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>System</source>
|
||||
<translation>系统</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Subscription</source>
|
||||
<translation>订阅</translation>
|
||||
@ -167,10 +163,6 @@
|
||||
<source>Ignore TLS errors when updating subscription</source>
|
||||
<translation>更新订阅时忽略 TLS 错误</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enable hook.js</source>
|
||||
<translation>启用 hook.js 功能</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Hide dashboard at startup</source>
|
||||
<translation>启动时不显示仪表盘</translation>
|
||||
@ -346,10 +338,6 @@ For NekoBox, this rewrites the underlying(localhost) DNS in Tun Mode, normal mod
|
||||
<source>Front Proxy</source>
|
||||
<translation>前置代理</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>None</source>
|
||||
<translation>无</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Skip automatic update</source>
|
||||
<translation>跳过自动更新</translation>
|
||||
@ -622,14 +610,6 @@ For NekoBox, this rewrites the underlying(localhost) DNS in Tun Mode, normal mod
|
||||
<source>Default Outbound</source>
|
||||
<translation>默认出站</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Domain Strategy</source>
|
||||
<translation>域名策略</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Server Address Strategy</source>
|
||||
<translation>服务器地址策略</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Common</source>
|
||||
<translation>通用</translation>
|
||||
@ -678,10 +658,6 @@ For more information, see the document "Configuration/DNS".</source>
|
||||
<source>Routing Profile</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>proxy</source>
|
||||
<translation>代理</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>direct</source>
|
||||
<translation>直连</translation>
|
||||
@ -690,10 +666,6 @@ For more information, see the document "Configuration/DNS".</source>
|
||||
<source>The outbound tag to use when the request is not handled by any rule</source>
|
||||
<translation>当请求未被任何规则处理时使用的出站标签</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>8.8.8.8</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Default DNS server</source>
|
||||
<translation>默认 DNS 服务器</translation>
|
||||
@ -718,6 +690,20 @@ For more information, see the document "Configuration/DNS".</source>
|
||||
<source>Delete</source>
|
||||
<translation>删除</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>outbound.domain_strategy
|
||||
when set, domain destinations are resolved to IP before connect,
|
||||
also if the connection cannot be established with the current address family (ipv4, ipv6), a fallback connection is created shortly after, with the other address family.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Outbound Domain Strategy</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Inbound Domain Strategy</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>DialogVPNSettings</name>
|
||||
@ -1120,10 +1106,6 @@ https://matsuridayo.github.io/n-configuration/#vpn-tun</translation>
|
||||
<source>Server</source>
|
||||
<translation>服务器</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Ads</source>
|
||||
<translation>推广</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Type</source>
|
||||
<translation>类型</translation>
|
||||
@ -1244,10 +1226,6 @@ https://matsuridayo.github.io/n-configuration/#vpn-tun</translation>
|
||||
<source>Update</source>
|
||||
<translation>更新</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Document</source>
|
||||
<translation>文档</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Select</source>
|
||||
<translation>选择</translation>
|
||||
@ -1450,10 +1428,6 @@ Split by line.</source>
|
||||
<source>Restart the program to take effect.</source>
|
||||
<translation>重启程序生效。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Please run NekoBox as admin</source>
|
||||
<translation>请以管理员权限运行 NekoBox</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Restart Proxy</source>
|
||||
<translation>重启代理</translation>
|
||||
@ -1498,6 +1472,42 @@ Split by line.</source>
|
||||
<source>Stop Testing</source>
|
||||
<translation>停止测试</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Tun device misbehaving</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>If you have trouble starting VPN, you can force reset nekobox_core process here and then try starting the profile again.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Reset</source>
|
||||
<translation type="unfinished">重置</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Cancel</source>
|
||||
<translation type="unfinished">取消</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Please run Nekoray as admin</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Add new Group</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Delete selected Group</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Edit selected Group</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Remove %1?</source>
|
||||
<translation type="unfinished">删除 %1 ?</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ProxyItem</name>
|
||||
@ -1663,10 +1673,6 @@ Release note:
|
||||
<source>Name</source>
|
||||
<translation>名称</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>View JSON</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Rules</source>
|
||||
<translation>规则</translation>
|
||||
@ -1703,5 +1709,9 @@ Release note:
|
||||
<source>Name_Placeholder</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Import JSON</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
||||
@ -228,7 +228,6 @@ DialogBasicSettings::DialogBasicSettings(QWidget *parent)
|
||||
ui->utlsFingerprint->addItems(Preset::SingBox::UtlsFingerPrint);
|
||||
|
||||
D_LOAD_BOOL(skip_cert)
|
||||
ui->enable_js_hook->setCurrentIndex(NekoGui::dataStore->enable_js_hook);
|
||||
ui->utlsFingerprint->setCurrentText(NekoGui::dataStore->utlsFingerprint);
|
||||
}
|
||||
|
||||
@ -310,7 +309,6 @@ void DialogBasicSettings::accept() {
|
||||
// Security
|
||||
|
||||
D_SAVE_BOOL(skip_cert)
|
||||
NekoGui::dataStore->enable_js_hook = ui->enable_js_hook->currentIndex();
|
||||
NekoGui::dataStore->utlsFingerprint = ui->utlsFingerprint->currentText();
|
||||
|
||||
QStringList str{"UpdateDataStore"};
|
||||
|
||||
@ -23,10 +23,10 @@
|
||||
<item row="8" column="3">
|
||||
<widget class="QDialogButtonBox" name="buttonBox">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
<enum>Qt::Orientation::Horizontal</enum>
|
||||
</property>
|
||||
<property name="standardButtons">
|
||||
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
||||
<set>QDialogButtonBox::StandardButton::Cancel|QDialogButtonBox::StandardButton::Ok</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -215,7 +215,7 @@
|
||||
<item>
|
||||
<widget class="Line" name="sys_proxy_format_vline">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Vertical</enum>
|
||||
<enum>Qt::Orientation::Vertical</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -292,7 +292,7 @@
|
||||
<widget class="QComboBox" name="theme">
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>System</string>
|
||||
<string notr="true">System</string>
|
||||
</property>
|
||||
</item>
|
||||
</widget>
|
||||
@ -789,7 +789,7 @@
|
||||
<item>
|
||||
<widget class="QScrollArea" name="extra_core_box_scrollArea">
|
||||
<property name="frameShape">
|
||||
<enum>QFrame::NoFrame</enum>
|
||||
<enum>QFrame::Shape::NoFrame</enum>
|
||||
</property>
|
||||
<property name="widgetResizable">
|
||||
<bool>true</bool>
|
||||
@ -799,8 +799,8 @@
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>680</width>
|
||||
<height>355</height>
|
||||
<width>686</width>
|
||||
<height>377</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_6">
|
||||
@ -848,44 +848,6 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QGroupBox" name="horizontalGroupBox3">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Maximum">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_14">
|
||||
<item>
|
||||
<widget class="QLabel" name="label_2">
|
||||
<property name="text">
|
||||
<string>Enable hook.js</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QComboBox" name="enable_js_hook">
|
||||
<item>
|
||||
<property name="text">
|
||||
<string notr="true">Disable</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string notr="true">Enable</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string notr="true">Enable + load std module</string>
|
||||
</property>
|
||||
</item>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QGroupBox" name="horizontalGroupBox2">
|
||||
<property name="sizePolicy">
|
||||
|
||||
@ -107,7 +107,7 @@ when used, domain destinations are resolved to IP before routing.</string>
|
||||
<widget class="QComboBox" name="default_out">
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>proxy</string>
|
||||
<string notr="true">proxy</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
@ -170,7 +170,7 @@ For more information, see the document "Configuration/DNS".</string>
|
||||
</property>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>8.8.8.8</string>
|
||||
<string notr="true">8.8.8.8</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
@ -442,7 +442,7 @@ For more information, see the document "Configuration/DNS".</string>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="standardButtons">
|
||||
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
||||
<set>QDialogButtonBox::StandardButton::Cancel|QDialogButtonBox::StandardButton::Ok</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
||||
@ -45,7 +45,7 @@
|
||||
<widget class="QComboBox" name="front_proxy">
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>None</string>
|
||||
<string notr="true">None</string>
|
||||
</property>
|
||||
</item>
|
||||
</widget>
|
||||
@ -105,7 +105,7 @@
|
||||
<widget class="QComboBox" name="landing_proxy">
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>None</string>
|
||||
<string notr="true">None</string>
|
||||
</property>
|
||||
</item>
|
||||
</widget>
|
||||
@ -172,7 +172,7 @@
|
||||
<item>
|
||||
<widget class="QDialogButtonBox" name="buttonBox">
|
||||
<property name="standardButtons">
|
||||
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
||||
<set>QDialogButtonBox::StandardButton::Cancel|QDialogButtonBox::StandardButton::Ok</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
||||
@ -59,7 +59,7 @@
|
||||
<widget class="QComboBox" name="plugin">
|
||||
<item>
|
||||
<property name="text">
|
||||
<string/>
|
||||
<string notr="true"/>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user