Allow user to export a full copy of the database

This commit is contained in:
2016-03-23 18:01:25 -04:00
parent c9793df7c7
commit e8bbae8ef9
9 changed files with 167 additions and 17 deletions

View File

@@ -142,9 +142,10 @@
<string name="could_not_import">Failed to import habits from file.</string>
<string name="file_not_recognized">File type not recognized.</string>
<string name="habits_imported">Habits imported successfully.</string>
<string name="import_data_summary">Supports files exported by Loop, Tickmate, HabitBull or Rewire. See FAQ for more information.</string>
<string name="import_data_summary">Supports full backups exported by this app, as well as files generated by Tickmate, HabitBull or Rewire. See FAQ for more information.</string>
<string name="import_data">Import data</string>
<string name="export_as_csv_summary">This archive contains files that can be opened by spreadsheet software such as Microsoft Excel or OpenOffice Calc, but cannot be imported back.</string>
<string name="export_as_csv_summary">Generates files that can be opened by spreadsheet software such as Microsoft Excel or OpenOffice Calc, but cannot be imported back.</string>
<string name="export_full_backup">Export full backup</string>
<string name="export_full_backup_summary">This file contains all your data and can be imported back.</string>
<string name="export_full_backup_summary">Generates a file that contains all your data, and that can be imported back.</string>
<string name="full_backup_success">Full backup successfully exported.</string>
</resources>

View File

@@ -46,6 +46,7 @@
android:title="Database">
<Preference
android:key="exportDB"
android:summary="@string/export_full_backup_summary"
android:title="@string/export_full_backup">
</Preference>