Extend NewlinePlaceable to support more cases
Merge https://github.com/translate/translate