0
0
mirror of https://github.com/ankidroid/Anki-Android.git synced 2024-09-19 19:42:17 +02:00

remove all cards count subtitle

This commit is contained in:
Robozinho 2024-09-03 19:59:45 -03:00 committed by Mike Hardy
parent f65934b1b1
commit d7d9a7c697
2 changed files with 2 additions and 8 deletions

View File

@ -2157,9 +2157,8 @@ open class DeckPicker :
val res = resources
if (due != null && supportActionBar != null) {
val cardCount = withCol { cardCount() }
val subTitle: String = if (due == 0) {
res.getQuantityString(R.plurals.deckpicker_title_zero_due, cardCount, cardCount)
val subTitle = if (due == 0) {
null
} else {
res.getQuantityString(R.plurals.widget_cards_due, due, due)
}

View File

@ -170,11 +170,6 @@
<string name="sync_conflict_title_new">Select collection to keep</string>
<string name="sync_conflict_replace_title">Replace collection</string>
<plurals name="deckpicker_title_zero_due">
<item quantity="one">%1$d card (0 due)</item>
<item quantity="other">%1$d cards (0 due)</item>
</plurals>
<!-- Generic errors -->
<string name="error__etc__cannot_write_to_or_create_file"
>Cannot write to or create file %s</string>