From 920784a42d438677f6799d30a5bf1a2aae521766 Mon Sep 17 00:00:00 2001 From: "nath@home" Date: Thu, 23 Mar 2017 22:46:23 +0100 Subject: [PATCH] Play: handle plural in warning output --- beetsplug/play.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/beetsplug/play.py b/beetsplug/play.py index 636d98d46..9e912dbce 100644 --- a/beetsplug/play.py +++ b/beetsplug/play.py @@ -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(