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 | 410900f7619be50371d2fe3163873f2422928660 (patch) | |
tree | 37095b2c8a0ea0d52796664fca47201f4e005cb7 /src/de/blinkt/openvpn/LogWindow.java | |
parent | d378e3b493737c5283b29e8c49d8c2b289c891fa (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); |