Allow the title of the input prompt to be translated.

Fixes #221.