From 5ea105c31f8a2916016a168263975ed261800e6d Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Wed, 10 Oct 2012 10:12:49 +0200 Subject: Have translationby string a useful default for translators Grrrr at Chinese languages. Russian is complete enought to be usable --- src/de/blinkt/openvpn/AboutFragment.java | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src') diff --git a/src/de/blinkt/openvpn/AboutFragment.java b/src/de/blinkt/openvpn/AboutFragment.java index b30b95f..85f48bc 100644 --- a/src/de/blinkt/openvpn/AboutFragment.java +++ b/src/de/blinkt/openvpn/AboutFragment.java @@ -46,6 +46,13 @@ public class AboutFragment extends Fragment { paypal.setText(htmltext); paypal.setMovementMethod(LinkMovementMethod.getInstance()); + TextView translation = (TextView) v.findViewById(R.id.translation); + + // Don't print a text for myself + if ( getString(R.string.translationby).contains("Arne Schwabe")) + translation.setText(""); + else + translation.setText(R.string.translationby); return v; } -- cgit v1.2.3