diff --git a/res/values/strings.xml b/res/values/strings.xml index 599722441..d7e8f4902 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -1028,14 +1028,16 @@ Welcome to K-9 Mail setup. K-9 is an open source mail client for Android origin » Unable to connect. - - Enter settings encryption password: + + Settings Import & Export + Please enter a password to protect your exported settings: + Please enter the password you used when exporting your settings: Export account settings - Export all settings + Export settings and accounts Import settings Exporting settings... Importing settings... - Exported settings to %s + Saved exported settings to %s Imported %s from %s 1 account diff --git a/src/com/fsck/k9/preferences/StorageExporter.java b/src/com/fsck/k9/preferences/StorageExporter.java index 4375bed1c..ed311d45a 100644 --- a/src/com/fsck/k9/preferences/StorageExporter.java +++ b/src/com/fsck/k9/preferences/StorageExporter.java @@ -48,7 +48,7 @@ public class StorageExporter { @Override public void run() { - PasswordEntryDialog dialog = new PasswordEntryDialog(activity, activity.getString(R.string.settings_encryption_password_prompt), + PasswordEntryDialog dialog = new PasswordEntryDialog(activity, activity.getString(R.string.settings_export_encryption_password_prompt), new PasswordEntryDialog.PasswordEntryListener() { public void passwordChosen(final String chosenPassword) { diff --git a/src/com/fsck/k9/preferences/StorageImporter.java b/src/com/fsck/k9/preferences/StorageImporter.java index fdeecc656..57038af80 100644 --- a/src/com/fsck/k9/preferences/StorageImporter.java +++ b/src/com/fsck/k9/preferences/StorageImporter.java @@ -83,7 +83,7 @@ public class StorageImporter { activity.runOnUiThread(new Runnable() { @Override public void run() { - PasswordEntryDialog dialog = new PasswordEntryDialog(activity, activity.getString(R.string.settings_encryption_password_prompt), + PasswordEntryDialog dialog = new PasswordEntryDialog(activity, activity.getString(R.string.settings_import_encryption_password_prompt), new PasswordEntryDialog.PasswordEntryListener() { public void passwordChosen(final String chosenPassword) { AsyncUIProcessor.getInstance(activity.getApplication()).execute(new Runnable() {