mirror of
https://github.com/ankidroid/Anki-Android.git
synced 2024-09-20 03:52:15 +02:00
remove all cards count subtitle
This commit is contained in:
parent
f65934b1b1
commit
d7d9a7c697
@ -2157,9 +2157,8 @@ open class DeckPicker :
|
|||||||
val res = resources
|
val res = resources
|
||||||
|
|
||||||
if (due != null && supportActionBar != null) {
|
if (due != null && supportActionBar != null) {
|
||||||
val cardCount = withCol { cardCount() }
|
val subTitle = if (due == 0) {
|
||||||
val subTitle: String = if (due == 0) {
|
null
|
||||||
res.getQuantityString(R.plurals.deckpicker_title_zero_due, cardCount, cardCount)
|
|
||||||
} else {
|
} else {
|
||||||
res.getQuantityString(R.plurals.widget_cards_due, due, due)
|
res.getQuantityString(R.plurals.widget_cards_due, due, due)
|
||||||
}
|
}
|
||||||
|
@ -170,11 +170,6 @@
|
|||||||
<string name="sync_conflict_title_new">Select collection to keep</string>
|
<string name="sync_conflict_title_new">Select collection to keep</string>
|
||||||
<string name="sync_conflict_replace_title">Replace collection</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 -->
|
<!-- Generic errors -->
|
||||||
<string name="error__etc__cannot_write_to_or_create_file"
|
<string name="error__etc__cannot_write_to_or_create_file"
|
||||||
>Cannot write to or create file %s</string>
|
>Cannot write to or create file %s</string>
|
||||||
|
Loading…
Reference in New Issue
Block a user