diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/xapek/andiodine/IodineVpnService.java | 2 | ||||
-rw-r--r-- | src/main/res/values-de/strings.xml | 1 | ||||
-rw-r--r-- | src/main/res/values/strings.xml | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/org/xapek/andiodine/IodineVpnService.java b/src/main/java/org/xapek/andiodine/IodineVpnService.java index e3c7858..3c61483 100644 --- a/src/main/java/org/xapek/andiodine/IodineVpnService.java +++ b/src/main/java/org/xapek/andiodine/IodineVpnService.java @@ -255,7 +255,7 @@ public class IodineVpnService extends VpnService implements Runnable { } catch (IllegalStateException e) { String errorMessage = "IllegalStateException"; if (e.getMessage().contains("Cannot create interface")) { - errorMessage = "Failed to create tunnel network device"; + errorMessage = getString(R.string.vpnservice_error_create_interface_string); } else { e.printStackTrace(); } diff --git a/src/main/res/values-de/strings.xml b/src/main/res/values-de/strings.xml index 9b98757..9ad840b 100644 --- a/src/main/res/values-de/strings.xml +++ b/src/main/res/values-de/strings.xml @@ -50,6 +50,7 @@ <string name="vpnservice_error_unknown_error_code">Unbekannter Fehler. Kode %d</string> <string name="vpnservice_error_unknown_error_string">Unbekannter Fehler. Grund: %s</string> <string name="vpnservice_error_dns_detect_failed">Es wurden keine gültigen IPv4-Nameserver erkannt</string> + <string name="vpnservice_error_create_interface_string">Das Tunnel-Netzwerkgerät konnte nicht erstellt werden</string> <string name="idle">Leerlauf</string> <string name="warning">Warnung</string> <string name="error">Fehler</string> diff --git a/src/main/res/values/strings.xml b/src/main/res/values/strings.xml index f584765..bd9709b 100644 --- a/src/main/res/values/strings.xml +++ b/src/main/res/values/strings.xml @@ -75,6 +75,7 @@ <string name="vpnservice_error_unknown_error_code">Unknown Error. Code %d</string> <string name="vpnservice_error_unknown_error_string">Unknown Error. Reason: %s</string> <string name="vpnservice_error_dns_detect_failed">No valid IPv4 name servers detected</string> + <string name="vpnservice_error_create_interface_string">Failed to create tunnel network device</string> <string name="idle">Idle</string> <string name="warning">Warning</string> <string name="error">Error</string> |