From 2e0adab642eabfc976c57a43ad81ec0ffdd00027 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 --HG-- rename : res/values-zh-CN/arrays.xml => res/values-zh-rCN/arrays.xml rename : res/values-zh-CN/strings.xml => res/values-zh-rCN/strings.xml --- src/de/blinkt/openvpn/AboutFragment.java | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/de/blinkt') diff --git a/src/de/blinkt/openvpn/AboutFragment.java b/src/de/blinkt/openvpn/AboutFragment.java index b30b95f3..85f48bc7 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