human
Complete this python program:
def fake_ugettext(translations):
assistant
#Here is the Python program you requested.

    """Create a fake implementation of ugettext, for testing.
    """
    def _ugettext(text):
        return translations.get(text, text)
    return _ugettext