anki/rslib/ftl/database-check.ftl
Damien Elmes 70cc1699a6 rewrite DB check
- notes with wrong field count are now recovered instead of
being deleted
- notes with missing note types are now recovered
- notes with missing cards are now recovered
- recover_missing_deck() still needs implementing
- checks required
2020-05-12 21:13:34 +10:00

44 lines
1.6 KiB
Plaintext

database-check-corrupt = Collection file is corrupt. Please restore from an automatic backup.
database-check-rebuilt = Database rebuilt and optimized.
database-check-card-properties =
{ $count ->
[one] Fixed { $count } card with invalid properties.
*[other] Fixed { $count } cards with invalid properties.
}
database-check-missing-templates =
{ $count ->
[one] Deleted { $count } card with missing template.
*[other] Deleted { $count } cards with missing template.
}
database-check-field-count = { $count ->
[one] Fixed { $count } note with wrong field count.
*[other] Fixed { $count } notes with wrong field count.
}
database-check-new-card-high-due = { $count ->
[one] Found { $count } new card with a due number >= 1,000,000 - consider repositioning them in the Browse screen.
*[other] Found { $count } new cards with a due number >= 1,000,000 - consider repositioning them in the Browse screen.
}
database-check-card-missing-note = { $count ->
[one] Deleted {$count} card with missing note.
*[other] Deleted {$count} cards with missing note.
}
database-check-duplicate-card-ords = { $count ->
[one] Deleted { $count } card with duplicate template.
*[other] Deleted { $count } cards with duplicate template.
}
database-check-missing-decks = { $count ->
[one] Fixed { $count } missing deck.
*[other] Fixed { $count } missing decks.
}
database-check-revlog-properties = { $count ->
[one] Fixed { $count } review entry with invalid properties.
*[other] Fixed { $count } review entries with invalid properties.
}