summaryrefslogtreecommitdiffhomepage
path: root/app/src/main/res
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-06-01 16:06:56 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-06-01 16:06:56 +0200
commit1e45898d7035b5d617a3181cf1b6dfab8a10eae9 (patch)
tree6d4574252ab2a07ea51e6b836c92a9ee82f57756 /app/src/main/res
parent61431fb57946ce92f6fa613c4683ac95b75f02de (diff)
Settings: add version
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/values/strings.xml4
-rw-r--r--app/src/main/res/xml/preferences.xml1
2 files changed, 5 insertions, 0 deletions
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 408de6b1..91e3fb0a 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -74,5 +74,9 @@
<string name="tunnel_create_success">Successfully created tunnel ā€œ%sā€</string>
<string name="tunnel_rename_error">Unable to rename tunnel: %s</string>
<string name="tunnel_rename_success">Successfully renamed tunnel to ā€œ%sā€</string>
+ <string name="version_title">WireGuard for Android v%s"</string>
+ <string name="version_kernel_summary">Using kernel module implementation v%s</string>
+ <string name="version_kernel_unknown_summary">Using unknown kernel module implementation</string>
+ <string name="version_userspace_summary">Using Go userspace implementation v%s</string>
<string name="zip_exporter_title">Export tunnels to zip file</string>
</resources>
diff --git a/app/src/main/res/xml/preferences.xml b/app/src/main/res/xml/preferences.xml
index acec919c..78483f6b 100644
--- a/app/src/main/res/xml/preferences.xml
+++ b/app/src/main/res/xml/preferences.xml
@@ -13,4 +13,5 @@
android:summaryOn="@string/dark_theme_summary_on"
android:summaryOff="@string/dark_theme_summary_off"
android:title="@string/dark_theme_title" />
+ <com.wireguard.android.preference.VersionPreference />
</PreferenceScreen>