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/LogWindow.java | |
parent | 406a333be3cb781472b2c1315a68606a7941f886 (diff) |
Make state messages translatable and nicer.
Diffstat (limited to 'src/de/blinkt/openvpn/LogWindow.java')
-rw-r--r-- | src/de/blinkt/openvpn/LogWindow.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/de/blinkt/openvpn/LogWindow.java b/src/de/blinkt/openvpn/LogWindow.java index ad3af278..88615e12 100644 --- a/src/de/blinkt/openvpn/LogWindow.java +++ b/src/de/blinkt/openvpn/LogWindow.java @@ -327,12 +327,12 @@ public class LogWindow extends ListActivity implements StateListener { } @Override - public void updateState(final String status,final String logmessage) { + public void updateState(final String status,final String logmessage, final int resid) { runOnUiThread(new Runnable() { @Override public void run() { - String prefix=status+ ":"; + String prefix=getString(resid) + ":"; if (status.equals("BYTECOUNT") || status.equals("NOPROCESS") ) prefix=""; mSpeedView.setText(prefix + logmessage); |