view babel3/babel/messages/tests/data/project/file2.py @ 494:cddcd04db33e experimental

Commit the resulting files after a 2to3 -nvw run.
author jruigrok
date Thu, 15 Apr 2010 14:20:11 +0000
parents 0b228ee775fe
children
line wrap: on
line source
# -*- coding: utf-8 -*-
# file2.py for tests

from gettext import ngettext

def foo():
    # Note: This will have the TRANSLATOR: tag but shouldn't
    # be included on the extracted stuff
    print(ngettext('foobar', 'foobars', 1))
Copyright (C) 2012-2017 Edgewall Software