mirror of
https://github.com/beetbox/beets.git
synced 2025-12-29 03:52:51 +01:00
Merge pull request #1521 from JesseWeinstein/master
Fix singular vs plural noun usage
This commit is contained in:
commit
7227d70fd5
1 changed files with 6 additions and 4 deletions
|
|
@ -1107,11 +1107,12 @@ def remove_items(lib, query, album, delete):
|
|||
print_()
|
||||
if delete:
|
||||
fmt = u'$path - $title'
|
||||
prompt = 'Really DELETE %i files (y/n)?' % len(items)
|
||||
prompt = 'Really DELETE %i file%s (y/n)?' % \
|
||||
(len(items), 's' if len(items) > 1 else '')
|
||||
else:
|
||||
fmt = ''
|
||||
prompt = 'Really remove %i items from the library (y/n)?' % \
|
||||
len(items)
|
||||
prompt = 'Really remove %i item%s from the library (y/n)?' % \
|
||||
(len(items), 's' if len(items) > 1 else '')
|
||||
|
||||
# Show all the items.
|
||||
for item in items:
|
||||
|
|
@ -1354,7 +1355,8 @@ def move_items(lib, dest, query, copy, album, pretend):
|
|||
|
||||
action = 'Copying' if copy else 'Moving'
|
||||
entity = 'album' if album else 'item'
|
||||
log.info(u'{0} {1} {2}s.', action, len(objs), entity)
|
||||
log.info(u'{0} {1} {2}{3}.', action, len(objs), entity,
|
||||
's' if len(objs) > 1 else '')
|
||||
if pretend:
|
||||
if album:
|
||||
show_path_changes([(item.path, item.destination(basedir=dest))
|
||||
|
|
|
|||
Loading…
Reference in a new issue