diff --git a/app/src/main/java/de/danoeh/antennapod/fragment/preferences/ImportExportPreferencesFragment.java b/app/src/main/java/de/danoeh/antennapod/fragment/preferences/ImportExportPreferencesFragment.java index 5eb4a3aea..106b9eef6 100644 --- a/app/src/main/java/de/danoeh/antennapod/fragment/preferences/ImportExportPreferencesFragment.java +++ b/app/src/main/java/de/danoeh/antennapod/fragment/preferences/ImportExportPreferencesFragment.java @@ -207,11 +207,12 @@ public class ImportExportPreferencesFragment extends PreferenceFragmentCompat { } private void showDatabaseImportSuccessDialog() { - AlertDialog.Builder d = new AlertDialog.Builder(getContext()); - d.setMessage(R.string.import_ok); - d.setCancelable(false); - d.setPositiveButton(android.R.string.ok, (dialogInterface, i) -> PodcastApp.forceRestart()); - d.show(); + AlertDialog.Builder builder = new AlertDialog.Builder(getContext()); + builder.setTitle(R.string.successful_import_label); + builder.setMessage(R.string.import_ok); + builder.setCancelable(false); + builder.setPositiveButton(android.R.string.ok, (dialogInterface, i) -> PodcastApp.forceRestart()); + builder.show(); } private void showExportSuccessDialog(final String path, final Uri streamUri) { diff --git a/core/src/main/res/values/strings.xml b/core/src/main/res/values/strings.xml index 67eaa4351..51bcd88da 100644 --- a/core/src/main/res/values/strings.xml +++ b/core/src/main/res/values/strings.xml @@ -584,7 +584,8 @@ The exported file was written to:\n\n%1$s Access to external storage is required to read the OPML file Select file to import - Import successful.\n\nPlease press OK to restart AntennaPod + Import successful + Please press OK to restart AntennaPod This database was exported with a newer version of AntennaPod. Your current installation does not yet know how to handle this file. Favorites export Export saved favorites to file