Template confirm messages
Confirm messages are now templatable, using a ${} syntax. The following replacements are supported:
- ${count} -- the count of selected items
- ${singular:something} -- the text after the : will be used when count == 1
- ${plural:somethings} -- the text after the : will be used when count != 1
So you can do a template like: confirmMessage: "Do you want to delete ${count} ${singular:something}{$plural:somethings}?"
confirmMessage is also now an accepted parameter on settings.Button()
This resolves #54.