mirror of
https://github.com/etesync/android
synced 2025-01-22 21:51:04 +00:00
Migration: improve the end-of-migration message.
This commit is contained in:
parent
4ee571a4c9
commit
f7314a5cca
@ -714,10 +714,14 @@ class MigrateCollectionsDoFragment(private val etebase: EtebaseAccount,
|
||||
}
|
||||
|
||||
uiThread {
|
||||
var message = getString(R.string.migrate_v2_wizard_migrate_progress_done)
|
||||
if (malformed > 0) {
|
||||
message += "\n\n" + getString(R.string.migrate_v2_wizard_migrate_progress_done_malformed, malformed)
|
||||
}
|
||||
AlertDialog.Builder(requireContext())
|
||||
.setIcon(R.drawable.ic_info_dark)
|
||||
.setTitle(R.string.migrate_v2_wizard_migrate_title)
|
||||
.setMessage(getString(R.string.migrate_v2_wizard_migrate_progress_done, badMtime, malformed))
|
||||
.setMessage(message)
|
||||
.setPositiveButton(android.R.string.yes) { _, _ -> }
|
||||
.setOnDismissListener {
|
||||
requireFragmentManager().beginTransaction()
|
||||
|
@ -97,7 +97,8 @@
|
||||
<string name="migrate_v2_wizard_migrate_title">Migrating…</string>
|
||||
<string name="migrate_v2_wizard_migrate_progress">Migrating collection %d/%d</string>
|
||||
<string name="migrate_v2_wizard_migrate_progress_entries">Migrated entries %d/%d</string>
|
||||
<string name="migrate_v2_wizard_migrate_progress_done">Done.\nModification time missing for %d entries (set to "now").\nIgnored %d malformed entries (probably safe to ignore).</string>
|
||||
<string name="migrate_v2_wizard_migrate_progress_done">Your account has been migrated.\nPlease verify everything was copied over correctly, and remove your old account once done.</string>
|
||||
<string name="migrate_v2_wizard_migrate_progress_done_malformed">Ignored %d malformed entries (probably safe to ignore).</string>
|
||||
|
||||
<!-- AccountUpdateService -->
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user