Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
arm64v8a committed Aug 3, 2023
1 parent bee71d9 commit d686faa
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 10 deletions.
8 changes: 2 additions & 6 deletions translations/fa_IR.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1302,8 +1302,8 @@ This needs to be run NekoBox with administrator privileges.</source>
<translation>لینک های انتخاب شده را کپی کنید</translation>
</message>
<message>
<source>Enable VPN</source>
<translation>فعال کردن vpn</translation>
<source>Enable Tun</source>
<translation>فعال کردن tun</translation>
</message>
<message>
<source>Clone</source>
Expand Down Expand Up @@ -1648,10 +1648,6 @@ Direct: %2</source>
<source>Request with proxy but no profile started.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Enable VPN</source>
<translation type="obsolete">فعال کردن vpn</translation>
</message>
<message>
<source>Enable System Proxy</source>
<translation type="obsolete">پروکسی سیستم را فعال کنید</translation>
Expand Down
2 changes: 1 addition & 1 deletion translations/ru_RU.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1310,7 +1310,7 @@ https://matsuridayo.github.io/n-configuration/#vpn-tun</translation>
<translation>Скопировать ссылки для выбранных</translation>
</message>
<message>
<source>Enable VPN</source>
<source>Enable Tun</source>
<translation>Включить TUN-режим</translation>
</message>
<message>
Expand Down
4 changes: 2 additions & 2 deletions translations/zh_CN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1372,8 +1372,8 @@ End: %2</source>
<translation>启用系统代理</translation>
</message>
<message>
<source>Enable VPN</source>
<translation>启用 VPN</translation>
<source>Enable Tun</source>
<translation>启用 Tun</translation>
</message>
<message>
<source>Tun Settings changed</source>
Expand Down
3 changes: 3 additions & 0 deletions ui/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -772,6 +772,9 @@ void MainWindow::neko_set_spmode_vpn(bool enable, bool save) {
on_menu_exit_triggered();
} else {
MessageBoxWarning(software_name, "Setcap for Tun mode failed.\n\n1. You may canceled the dialog.\n2. You may be using an incompatible environment like AppImage.");
if (QProcessEnvironment::systemEnvironment().contains("APPIMAGE")) {
MW_show_log("If you are using AppImage, it's impossible to start a Tun. Please use other package instead.");
}
}
#endif
#ifdef Q_OS_WIN
Expand Down
2 changes: 1 addition & 1 deletion ui/mainwindow.ui
Original file line number Diff line number Diff line change
Expand Up @@ -834,7 +834,7 @@
<bool>true</bool>
</property>
<property name="text">
<string>Enable VPN</string>
<string>Enable Tun</string>
</property>
</action>
<action name="menu_clone">
Expand Down

0 comments on commit d686faa

Please sign in to comment.