[i18n] cleanup dead code
also fix small bug introduced in b0f6e8c14e7f
# -*- coding: utf-8 -*-# copyright %(year)s %(author)s, all rights reserved.# contact %(author-web-site)s -- mailto:%(author-email)s#%(long-license)s"""%(distname)s specific hooks and operations"""