syntax checking: python: pep8: ensure localization strings exist

(integrated from trunk branch change 23b2305 by Todd Whiteman <toddw@activestate.com>)