mirror of
https://github.com/M66B/NetGuard.git
synced 2024-12-23 08:17:51 +00:00
Added text
This commit is contained in:
parent
db3afe9fca
commit
dcdf9fb164
2 changed files with 3 additions and 2 deletions
|
@ -416,7 +416,7 @@ public class ServiceSinkhole extends VpnService implements SharedPreferences.OnS
|
|||
last_builder = getBuilder(listAllowed, listRule);
|
||||
vpn = startVPN(last_builder);
|
||||
if (vpn == null)
|
||||
throw new IllegalStateException("VPN start failed");
|
||||
throw new IllegalStateException(getString((R.string.msg_start_failed)));
|
||||
|
||||
startNative(vpn, listAllowed, listRule);
|
||||
|
||||
|
@ -492,7 +492,7 @@ public class ServiceSinkhole extends VpnService implements SharedPreferences.OnS
|
|||
}
|
||||
|
||||
if (vpn == null)
|
||||
throw new IllegalStateException("VPN start failed");
|
||||
throw new IllegalStateException(getString((R.string.msg_start_failed)));
|
||||
|
||||
startNative(vpn, listAllowed, listRule);
|
||||
|
||||
|
|
|
@ -165,6 +165,7 @@ For this reason, please allow a VPN connection in the next dialog.
|
|||
Your internet traffic is not being sent to a remote VPN server.</string>
|
||||
<string name="msg_autostart">NetGuard could not start automatically. This is likely because of a bug in your Android version.</string>
|
||||
<string name="msg_error">An unexpected error has occurred: \'%s\'</string>
|
||||
<string name="msg_start_failed">Android refused to start the VPN service at this moment. This is likely because of a bug in your Android version.</string>
|
||||
<string name="msg_try">Try NetGuard</string>
|
||||
<string name="msg_terms">By donating you agree to the <a href="http://www.netguard.me/#terms">terms & conditions</a></string>
|
||||
<string name="msg_dimming">If you cannot press OK in the next dialog, another (screen dimming) application is likely manipulating the screen.</string>
|
||||
|
|
Loading…
Reference in a new issue