From f2d502518ea3de673c7f0ebf425f53295f620f2f Mon Sep 17 00:00:00 2001 From: Christian Schneppe Date: Sat, 26 Jan 2019 15:07:28 +0100 Subject: rework backup & restore use the implementation from Conversations --- src/main/res/values/attrs.xml | 1 - src/main/res/values/strings.xml | 19 +++++++++++++------ src/main/res/values/themes.xml | 4 ---- 3 files changed, 13 insertions(+), 11 deletions(-) (limited to 'src/main/res/values') diff --git a/src/main/res/values/attrs.xml b/src/main/res/values/attrs.xml index e3f355814..ecf8eccd1 100644 --- a/src/main/res/values/attrs.xml +++ b/src/main/res/values/attrs.xml @@ -78,7 +78,6 @@ - diff --git a/src/main/res/values/strings.xml b/src/main/res/values/strings.xml index 8867502a4..b0912e1c9 100644 --- a/src/main/res/values/strings.xml +++ b/src/main/res/values/strings.xml @@ -314,9 +314,12 @@ Contact requested SMP verification No valid OTR session has been found! Pix-Art Messenger - Export history - Write conversations history logs to SD card - Writing conversations to SD card + Create backup + Write backup files to %s + Creating backup files + Restoring backup + Your backup has been restored + Do not forget to enable the account. Choose file Receiving %1$s (%2$d%% completed) Download %s @@ -575,9 +578,7 @@ Import canceled Database import failed, an import is not possible Wrong password, try again - Please enter your account password to import your backup. Please wait… - Backup will be imported, this may take awhile. Enable an export of chat logs as human readable text files Export human readable chat logs Payment required @@ -823,7 +824,7 @@ Notification Settings Importance, Sound, Vibrate Video compression - Database backup + App update Group details View media @@ -862,4 +863,10 @@ Open with… Choose account Pix-Art Messenger profile picture + Restore backup + Restore + Enter your password for the account %s to restore the backup. + Do not use the restore backup feature in an attempt to clone (run simultaneously) an installation. Restoring a backup is only meant for migrations or in case you have lost the original device. + Unable to restore backup + Unable to decrypt backup diff --git a/src/main/res/values/themes.xml b/src/main/res/values/themes.xml index 92e7cd49c..8060687ac 100644 --- a/src/main/res/values/themes.xml +++ b/src/main/res/values/themes.xml @@ -99,8 +99,6 @@ @drawable/ic_search_white_24dp @drawable/ic_lock_open_white_24dp @drawable/ic_settings_black_24dp - @drawable/ic_import_export_white_24dp - @drawable/ic_delete_black_24dp @drawable/ic_share_black_24dp @drawable/ic_qrcode_scan_white_24dp @@ -274,8 +272,6 @@ @drawable/ic_search_white_24dp @drawable/ic_lock_open_white_24dp @drawable/ic_settings_white_24dp - @drawable/ic_import_export_white_24dp - @drawable/ic_delete_white_24dp @drawable/ic_share_white_24dp @drawable/ic_qrcode_scan_white_24dp -- cgit v1.2.3