Allow to export verified updates

This commit is contained in:
Gabriele M
2017-07-20 00:45:34 +02:00
parent ee6013dfd1
commit 1659fe26b9
8 changed files with 316 additions and 0 deletions
+11
View File
@@ -22,6 +22,10 @@
WARNING: The application can and will delete any unknown file. -->
<string name="download_path" translatable="false">/data/lineageos_updates/</string>
<!-- Directory where the downloads will be exported to.
The path is relative to the root of the external storage.-->
<string name="export_path" translatable="false">LineageOS updates/</string>
<string name="conf_update_server_url_def" translatable="false">https://download.lineageos.org/api</string>
<string name="verification_failed_notification">Verification failed</string>
@@ -51,6 +55,7 @@
<string name="menu_auto_updates_check">Auto updates check</string>
<string name="menu_delete_update">Delete</string>
<string name="menu_copy_url">Copy URL</string>
<string name="menu_export_update">Export update</string>
<string name="dialog_checking_for_updates">Checking for updates</string>
<string name="snack_updates_found">New updates found</string>
@@ -89,6 +94,12 @@
<string name="label_download_url">Download URL</string>
<string name="toast_download_url_copied">URL Copied</string>
<string name="snack_export_failed">Could not export download</string>
<string name="dialog_export_title">Exporting update</string>
<string name="dialog_export_message">Exporting update as <xliff:g id="filename">%1$s</xliff:g> into the external storage.</string>
<string name="notification_export_success">Update exported</string>
<string name="notification_export_fail">Export error</string>
<plurals name="duration_seconds">
<item quantity="one">1 second</item>
<item quantity="other"><xliff:g id="count">%d</xliff:g> seconds</item>