diff options
author | Arne Schwabe <arne@rfc2549.org> | 2012-10-10 10:12:49 +0200 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2012-10-10 10:12:49 +0200 |
commit | 5ea105c31f8a2916016a168263975ed261800e6d (patch) | |
tree | 768176d5e2955a23fef741a3d4d89c79aa4796cc /src/de | |
parent | 25c2a630fc996145a277fab8fefd5ff5c8f6be10 (diff) |
Have translationby string a useful default for translators
Grrrr at Chinese languages.
Russian is complete enought to be usable
Diffstat (limited to 'src/de')
-rw-r--r-- | src/de/blinkt/openvpn/AboutFragment.java | 7 |
1 files changed, 7 insertions, 0 deletions
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; } |