Merge pull request #4539 from Xeitor/import_tittle
Style 'Import successful' dialog
This commit is contained in:
commit
66c85df9ca
|
@ -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) {
|
||||
|
|
|
@ -584,7 +584,8 @@
|
|||
<string name="export_success_sum">The exported file was written to:\n\n%1$s</string>
|
||||
<string name="opml_import_ask_read_permission">Access to external storage is required to read the OPML file</string>
|
||||
<string name="import_select_file">Select file to import</string>
|
||||
<string name="import_ok">Import successful.\n\nPlease press OK to restart AntennaPod</string>
|
||||
<string name="successful_import_label">Import successful</string>
|
||||
<string name="import_ok">Please press OK to restart AntennaPod</string>
|
||||
<string name="import_no_downgrade">This database was exported with a newer version of AntennaPod. Your current installation does not yet know how to handle this file.</string>
|
||||
<string name="favorites_export_label">Favorites export</string>
|
||||
<string name="favorites_export_summary">Export saved favorites to file</string>
|
||||
|
|
Loading…
Reference in New Issue