add 'new #' prefix to new cards in the due column
This commit is contained in:
parent
ef7b0b1e82
commit
e0951e4cfe
@ -356,7 +356,7 @@ class DataModel(QAbstractTableModel):
|
|||||||
elif c.queue == QUEUE_TYPE_LRN:
|
elif c.queue == QUEUE_TYPE_LRN:
|
||||||
date = c.due
|
date = c.due
|
||||||
elif c.queue == QUEUE_TYPE_NEW or c.type == CARD_TYPE_NEW:
|
elif c.queue == QUEUE_TYPE_NEW or c.type == CARD_TYPE_NEW:
|
||||||
return str(c.due)
|
return tr(StringsGroup.STATISTICS, "due-for-new-card", number=c.due)
|
||||||
elif c.queue in (QUEUE_TYPE_REV, QUEUE_TYPE_DAY_LEARN_RELEARN) or (
|
elif c.queue in (QUEUE_TYPE_REV, QUEUE_TYPE_DAY_LEARN_RELEARN) or (
|
||||||
c.type == CARD_TYPE_REV and c.queue < 0
|
c.type == CARD_TYPE_REV and c.queue < 0
|
||||||
):
|
):
|
||||||
|
@ -2,3 +2,5 @@
|
|||||||
due-date = Due
|
due-date = Due
|
||||||
# The count of cards waiting to be reviewed
|
# The count of cards waiting to be reviewed
|
||||||
due-count = Due
|
due-count = Due
|
||||||
|
# Shown in the Due column of the Browse screen when the card is a new card
|
||||||
|
due-for-new-card = New #{$number}
|
||||||
|
Loading…
Reference in New Issue
Block a user