Localize most of the main program.

Some format strings have been converted from the Python 3-style strings
to the %s strings, as these are more common for potential translators.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>