Play: handle plural in warning output

This commit is contained in:
nath@home 2017-03-23 22:46:23 +01:00
parent 91b65ca5ab
commit 920784a42d

View file

@ -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(