diff options
author | Arne Schwabe <arne@rfc2549.org> | 2013-01-01 17:35:10 +0100 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2013-01-01 17:35:10 +0100 |
commit | 601d6bdf53eafd4169d844126cd4e2c204b9e250 (patch) | |
tree | d0fd907b287ce50c1166230ac68d421b88ff9e1f /src/de/blinkt/openvpn/OpenVpnManagementThread.java | |
parent | 406a333be3cb781472b2c1315a68606a7941f886 (diff) |
Make state messages translatable and nicer.
Diffstat (limited to 'src/de/blinkt/openvpn/OpenVpnManagementThread.java')
-rw-r--r-- | src/de/blinkt/openvpn/OpenVpnManagementThread.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/de/blinkt/openvpn/OpenVpnManagementThread.java b/src/de/blinkt/openvpn/OpenVpnManagementThread.java index e2a183b9..c6a4c73e 100644 --- a/src/de/blinkt/openvpn/OpenVpnManagementThread.java +++ b/src/de/blinkt/openvpn/OpenVpnManagementThread.java @@ -220,7 +220,7 @@ public class OpenVpnManagementThread implements Runnable { releaseHoldCmd();
} else {
mWaitingForRelease=true;
- OpenVPN.updateStateString("NONETWORK", "Waiting for usable network");
+ OpenVPN.updateStateString("NONETWORK", "",R.string.state_nonetwork);
}
}
private void releaseHoldCmd() {
@@ -453,7 +453,7 @@ public class OpenVpnManagementThread implements Runnable { private void proccessPWFailed(String needed, String args) {
- OpenVPN.updateStateString("AUTH_FAILED", needed + args);
+ OpenVPN.updateStateString("AUTH_FAILED", needed + args,R.string.state_auth_failed);
}
private void logStatusMessage(String command) {
OpenVPN.logMessage(0,"MGMT:", command);
|