1
0
Fork 0
mirror of https://github.com/M66B/NetGuard.git synced 2024-12-25 09:21:14 +00:00

Updated texts

This commit is contained in:
M66B 2016-04-22 08:13:18 +02:00
parent 5497c055fc
commit 61621c51a7
2 changed files with 7 additions and 6 deletions

View file

@ -785,13 +785,17 @@ public class Util {
AsyncTask task = new AsyncTask<Object, Object, Intent>() { AsyncTask task = new AsyncTask<Object, Object, Intent>() {
@Override @Override
protected Intent doInBackground(Object... objects) { protected Intent doInBackground(Object... objects) {
// Get device info
StringBuilder sb = new StringBuilder(); StringBuilder sb = new StringBuilder();
sb.append(context.getString(R.string.msg_issue));
sb.append("\r\n\r\n\r\n\r\n");
// Get version info
String version = getSelfVersionName(context); String version = getSelfVersionName(context);
sb.append(String.format("NetGuard: %s/%d\r\n", version, getSelfVersionCode(context))); sb.append(String.format("NetGuard: %s/%d\r\n", version, getSelfVersionCode(context)));
sb.append(String.format("Android: %s (SDK %d)\r\n", Build.VERSION.RELEASE, Build.VERSION.SDK_INT)); sb.append(String.format("Android: %s (SDK %d)\r\n", Build.VERSION.RELEASE, Build.VERSION.SDK_INT));
sb.append("\r\n"); sb.append("\r\n");
// Get device info
sb.append(String.format("Brand: %s\r\n", Build.BRAND)); sb.append(String.format("Brand: %s\r\n", Build.BRAND));
sb.append(String.format("Manufacturer: %s\r\n", Build.MANUFACTURER)); sb.append(String.format("Manufacturer: %s\r\n", Build.MANUFACTURER));
sb.append(String.format("Model: %s\r\n", Build.MODEL)); sb.append(String.format("Model: %s\r\n", Build.MODEL));
@ -834,10 +838,6 @@ public class Util {
sb.append("Setting: ").append(key).append('=').append(all.get(key)).append("\r\n"); sb.append("Setting: ").append(key).append('=').append(all.get(key)).append("\r\n");
sb.append("\r\n"); sb.append("\r\n");
// Finalize message
sb.append("Please describe your problem:\r\n");
sb.append("\r\n");
// Write logcat // Write logcat
OutputStream out = null; OutputStream out = null;
try { try {

View file

@ -126,7 +126,7 @@ however it is impossible to guarantee NetGuard will work correctly on every devi
<string name="summary_system">Define rules for system applications (for experts)</string> <string name="summary_system">Define rules for system applications (for experts)</string>
<string name="summary_log_app">Log attempts to access the internet for applications. This might result in extra battery usage.</string> <string name="summary_log_app">Log attempts to access the internet for applications. This might result in extra battery usage.</string>
<string name="summary_access">Show a status bar notification when an application attempts to access a new internet address</string> <string name="summary_access">Show a status bar notification when an application attempts to access a new internet address (when filtering is disabled, only blocked internet access attempts will be notified)</string>
<string name="summary_filter">Filter IP packets going out of the VPN tunnel. This might result in extra battery usage.</string> <string name="summary_filter">Filter IP packets going out of the VPN tunnel. This might result in extra battery usage.</string>
<string name="summary_track_usage">Track the number of bytes sent and received for each application and address. This might result in extra battery usage.</string> <string name="summary_track_usage">Track the number of bytes sent and received for each application and address. This might result in extra battery usage.</string>
<string name="summary_block_domains">Respond with \'name error\' (NXDOMAIN) for blocked domain names. This switch is disabled when no hosts file is available.</string> <string name="summary_block_domains">Respond with \'name error\' (NXDOMAIN) for blocked domain names. This switch is disabled when no hosts file is available.</string>
@ -179,6 +179,7 @@ Your internet traffic is not being sent to a remote VPN server.</string>
<string name="msg_queue">NetGuard is busy</string> <string name="msg_queue">NetGuard is busy</string>
<string name="msg_update">Update available, tap to download</string> <string name="msg_update">Update available, tap to download</string>
<string name="msg_system">Managing system applications can be enabled in the advanced options</string> <string name="msg_system">Managing system applications can be enabled in the advanced options</string>
<string name="msg_issue">Please describe the problem and indicate the time of the problem:</string>
<string name="title_unmetered_allowed">Unmetered traffic is allowed</string> <string name="title_unmetered_allowed">Unmetered traffic is allowed</string>
<string name="title_unmetered_blocked">Unmetered traffic is blocked</string> <string name="title_unmetered_blocked">Unmetered traffic is blocked</string>