mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-05-18 06:49:27 +00:00
Merge pull request #109 from JohnVeness/seasons
episode.py: season/seasons pluralization
This commit is contained in:
@@ -160,7 +160,7 @@ class Series(SortedKeyList, ABC):
|
|||||||
sum(seasons.values())
|
sum(seasons.values())
|
||||||
season_breakdown = ", ".join(f"S{season}({count})" for season, count in sorted(seasons.items()))
|
season_breakdown = ", ".join(f"S{season}({count})" for season, count in sorted(seasons.items()))
|
||||||
tree = Tree(
|
tree = Tree(
|
||||||
f"{num_seasons} seasons, {season_breakdown}",
|
f"{num_seasons} season{'s'[:num_seasons^1]}, {season_breakdown}",
|
||||||
guide_style="bright_black",
|
guide_style="bright_black",
|
||||||
)
|
)
|
||||||
if verbose:
|
if verbose:
|
||||||
|
|||||||
Reference in New Issue
Block a user