mirror of
https://github.com/beetbox/beets.git
synced 2026-01-18 14:11:35 +01:00
Play: handle plural in warning output
This commit is contained in:
parent
91b65ca5ab
commit
920784a42d
1 changed files with 3 additions and 0 deletions
|
|
@ -163,6 +163,9 @@ class PlayPlugin(BeetsPlugin):
|
|||
|
||||
# Warn user before playing any huge playlists.
|
||||
if warning_threshold and len(selection) > warning_threshold:
|
||||
if len(selection) > 1:
|
||||
item_type += 's'
|
||||
|
||||
ui.print_(ui.colorize(
|
||||
'text_warning',
|
||||
u'You are about to queue {0} {1}.'.format(
|
||||
|
|
|
|||
Loading…
Reference in a new issue