mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-05 04:53:01 +00:00
ngetext playcount
This commit is contained in:
@@ -324,7 +324,7 @@ def get_stats():
|
|||||||
playcount = StatItem(
|
playcount = StatItem(
|
||||||
"streams",
|
"streams",
|
||||||
said_period,
|
said_period,
|
||||||
f"{playcount} track{'' if playcount == 1 else 's'} played",
|
f"{playcount} track {ngettext('play', 'plays', playcount)}",
|
||||||
)
|
)
|
||||||
|
|
||||||
playduration = StatItem(
|
playduration = StatItem(
|
||||||
|
|||||||
Reference in New Issue
Block a user