Fix gettext alias in python file.

There're still some work to do for html file.