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 | 1668b7649773a9842af3c8e3a69222c7abb01a99 (patch) | |
tree | e4410f6d93bab2a1d3269a368fc29be744649dc2 /src/de/blinkt/openvpn/MainActivity.java | |
parent | bf7aece58cd44b02616d30497d9d022f026edb07 (diff) |
add fix to arrays.xml (closes issue #43)
add translated by recognition
add faq for system dialogs
Diffstat (limited to 'src/de/blinkt/openvpn/MainActivity.java')
-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 |