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 | 2e0adab642eabfc976c57a43ad81ec0ffdd00027 (patch) | |
tree | e26eb133318d5baf45ddc86f3a52f6b244a1c56d /src/de/blinkt/openvpn | |
parent | 396a278c3c1d7b5b24a49402d9f33f17a6ff1e70 (diff) |
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
Diffstat (limited to 'src/de/blinkt/openvpn')
-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; } |