From ad0103151b148a6fd504a0bf90dff13d22868aaa Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Thu, 11 Oct 2012 23:16:28 +0200 Subject: Don't give myself credit. --- src/de/blinkt/openvpn/MainActivity.java | 4 ++-- src/de/blinkt/openvpn/VPNPreferences.java | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/de/blinkt/openvpn/MainActivity.java b/src/de/blinkt/openvpn/MainActivity.java index 63745cce..9b329817 100644 --- a/src/de/blinkt/openvpn/MainActivity.java +++ b/src/de/blinkt/openvpn/MainActivity.java @@ -13,9 +13,9 @@ public class MainActivity extends PreferenceActivity { String translatedby = getString(R.string.translationby); - if(!translatedby.equals("")) { + if(!translatedby.equals("") && !translatedby.contains("Arne Schwabe")) { Header translation = new Header(); - translation.title = "Translation"; + translation.title = getString(R.string.translation); translation.summary = translatedby; target.add(translation); } diff --git a/src/de/blinkt/openvpn/VPNPreferences.java b/src/de/blinkt/openvpn/VPNPreferences.java index 549afa23..c49d39de 100644 --- a/src/de/blinkt/openvpn/VPNPreferences.java +++ b/src/de/blinkt/openvpn/VPNPreferences.java @@ -60,8 +60,6 @@ public class VPNPreferences extends PreferenceActivity { setResult(VPNProfileList.RESULT_VPN_DELETED); finish(); } - - } @Override -- cgit v1.2.3