diff options
Diffstat (limited to '')
-rw-r--r-- | app/src/main/res/values/strings.xml | 6 | ||||
-rw-r--r-- | app/src/main/res/xml/advanced_preferences.xml | 8 |
2 files changed, 14 insertions, 0 deletions
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 93adbf0b..795a6a0a 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -541,6 +541,8 @@ <string name="settings_hide_the_number_of_votes">Hide the Number of Votes</string> <string name="settings_hide_the_number_of_comments">Hide the Number of Comments</string> <string name="settings_show_avatar_on_the_right_in_the_navigation_drawer">Show Avatar on the Left in the Navigation Drawer</string> + <string name="settings_backup_settings_title">Backup Settings</string> + <string name="settings_restore_settings_title">Restore Settings</string> <string name="no_link_available">Cannot get the link</string> @@ -1037,4 +1039,8 @@ <string name="anonymous_front_page_no_subscriptions">Start by joining a subreddit!</string> + <string name="backup_settings_success">Successfully exported settings to the destination directory</string> + <string name="create_zip_in_destination_directory_failed">Could not create backup zip in the destination directory</string> + <string name="backup_some_settings_failed">Could not backup some settings but others were successfully exported to the destination directory</string> + </resources> diff --git a/app/src/main/res/xml/advanced_preferences.xml b/app/src/main/res/xml/advanced_preferences.xml index 6992530d..68b74260 100644 --- a/app/src/main/res/xml/advanced_preferences.xml +++ b/app/src/main/res/xml/advanced_preferences.xml @@ -39,6 +39,14 @@ app:title="@string/settings_reset_all_settings_title" /> <Preference + app:key="backup_settings" + app:title="@string/settings_backup_settings_title" /> + + <Preference + app:key="restore_settings" + app:title="@string/settings_restore_settings_title" /> + + <Preference android:icon="@drawable/ic_info_preference_24dp" app:summary="@string/settings_advanced_settings_summary" app:enabled="false" /> |