summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2013-09-10 22:45:16 +0200
committerArne Schwabe <arne@rfc2549.org>2013-09-10 22:45:16 +0200
commit6181f4f56ee560ee0a94e12ce865b90a826ea645 (patch)
treec2879f4657bc806b809d3101c83c7708ac65a1c6 /res
parent7b2fe6b5cabd255b2292804c951f4e5c9e9ddfa2 (diff)
Add Google in App purchasing as an Alternative for Paypal
Also make sure it works on non Gplay devices too!
Diffstat (limited to 'res')
-rw-r--r--res/layout/about.xml16
-rwxr-xr-xres/values/strings.xml2
2 files changed, 16 insertions, 2 deletions
diff --git a/res/layout/about.xml b/res/layout/about.xml
index 3afc165c..50accad2 100644
--- a/res/layout/about.xml
+++ b/res/layout/about.xml
@@ -46,11 +46,23 @@
android:id="@+id/donatestring"
android:layout_width="match_parent"
android:layout_height="wrap_content"
+ android:text="@string/donatewithpaypal"
tools:ignore="SelectableText" />
+
+ <TextView
+ android:paddingTop="12sp"
+ android:id="@+id/donategms"
+ android:text="@string/donatePlayStore"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:visibility="gone"
+ tools:ignore="SelectableText"/>
+
+
<Space
- android:layout_width="match_parent"
- android:layout_height="12sp" />
+ android:layout_width="match_parent"
+ android:layout_height="12sp" />
<TextView
android:id="@+id/translation"
diff --git a/res/values/strings.xml b/res/values/strings.xml
index dae5cbf1..d0dd1e45 100755
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -294,4 +294,6 @@
<string name="permission_icon_app">Icon of app trying to use OpenVPN for Android</string>
<string name="faq_vpndialog43">"Starting with Android 4.3 the VPN confirmation is guarded against \"overlaying apps\". This results in the dialog not reacting to touch input. If you have an app that uses overlays it may cause this behaviour. If you find an offending app contact the author of the app. This problem affect all VPN applications on Android 4.3 and later. See also &lt;a href=\"http://code.google.com/p/ics-openvpn/issues/detail?id=185\">Issue 185&lt;a> for additional details"</string>
<string name="faq_vpndialog43_title">Vpn Confirm Dialog on Android 4.3 and later</string>
+ <string name="donatePlayStore">Alternatively you can send me a donation with the Play Store:</string>
+ <string name="thanks_for_donation">Thanks for donating %s!</string>
</resources>