sk89q/worldedit — pull request #237 by afistofirony (2013-03-31 01:39:15+00:00)
Title: Pluralize instead of parenthesize.

This commit will change 'affected' messages to automatically change based on how many blocks are affected. For example:

`No blocks have been changed.`
`1 block has been changed.`
`2 blocks have been changed.`

Basically, the code checks if `affected == 1`, and if so, it will use a singular noun (and if need be, the singular form of be). Also, it checks if any blocks were affected (`affected == 0`). If not, it will print "No" instead of "0" so messages will appear as `No blocks have been changed` instead of `0 block(s) have been changed`:

```java
player.print((affected == 0 ? "No" : affected) + (affected == 1 ? " block has" : " blocks have") + " been created.");
```

PS: I attempted to rebase these three commits, but Terminal blows up whenever I try to do so. Sorry about that.