summaryrefslogtreecommitdiffhomepage
path: root/app/src/main/res
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-06-02 18:19:42 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-06-02 18:35:09 +0200
commitc3246060f53c0b751975278da98ad81fc982c6bc (patch)
tree7ea0d6c7002d2d15a1cb379e7a32c85de07d0dc3 /app/src/main/res
parentb7e025e3819577efb92604fba71e04092c946f72 (diff)
Preferences: add log exporter
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.xml10
-rw-r--r--app/src/main/res/xml/preferences.xml3
2 files changed, 9 insertions, 4 deletions
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 91e3fb0a..192d444c 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -39,9 +39,6 @@
<string name="error_down">Error bringing down tunnel: %s</string>
<string name="error_root">Please obtain root access and try again</string>
<string name="error_up">Error bringing up tunnel: %s</string>
- <string name="export_error">Unable to export tunnels: %s</string>
- <string name="export_success">Saved to %s</string>
- <string name="export_summary">Zip file will be saved to downloads folder</string>
<string name="generate">Generate</string>
<string name="hint_automatic">(auto)</string>
<string name="hint_generated">(generated)</string>
@@ -51,6 +48,10 @@
<string name="import_success">Imported ā€œ%sā€</string>
<string name="interface_title">Interface</string>
<string name="listen_port">Listen port</string>
+ <string name="log_exporter_title">Export log file</string>
+ <string name="log_export_error">Unable to export log: %s</string>
+ <string name="log_export_success">Saved to %s</string>
+ <string name="log_export_summary">Log file will be saved to downloads folder</string>
<string name="mtu">MTU</string>
<string name="name">Name</string>
<string name="peer">Peer</string>
@@ -79,4 +80,7 @@
<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>
+ <string name="zip_export_error">Unable to export tunnels: %s</string>
+ <string name="zip_export_success">Saved to %s</string>
+ <string name="zip_export_summary">Zip file will be saved to downloads folder</string>
</resources>
diff --git a/app/src/main/res/xml/preferences.xml b/app/src/main/res/xml/preferences.xml
index 78483f6b..680e8137 100644
--- a/app/src/main/res/xml/preferences.xml
+++ b/app/src/main/res/xml/preferences.xml
@@ -6,7 +6,8 @@
android:summary="@string/restore_on_boot_summary"
android:title="@string/restore_on_boot_title" />
<com.wireguard.android.preference.ToolsInstallerPreference android:key="tools_installer" />
- <com.wireguard.android.preference.ZipExporterPreference android:key="zip_exporter" />
+ <com.wireguard.android.preference.ZipExporterPreference />
+ <com.wireguard.android.preference.LogExporterPreference />
<CheckBoxPreference
android:defaultValue="false"
android:key="dark_theme"