NotSupported: Better sorry text

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Jason A. Donenfeld 2017-11-27 21:29:40 +01:00 committed by Samuel Holland
parent 982387b4e4
commit bbe058418b
2 changed files with 27 additions and 6 deletions

View File

@ -1,9 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="http://schemas.android.com/apk/res/android">
<TextView
android:id="@+id/not_supported_message"
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="32dp" />
android:layout_height="match_parent">
<TextView
android:id="@+id/not_supported_message"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="32dp" />
</ScrollView>
</layout>

View File

@ -29,8 +29,24 @@
<string name="listen_port">Listen port</string>
<string name="mtu">MTU</string>
<string name="name">Name</string>
<string name="not_supported">WireGuard Not Supported</string>
<string name="not_supported_message"><![CDATA[<p>Your Android device does not currently support the WireGuard kernel module. Please talk to the manufacturer of your Android device or the author of your device\'s ROM about supporting the WireGuard kernel module.</p><br><p>Fortunately, the WireGuard development team is currently in the process of implementing support for WireGuard in a way that will work on all Android devices. This means that while you may not be able to use WireGuard today, in several weeks, things may very well be available for you.</p>]]></string>
<string name="not_supported">WireGuard Not Installed</string>
<string name="not_supported_message"><![CDATA[
<h3>Come back later!</h3><br>
<p>Your Android device does not <em>currently</em> have the WireGuard kernel module. Please
talk to the manufacturer of your Android device or the author of your device\'s ROM about
including the WireGuard kernel module.</p><br>
<p>Fortunately, we are in the process of implementing support for WireGuard in a way that
will work on all devices, without any need for the kernel module. This means that while you
may not be able to use WireGuard today, you will very likely be able to use WireGuard in
several weeks. Things are looking up!</p><br>
<p>Sorry for the wait. In the mean time, you may stay up to date on the latest project news
by <a href="https://lists.zx2c4.com/mailman/listinfo/wireguard">subscribing to our mailing
list</a>. General information about the project is available from
<a href="https://www.wireguard.com/">WireGuard.com</a>.</p>
]]></string>
<string name="peer">Peer</string>
<string name="persistent_keepalive">Persistent keepalive</string>
<string name="placeholder_text">No configuration selected</string>