diff options
author | Arne Schwabe <arne@rfc2549.org> | 2012-07-03 21:04:42 +0200 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2012-07-03 21:04:42 +0200 |
commit | 0cb2ff5181f09c7db0d6ff2c576225af5f7b8d31 (patch) | |
tree | 47e4f06504581d80b870dbdc10946d1c31289093 /src/de | |
parent | df8a748e05b9fc9c6e7079012873fe046cfd02a4 (diff) |
add fix to arrays.xml (closes issue #43)
add translated by recognition
add faq for system dialogs
Diffstat (limited to 'src/de')
-rw-r--r-- | src/de/blinkt/openvpn/MainActivity.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/de/blinkt/openvpn/MainActivity.java b/src/de/blinkt/openvpn/MainActivity.java index d9169284..63745cce 100644 --- a/src/de/blinkt/openvpn/MainActivity.java +++ b/src/de/blinkt/openvpn/MainActivity.java @@ -10,6 +10,15 @@ public class MainActivity extends PreferenceActivity { @Override public void onBuildHeaders(List<Header> target) { loadHeadersFromResource(R.xml.main_headers, target); + + + String translatedby = getString(R.string.translationby); + if(!translatedby.equals("")) { + Header translation = new Header(); + translation.title = "Translation"; + translation.summary = translatedby; + target.add(translation); + } } @Override |