From 1668b7649773a9842af3c8e3a69222c7abb01a99 Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Tue, 3 Jul 2012 21:04:42 +0200 Subject: add fix to arrays.xml (closes issue #43) add translated by recognition add faq for system dialogs --- src/de/blinkt/openvpn/MainActivity.java | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src') 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
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 -- cgit v1.2.3