diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-04-29 02:04:28 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-04-29 07:53:56 +0200 |
commit | 622f41f11f92005e2dd3791fd13b0ace294958d5 (patch) | |
tree | 7e811b6b9940881c36be757dbe3f4bd3223e0535 /app/src/main/res | |
parent | f4e462fabd366873cf0f1d6927469d6bac3bec0d (diff) |
Allow exporting to zip file
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.xml | 6 | ||||
-rw-r--r-- | app/src/main/res/xml/preferences.xml | 1 |
2 files changed, 6 insertions, 1 deletions
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 3eb72f5b..9aeb290f 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -20,7 +20,7 @@ <string name="config_save_success">Successfully saved configuration for ā%sā</string> <string name="create_activity_title">Create WireGuard Tunnel</string> <string name="create_empty">Create from scratch</string> - <string name="create_from_file">Create from file</string> + <string name="create_from_file">Create from file or archive</string> <string name="delete">Delete</string> <string name="dns_servers">DNS servers</string> <string name="edit">Edit</string> @@ -33,6 +33,10 @@ <string name="hint_generated">(generated)</string> <string name="hint_optional">(optional)</string> <string name="hint_random">(random)</string> + <string name="zip_exporter_title">Export tunnels to zip file</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="import_error">Unable to import tunnel: %s</string> <string name="import_success">Imported ā%sā</string> <string name="import_total_success">Imported %d tunnels</string> diff --git a/app/src/main/res/xml/preferences.xml b/app/src/main/res/xml/preferences.xml index b032bea7..c73c174b 100644 --- a/app/src/main/res/xml/preferences.xml +++ b/app/src/main/res/xml/preferences.xml @@ -6,4 +6,5 @@ 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" /> </PreferenceScreen> |